]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
Demystify the magic number 134217729.0
[thirdparty/glibc.git] / ChangeLog
1 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2
3 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
4 (split): Use macro CN instead of the bare value.
5 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
6 could be used.
7 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
8 instead of the bare value.
9 (power1): Likewise.
10
11 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12
13 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
14 __ATAN_TWOM.
15 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
16
17 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
18 their values.
19 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
20 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
22 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
23
24 2012-12-28 Andreas Jaeger <aj@suse.de>
25
26 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
27 values are from Linux 3.7.
28
29 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
30 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
31
32 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33
34 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
35 TRUE case.
36
37 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
38 (norm): Likewise.
39 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
40 variables with preprocessor constants.
41 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
42 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
43 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
44
45 2012-12-27 Bruno Haible <bruno@clisp.org>
46
47 [BZ #14317]
48 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
49 only if needed.
50
51 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
52
53 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
54 and use variable directly.
55 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
56
57 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
58 MPONE.
59 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
60 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
61 variable MPONE.
62 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
63 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
64 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
65 include directive. Remove local variable MPONE.
66 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
67 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
68 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
69
70 2012-12-25 David S. Miller <davem@davemloft.net>
71
72 * version.h (RELEASE): Set to "development".
73 (VERSION): Set to "2.17.90".
74 * NEWS: Add 2.18 section.
75
76 2012-12-21 David S. Miller <davem@davemloft.net>
77
78 * po/hr.po: Update from translation team.
79
80 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
81
82 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
83
84 2012-12-19 Steve Ellcey <sellcey@mips.com>
85
86 * NEWS: Mention new memcpy for MIPS.
87
88 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
89
90 * manual/contrib.texi (Contributors): Spelling correction.
91
92 2012-12-15 David S. Miller <davem@davemloft.net>
93
94 * po/ru.po: Update from translation team.
95
96 2012-12-13 David S. Miller <davem@davemloft.net>
97
98 * NEWS: Mention IFUNC testsuite enhancements.
99
100 * po/pl.po: Update from translation team.
101 * po/bg.po: Likewise.
102
103 * manual/contrib.texi (Contributors): Update entries for Hongjiu
104 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
105
106 2012-12-11 David S. Miller <davem@davemloft.net>
107
108 * po/sv.po: Update from translation team.
109
110 * po/vi.po: Update from translation team.
111
112 * po/cs.po: Update from translation team.
113
114 * po/de.po: Update from translation team.
115 * po/eo.po: Likewise.
116 * po/nl.po: Likewise.
117
118 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
119
120 [BZ #14246]
121 * manual/argp.texi (Argp Helper Functions): Move node to follow
122 Argp Parsing State.
123
124 [BZ #14872]
125 * manual/conf.texi (Limits on File System Capacity): Mention if
126 terminating null is included in the max size.
127
128 2012-12-10 Andreas Jaeger <aj@suse.de>
129
130 * po/cs.po: Update from translation team.
131
132 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
133
134 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
135 void pointer and cast to uintptr_t.
136 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
137 path.
138 * sysdeps/s390/s390-64/memcpy.S: Likewise.
139 * sysdeps/s390/s390-64/memset.S: Likewise.
140
141 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
142
143 [BZ #14833]
144 * menual/message.texi (Message Translation): Fix typos.
145 (Helper programs for gettext): Likewise.
146
147 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
148
149 [BZ #14898]
150 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
151 Change to -1.
152
153 2012-12-07 David S. Miller <davem@davemloft.net>
154
155 * po/libc.pot: Update.
156
157 2012-12-07 Richard Henderson <rth@redhat.com>
158
159 [BZ #10114]
160 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
161 normal/normal case to before the switch.
162 (_FP_DIV): Likewise.
163
164 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
165 Mike Frysinger <vapier@gentoo.org>
166
167 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
168 check for __NR_fadvise64_64.
169
170 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
171
172 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
173 0, not just to plain "0" as a statement.
174 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
175 with cw.
176
177 2012-12-06 Joseph Myers <joseph@codesourcery.com>
178
179 * NEWS: Use sourceware.org in Bugzilla URL.
180
181 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
182
183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
184 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
185
186 * stdio-common/tst-put-error.c (do_test): Add newline to the
187 padded test to ensure flush.
188
189 2012-12-05 Jeff Law <law@redhat.com>
190
191 * sunrpc/etc.rpc (fedfs_admin): Add entry.
192
193 2012-12-05 Joseph Myers <joseph@codesourcery.com>
194
195 * README: Don't refer to ports add-on as distributed separately.
196 Mention AArch64 in list of systems supported in the ports add-on.
197
198 * LICENSES: Add more non-FSF copyright and license notices.
199
200 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
201 ((unused)).
202
203 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
204
205 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
206 10000 as width of padded output.
207
208 2012-12-04 Joseph Myers <joseph@codesourcery.com>
209
210 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
211
212 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
213 variable LX with __attribute__ ((unused)).
214 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
215 Likewise.
216 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
217 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
218 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
219 with __attribute__ ((unused)).
220
221 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
222
223 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
224
225 2012-12-04 Joseph Myers <joseph@codesourcery.com>
226
227 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
228 (CFLAGS-nldbl-acos.c): New variable.
229 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
230 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
231 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
232 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
233 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
234 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
235 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
236 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
237 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
238 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
239 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
240 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
241 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
242 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
243 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
244 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
245 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
246 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
247 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
248 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
249 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
250 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
251 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
252 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
253 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
254 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
255 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
256 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
257 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
258 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
259 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
260 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
261 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
262 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
263 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
264 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
265 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
266 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
267 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
268 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
269 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
270 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
271 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
272 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
273 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
274 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
275 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
276 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
277 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
278 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
279 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
280 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
281 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
282 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
283 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
284 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
285 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
286 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
287 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
288 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
289 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
290 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
291 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
292 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
293 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
294 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
295 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
296 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
297 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
298 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
299 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
300 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
301 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
302 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
303 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
304 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
305 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
306 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
307 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
308 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
309 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
310 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
311 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
312 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
313 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
314 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
315 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
316 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
317 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
318 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
319 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
320 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
321 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
322 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
323 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
324 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
325 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
326
327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
328 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
329
330 [BZ #14914]
331 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
332 whole low double instead of just low 47 bits when splitting values
333 into two parts.
334
335 2012-12-03 Allan McRae <allan@archlinux.org>
336
337 * manual/stdio.texi (Predefined Printf Handlers): Remove
338 @hsep and @vsep usage.
339
340 2012-12-03 Mike Frysinger <vapier@gentoo.org>
341
342 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
343 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
344
345 2012-12-03 Jeff Law <law@redhat.com>
346
347 * time/sys/time.h (settimeofday): Do not mark TV argument
348 as __nonnull.
349
350 2012-12-01 Mike Frysinger <vapier@gentoo.org>
351
352 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
353 when currently writing and seek to current position when not.
354 * libio/Makefile (tests): Remove bug-fclose1.
355 * libio/bug-fclose1.c: Delete.
356
357 2012-12-01 Joseph Myers <joseph@codesourcery.com>
358
359 * manual/arith.texi (feenableexcept): Fix typo.
360 (fedisableexcept): Likewise.
361
362 2012-11-30 Roland McGrath <roland@hack.frob.com>
363
364 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
365 second, differently-typed declaration, rather than a cast.
366
367 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
368
369 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
370 * include/rpc/svc.h: ... here.
371
372 2012-11-30 Aurelien Jarno <aurel32@debian.org>
373
374 [BZ #13013]
375 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
376 depending n and resplen2 to catch cases where answer
377 equals answerp2.
378
379 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
380
381 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
382 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
383
384 2012-11-29 Mike Frysinger <vapier@gentoo.org>
385
386 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
387
388 2012-11-29 Roland McGrath <roland@hack.frob.com>
389
390 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
391
392 2012-11-28 Jeff Law <law@redhat.com>
393
394 [BZ #13761]
395 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
396 dataset_temporary. Track alloca usage into alloca_used.
397 If dataset is large allocate and release it via malloc/free.
398
399 2012-06-04 Florian Weimer <fweimer@redhat.com>
400
401 [BZ #14197]
402 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
403
404 2012-11-28 David S. Miller <davem@davemloft.net>
405
406 * sysdeps/sparc/fpu/libm-test-ulps: Update.
407
408 2012-11-28 Joseph Myers <joseph@codesourcery.com>
409
410 [BZ #14803]
411 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
412 of pi/2 rounded to nearest to 64 bits.
413 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
414 nearest to 64 bits.
415 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
416 bits.
417
418 2012-11-28 Jeff Law <law@redhat.com>
419 Martin Osvald <mosvald@redhat.com>
420
421 [BZ #14889]
422 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
423 * sunrpc/svc.c: Include time.h.
424 (__svc_accept_failed): New function.
425 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
426 any reason other than EINTR, call __svc_accept_failed.
427 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
428 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
429
430 2012-11-28 Andreas Schwab <schwab@suse.de>
431
432 * scripts/abilist.awk: Also handle indirect functions in .opd
433 section.
434
435 2012-11-28 Joseph Myers <joseph@codesourcery.com>
436
437 [BZ #13881]
438 * sysdeps/x86/fpu/powl_helper.c: New file.
439 * sysdeps/x86/fpu/Makefile: Likewise.
440 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
441 (p3): New object.
442 (__ieee754_powl): Use __powl_helper for finite arguments except
443 integer exponents below 8.
444 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
445 (p3): New object.
446 (__ieee754_powl): Use __powl_helper for finite arguments except
447 integer exponents below 8.
448 * math/libm-test.inc (pow_test): Add more tests and enable some
449 previously disabled tests.
450 * sysdeps/i386/fpu/libm-test-ulps: Update.
451 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
452
453 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
454 Carlos O'Donell <carlos_odonell@mentor.com>
455
456 * nss/makedb.c (is_prime): Assert that input is odd and greater
457 than 4. Note that fact in a comment too.
458 (next_prime): Add 4 to input.
459
460 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
461
462 [BZ #11741]
463 * libio/Makefile (tests): Add test case tst-fwrite-error.
464 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
465 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
466 * libio/tst-fwrite-error.c: New test case.
467
468 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
469
470 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
471 before casting to void *.
472 * include/libc-internal.h (__pointer_type): New macro.
473 (__integer_if_pointer_type_sub): Likewise.
474 (__integer_if_pointer_type): Likewise.
475 (cast_to_integer): Likewise.
476 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
477 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
478 before casting to atomic64_t.
479 (atomic_exchange_acq): Likewise.
480 (__arch_exchange_and_add_body): Likewise.
481 (__arch_add_body): Likewise.
482 (atomic_add_negative): Likewise.
483 (atomic_add_zero): Likewise.
484
485 2012-11-26 Joseph Myers <joseph@codesourcery.com>
486
487 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
488 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
489 (add_fdes): Likewise.
490 (linear_search_fdes): Likewise.
491 (binary_search_unencoded_fdes): Likewise.
492
493 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
494
495 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
496
497 2012-11-24 Adam Conrad <adconrad@0c3.net>
498
499 * configure.in: Autodetect C++ header directories.
500 * configure: Regenerated.
501
502 2012-11-23 Mike Frysinger <vapier@gentoo.org>
503
504 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
505
506 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
507
508 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
509
510 2012-11-22 Joseph Myers <joseph@codesourcery.com>
511
512 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
513 LDBL_MANT_DIG == 106]: Disable some tests.
514 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
515 Likewise.
516 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
517 Likewise.
518
519 [BZ #14871]
520 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
521 input for small inputs. Return +/- pi/2 for large inputs.
522 * math/libm-test.inc (atan_test): Add more tests.
523
524 * sysdeps/generic/unwind-dw2-fde-glibc.c
525 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
526 __attribute__ ((unused)).
527
528 [BZ #14645]
529 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
530 x * y if x and y are nonzero and z is zero.
531
532 [BZ #14811]
533 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
534 nonzero exponents with absolute value below 0x1p-117 to +/-
535 0x1p-117.
536
537 [BZ #14869]
538 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
539 up arguments below 2**-450, not just those below 2**-500.
540 * math/libm-test.inc (hypot_test): Add another test.
541
542 [BZ #14868]
543 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
544 Return a+b for ratio over 2**120, not 2**60.
545 * math/libm-test.inc (hypot_test): Add another test.
546
547 * math/libm-test.inc (clog_test): Use
548 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
549 (clog10_test): Likewise.
550
551 [BZ #6778]
552 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
553
554 2012-11-22 Andreas Schwab <schwab@suse.de>
555
556 * sysdeps/i386/fpu/libm-test-ulps: Update.
557
558 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
559
560 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
561 printf output with newline.
562
563 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
564
565 [BZ #14865]
566 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
567 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
568 -z nodlopen, -z initfirst and -z execstack support.
569 * configure: Regenerated.
570
571 * elf/elf.h (DF_1_NODIRECT): New macro.
572 (DF_1_IGNMULDEF): Likewise.
573 (DF_1_NOKSYMS): Likewise.
574 (DF_1_NOHDR): Likewise.
575 (DF_1_EDITED): Likewise.
576 (DF_1_NORELOC): Likewise.
577 (DF_1_SYMINTPOSE): Likewise.
578 (DF_1_GLOBAUDIT): Likewise.
579 (DF_1_SINGLETON): Likewise.
580 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
581 DT_1_SUPPORTED_MASK bits.
582 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
583
584 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
585
586 * sysdeps/unix/make-syscalls.sh: Document prefixes.
587
588 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
589
590 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
591 macro.
592
593 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
594 (sendmmsg): Move declarations...
595 * socket/sys/socket.h: ... here.
596 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
597 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
598 include it from...
599 * socket/recvmmsg.c: ... this new file.
600 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
601 (sendmmsg): Rename to __sendmmsg, create weak alias and make
602 definition of __sendmmsg hidden.
603 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
604 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
605 Move ENOSYS stub into and include it from...
606 * socket/sendmmsg.c: ... this new file.
607 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
608 (sysdep_routines): Move recvmmsg and sendmmsg...
609 * socket/Makefile (routines): ... here.
610 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
611 (GLIBC_PRIVATE): Add __sendmmsg.
612 * include/sys/socket.h (__sendmmsg): Add declarations.
613 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
614 sendmmsg.
615
616 2012-11-20 Joseph Myers <joseph@codesourcery.com>
617
618 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
619 variable I1 with __attribute__ ((unused)).
620 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
621
622 2012-11-19 Joseph Myers <joseph@codesourcery.com>
623
624 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
625 DUMMY variables with __attribute__ ((unused)).
626
627 * bits/byteswap.h: Include <bits/types.h>.
628 (__bswap_64): Use __uint64_t instead of unsigned long long int.
629
630 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
631
632 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
633 string_t. Do not manually set errno.
634 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
635 length with __strnlen. Make sure to both set errno and return it on
636 failure.
637
638 2012-11-19 David S. Miller <davem@davemloft.net>
639
640 With help from Joseph Myers.
641 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
642 very large arguments properly.
643 * math/libm-test.inc (atan_test): New tests.
644 (atan2_test): New tests.
645 * sysdeps/sparc/fpu/libm-test-ulps: Update.
646 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
647
648 2012-11-19 Joseph Myers <joseph@codesourcery.com>
649
650 [BZ #14856]
651 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
652 Define to 3.
653
654 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
655 [POSIX] (EADDRNOTAVAIL): Likewise.
656 [POSIX] (EAFNOSUPPORT): Likewise.
657 [POSIX] (EALREADY): Likewise.
658 [POSIX] (ECONNABORTED): Likewise.
659 [POSIX] (ECONNREFUSED): Likewise.
660 [POSIX] (ECONNRESET): Likewise.
661 [POSIX] (EDESTADDRREQ): Likewise.
662 [POSIX] (EDQUOT): Likewise.
663 [POSIX] (EHOSTUNREACH): Likewise.
664 [POSIX] (EIDRM): Likewise.
665 [POSIX] (EISCONN): Likewise.
666 [POSIX] (ELOOP): Likewise.
667 [POSIX] (EMULTIHOP): Likewise.
668 [POSIX] (ENETDOWN): Likewise.
669 [POSIX] (ENETUNREACH): Likewise.
670 [POSIX] (ENOBUFS): Likewise.
671 [POSIX] (ENODATA): Likewise.
672 [POSIX] (ENOLINK): Likewise.
673 [POSIX] (ENOMSG): Likewise.
674 [POSIX] (ENOPROTOOPT): Likewise.
675 [POSIX] (ENOSR): Likewise.
676 [POSIX] (ENOSTR): Likewise.
677 [POSIX] (ENOTCONN): Likewise.
678 [POSIX] (ENOTSOCK): Likewise.
679 [POSIX] (EOPNOTSUPP): Likewise.
680 [POSIX] (EOVERFLOW): Likewise.
681 [POSIX] (EPROTO): Likewise.
682 [POSIX] (EPROTONOSUPPORT): Likewise.
683 [POSIX] (EPROTOTYPE): Likewise.
684 [POSIX] (ESTALE): Likewise.
685 [POSIX] (ETIME): Likewise.
686 [POSIX] (ETXTBSY): Likewise.
687 [POSIX] (EWOULDBLOCK): Likewise.
688 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
689 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
690 [POSIX] (SEEK_CUR): Likewise.
691 [POSIX] (SEEK_END): Likewise.
692 [POSIX || UNIX98] (mode_t): Do not require.
693 [POSIX] (off_t): Likewise.
694 [POSIX] (pid_t): Likewise.
695 [POSIX] (sys/stat.h): Do not allow header.
696 [POSIX] (unistd.h): Likewise.
697 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
698 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
699 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
700 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
701 require.
702 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
703 sigevent): Specify elements.
704 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
705 entry.
706 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
707 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
708
709 * conform/data/cpio.h-data [POSIX]: Disable whole file.
710 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
711 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
712 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
713 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
714 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
715 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
716 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
717 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
718 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
719 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
720 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
721 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
722 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
723 Likewise.
724 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
725 Likewise.
726 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
727 Likewise.
728 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
729 Likewise.
730 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
731 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
732 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
733 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
734 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
735 Specify lower bound on value.
736 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
737 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
738 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
739 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
740 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
741 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
742 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
743 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
744 value.
745 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
746 as optional.
747 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
748 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
749 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
750 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
751 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
752 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
753 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
754 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
755 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
756 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
757 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
758 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
759 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
760 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
761 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
762 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
763 entry.
764 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
765 optional.
766 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
767 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
768 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
769 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
770 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
771 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
772 Likewise.
773 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
774 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
775 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
776 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
777 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
778 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
779 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
780 as optional.
781 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
782 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
783 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
784 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
785 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
786 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
787 specify as optional.
788 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
789 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
790 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
791 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
792 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
793 [XPG3] (NL_LANGMAX): Likewise.
794 [POSIX || XPG3] (NL_MSGMAX): Likewise.
795 [POSIX || XPG3] (NL_NMAX): Likewise.
796 [POSIX || XPG3] (NL_SETMAX): Likewise.
797 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
798 [XPG3] (NZERO): Likewise.
799 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
800 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
801 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
802 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
803 (REG_ERANGE): Expect.
804 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
805 optional-constant.
806 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
807 Use (void) in prototype.
808 [POSIX] (*_t): Allow.
809 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
810 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
811 (WRDE_BADVAL): Expect.
812
813 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
814 expect.
815 [XPG3 || XPG4] (O_RSYNC): Likewise.
816 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
817 Likewise.
818 [XPG3 || XPG4] (pthread_sigmask): Likewise.
819 [XPG3 || XPG4] (sigqueue): Likewise.
820 [XPG3 || XPG4] (sigtimedwait): Likewise.
821 [XPG3 || XPG4] (sigwaitinfo): Likewise.
822 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
823 [XPG3 || XPG4] (vsnprintf): Likewise.
824 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
825 Likewise.
826 [XPG3 || XPG4] (blksize_t): Likewise.
827 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
828 Likewise.
829 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
830 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
831 [XPG3 || XPG4] (struct itimerspec): Likewise.
832 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
833 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
834 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
835 [XPG3 || XPG4] (clockid_t): Likewise.
836 [XPG3 || XPG4] (timer_t): Likewise.
837 [XPG3 || XPG4] (clock_getres): Likewise.
838 [XPG3 || XPG4] (clock_gettime): Likewise.
839 [XPG3 || XPG4] (clock_settime): Likewise.
840 [XPG3 || XPG4] (nanosleep): Likewise.
841 [XPG3 || XPG4] (timer_create): Likewise.
842 [XPG3 || XPG4] (timer_delete): Likewise.
843 [XPG3 || XPG4] (timer_gettime): Likewise.
844 [XPG3 || XPG4] (timer_getoverrun): Likewise.
845 [XPG3 || XPG4] (timer_settime): Likewise.
846 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
847 [XPG3 || XPG4] (getlogin_r): Likewise.
848 [XPG3 || XPG4] (pread): Likewise.
849 [XPG3 || XPG4] (pthread_atfork): Likewise.
850 [XPG3 || XPG4] (pwrite): Likewise.
851
852 [BZ #14835]
853 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
854 <bits/siginfo.h>.
855
856 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
857
858 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
859 finalizing MALLSTREAM.
860
861 * sysdeps/mach/hurd/syncfs.c: New file.
862
863 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
864
865 [BZ #14719]
866 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
867 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
868 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
869 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
870 (_nss_dns_gethostbyname4_r): Likewise.
871 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
872 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
873
874 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
875
876 [BZ #13763]
877 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
878
879 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
880
881 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
882 * elf/cache.c (print_entry): Print ",AArch64" for
883 FLAG_AARCH64_LIB64
884
885 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
886 * elf/cache.c (print_entry): Print ",hard-float" for
887 FLAG_ARM_LIBHF.
888
889 2012-11-18 David S. Miller <davem@davemloft.net>
890
891 With help from Joseph Myers.
892 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
893 cutoff to 2**-13.
894 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
895 cutoff to 2**-25.
896 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
897 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
898 small.
899 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
900 * math/libm-test.inc (y0_test): New tests.
901 (y1_test): New tests.
902 * sysdeps/i386/fpu/libm-test-ulps: Update.
903 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
904 * sysdeps/sparc/fpu/libm-test-ulps: Update.
905
906 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
907
908 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
909 64-bit targets.
910 * configure: Regenerated.
911
912 2012-11-17 David S. Miller <davem@davemloft.net>
913
914 [BZ #14811]
915 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
916 nonzero exponents with absolute value below 0x1p-128 to +/-
917 0x1p-128.
918
919 2012-11-17 Joseph Myers <joseph@codesourcery.com>
920
921 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
922
923 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
924
925 * posix/getconf-speclist.c: New file.
926 * posix/posix-envs.def: Likewise.
927 * posix/confstr.c (START_ENV_GROUP): New macro.
928 (END_ENV_GROUP): Likewise.
929 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
930 (KNOWN_PRESENT_ENV_STRING): Likewise.
931 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
932 (UNKNOWN_ENVIRONMENT): Likewise.
933 (confstr): Include posix-envs.def instead of handling
934 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
935 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
936 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
937 (END_ENV_GROUP): Likewise.
938 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
939 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
940 (UNKNOWN_ENVIRONMENT): Likewise.
941 (__sysconf): Include posix-envs.def instead of handling associated
942 cases directly here.
943 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
944 preprocessing getconf-speclist.c rather than running getconf or
945 generating empty file.
946
947 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
948
949 * scripts/check-local-headers.sh: Ignore 'mach' headers.
950
951 2012-11-16 Andrej Lajovic <natrij@gmail.com>
952
953 [BZ #14672]
954 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
955
956 2012-11-16 David S. Miller <davem@davemloft.net>
957
958 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
959 smaller than LDBL_EPSILON/2.0L, just return xm1.
960
961 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
962
963 * elf/tst-array1.c (init): Set constructor priority to 1000.
964 (fini): Set destructor priority to 1000.
965 * elf/tst-array2dep.c: Likewise.
966
967 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
968
969 [BZ #11741]
970 * libio/fileops.c (_IO_new_file_write): Correctly return error.
971 (_IO_new_file_xsputn): Also return EOF if none of the input
972 data was written when overflow failed.
973 * libio/iopadn.c (_IO_padn): Likewise.
974 * libio/iowpadn.c (_IO_wpadn): Likewise.
975 * stdio-common/tst-put-error.c: Add copyright notice.
976 (do_test): Add case for printing padded string.
977 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
978 _IO_padn returned error.
979 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
980 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
981 return EOF.
982
983 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
984
985 * libio/libioP.h: Add comment note that the references to C++
986 bits are now obsolete.
987
988 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
989
990 * math/libm-test.inc (check_complex): Use asprintf.
991
992 2012-11-14 Joseph Myers <joseph@codesourcery.com>
993
994 * debug/pcprofiledump.c (print_version): Update copyright year.
995 * malloc/memusagestat.c (print_version): Likewise.
996
997 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
998
999 [BZ #14831]
1000 * elf/Makefile (tests): Add tst-audit8.
1001 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
1002 ($(objpfx)tst-audit8.out): New target.
1003 (tst-audit8-ENV): New variable.
1004 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
1005 audit if l_reloc_result is NULL.
1006 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
1007 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
1008 * elf/tst-audit8.c: New file.
1009
1010 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1011
1012 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
1013 * misc/Makefile (CFLAGS-select.c): Define.
1014 * posix/Makefile (CFLAGS-pause.c): Define.
1015
1016 2012-11-13 David S. Miller <davem@davemloft.net>
1017
1018 * crypt/Makefile: Move test targets after toplevel Rules
1019 inclusion. Grab any necessary sysdep routines when linking.
1020 * crypt/md5.c (md5_process_block): Remove define, we will always
1021 name it __md5_process_block.
1022 (md5_finish_ctx): Update md5_process_block call.
1023 (md5_stream): Likewise.
1024 (md5_process_bytes): Likewise.
1025 (md5_process_block): Rename to __md5_process_block and move to ...
1026 * crypt/md5-block.c: ... here.
1027 * crypt/sha256.c (sha256_process_block): Move to ...
1028 * crypt/sha256-block.c: ... here.
1029 * crypt/sha512.c (sha512_process_block): Move to ...
1030 * crypt/sha512-block.c: ... here.
1031 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
1032 path.
1033 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
1034 * sysdeps/sparc/sparc64/multiarch/Makefile
1035 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
1036 crypt subdir.
1037 (localedef-aux): Add md5 crypto assembler when in locale subdir.
1038 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
1039 multiarch changes.
1040 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
1041 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
1042 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
1043 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
1044 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
1045 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
1046 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
1047 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
1048 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
1049 file.
1050 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
1051 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
1052 file.
1053 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
1054
1055 2012-11-13 Joseph Myers <joseph@codesourcery.com>
1056
1057 * timezone/tzselect.ksh: Update from tzcode git revision
1058 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
1059 * timezone/zdump.c: Likewise.
1060 * timezone/zic.c: Likewise.
1061 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
1062 in TZVERSION setting, not $(PKGVERSION).
1063 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
1064 REPORT_BUGS_TO settings.
1065
1066 [BZ #14838]
1067 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
1068 macro.
1069
1070 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1071
1072 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
1073 detection to immediately after _FP_ROUND().
1074 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
1075 bits are 0.
1076
1077 2012-11-11 David S. Miller <davem@davemloft.net>
1078
1079 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
1080 inttypes.h
1081 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
1082 __close rather than their public counterparts.
1083
1084 2012-11-10 Joseph Myers <joseph@codesourcery.com>
1085
1086 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
1087 file.
1088 [UNIX98] (sem_timedwait): Do not expect.
1089 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
1090 [XPG4 || UNIX98] (sockatmark): Do not expect.
1091 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
1092 (clock_getcpuclockid): Do not expect.
1093 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
1094 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
1095 Do not expect.
1096 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
1097 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
1098 [UNIX98] (vwscanf): Likewise.
1099 [UNIX98] (vswscanf): Likewise.
1100
1101 2012-11-09 Joseph Myers <joseph@codesourcery.com>
1102
1103 * timezone/version.h: Remove file.
1104 * timezone/README: Do not refer to version.h.
1105 * timezone/Makefile ($(objpfx)zic.o): New dependency on
1106 $(objpfx)version.h.
1107 ($(objpfx)zdump.o): Likewise.
1108 ($(objpfx)version.h): New target.
1109
1110 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
1111 2012i.
1112 * timezone/README: Don't mention modification to tzselect.ksh.
1113 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
1114 work on unmodified tzselect.ksh. Substitute version numbers in
1115 tzselect.ksh.
1116
1117 * Makefile (format-me): Remove.
1118 (INSTALL): Adjust indentation. Use commands directly instead of
1119 using $(format-me).
1120
1121 * aclocal.m4 (ACX_PKGVERSION): New macro.
1122 (ACX_BUGURL): Likewise.
1123 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
1124 (PKGVERSION): New AC_DEFINE_UNQUOTED.
1125 (REPORT_BUGS_TO): Likewise.
1126 * configure: Regenerated.
1127 * config.h.in (PKGVERSION): New macro.
1128 (REPORT_BUGS_TO): Likewise.
1129 * config.make.in (PKGVERSION): New variable.
1130 (PKGVERSION_TEXI): Likewise.
1131 (REPORT_BUGS_TO): Likewise.
1132 (REPORT_BUGS_TEXI): Likewise.
1133 * Makefile (format-me): Use -I$(common-objpfx)manual.
1134 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
1135 ($(common-objpfx)manual/%): New target.
1136 (manual/%): Remove target.
1137 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
1138 (print_version): Use PKGVERSION.
1139 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
1140 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
1141 and REPORT_BUGS_TO.
1142 ($(objpfx)xtrace): Likewise.
1143 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
1144 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
1145 (print_version): Use PKGVERSION.
1146 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
1147 (do_version): Use PKGVERSION.
1148 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
1149 REPORT_BUGS_TO.
1150 (common-ldd-rewrite): Likewise.
1151 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
1152 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
1153 (print_version): Use PKGVERSION.
1154 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
1155 * elf/pldd.c (argp_program_bug_address): Remove variable.
1156 (more_help): New function.
1157 (argp): Use more_help.
1158 (print_version): Use PKGVERSION.
1159 * elf/sln.c (main): Use PKGVERSION.
1160 (usage): Use REPORT_BUGS_TO.
1161 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
1162 (top level): Use PKGVERSION.
1163 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
1164 (print_version): Use PKGVERSION.
1165 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
1166 (print_version): Use PKGVERSION.
1167 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
1168 (print_version): Use PKGVERSION.
1169 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
1170 (print_version): Use PKGVERSION.
1171 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
1172 (print_version): Use PKGVERSION.
1173 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
1174 (print_version): Use PKGVERSION.
1175 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
1176 and BUGURL.
1177 ($(objpfx)memusage): Likewise.
1178 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
1179 (do_version): Use PKGVERSION.
1180 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
1181 (print_version): Use PKGVERSION.
1182 * malloc/mtrace.pl ($PACKAGE): Remove variable.
1183 ($PKGVERSION): New variable.
1184 ($REPORT_BUGS_TO): Likewise.
1185 (usage): Use $REPORT_BUGS_TO.
1186 (top level): Use $PKGVERSION.
1187 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
1188 ($(objpfx)pkgvers.texi): New rule.
1189 ($(objpfx)stamp-pkgvers): Likewise.
1190 * manual/install.texi: Include pkgvers.texi.
1191 (--with-pkgversion): Document new configure option.
1192 (--with-bugurl): Likewise.
1193 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
1194 than necessarily for this particular distribution. Use
1195 REPORT_BUGS_TO for where to report bugs.
1196 * INSTALL: Regenerated.
1197 * manual/libc.texinfo: Include pkgvers.texi.
1198 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
1199 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
1200 (print_version): Use PKGVERSION.
1201 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
1202 (print_version): Use PKGVERSION.
1203 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
1204 (print_version): Use PKGVERSION.
1205 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
1206 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
1207 macro.
1208 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
1209 (print_version): Use PKGVERSION.
1210 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
1211 (print_version): Use PKGVERSION.
1212 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
1213 and PKGVERSION.
1214
1215 * timezone/checktab.awk: Update from tzcode 2012i.
1216 * timezone/ialloc.c: Likewise.
1217 * timezone/private.h: Likewise.
1218 * timezone/scheck.c: Likewise.
1219 * timezone/tzfile.h: Likewise.
1220 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
1221 (TZVERSION): Hardcode tzcode version number.
1222 * timezone/zdump.c: Update from tzcode 2012i.
1223 * timezone/zic.c: Likewise.
1224 * timezone/version.h: New file.
1225 * timezone/README: Describe version.h. Update upstream location.
1226
1227 [BZ #14824]
1228 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
1229 (mktemp): Enable declaration.
1230 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
1231 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
1232 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
1233 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
1234 Likewise.
1235 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
1236 Likewise.
1237 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
1238 Likewise.
1239 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
1240 Likewise.
1241 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
1242 Likewise.
1243 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
1244 Likewise.
1245
1246 [BZ #14821]
1247 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
1248 offset in buffer as u_int32_t not u_long. Consistently use memcpy
1249 for copies of such integer values.
1250 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
1251 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
1252
1253 2012-11-09 Andreas Jaeger <aj@suse.de>
1254
1255 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
1256 definitions and declarations that are provided by
1257 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
1258
1259 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1260
1261 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
1262 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
1263 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
1264 definition.
1265
1266 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1267
1268 * elf/elf.h: Update comment before AArch64 relocations.
1269
1270 2012-11-07 David S. Miller <davem@davemloft.net>
1271
1272 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
1273 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1274 (__start_context): Declare.
1275 (__makecontext_ret): Delete.
1276 (__makecontext): Hook up __start_context instead of
1277 __makecontext_ret.
1278 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
1279 (sysdep_routines): Add __start_context when in stdlib.
1280
1281 2012-11-07 Joseph Myers <joseph@codesourcery.com>
1282
1283 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
1284 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
1285 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
1286 hardcoded "nm".
1287 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
1288 (READELF): New variable. Use it instead of hardcoded "readelf".
1289
1290 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
1291
1292 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
1293 * sysdeps/x86/Makefile: Here.
1294 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
1295 * sysdeps/x86/tst-xmmymm.sh: This.
1296
1297 2012-11-07 Joseph Myers <joseph@codesourcery.com>
1298
1299 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
1300 expectations.
1301 [UNIX98] (pthread_barrier_t): Do not expect.
1302 [UNIX98] (pthread_barrierattr_t): Likewise.
1303 [UNIX98] (pthread_spinlock_t): Likewise.
1304 [UNIX98] (pthread_barrier_destroy): Likewise.
1305 [UNIX98] (pthread_barrier_init): Likewise.
1306 [UNIX98] (pthread_barrier_wait): Likewise.
1307 [UNIX98] (pthread_barrierattr_destroy): Likewise.
1308 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
1309 [UNIX98] (pthread_barrierattr_init): Likewise.
1310 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
1311 [UNIX98] (pthread_getcpuclockid): Likewise.
1312 [UNIX98] (pthread_mutex_timedlock): Likewise.
1313 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
1314 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
1315 [UNIX98] (pthread_sigmask): Likewise.
1316 [UNIX98] (pthread_spin_destroy): Likewise.
1317 [UNIX98] (pthread_spin_init): Likewise.
1318 [UNIX98] (pthread_spin_lock): Likewise.
1319 [UNIX98] (pthread_spin_trylock): Likewise.
1320 [UNIX98] (pthread_spin_unlock): Likewise.
1321 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
1322 Do not expect.
1323 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
1324 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
1325 [XPG3 || XPG4] (pthread_cond_t): Likewise.
1326 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
1327 [XPG3 || XPG4] (pthread_key_t): Likewise.
1328 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
1329 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
1330 [XPG3 || XPG4] (pthread_once_t): Likewise.
1331 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
1332 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
1333 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
1334 [XPG3 || XPG4] (pthread_t): Likewise.
1335
1336 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
1337 not expect.
1338 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
1339
1340 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
1341 Change function return type to int.
1342
1343 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
1344 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
1345 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
1346 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
1347 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
1348 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
1349 [!POSIX] (posix_madvise): Likewise.
1350 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
1351 && !UNIX98].
1352 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
1353 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
1354 (mode_t): Likewise.
1355 (posix_mem_offset): Likewise.
1356 (posix_typed_mem_get_info): Likewise.
1357 (posix_typed_mem_open): Likewise.
1358
1359 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
1360 Change condition to [XOPEN2K8].
1361
1362 * conform/conformtest.pl: Preprocess allow-header data with -x c
1363 instead of from stdin.
1364 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
1365 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
1366 [C99-based standards] (cerfc): Likewise.
1367 [C99-based standards] (cexp2): Likewise.
1368 [C99-based standards] (cexpm1): Likewise.
1369 [C99-based standards] (clog10): Likewise.
1370 [C99-based standards] (clog1p): Likewise.
1371 [C99-based standards] (clog2): Likewise.
1372 [C99-based standards] (clgamma): Likewise.
1373 [C99-based standards] (ctgamma): Likewise.
1374 [C99-based standards] (cerff): Likewise.
1375 [C99-based standards] (cerfcf): Likewise.
1376 [C99-based standards] (cexp2f): Likewise.
1377 [C99-based standards] (cexpm1f): Likewise.
1378 [C99-based standards] (clog10f): Likewise.
1379 [C99-based standards] (clog1pf): Likewise.
1380 [C99-based standards] (clog2f): Likewise.
1381 [C99-based standards] (clgammaf): Likewise.
1382 [C99-based standards] (ctgammaf): Likewise.
1383 [C99-based standards] (cerfl): Likewise.
1384 [C99-based standards] (cerfcl): Likewise.
1385 [C99-based standards] (cexp2l): Likewise.
1386 [C99-based standards] (cexpm1l): Likewise.
1387 [C99-based standards] (clog10l): Likewise.
1388 [C99-based standards] (clog1pl): Likewise.
1389 [C99-based standards] (clog2l): Likewise.
1390 [C99-based standards] (clgammal): Likewise.
1391 [C99-based standards] (ctgammal): Likewise.
1392 * conform/data/inttypes.h-data [C99-based standards]: Include
1393 stdint.h-data. Remove all expectations for stdint.h contents.
1394 [C99-based standards] (PRI*): Do not allow.
1395 [C99-based standards] (SCN*): Likewise.
1396 [C99-based standards] (*_t): Likewise.
1397 [C99-based-standards] (PRId8): Expect macro.
1398 [C99-based-standards] (PRIi8): Likewise.
1399 [C99-based-standards] (PRIo8): Likewise.
1400 [C99-based-standards] (PRIu8): Likewise.
1401 [C99-based-standards] (PRIx8): Likewise.
1402 [C99-based-standards] (PRIX8): Likewise.
1403 [C99-based-standards] (SCNd8): Likewise.
1404 [C99-based-standards] (SCNi8): Likewise.
1405 [C99-based-standards] (SCNo8): Likewise.
1406 [C99-based-standards] (SCNu8): Likewise.
1407 [C99-based-standards] (SCNx8): Likewise.
1408 [C99-based-standards] (PRIdLEAST8): Likewise.
1409 [C99-based-standards] (PRIiLEAST8): Likewise.
1410 [C99-based-standards] (PRIoLEAST8): Likewise.
1411 [C99-based-standards] (PRIuLEAST8): Likewise.
1412 [C99-based-standards] (PRIxLEAST8): Likewise.
1413 [C99-based-standards] (PRIXLEAST8): Likewise.
1414 [C99-based-standards] (SCNdLEAST8): Likewise.
1415 [C99-based-standards] (SCNiLEAST8): Likewise.
1416 [C99-based-standards] (SCNoLEAST8): Likewise.
1417 [C99-based-standards] (SCNuLEAST8): Likewise.
1418 [C99-based-standards] (SCNxLEAST8): Likewise.
1419 [C99-based-standards] (PRIdFAST8): Likewise.
1420 [C99-based-standards] (PRIiFAST8): Likewise.
1421 [C99-based-standards] (PRIoFAST8): Likewise.
1422 [C99-based-standards] (PRIuFAST8): Likewise.
1423 [C99-based-standards] (PRIxFAST8): Likewise.
1424 [C99-based-standards] (PRIXFAST8): Likewise.
1425 [C99-based-standards] (SCNdFAST8): Likewise.
1426 [C99-based-standards] (SCNiFAST8): Likewise.
1427 [C99-based-standards] (SCNoFAST8): Likewise.
1428 [C99-based-standards] (SCNuFAST8): Likewise.
1429 [C99-based-standards] (SCNxFAST8): Likewise.
1430 [C99-based-standards] (PRId16): Likewise.
1431 [C99-based-standards] (PRIi16): Likewise.
1432 [C99-based-standards] (PRIo16): Likewise.
1433 [C99-based-standards] (PRIu16): Likewise.
1434 [C99-based-standards] (PRIx16): Likewise.
1435 [C99-based-standards] (PRIX16): Likewise.
1436 [C99-based-standards] (SCNd16): Likewise.
1437 [C99-based-standards] (SCNi16): Likewise.
1438 [C99-based-standards] (SCNo16): Likewise.
1439 [C99-based-standards] (SCNu16): Likewise.
1440 [C99-based-standards] (SCNx16): Likewise.
1441 [C99-based-standards] (PRIdLEAST16): Likewise.
1442 [C99-based-standards] (PRIiLEAST16): Likewise.
1443 [C99-based-standards] (PRIoLEAST16): Likewise.
1444 [C99-based-standards] (PRIuLEAST16): Likewise.
1445 [C99-based-standards] (PRIxLEAST16): Likewise.
1446 [C99-based-standards] (PRIXLEAST16): Likewise.
1447 [C99-based-standards] (SCNdLEAST16): Likewise.
1448 [C99-based-standards] (SCNiLEAST16): Likewise.
1449 [C99-based-standards] (SCNoLEAST16): Likewise.
1450 [C99-based-standards] (SCNuLEAST16): Likewise.
1451 [C99-based-standards] (SCNxLEAST16): Likewise.
1452 [C99-based-standards] (PRIdFAST16): Likewise.
1453 [C99-based-standards] (PRIiFAST16): Likewise.
1454 [C99-based-standards] (PRIoFAST16): Likewise.
1455 [C99-based-standards] (PRIuFAST16): Likewise.
1456 [C99-based-standards] (PRIxFAST16): Likewise.
1457 [C99-based-standards] (PRIXFAST16): Likewise.
1458 [C99-based-standards] (SCNdFAST16): Likewise.
1459 [C99-based-standards] (SCNiFAST16): Likewise.
1460 [C99-based-standards] (SCNoFAST16): Likewise.
1461 [C99-based-standards] (SCNuFAST16): Likewise.
1462 [C99-based-standards] (SCNxFAST16): Likewise.
1463 [C99-based-standards] (PRId32): Likewise.
1464 [C99-based-standards] (PRIi32): Likewise.
1465 [C99-based-standards] (PRIo32): Likewise.
1466 [C99-based-standards] (PRIu32): Likewise.
1467 [C99-based-standards] (PRIx32): Likewise.
1468 [C99-based-standards] (PRIX32): Likewise.
1469 [C99-based-standards] (SCNd32): Likewise.
1470 [C99-based-standards] (SCNi32): Likewise.
1471 [C99-based-standards] (SCNo32): Likewise.
1472 [C99-based-standards] (SCNu32): Likewise.
1473 [C99-based-standards] (SCNx32): Likewise.
1474 [C99-based-standards] (PRIdLEAST32): Likewise.
1475 [C99-based-standards] (PRIiLEAST32): Likewise.
1476 [C99-based-standards] (PRIoLEAST32): Likewise.
1477 [C99-based-standards] (PRIuLEAST32): Likewise.
1478 [C99-based-standards] (PRIxLEAST32): Likewise.
1479 [C99-based-standards] (PRIXLEAST32): Likewise.
1480 [C99-based-standards] (SCNdLEAST32): Likewise.
1481 [C99-based-standards] (SCNiLEAST32): Likewise.
1482 [C99-based-standards] (SCNoLEAST32): Likewise.
1483 [C99-based-standards] (SCNuLEAST32): Likewise.
1484 [C99-based-standards] (SCNxLEAST32): Likewise.
1485 [C99-based-standards] (PRIdFAST32): Likewise.
1486 [C99-based-standards] (PRIiFAST32): Likewise.
1487 [C99-based-standards] (PRIoFAST32): Likewise.
1488 [C99-based-standards] (PRIuFAST32): Likewise.
1489 [C99-based-standards] (PRIxFAST32): Likewise.
1490 [C99-based-standards] (PRIXFAST32): Likewise.
1491 [C99-based-standards] (SCNdFAST32): Likewise.
1492 [C99-based-standards] (SCNiFAST32): Likewise.
1493 [C99-based-standards] (SCNoFAST32): Likewise.
1494 [C99-based-standards] (SCNuFAST32): Likewise.
1495 [C99-based-standards] (SCNxFAST32): Likewise.
1496 [C99-based-standards] (PRId64): Likewise.
1497 [C99-based-standards] (PRIi64): Likewise.
1498 [C99-based-standards] (PRIo64): Likewise.
1499 [C99-based-standards] (PRIu64): Likewise.
1500 [C99-based-standards] (PRIx64): Likewise.
1501 [C99-based-standards] (PRIX64): Likewise.
1502 [C99-based-standards] (SCNd64): Likewise.
1503 [C99-based-standards] (SCNi64): Likewise.
1504 [C99-based-standards] (SCNo64): Likewise.
1505 [C99-based-standards] (SCNu64): Likewise.
1506 [C99-based-standards] (SCNx64): Likewise.
1507 [C99-based-standards] (PRIdLEAST64): Likewise.
1508 [C99-based-standards] (PRIiLEAST64): Likewise.
1509 [C99-based-standards] (PRIoLEAST64): Likewise.
1510 [C99-based-standards] (PRIuLEAST64): Likewise.
1511 [C99-based-standards] (PRIxLEAST64): Likewise.
1512 [C99-based-standards] (PRIXLEAST64): Likewise.
1513 [C99-based-standards] (SCNdLEAST64): Likewise.
1514 [C99-based-standards] (SCNiLEAST64): Likewise.
1515 [C99-based-standards] (SCNoLEAST64): Likewise.
1516 [C99-based-standards] (SCNuLEAST64): Likewise.
1517 [C99-based-standards] (SCNxLEAST64): Likewise.
1518 [C99-based-standards] (PRIdFAST64): Likewise.
1519 [C99-based-standards] (PRIiFAST64): Likewise.
1520 [C99-based-standards] (PRIoFAST64): Likewise.
1521 [C99-based-standards] (PRIuFAST64): Likewise.
1522 [C99-based-standards] (PRIxFAST64): Likewise.
1523 [C99-based-standards] (PRIXFAST64): Likewise.
1524 [C99-based-standards] (SCNdFAST64): Likewise.
1525 [C99-based-standards] (SCNiFAST64): Likewise.
1526 [C99-based-standards] (SCNoFAST64): Likewise.
1527 [C99-based-standards] (SCNuFAST64): Likewise.
1528 [C99-based-standards] (SCNxFAST64): Likewise.
1529 [C99-based-standards] (PRIdMAX): Likewise.
1530 [C99-based-standards] (PRIiMAX): Likewise.
1531 [C99-based-standards] (PRIoMAX): Likewise.
1532 [C99-based-standards] (PRIuMAX): Likewise.
1533 [C99-based-standards] (PRIxMAX): Likewise.
1534 [C99-based-standards] (PRIXMAX): Likewise.
1535 [C99-based-standards] (SCNdMAX): Likewise.
1536 [C99-based-standards] (SCNiMAX): Likewise.
1537 [C99-based-standards] (SCNoMAX): Likewise.
1538 [C99-based-standards] (SCNuMAX): Likewise.
1539 [C99-based-standards] (SCNxMAX): Likewise.
1540 [C99-based-standards] (PRIdPTR): Likewise.
1541 [C99-based-standards] (PRIiPTR): Likewise.
1542 [C99-based-standards] (PRIoPTR): Likewise.
1543 [C99-based-standards] (PRIuPTR): Likewise.
1544 [C99-based-standards] (PRIxPTR): Likewise.
1545 [C99-based-standards] (PRIXPTR): Likewise.
1546 [C99-based-standards] (SCNdPTR): Likewise.
1547 [C99-based-standards] (SCNiPTR): Likewise.
1548 [C99-based-standards] (SCNoPTR): Likewise.
1549 [C99-based-standards] (SCNuPTR): Likewise.
1550 [C99-based-standards] (SCNxPTR): Likewise.
1551 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
1552 allow.
1553 * conform/data/stdint.h-data: Update comments to clarify
1554 requirements.
1555 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
1556 type.
1557 [C99-based standards] (INT8_MAX): Likewise.
1558 [C99-based standards] (INT16_MIN): Likewise.
1559 [C99-based standards] (INT16_MAX): Likewise.
1560 [C99-based standards] (INT32_MIN): Likewise.
1561 [C99-based standards] (INT32_MAX): Likewise.
1562 [C99-based standards] (INT64_MIN): Likewise.
1563 [C99-based standards] (INT64_MAX): Likewise.
1564 [C99-based standards] (UINT8_MAX): Likewise.
1565 [C99-based standards] (UINT16_MAX): Likewise.
1566 [C99-based standards] (UINT32_MAX): Likewise.
1567 [C99-based standards] (UINT64_MAX): Likewise.
1568 [C99-based standards] (INT_LEAST8_MIN): Likewise.
1569 [C99-based standards] (INT_LEAST8_MAX): Likewise.
1570 [C99-based standards] (INT_LEAST16_MIN): Likewise.
1571 [C99-based standards] (INT_LEAST16_MAX): Likewise.
1572 [C99-based standards] (INT_LEAST32_MIN): Likewise.
1573 [C99-based standards] (INT_LEAST32_MAX): Likewise.
1574 [C99-based standards] (INT_LEAST64_MIN): Likewise.
1575 [C99-based standards] (INT_LEAST64_MAX): Likewise.
1576 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
1577 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
1578 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
1579 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
1580 [C99-based standards] (INT_FAST8_MIN): Likewise.
1581 [C99-based standards] (INT_FAST8_MAX): Likewise.
1582 [C99-based standards] (INT_FAST16_MIN): Likewise.
1583 [C99-based standards] (INT_FAST16_MAX): Likewise.
1584 [C99-based standards] (INT_FAST32_MIN): Likewise.
1585 [C99-based standards] (INT_FAST32_MAX): Likewise.
1586 [C99-based standards] (INT_FAST64_MIN): Likewise.
1587 [C99-based standards] (INT_FAST64_MAX): Likewise.
1588 [C99-based standards] (UINT_FAST8_MAX): Likewise.
1589 [C99-based standards] (UINT_FAST16_MAX): Likewise.
1590 [C99-based standards] (UINT_FAST32_MAX): Likewise.
1591 [C99-based standards] (UINT_FAST64_MAX): Likewise.
1592 [C99-based standards] (INTPTR_MIN): Likewise.
1593 [C99-based standards] (INTPTR_MAX): Likewise.
1594 [C99-based standards] (UINTPTR_MAX): Likewise.
1595 [C99-based standards] (INTMAX_MIN): Likewise.
1596 [C99-based standards] (INTMAX_MAX): Likewise.
1597 [C99-based standards] (UINTMAX_MAX): Likewise.
1598 [C99-based standards] (PTRDIFF_MIN): Likewise.
1599 [C99-based standards] (PTRDIFF_MAX): Likewise.
1600 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
1601 [C99-based standards] (SIZE_MAX): Likewise.
1602 [C99-based standards] (WCHAR_MAX): Likewise.
1603 [C99-based standards] (WINT_MAX): Likewise.
1604 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
1605 constraint on value.
1606 [C99-based standards] (WCHAR_MIN): Likewise.
1607 [C99-based standards] (WINT_MIN): Likewise.
1608 [C99-based standards] (*_t): Allow.
1609 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
1610 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
1611 Include math.h-data and complex.h-data. Remove all expectations
1612 of math.h and complex.h contents.
1613 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
1614 at end of line.
1615 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
1616 (struct tm): Expect tag.
1617 [C99-based-standards] (wcstof): Expect function.
1618 [C99-based-standards] (wcstold): Likewise.
1619 [C99-based-standards] (wcstoll): Likewise.
1620 [C99-based-standards] (wcstoull): Likewise.
1621 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
1622 macro-int-constant. Specify type.
1623 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
1624 constraint on value.
1625 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
1626 Specify type.
1627 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
1628 Specify value.
1629 [ISO C standards]: Do not allow headers.
1630 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
1631 wcs[abcdefghijklmnopqrstuvwxyz]*.
1632 [ISO C standards] (*_t): Do not allow.
1633 * conform/data/wctype.h-data [C99-based standards] (iswblank):
1634 Expect function.
1635 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
1636 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
1637 Specify type.
1638 [ISO C standards]: Do not allow headers.
1639 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
1640 is[abcdefghijklmnopqrstuvwxyz]*.
1641 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
1642 to[abcdefghijklmnopqrstuvwxyz]*.
1643 [ISO C standards] (*_t): Do not allow.
1644 * conform/data/stdalign.h-data: New file.
1645 * conform/data/stdbool.h-data: Likewise.
1646 * conform/data/stdnoreturn.h-data: Likewise.
1647
1648 2012-11-07 Roland McGrath <roland@hack.frob.com>
1649
1650 [BZ #14815]
1651 * manual/filesys.texi (Directory Entries): Typo fix.
1652 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
1653
1654 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1655
1656 * elf/elf.h (EM_AARCH64): New macro.
1657 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
1658 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
1659 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
1660 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
1661 (R_AARCH64_TLSDESC): Likewise.
1662 (NT_ARM_TLS): Likewise.
1663 (NT_ARM_HW_BREAK): Likewise.
1664 (NT_ARM_HW_WATCH): Likewise.
1665
1666 2012-11-07 Joseph Myers <joseph@codesourcery.com>
1667
1668 [BZ #14811]
1669 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
1670 (__ieee754_powl): Saturate nonzero exponents with absolute value
1671 below 0x1p-79 to +/- 0x1p-79.
1672 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
1673 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
1674 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
1675 nonzero exponents with absolute value below 0x1p-32 to +/-
1676 0x1p-32.
1677 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
1678 (__ieee754_powl): Saturate nonzero exponents with absolute value
1679 below 0x1p-79 to +/- 0x1p-79.
1680 * math/libm-test.inc (pow_test): Add more tests.
1681
1682 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1683
1684 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
1685 _dl_s390_cap_flags with kernel. Increase string length.
1686 (_dl_s390_platforms): Add z196 and zEC12.
1687
1688 2012-11-07 Joseph Myers <joseph@codesourcery.com>
1689
1690 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
1691 Change XOPEN21K to XOPEN2K.
1692
1693 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
1694
1695 * string/memmove.c: Use memcpy when possible.
1696
1697 2012-11-06 Andreas Jaeger <aj@suse.de>
1698
1699 * po/eo.po: Update from translation team.
1700
1701 2012-11-06 Joseph Myers <joseph@codesourcery.com>
1702
1703 [BZ #14793]
1704 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
1705 exponent and small x and y exponents, scale x or y up. Increase
1706 by 2 the exponent used in scaling up.
1707 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1708 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1709 * math/libm-test.inc (fma_test): Add more tests.
1710 (fma_test_towardzero): Likewise.
1711 (fma_test_downward): Likewise.
1712 (fma_test_upward): Likewise.
1713
1714 2012-11-05 Joseph Myers <joseph@codesourcery.com>
1715
1716 [BZ #14805]
1717 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
1718 fenv_t *.
1719
1720 [BZ #14801]
1721 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
1722 namespace for names of struct fields.
1723 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
1724 fenv_t fields.
1725 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
1726 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
1727
1728 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
1729
1730 [BZ #3665]
1731 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
1732
1733 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
1734
1735 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
1736 PTR_DEMANGLE.
1737
1738 [BZ #5246]
1739 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
1740 PTR_DEMANGLE.
1741
1742 2012-11-04 Joseph Myers <joseph@codesourcery.com>
1743
1744 [BZ #14797]
1745 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
1746 definitely overflow as x * y not x * y + z.
1747 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1748 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1749 * math/libm-test.inc (fma_test): Add more tests.
1750 (fma_test_towardzero): Likewise.
1751 (fma_test_downward): Likewise.
1752 (fma_test_upward): Likewise.
1753
1754 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
1755
1756 [BZ #157]
1757
1758 * include/stub-tag.h: Remove file.
1759 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
1760 '#include' of it.
1761 * manual/maint.texi (Porting): Don't reference it.
1762 * Makerules ($(objpfx)stubs): Likewise.
1763 * dirent/closedir.c: Don't include <stub-tag.h>.
1764 * dirent/dirfd.c: Likewise.
1765 * dirent/fdopendir.c: Likewise.
1766 * dirent/getdents.c: Likewise.
1767 * dirent/getdents64.c: Likewise.
1768 * dirent/opendir.c: Likewise.
1769 * dirent/readdir.c: Likewise.
1770 * dirent/readdir64.c: Likewise.
1771 * dirent/readdir64_r.c: Likewise.
1772 * dirent/readdir_r.c: Likewise.
1773 * dirent/rewinddir.c: Likewise.
1774 * dirent/seekdir.c: Likewise.
1775 * dirent/telldir.c: Likewise.
1776 * gmon/profil.c: Likewise.
1777 * grp/setgroups.c: Likewise.
1778 * inet/if_index.c: Likewise.
1779 * io/access.c: Likewise.
1780 * io/chdir.c: Likewise.
1781 * io/chmod.c: Likewise.
1782 * io/chown.c: Likewise.
1783 * io/close.c: Likewise.
1784 * io/dup.c: Likewise.
1785 * io/dup2.c: Likewise.
1786 * io/dup3.c: Likewise.
1787 * io/euidaccess.c: Likewise.
1788 * io/faccessat.c: Likewise.
1789 * io/fchdir.c: Likewise.
1790 * io/fchmod.c: Likewise.
1791 * io/fchmodat.c: Likewise.
1792 * io/fchown.c: Likewise.
1793 * io/fchownat.c: Likewise.
1794 * io/fcntl.c: Likewise.
1795 * io/flock.c: Likewise.
1796 * io/fstatfs.c: Likewise.
1797 * io/fstatfs64.c: Likewise.
1798 * io/fstatvfs.c: Likewise.
1799 * io/fstatvfs64.c: Likewise.
1800 * io/futimens.c: Likewise.
1801 * io/fxstat.c: Likewise.
1802 * io/fxstat64.c: Likewise.
1803 * io/fxstatat.c: Likewise.
1804 * io/fxstatat64.c: Likewise.
1805 * io/getcwd.c: Likewise.
1806 * io/isatty.c: Likewise.
1807 * io/lchmod.c: Likewise.
1808 * io/lchown.c: Likewise.
1809 * io/link.c: Likewise.
1810 * io/linkat.c: Likewise.
1811 * io/lseek.c: Likewise.
1812 * io/lseek64.c: Likewise.
1813 * io/lxstat64.c: Likewise.
1814 * io/mkdir.c: Likewise.
1815 * io/mkdirat.c: Likewise.
1816 * io/mkfifo.c: Likewise.
1817 * io/mkfifoat.c: Likewise.
1818 * io/open.c: Likewise.
1819 * io/open64.c: Likewise.
1820 * io/openat.c: Likewise.
1821 * io/openat64.c: Likewise.
1822 * io/pipe.c: Likewise.
1823 * io/pipe2.c: Likewise.
1824 * io/poll.c: Likewise.
1825 * io/posix_fadvise.c: Likewise.
1826 * io/posix_fadvise64.c: Likewise.
1827 * io/posix_fallocate.c: Likewise.
1828 * io/posix_fallocate64.c: Likewise.
1829 * io/read.c: Likewise.
1830 * io/readlink.c: Likewise.
1831 * io/readlinkat.c: Likewise.
1832 * io/rmdir.c: Likewise.
1833 * io/sendfile.c: Likewise.
1834 * io/sendfile64.c: Likewise.
1835 * io/statfs.c: Likewise.
1836 * io/statfs64.c: Likewise.
1837 * io/statvfs.c: Likewise.
1838 * io/statvfs64.c: Likewise.
1839 * io/symlink.c: Likewise.
1840 * io/symlinkat.c: Likewise.
1841 * io/ttyname.c: Likewise.
1842 * io/ttyname_r.c: Likewise.
1843 * io/umask.c: Likewise.
1844 * io/unlink.c: Likewise.
1845 * io/unlinkat.c: Likewise.
1846 * io/utime.c: Likewise.
1847 * io/utimensat.c: Likewise.
1848 * io/write.c: Likewise.
1849 * io/xmknod.c: Likewise.
1850 * io/xmknodat.c: Likewise.
1851 * io/xstat.c: Likewise.
1852 * io/xstat64.c: Likewise.
1853 * login/getpt.c: Likewise.
1854 * login/grantpt.c: Likewise.
1855 * login/unlockpt.c: Likewise.
1856 * math/e_acoshl.c: Likewise.
1857 * math/e_acosl.c: Likewise.
1858 * math/e_asinl.c: Likewise.
1859 * math/e_atan2l.c: Likewise.
1860 * math/e_atanhl.c: Likewise.
1861 * math/e_coshl.c: Likewise.
1862 * math/e_expl.c: Likewise.
1863 * math/e_fmodl.c: Likewise.
1864 * math/e_gammal_r.c: Likewise.
1865 * math/e_hypotl.c: Likewise.
1866 * math/e_j0l.c: Likewise.
1867 * math/e_j1l.c: Likewise.
1868 * math/e_jnl.c: Likewise.
1869 * math/e_lgammal_r.c: Likewise.
1870 * math/e_log10l.c: Likewise.
1871 * math/e_log2l.c: Likewise.
1872 * math/e_logl.c: Likewise.
1873 * math/e_powl.c: Likewise.
1874 * math/e_rem_pio2l.c: Likewise.
1875 * math/e_sinhl.c: Likewise.
1876 * math/e_sqrtl.c: Likewise.
1877 * math/fclrexcpt.c: Likewise.
1878 * math/fedisblxcpt.c: Likewise.
1879 * math/feenablxcpt.c: Likewise.
1880 * math/fegetenv.c: Likewise.
1881 * math/fegetexcept.c: Likewise.
1882 * math/fegetround.c: Likewise.
1883 * math/feholdexcpt.c: Likewise.
1884 * math/fesetenv.c: Likewise.
1885 * math/fesetround.c: Likewise.
1886 * math/feupdateenv.c: Likewise.
1887 * math/fgetexcptflg.c: Likewise.
1888 * math/fraiseexcpt.c: Likewise.
1889 * math/fsetexcptflg.c: Likewise.
1890 * math/ftestexcept.c: Likewise.
1891 * math/k_cosl.c: Likewise.
1892 * math/k_rem_pio2l.c: Likewise.
1893 * math/k_sinl.c: Likewise.
1894 * math/k_tanl.c: Likewise.
1895 * math/s_asinhl.c: Likewise.
1896 * math/s_atanl.c: Likewise.
1897 * math/s_cbrtl.c: Likewise.
1898 * math/s_erfl.c: Likewise.
1899 * math/s_expm1l.c: Likewise.
1900 * math/s_log1pl.c: Likewise.
1901 * math/s_tanhl.c: Likewise.
1902 * misc/acct.c: Likewise.
1903 * misc/brk.c: Likewise.
1904 * misc/chflags.c: Likewise.
1905 * misc/chroot.c: Likewise.
1906 * misc/fchflags.c: Likewise.
1907 * misc/fgetxattr.c: Likewise.
1908 * misc/flistxattr.c: Likewise.
1909 * misc/fremovexattr.c: Likewise.
1910 * misc/fsetxattr.c: Likewise.
1911 * misc/fsync.c: Likewise.
1912 * misc/ftruncate.c: Likewise.
1913 * misc/futimes.c: Likewise.
1914 * misc/futimesat.c: Likewise.
1915 * misc/getdomain.c: Likewise.
1916 * misc/getdtsz.c: Likewise.
1917 * misc/gethostid.c: Likewise.
1918 * misc/gethostname.c: Likewise.
1919 * misc/getloadavg.c: Likewise.
1920 * misc/getpagesize.c: Likewise.
1921 * misc/getsysstats.c: Likewise.
1922 * misc/getxattr.c: Likewise.
1923 * misc/gtty.c: Likewise.
1924 * misc/ioctl.c: Likewise.
1925 * misc/lgetxattr.c: Likewise.
1926 * misc/listxattr.c: Likewise.
1927 * misc/llistxattr.c: Likewise.
1928 * misc/lremovexattr.c: Likewise.
1929 * misc/lsetxattr.c: Likewise.
1930 * misc/lutimes.c: Likewise.
1931 * misc/madvise.c: Likewise.
1932 * misc/mincore.c: Likewise.
1933 * misc/mlock.c: Likewise.
1934 * misc/mlockall.c: Likewise.
1935 * misc/mmap.c: Likewise.
1936 * misc/mprotect.c: Likewise.
1937 * misc/msync.c: Likewise.
1938 * misc/munlock.c: Likewise.
1939 * misc/munlockall.c: Likewise.
1940 * misc/munmap.c: Likewise.
1941 * misc/preadv.c: Likewise.
1942 * misc/preadv64.c: Likewise.
1943 * misc/ptrace.c: Likewise.
1944 * misc/pwritev.c: Likewise.
1945 * misc/pwritev64.c: Likewise.
1946 * misc/readv.c: Likewise.
1947 * misc/reboot.c: Likewise.
1948 * misc/remap_file_pages.c: Likewise.
1949 * misc/removexattr.c: Likewise.
1950 * misc/revoke.c: Likewise.
1951 * misc/select.c: Likewise.
1952 * misc/setdomain.c: Likewise.
1953 * misc/setegid.c: Likewise.
1954 * misc/seteuid.c: Likewise.
1955 * misc/sethostid.c: Likewise.
1956 * misc/sethostname.c: Likewise.
1957 * misc/setregid.c: Likewise.
1958 * misc/setreuid.c: Likewise.
1959 * misc/setxattr.c: Likewise.
1960 * misc/sstk.c: Likewise.
1961 * misc/stty.c: Likewise.
1962 * misc/swapoff.c: Likewise.
1963 * misc/swapon.c: Likewise.
1964 * misc/sync.c: Likewise.
1965 * misc/syncfs.c: Likewise.
1966 * misc/syscall.c: Likewise.
1967 * misc/truncate.c: Likewise.
1968 * misc/ualarm.c: Likewise.
1969 * misc/usleep.c: Likewise.
1970 * misc/ustat.c: Likewise.
1971 * misc/utimes.c: Likewise.
1972 * misc/vhangup.c: Likewise.
1973 * misc/writev.c: Likewise.
1974 * posix/_exit.c: Likewise.
1975 * posix/alarm.c: Likewise.
1976 * posix/execve.c: Likewise.
1977 * posix/fexecve.c: Likewise.
1978 * posix/fork.c: Likewise.
1979 * posix/fpathconf.c: Likewise.
1980 * posix/getaddrinfo.c: Likewise.
1981 * posix/getegid.c: Likewise.
1982 * posix/geteuid.c: Likewise.
1983 * posix/getgid.c: Likewise.
1984 * posix/getgroups.c: Likewise.
1985 * posix/getlogin.c: Likewise.
1986 * posix/getlogin_r.c: Likewise.
1987 * posix/getpgid.c: Likewise.
1988 * posix/getpid.c: Likewise.
1989 * posix/getppid.c: Likewise.
1990 * posix/getresgid.c: Likewise.
1991 * posix/getresuid.c: Likewise.
1992 * posix/getsid.c: Likewise.
1993 * posix/getuid.c: Likewise.
1994 * posix/glob64.c: Likewise.
1995 * posix/nanosleep.c: Likewise.
1996 * posix/pathconf.c: Likewise.
1997 * posix/pause.c: Likewise.
1998 * posix/posix_madvise.c: Likewise.
1999 * posix/pread.c: Likewise.
2000 * posix/pread64.c: Likewise.
2001 * posix/pwrite.c: Likewise.
2002 * posix/pwrite64.c: Likewise.
2003 * posix/sched_getaffinity.c: Likewise.
2004 * posix/sched_getp.c: Likewise.
2005 * posix/sched_gets.c: Likewise.
2006 * posix/sched_primax.c: Likewise.
2007 * posix/sched_primin.c: Likewise.
2008 * posix/sched_rr_gi.c: Likewise.
2009 * posix/sched_setaffinity.c: Likewise.
2010 * posix/sched_setp.c: Likewise.
2011 * posix/sched_sets.c: Likewise.
2012 * posix/sched_yield.c: Likewise.
2013 * posix/setgid.c: Likewise.
2014 * posix/setlogin.c: Likewise.
2015 * posix/setpgid.c: Likewise.
2016 * posix/setresgid.c: Likewise.
2017 * posix/setresuid.c: Likewise.
2018 * posix/setsid.c: Likewise.
2019 * posix/setuid.c: Likewise.
2020 * posix/sleep.c: Likewise.
2021 * posix/spawni.c: Likewise.
2022 * posix/sysconf.c: Likewise.
2023 * posix/times.c: Likewise.
2024 * posix/wait.c: Likewise.
2025 * posix/wait3.c: Likewise.
2026 * posix/wait4.c: Likewise.
2027 * posix/waitpid.c: Likewise.
2028 * resolv/gai_sigqueue.c: Likewise.
2029 * resource/getpriority.c: Likewise.
2030 * resource/getrlimit.c: Likewise.
2031 * resource/getrusage.c: Likewise.
2032 * resource/nice.c: Likewise.
2033 * resource/setpriority.c: Likewise.
2034 * resource/setrlimit.c: Likewise.
2035 * resource/ulimit.c: Likewise.
2036 * rt/aio_cancel.c: Likewise.
2037 * rt/aio_fsync.c: Likewise.
2038 * rt/aio_read.c: Likewise.
2039 * rt/aio_sigqueue.c: Likewise.
2040 * rt/aio_suspend.c: Likewise.
2041 * rt/aio_write.c: Likewise.
2042 * rt/clock_getres.c: Likewise.
2043 * rt/clock_gettime.c: Likewise.
2044 * rt/clock_nanosleep.c: Likewise.
2045 * rt/clock_settime.c: Likewise.
2046 * rt/lio_listio.c: Likewise.
2047 * rt/mq_close.c: Likewise.
2048 * rt/mq_getattr.c: Likewise.
2049 * rt/mq_notify.c: Likewise.
2050 * rt/mq_open.c: Likewise.
2051 * rt/mq_receive.c: Likewise.
2052 * rt/mq_send.c: Likewise.
2053 * rt/mq_setattr.c: Likewise.
2054 * rt/mq_timedreceive.c: Likewise.
2055 * rt/mq_timedsend.c: Likewise.
2056 * rt/mq_unlink.c: Likewise.
2057 * rt/shm_open.c: Likewise.
2058 * rt/shm_unlink.c: Likewise.
2059 * rt/timer_create.c: Likewise.
2060 * rt/timer_delete.c: Likewise.
2061 * rt/timer_getoverr.c: Likewise.
2062 * rt/timer_gettime.c: Likewise.
2063 * rt/timer_settime.c: Likewise.
2064 * setjmp/__longjmp.c: Likewise.
2065 * setjmp/setjmp.c: Likewise.
2066 * signal/kill.c: Likewise.
2067 * signal/killpg.c: Likewise.
2068 * signal/raise.c: Likewise.
2069 * signal/sigaction.c: Likewise.
2070 * signal/sigaltstack.c: Likewise.
2071 * signal/sigblock.c: Likewise.
2072 * signal/sigignore.c: Likewise.
2073 * signal/sigintr.c: Likewise.
2074 * signal/signal.c: Likewise.
2075 * signal/sigpause.c: Likewise.
2076 * signal/sigpending.c: Likewise.
2077 * signal/sigqueue.c: Likewise.
2078 * signal/sigreturn.c: Likewise.
2079 * signal/sigset.c: Likewise.
2080 * signal/sigsetmask.c: Likewise.
2081 * signal/sigstack.c: Likewise.
2082 * signal/sigsuspend.c: Likewise.
2083 * signal/sigtimedwait.c: Likewise.
2084 * signal/sigvec.c: Likewise.
2085 * signal/sigwait.c: Likewise.
2086 * signal/sigwaitinfo.c: Likewise.
2087 * signal/sysv_signal.c: Likewise.
2088 * socket/accept.c: Likewise.
2089 * socket/accept4.c: Likewise.
2090 * socket/bind.c: Likewise.
2091 * socket/connect.c: Likewise.
2092 * socket/getpeername.c: Likewise.
2093 * socket/getsockname.c: Likewise.
2094 * socket/getsockopt.c: Likewise.
2095 * socket/isfdtype.c: Likewise.
2096 * socket/listen.c: Likewise.
2097 * socket/recv.c: Likewise.
2098 * socket/recvfrom.c: Likewise.
2099 * socket/recvmsg.c: Likewise.
2100 * socket/send.c: Likewise.
2101 * socket/sendmsg.c: Likewise.
2102 * socket/sendto.c: Likewise.
2103 * socket/setsockopt.c: Likewise.
2104 * socket/shutdown.c: Likewise.
2105 * socket/sockatmark.c: Likewise.
2106 * socket/socket.c: Likewise.
2107 * socket/socketpair.c: Likewise.
2108 * stdio-common/ctermid.c: Likewise.
2109 * stdio-common/cuserid.c: Likewise.
2110 * stdio-common/remove.c: Likewise.
2111 * stdio-common/rename.c: Likewise.
2112 * stdio-common/renameat.c: Likewise.
2113 * stdio-common/tempname.c: Likewise.
2114 * stdlib/getcontext.c: Likewise.
2115 * stdlib/makecontext.c: Likewise.
2116 * stdlib/setcontext.c: Likewise.
2117 * stdlib/swapcontext.c: Likewise.
2118 * stdlib/system.c: Likewise.
2119 * streams/fattach.c: Likewise.
2120 * streams/fdetach.c: Likewise.
2121 * streams/getmsg.c: Likewise.
2122 * streams/getpmsg.c: Likewise.
2123 * streams/putmsg.c: Likewise.
2124 * streams/putpmsg.c: Likewise.
2125 * sysdeps/unix/bsd/getpt.c: Likewise.
2126 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
2127 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
2128 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
2130 Likewise.
2131 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
2132 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
2133 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
2134 * sysvipc/msgctl.c: Likewise.
2135 * sysvipc/msgget.c: Likewise.
2136 * sysvipc/msgrcv.c: Likewise.
2137 * sysvipc/msgsnd.c: Likewise.
2138 * sysvipc/semctl.c: Likewise.
2139 * sysvipc/semget.c: Likewise.
2140 * sysvipc/semop.c: Likewise.
2141 * sysvipc/semtimedop.c: Likewise.
2142 * sysvipc/shmat.c: Likewise.
2143 * sysvipc/shmctl.c: Likewise.
2144 * sysvipc/shmdt.c: Likewise.
2145 * sysvipc/shmget.c: Likewise.
2146 * termios/tcdrain.c: Likewise.
2147 * termios/tcflow.c: Likewise.
2148 * termios/tcflush.c: Likewise.
2149 * termios/tcgetattr.c: Likewise.
2150 * termios/tcgetpgrp.c: Likewise.
2151 * termios/tcsendbrk.c: Likewise.
2152 * termios/tcsetattr.c: Likewise.
2153 * termios/tcsetpgrp.c: Likewise.
2154 * time/adjtime.c: Likewise.
2155 * time/clock.c: Likewise.
2156 * time/getitimer.c: Likewise.
2157 * time/gettimeofday.c: Likewise.
2158 * time/setitimer.c: Likewise.
2159 * time/settimeofday.c: Likewise.
2160 * time/stime.c: Likewise.
2161 * time/time.c: Likewise.
2162
2163 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
2164
2165 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
2166 /usr/old/bin.
2167
2168 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
2169 instead of spaces.
2170 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
2171
2172 2012-11-03 Joseph Myers <joseph@codesourcery.com>
2173
2174 [BZ #14796]
2175 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
2176 FE_TONEAREST before applying Dekker multiplication and Knuth
2177 addition. Clear inexact exceptions and check for exact zero
2178 results afterwards.
2179 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2180 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2181 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2182 * math/libm-test.inc (fma_test): Add more tests.
2183 (fma_test_towardzero): Likewise.
2184 (fma_test_downward): Likewise.
2185 (fma_test_upward): Likewise.
2186 * sysdeps/generic/math_private.h (default_libc_fesetround): New
2187 function.
2188 (libc_fesetround): New macro.
2189 (libc_fesetroundf): Likewise.
2190 (libc_fesetroundl): Likewise.
2191 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
2192 function.
2193 (libc_fesetround_387): Likewise.
2194 (libc_fesetroundf): New macro.
2195 (libc_fesetround): Likewise.
2196 (libc_fesetroundl): Likewise.
2197 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
2198 function.
2199 (libc_fesetroundf): New macro.
2200 (libc_fesetround): Likewise.
2201 (libc_fesetroundl): Likewise.
2202 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
2203 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
2204 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
2205 libm_hidden_ver.
2206 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
2207 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
2208 libm_hidden_def.
2209 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
2210 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
2211 libm_hidden_ver.
2212 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
2213 libm_hidden_def.
2214
2215 [BZ #3439]
2216 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
2217 integer constant usable in #if and use that to give value to enum
2218 constant.
2219 (FE_DIVBYZERO): Likewise.
2220 (FE_UNDERFLOW): Likewise.
2221 (FE_OVERFLOW): Likewise.
2222 (FE_INVALID): Likewise.
2223 (FE_INVALID_SNAN): Likewise.
2224 (FE_INVALID_ISI): Likewise.
2225 (FE_INVALID_IDI): Likewise.
2226 (FE_INVALID_ZDZ): Likewise.
2227 (FE_INVALID_IMZ): Likewise.
2228 (FE_INVALID_COMPARE): Likewise.
2229 (FE_INVALID_SOFTWARE): Likewise.
2230 (FE_INVALID_SQRT): Likewise.
2231 (FE_INVALID_INTEGER_CONVERSION): Likewise.
2232 (FE_TONEAREST): Likewise.
2233 (FE_TOWARDZERO): Likewise.
2234 (FE_UPWARD): Likewise.
2235 (FE_DOWNWARD): Likewise.
2236 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
2237 (FE_DIVBYZERO): Likewise.
2238 (FE_OVERFLOW): Likewise.
2239 (FE_UNDERFLOW): Likewise.
2240 (FE_INEXACT): Likewise.
2241 (FE_TONEAREST): Likewise.
2242 (FE_DOWNWARD): Likewise.
2243 (FE_UPWARD): Likewise.
2244 (FE_TOWARDZERO): Likewise.
2245 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
2246 (FE_UNDERFLOW): Likewise.
2247 (FE_OVERFLOW): Likewise.
2248 (FE_DIVBYZERO): Likewise.
2249 (FE_INVALID): Likewise.
2250 (FE_TONEAREST): Likewise.
2251 (FE_TOWARDZERO): Likewise.
2252 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
2253 (FE_OVERFLOW): Likewise.
2254 (FE_UNDERFLOW): Likewise.
2255 (FE_DIVBYZERO): Likewise.
2256 (FE_INEXACT): Likewise.
2257 (FE_TONEAREST): Likewise.
2258 (FE_TOWARDZERO): Likewise.
2259 (FE_UPWARD): Likewise.
2260 (FE_DOWNWARD): Likewise.
2261 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
2262 (FE_DIVBYZERO): Likewise.
2263 (FE_OVERFLOW): Likewise.
2264 (FE_UNDERFLOW): Likewise.
2265 (FE_INEXACT): Likewise.
2266 (FE_TONEAREST): Likewise.
2267 (FE_DOWNWARD): Likewise.
2268 (FE_UPWARD): Likewise.
2269 (FE_TOWARDZERO): Likewise.
2270
2271 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
2272
2273 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
2274
2275 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
2276
2277 * scripts/cross-test-ssh.sh (command): Use newlines to separate
2278 commands. Quote $PWD.
2279 (blacklist_exports): Don't use remove_newlines. Replace "declare
2280 -x" by "export".
2281 (remove_newlines): Remove.
2282
2283 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
2284
2285 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
2286 * stdlib/stdlib.h (atof): Moved to ...
2287 * include/bits/stdlib-float.h: Here. New file.
2288 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
2289 * stdlib/bits/stdlib-float.h: New file.
2290 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
2291 -mno-sse -mno-mmx.
2292 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
2293 <xmmintrin.h>.
2294
2295 2012-11-02 Joseph Myers <joseph@codesourcery.com>
2296
2297 * conform/conformtest.pl (@headers): Add fenv.h.
2298 * conform/data/fenv.h-data: New file.
2299 * include/fenv.h [_ISOMAC]: Disable all contents of file except
2300 include of <math/fenv.h>.
2301
2302 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
2303 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
2304 && !UNIX98]. Enables tests for XOPEN2K8.
2305 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
2306 POSIX2008]: Likewise.
2307
2308 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
2309 (struct rusage): Do not expect type or its members.
2310
2311 [BZ #3439]
2312 * math/math.h (FP_NAN): Define macro to integer constant usable in
2313 #if and use that to give value to enum constant.
2314 (FP_INFINITE): Likewise.
2315 (FP_ZERO): Likewise.
2316 (FP_SUBNORMAL): Likewise.
2317 (FP_NORMAL): Likewise.
2318
2319 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
2320
2321 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
2322 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
2323 arguments.
2324
2325 2012-11-02 Roland McGrath <roland@hack.frob.com>
2326
2327 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
2328 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
2329 autoconf-time if not.
2330 * configure.in: Remove AC_PREREQ.
2331
2332 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2333
2334 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
2335 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
2336 of the internal implementation.
2337
2338 2012-11-02 Joseph Myers <joseph@codesourcery.com>
2339
2340 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
2341 except include of <misc/sys/syslog.h>.
2342
2343 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
2344
2345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
2346 function returns with a NULL context exit with zero.
2347
2348 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2349
2350 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
2351
2352 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
2353
2354 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
2355 (run_program_cmd): This.
2356 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
2357 (tst_langinfo): New variable. Use it.
2358
2359 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
2360
2361 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
2362 floating point opcodes.
2363
2364 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
2365
2366 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
2367 variable.
2368
2369 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
2370
2371 * sysdeps/mach/hurd/powerpc: Remove directory.
2372 * sysdeps/mach/powerpc: Likewise.
2373
2374 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
2375
2376 * scripts/check-local-headers.sh: Ignore c++ headers.
2377
2378 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
2379
2380 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
2381 __libc_cleanup_region_start argument.
2382
2383 2012-11-01 Joseph Myers <joseph@codesourcery.com>
2384
2385 [BZ #14784]
2386 [BZ #14785]
2387 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
2388 x * y using scaling, not as x * y + z.
2389 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2390 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2391 * math/libm-test.inc (fma_test): Add more tests.
2392 (fma_test_towardzero): Likewise.
2393 (fma_test_downward): Likewise.
2394 (fma_test_upward): Likewise.
2395
2396 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
2397
2398 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
2399
2400 2012-10-31 Joseph Myers <joseph@codesourcery.com>
2401
2402 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
2403 New variable.
2404
2405 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
2406
2407 * rt/tst-shm.c (worker): Correct checking for mmap failure.
2408
2409 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
2410
2411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2412 Fix sort order.
2413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2414 Likewise.
2415
2416 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2417
2418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2419 Fix the order of the list for glibc 2.17.
2420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2421 Likewise.
2422
2423 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
2424
2425 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2426
2427 2012-10-31 Joseph Myers <joseph@codesourcery.com>
2428
2429 [BZ #14610]
2430 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
2431 for low part of x being zero before using __atanl (y).
2432 * math/libm-test.inc (atan2_test): Add another test.
2433
2434 * manual/install.texi (Configuring and compiling): Document
2435 general use of test-wrapper and test-wrapper-env.
2436 * INSTALL: Regenerated.
2437
2438 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
2439 (__fma): Do not extract and scale down low bits on after-rounding
2440 systems when result rounded to normal precision would have normal
2441 exponent.
2442 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
2443 (__fmal): Do not extract and scale down low bits on after-rounding
2444 systems when result rounded to normal precision would have normal
2445 exponent.
2446 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
2447 (__fmal): Do not extract and scale down low bits on after-rounding
2448 systems when result rounded to normal precision would have normal
2449 exponent.
2450 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
2451 macro.
2452 (fma_test): Add more tests.
2453 (fma_test_towardzero): Likewise.
2454 (fma_test_downward): Likewise.
2455 (fma_test_upward): Likewise.
2456
2457 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
2458
2459 * sysdeps/i386/tininess.h: Renamed to ...
2460 * sysdeps/x86/tininess.h: This.
2461 * sysdeps/x86_64/tininess.h: Removed.
2462
2463 2012-10-30 Joseph Myers <joseph@codesourcery.com>
2464
2465 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
2466 input. Use $(build-program-cmd).
2467 ($(objpfx)tst-array1-static.out): Likewise.
2468 ($(objpfx)tst-array2.out): Likewise.
2469 ($(objpfx)tst-array3.out): Likewise.
2470 ($(objpfx)tst-array4.out): Likewise.
2471 ($(objpfx)tst-array5.out): Likewise.
2472 ($(objpfx)tst-array5-static.out): Likewise.
2473
2474 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
2475
2476 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
2477 if defined.
2478
2479 * nss/nsswitch.h (nss_interface_function): Provide new
2480 macro for use with NSS functions.
2481 * grp/initgroups.c: Use new macro.
2482 * nss/getXXbyYY.c: Likewise.
2483 * nss/getXXbyYY_r.c: Likewise.
2484 * nss/getXXent.c: Likewise.
2485 * nss/getXXent_r.c: Likewise.
2486 * sysdeps/posix/getaddrinfo.c: Likewise.
2487
2488 2012-10-30 Andreas Jaeger <aj@suse.de>
2489
2490 * po/ru.po: Update Russion translation from translation project.
2491
2492 2012-10-30 Joseph Myers <joseph@codesourcery.com>
2493
2494 [BZ #14152]
2495 [BZ #14783]
2496 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
2497 result and shift together with sticky bit instead of replicating
2498 round-to-nearest rounding.
2499 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2500 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2501 * math/libm-test.inc (fma_test): Add more tests. Do not permit
2502 missing underflow exceptions.
2503 (fma_test_towardzero): Add more tests.
2504 (fma_test_downward): Likewise.
2505 (fma_test_upward): Likewise.
2506
2507 [BZ #14047]
2508 * sysdeps/generic/tininess.h: New file.
2509 * sysdeps/i386/tininess.h: Likewise.
2510 * sysdeps/sh/tininess.h: Likewise.
2511 * sysdeps/x86_64/tininess.h: Likewise.
2512 * stdlib/tst-strtod-underflow.c: Likewise.
2513 * stdlib/tst-tininess.c: Likewise.
2514 * stdlib/strtod_l.c: Include <tininess.h>.
2515 (round_and_return): Do not set errno for exact underflow cases.
2516 Force an underflow exception when setting errno for underflow.
2517 Determine underflow based on rounding to normal precision if
2518 TININESS_AFTER_ROUNDING.
2519 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
2520 ERANGE for exact underflow cases.
2521 * stdlib/Makefile (tests): Add tst-tininess and
2522 tst-strtod-underflow.
2523 ($(objpfx)tst-tininess): Use $(link-libm).
2524 ($(objpfx)tst-strtod-underflow): Likewise.
2525
2526 2012-10-30 Andreas Jaeger <aj@suse.de>
2527
2528 [BZ#14767]
2529 * elf/Makefile (tests): Remove conditional for have-initfini-array
2530 since this is now always required and the variable does not exist
2531 anymore.
2532 (tests-static): Likewise.
2533 (modules-names): Likewise.
2534
2535 * po/eo.po: Add Esperanto translation from translation project.
2536
2537 * elf/tst-array1.c (fini_array): Make writeable so that it can be
2538 merged with constructor/destructor.
2539 (init_array): Likewise.
2540 * elf/tst-array2dep.c (fini_array): Likewise.
2541 (init_array): Likewise.
2542
2543 2012-10-29 Mike Frysinger <vapier@gentoo.org>
2544
2545 * manual/message.texi: Delete @cartouche tags.
2546
2547 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
2548
2549 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
2550 EOPNOTSUPP.
2551 * sysdeps/mach/hurd/fsync.c: Likewise.
2552
2553 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
2554 [_POSIX_REALTIME_SIGNALS]: Change condition to
2555 [_POSIX_REALTIME_SIGNALS > 0].
2556
2557 2012-10-27 Andreas Jaeger <aj@suse.de>
2558
2559 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
2560 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
2561 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
2562 [__WORDSIZE != 64]: Likewise.
2563
2564 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
2565
2566 * iconvdata/tst-table.sh: Remove ${SHELL}.
2567 * iconvdata/tst-tables.sh: Likewise.
2568
2569 2012-10-25 David S. Miller <davem@davemloft.net>
2570
2571 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2572 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
2573 of strtoull.
2574
2575 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
2576 ifunc-impl-list.c
2577 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2578 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
2579 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
2580 file.
2581
2582 2012-10-25 Roland McGrath <roland@hack.frob.com>
2583
2584 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2585 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
2586 __getdirentries.
2587
2588 2012-10-25 Joseph Myers <joseph@codesourcery.com>
2589 Jim Blandy <jimb@codesourcery.com>
2590
2591 * scripts/cross-test-ssh.sh: New file.
2592 * manual/install.texi (Configuring and compiling): Document use of
2593 cross-test-ssh.sh.
2594 * INSTALL: Regenerated.
2595
2596 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
2597
2598 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
2599 EOPNOTSUPP.
2600
2601 2012-10-25 Joseph Myers <joseph@codesourcery.com>
2602
2603 * Makeconfig (run-program-prefix): Fix comment.
2604
2605 2012-10-24 Joseph Myers <joseph@codesourcery.com>
2606 Jim Blandy <jimb@codesourcery.com>
2607
2608 * Makeconfig (test-wrapper): New variable,
2609 (test-wrapper-env): Likewise.
2610 [$(cross-compiling) = yes && $(test-wrapper) != ""]
2611 (run-built-tests): Define to yes.
2612 (run-program-prefix): Use $(test-wrapper).
2613 (built-program-cmd): Likewise.
2614 * Rules (make-test-out): Use $(test-wrapper-env) and
2615 $(host-built-program-cmd).
2616 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
2617 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
2618 tst-pathopt.sh.
2619 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
2620 $(test-wrapper-env) to tst-rtld-load-self.sh.
2621 ($(objpfx)order2.out): Use $(test-wrapper).
2622 ($(objpfx)tst-initorder.out): Likewise.
2623 ($(objpfx)tst-initorder2.out): Likewise.
2624 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
2625 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
2626 (test_wrapper_env): New variable. Use it to run ld.so.
2627 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
2628 Use it to run ld.so.
2629 (test_wrapper_env): Likewise.
2630 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
2631 $(test-wrapper) to run-iconv-test.sh.
2632 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
2633 (ICONV): Use $test_wrapper.
2634 * posix/Makefile ($(objpfx)globtest.out): Pass
2635 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
2636 globtest.sh, not $(run-program-prefix).
2637 * posix/globtest.sh (run_via_rtld_prefix): New variable.
2638 (test_wrapper): Likewise.
2639 (test_wrapper_env): Likewise. Use it to run globtest with HOME
2640 set together with run_via_rtld_prefix.
2641 (run_program_prefix): Define in terms of test_wrapper and
2642 run_via_rtld_prefix.
2643
2644 2012-10-24 Roland McGrath <roland@hack.frob.com>
2645
2646 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
2647 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
2648 Targets removed.
2649
2650 [BZ #14743]
2651 * include/time.h: Remove librt_hidden_proto (clock_gettime).
2652 Declare __clock_getres, __clock_gettime, __clock_settime,
2653 __clock_nanosleep, and __clock_getcpuclockid.
2654 * rt/clock_gettime.c: Define __clock_gettime as an alias.
2655 Remove librt_hidden_def (clock_gettime).
2656 * sysdeps/unix/clock_gettime.c: Likewise.
2657 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
2658 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
2659 * rt/clock_getres.c: Define __clock_getres as an alias.
2660 * sysdeps/posix/clock_getres.c: Likewise.
2661 * rt/clock_settime.c: Define __clock_settime as an alias.
2662 * sysdeps/unix/clock_settime.c: Likewise.
2663 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
2664 * sysdeps/unix/clock_nanosleep.c: Likewise.
2665 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
2666 * rt/clock-compat.c: New file.
2667 * rt/Makefile (librt-routines): Add clock-compat and move
2668 $(clock-routines) to ...
2669 (routines): ... here, new variable.
2670 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
2671 Don't add get_clockfreq here.
2672 * rt/Versions (libc: GLIBC_2.17): New version set.
2673 Add clock_* symbols here.
2674 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
2675 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
2676 (GLIBC_2.17): Add clock_* symbols.
2677 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
2678 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
2679 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2681 Likewise.
2682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2683 Likewise.
2684 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2685 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
2686 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
2687 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
2688 * NEWS: Mention the move.
2689
2690 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
2691 Use __open, __read, __close rather than their public counterparts.
2692 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2693 (__get_clockfreq_via_cpuinfo): Likewise.
2694 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
2695 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
2696
2697 * config.h.in (HAVE_IFUNC): New #undef.
2698 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
2699 was successful.
2700 * configure: Regenerated.
2701
2702 2012-10-24 Mike Frysinger <vapier@gentoo.org>
2703
2704 * configure.in: Move READELF check to start of file.
2705 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
2706 libc_cv_asm_gnu_indirect_function in the process.
2707 * configure: Regenerated.
2708
2709 2012-10-24 Mike Frysinger <vapier@gentoo.org>
2710
2711 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
2712 send the output to /dev/null.
2713 (libc_cv_cc_with_libunwind): Likewise.
2714 (libc_cv_as_noexecstack): Likewise.
2715 * configure: Regenerate.
2716
2717 2012-10-24 Joseph Myers <joseph@codesourcery.com>
2718
2719 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
2720
2721 * posix/globtest.sh (TMPDIR): Do not set.
2722 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
2723 (testout): Likewise.
2724
2725 2012-10-24 Andreas Jaeger <aj@suse.de>
2726
2727 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
2728 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
2729 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
2730 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
2731 posix_fadvise64, posix_fallocate64.
2732
2733 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
2734 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
2735 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
2736 Likewise.
2737 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
2738 Likewise.
2739 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
2740
2741 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
2742 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
2743 <bits/fcntl-linux.h>.
2744 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
2745
2746 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
2747 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
2748 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
2749 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
2750 [__WORDSIZE != 64]: Likewise.
2751
2752 2012-10-23 Joseph Myers <joseph@codesourcery.com>
2753
2754 * Makeconfig (run-built-tests): New variable.
2755 * Rules [$(cross-compiling) = yes]: Change condition to
2756 [$(run-built-tests) = no].
2757 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
2758 to [$(run-built-tests) = yes].
2759 * elf/Makefile [$(cross-compiling) = no]: Likewise
2760 * grp/Makefile [$(cross-compiling) = no]: Likewise.
2761 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
2762 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
2763 * intl/Makefile [$(cross-compiling) = no]: Likewise.
2764 * io/Makefile [$(cross-compiling) = no]: Likewise.
2765 * libio/Makefile [$(cross-compiling) = no]: Likewise.
2766 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
2767 * misc/Makefile [$(cross-compiling) = no]: Likewise.
2768 * posix/Makefile [$(cross-compiling) = no]: Likewise.
2769 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
2770 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
2771 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
2772 * string/Makefile [$(cross-compiling) = no]: Likewise.
2773
2774 * posix/Makefile ($(objpfx)globtest.out): Pass
2775 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
2776 $(rtld-installed-name).
2777 * posix/globtest.sh (elf_objpfx): Remove variable.
2778 (rtld_installed_name): Likewise.
2779 (library_path): Likewise.
2780 (run_program_prefix): New variable. Use for running globtest
2781 binary.
2782
2783 2012-10-23 Jim Blandy <jimb@codesourcery.com>
2784 Joseph Myers <joseph@codesourcery.com>
2785
2786 * Makeconfig (host-built-program-cmd): New variable.
2787 * elf/Makefile (tst-stackguard1-ARGS): Use
2788 $(host-built-program-cmd).
2789 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
2790 (tst-spawn-ARGS): Likewise.
2791 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
2792
2793 2012-10-23 Joseph Myers <joseph@codesourcery.com>
2794 Jim Blandy <jimb@codesourcery.com>
2795
2796 * Makeconfig (run-via-rtld-prefix): New variable.
2797 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
2798 (built-program-cmd): Likewise.
2799
2800 2012-10-22 Andreas Jaeger <aj@suse.de>
2801
2802 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
2803 __O_RSYNC if it exists, otherwise to O_SYNC.
2804
2805 2012-10-22 Jim Blandy <jimb@codesourcery.com>
2806 Joseph Myers <joseph@codesourcery.com>
2807
2808 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
2809 /dev/null.
2810 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
2811 from /dev/null
2812 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
2813 /dev/null.
2814
2815 2012-10-22 Andreas Jaeger <aj@suse.de>
2816
2817 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
2818 Define always.
2819 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
2820
2821 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2822 bits/fcntl-linux.h.
2823
2824 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
2825 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
2826
2827 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
2828 to __O_LARGEFILE.
2829 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
2830 to __O_LARGEFILE.
2831
2832 2012-10-21 Jim Blandy <jimb@codesourcery.com>
2833 Joseph Myers <joseph@codesourcery.com>
2834
2835 * config.make.in (NM): New variable.
2836
2837 2012-10-21 Andreas Jaeger <aj@suse.de>
2838
2839 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
2840 definitions and declarations that are provided by
2841 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
2842
2843 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
2844
2845 [BZ #14683]
2846 * elf/Makefile (tests-static): Add tst-leaks1-static.
2847 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
2848 ($(objpfx)tst-leaks1-static): New rule.
2849 ($(objpfx)tst-leaks1-static-mem): Likewise.
2850 (tst-leaks1-static-ENV): New macro.
2851 * elf/dl-open.c (dl_open_worker): Check the main application
2852 only if SHARED is defined.
2853 * elf/tst-leaks1-static.c: New file.
2854
2855 2012-10-20 Andreas Jaeger <aj@suse.de>
2856
2857 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
2858 generic values for Linux.
2859 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
2860 and declarations that are provided by <bits/fcntl-linux.h> and
2861 include <bits/fcntl-linux.h>.
2862 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2863 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
2864
2865 2012-10-20 Roland McGrath <roland@hack.frob.com>
2866
2867 * io/fcntl.h: Move include of <bits/types.h> to the top and
2868 include it unconditionally.
2869
2870 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
2871
2872 * wcsmbs/Makefile (tests-ifunc): New variable.
2873 (tests): Add $(tests-ifunc).
2874 * wcsmbs/test-wcschr-ifunc.c: New file.
2875 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
2876 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
2877 * wcsmbs/test-wcslen-ifunc.c: Likewise.
2878 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
2879 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
2880
2881 * string/Makefile (tests-ifunc): New variable.
2882 (tests): Add $(tests-ifunc).
2883 * string/test-memccpy.c (TEST_NAME): New macro.
2884 * string/test-memchr.c (TEST_NAME): Likewise.
2885 * string/test-memcmp.c (TEST_NAME): Likewise.
2886 * string/test-memcpy.c (TEST_NAME): Likewise.
2887 * string/test-memmem.c (TEST_NAME): Likewise.
2888 * string/test-memmove.c (TEST_NAME): Likewise.
2889 * string/test-memset.c (TEST_NAME): Likewise.
2890 * string/test-rawmemchr.c (TEST_NAME): Likewise.
2891 * string/test-stpcpy.c (TEST_NAME): Likewise.
2892 * string/test-stpncpy.c (TEST_NAME): Likewise.
2893 * string/test-strcasecmp.c (TEST_NAME): Likewise.
2894 * string/test-strcasestr.c (TEST_NAME): Likewise.
2895 * string/test-strcat.c (TEST_NAME): Likewise.
2896 * string/test-strchr.c (TEST_NAME): Likewise.
2897 * string/test-strcmp.c(TEST_NAME): Likewise.
2898 * string/test-strcpy.c (TEST_NAME): Likewise.
2899 * string/test-strcspn.c (TEST_NAME): Likewise.
2900 * string/test-strlen.c (TEST_NAME): Likewise.
2901 * string/test-strncasecmp.c (TEST_NAME): Likewise.
2902 * string/test-strncmp.c (TEST_NAME): Likewise.
2903 * string/test-strncpy.c (TEST_NAME): Likewise.
2904 * string/test-strnlen.c (TEST_NAME): Likewise.
2905 * string/test-strpbrk.c (TEST_NAME): Likewise.
2906 * string/test-strrchr.c (TEST_NAME): Likewise.
2907 * string/test-strspn.c (TEST_NAME): Likewise.
2908 * string/test-strstr.c (TEST_NAME): Likewise.
2909 * string/test-bcopy-ifunc.c: New file.
2910 * string/test-bzero-ifunc.c: Likewise.
2911 * string/test-memccpy-ifunc.c: Likewise.
2912 * string/test-memchr-ifunc.c: Likewise.
2913 * string/test-memcmp-ifunc.c: Likewise.
2914 * string/test-memcpy-ifunc.c: Likewise.
2915 * string/test-memmem-ifunc.c: Likewise.
2916 * string/test-memmove-ifunc.c: Likewise.
2917 * string/test-mempcpy-ifunc.c: Likewise.
2918 * string/test-memset-ifunc.c: Likewise.
2919 * string/test-rawmemchr-ifunc.c: Likewise.
2920 * string/test-stpcpy-ifunc.c: Likewise.
2921 * string/test-stpncpy-ifunc.c: Likewise.
2922 * string/test-strcasecmp-ifunc.c: Likewise.
2923 * string/test-strcasestr-ifunc.c: Likewise.
2924 * string/test-strcat-ifunc.c: Likewise.
2925 * string/test-strchr-ifunc.c: Likewise.
2926 * string/test-strchrnul-ifunc.c: Likewise.
2927 * string/test-strcmp-ifunc.c: Likewise.
2928 * string/test-strcpy-ifunc.c: Likewise.
2929 * string/test-strcspn-ifunc.c: Likewise.
2930 * string/test-strlen-ifunc.c: Likewise.
2931 * string/test-strncasecmp-ifunc.c: Likewise.
2932 * string/test-strncat-ifunc.c: Likewise.
2933 * string/test-strncmp-ifunc.c: Likewise.
2934 * string/test-strncpy-ifunc.c: Likewise.
2935 * string/test-strnlen-ifunc.c: Likewise.
2936 * string/test-strpbrk-ifunc.c: Likewise.
2937 * string/test-strrchr-ifunc.c: Likewise.
2938 * string/test-strspn-ifunc.c: Likewise.
2939 * string/test-strstr-ifunc.c: Likewise.
2940
2941 * debug/Makefile (tests-ifunc): New variable.
2942 (tests): Add $(tests-ifunc).
2943 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
2944 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
2945 * debug/test-stpcpy_chk-ifunc.c: New file.
2946 * debug/test-strcpy_chk-ifunc.c: Likewise.
2947
2948 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2949
2950 [BZ #13601]
2951 * elf/dl-load.c (open_verify): Retry read if the entire ELF
2952 header is not read in.
2953
2954 2012-10-19 Joseph Myers <joseph@codesourcery.com>
2955
2956 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
2957 script to $(SHELL) as $<. Pass $(common-objpfx) to script
2958 directly. Pass built executable to script as
2959 $(built-program-cmd).
2960 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
2961 $testprogram without using LD_LIBRARY_PATH and $ldso.
2962
2963 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
2964 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
2965 $(rtld-installed-name).
2966 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
2967 (rtld_installed_name): Likewise.
2968 (library_path): Likewise.
2969 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
2970 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
2971 $(run-program-prefix) to tst-tables.sh.
2972 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
2973 it to run tst-table-from and tst-table-to.
2974 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
2975 Pass it to tst-table.sh.
2976 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
2977 $(run-program-prefix) to tst-gettext.sh.
2978 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
2979 tst-translit.sh.
2980 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
2981 tst-gettext2.sh.
2982 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
2983 to run tst-gettext.
2984 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
2985 to run tst-gettext2.
2986 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
2987 to run tst-translit.
2988 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
2989 $(run-program-prefix) to tst-mtrace.sh.
2990 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
2991 to run tst-mtrace.
2992 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
2993 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
2994 $(rtld-installed-name).
2995 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
2996 (rtld_installed_name): Likewise.
2997 (run_program_prefix): New variable. Use it to run wordexp-test.
2998
2999 * Makeconfig (ARCH): Remove all definitions.
3000 (machine): Likewise.
3001 [ARCH]: Remove conditional code.
3002 [!objdir]: Give error.
3003 [!objdir] (objpfx): Remove.
3004 [!objdir] (common-objpfx): Likewise.
3005 [!objdir] (common-objdir): Likewise.
3006 * configure.in (config_makefile): Remove. Hardcode Makefile in
3007 AC_CONFIG_FILES call.
3008 * configure: Regenerated.
3009
3010 [BZ #13888]
3011 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
3012 or TMPDIR.
3013 (testout): Likewise.
3014
3015 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
3016 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
3017 $(rtld-installed-name).
3018 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
3019 (rtld_installed_name): Likwise.
3020 (runit): Remove function.
3021 (run_getconf): New variable, Use it for running getconf binary.
3022
3023 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
3024
3025 [BZ #14716]
3026 * string/test-memmem.c (check_result): New function.
3027 (do_one_test): Use it.
3028 (check1): New function.
3029 (test_main): Use it.
3030
3031 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
3032
3033 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
3034
3035 2012-10-18 Joseph Myers <joseph@codesourcery.com>
3036
3037 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
3038 (_G_LSEEK64): Likewise.
3039 (_G_MMAP64): Likewise.
3040 (_G_FSTAT64): Likewise.
3041 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
3042 (_G_LSEEK64): Likewise.
3043 (_G_MMAP64): Likewise.
3044 (_G_FSTAT64): Likewise.
3045 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
3046 unconditional. Call __mmap64 directly.
3047 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
3048 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
3049 __lseek64 directly.
3050 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
3051 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
3052 __mmap64 directly.
3053 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
3054 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
3055 __lseek64 directly.
3056 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
3057 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
3058 __lseek64 directly.
3059 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
3060 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
3061 __lseek64 directly.
3062 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
3063 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
3064 __fxstat64 directly.
3065 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
3066 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
3067 unconditional.
3068 (freopen64) [!_G_OPEN64]: Remove conditional code.
3069 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
3070 unconditional.
3071 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
3072 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
3073 unconditional.
3074 (ftello64) [!_G_LSEEK64]: Remove conditional code.
3075 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
3076 unconditional.
3077 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
3078 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
3079 unconditional.
3080 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
3081 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
3082 unconditional.
3083 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
3084 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
3085 unconditional.
3086 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
3087 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
3088 unconditional.
3089 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
3090
3091 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3092
3093 [BZ #12140]
3094 * manual/memory.texi (Malloc Tunable Parameters): Add note
3095 about free list pointers overwriting some perturb bytes.
3096 Wording suggested by Roland McGrath.
3097
3098 2012-10-17 Joseph Myers <joseph@codesourcery.com>
3099
3100 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
3101 (lgamma_test): Likewise.
3102 (tgamma_test): Likewise.
3103
3104 2012-10-16 Florian Weimer <fweimer@redhat.com>
3105
3106 [BZ #14700]
3107 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
3108 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
3109
3110 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
3111
3112 * NEWS: Mention BZ #14716.
3113 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
3114 when removing AVAILABLE1_USES_J macro.
3115
3116 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
3117
3118 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
3119 (__bswap_64): __uint64_t for unsigned 64-bit int.
3120
3121 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
3122
3123 * include/string.h (memmem): Declare libc hidden alias.
3124 * string/memmem.c (memmem): Define libc hidden alias.
3125 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
3126 __read, __close instead of open, read, close.
3127
3128 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
3129
3130 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
3131 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
3132 global and hidden.
3133 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
3134 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
3135 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
3136 Likewise.
3137 (__rawmemchr_sse2): Likewise.
3138 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
3139 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
3140 (__strchr_sse2): Likewise.
3141 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
3142 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
3143 (__strcasecmp_sse2): Likewise.
3144 (__strncasecmp_sse2): Likewise.
3145 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
3146 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
3147 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
3148 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
3149 (__strrchr_sse2): Likewise.
3150 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
3151 ifunc-impl-list.c.
3152 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3153 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3154 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3155 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
3156 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3157 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3158 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3159 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3160 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
3161 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
3162 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
3163 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
3164 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
3165 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
3166 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
3167 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3168 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
3169 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
3170 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
3171 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
3172 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
3173 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
3174 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
3175 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
3176 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
3177 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3178 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3179 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
3180 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
3181 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
3182
3183 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
3184 global and hidden.
3185 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
3186 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
3187 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
3188 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
3189 Likewise.
3190 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
3191 Likewise.
3192 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
3193 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
3194 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
3195 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
3196 ifunc-impl-list.c.
3197 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3198 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3199 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3200 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3201 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3202 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3203 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3204 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3205 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3206 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3207 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3208 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3209 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3210 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
3211 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
3212 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3213 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
3214 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
3215 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3216 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3217 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3218 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3219 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3220 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3221 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3222 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
3223 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
3224 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
3225 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
3226 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3227 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
3228 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3229 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3230 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
3231 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3232 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3233 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3234 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3235 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3236 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3237 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
3238
3239 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
3240 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
3241 * include/ifunc-impl-list.h: New file.
3242 * misc/ifunc-impl-list.c: Likewise.
3243 * misc/Makefile (routines): Add ifunc-impl-list.
3244 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
3245 * string/test-string.h: Include <ifunc-impl-list.h>.
3246 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
3247 impl_array): New variables.
3248 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
3249 are defined.
3250 (test_init): Call __libc_ifunc_impl_list to initialize
3251 func_list if TEST_IFUNC and TEST_NAME are defined.
3252
3253 * string/Makefile (strop-tests): Add bcopy and bzero.
3254 * string/test-bcopy.c: New file.
3255 * string/test-bzero.c: Likewise.
3256 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
3257 defined.
3258 * string/test-memset.c: Support bzero test if TEST_BZERO is
3259 defined.
3260 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
3261 __libc_memmove.
3262 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
3263 __libc_memset.
3264 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
3265 of memset.
3266
3267 2012-10-10 Joseph Myers <joseph@codesourcery.com>
3268
3269 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
3270 * configure: Regenerated.
3271
3272 * Makeconfig (+link-static-before-libc): Don't include
3273 $(link-static-libc).
3274
3275 * libio/libio.h (_IO_pos_t): Remove.
3276
3277 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
3278
3279 * NEWS: Add note about FIPS mode. Wording suggested by Roland
3280 McGrath.
3281
3282 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
3283
3284 * crypt/crypt-entry.c: Include fips-private.h.
3285 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
3286 * crypt/md5c-test.c (main): Tolerate disabled MD5.
3287 * sysdeps/unix/sysv/linux/fips-private.h: New file.
3288 * sysdeps/generic/fips-private.h: New file, dummy fallback.
3289
3290 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
3291
3292 * crypt/crypt-private.h: Include stdbool.h.
3293 (_ufc_setup_salt_r): Return bool.
3294 * crypt/crypt-entry.c: Include errno.h.
3295 (__crypt_r): Return NULL with EINVAL for bad salt.
3296 * crypt/crypt_util.c (bad_for_salt): New.
3297 (_ufc_setup_salt_r): Check that salt is long enough and within
3298 the specified alphabet.
3299 * crypt/badsalttest.c: New file.
3300 * crypt/Makefile (tests): Add it.
3301 ($(objpfx)badsalttest): New.
3302
3303 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
3304
3305 * NEWS: Add entry for BZ #14602.
3306
3307 2012-10-09 Joseph Myers <joseph@codesourcery.com>
3308
3309 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
3310 type-generic.
3311 * math/libm-test.inc: Update comment listing what functions and
3312 macros are tested.
3313 (isgreater_test): New function.
3314 (isgreaterequal_test): Likewise.
3315 (isless_test): Likewise.
3316 (islessequal_test): Likewise.
3317 (islessgreater_test): Likewise.
3318 (isunordered_test): Likewise.
3319 (main): Call the new functions.
3320
3321 2012-10-09 Roland McGrath <roland@hack.frob.com>
3322
3323 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
3324 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
3325 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
3326 * sysdeps/i386/configure: Regenerated.
3327 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
3328 * sysdeps/mach/configure: Regenerated.
3329 * sysdeps/mach/hurd/configure: Regenerated.
3330 * sysdeps/powerpc/configure: Regenerated.
3331 * sysdeps/powerpc/powerpc32/configure: Regenerated.
3332 * sysdeps/powerpc/powerpc64/configure: Regenerated.
3333 * sysdeps/s390/s390-32/configure: Regenerated.
3334 * sysdeps/s390/s390-64/configure: Regenerated.
3335 * sysdeps/sh/configure: Regenerated.
3336 * sysdeps/sparc/configure: Regenerated.
3337 * sysdeps/unix/sysv/linux/configure: Regenerated.
3338 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
3339 * sysdeps/x86_64/configure: Regenerated.
3340
3341 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
3342 defined. Don't check if MAP is NULL.
3343
3344 2012-10-09 Joseph Myers <joseph@codesourcery.com>
3345
3346 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
3347 (_G_stat64): Likewise.
3348 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
3349 (_G_stat64): Likewise.
3350 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
3351 instead of struct _G_stat64.
3352 * libio/fileops.c (mmap_remap_check): Likewise.
3353 (decide_maybe_mmap): Likewise.
3354 (_IO_new_file_seekoff): Likewise.
3355 (_IO_file_stat): Likewise.
3356 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
3357 _G_off64_t.
3358 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
3359 instead of struct _G_stat64.
3360 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
3361
3362 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
3363
3364 [BZ #14602]
3365 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3366 Replace with ...
3367 (CHECK_EOL): New macro.
3368 (two_way_short_needle): Check beginning of haystack for EOL. Use
3369 CHECK_EOL.
3370 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3371 Replace with CHECK_EOL.
3372 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3373 Replace with CHECK_EOL.
3374
3375 2012-10-08 Joseph Myers <joseph@codesourcery.com>
3376
3377 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
3378 type-generic.
3379 * math/libm-test.inc: Update comment listing what functions and
3380 macros are tested.
3381 (finite_test): New function.
3382 (isinf_test): Likewise.
3383 (isnan_test): Likewise.
3384 (fpclassify_test): Test subnormal input.
3385 (isfinite_test): Likewise.
3386 (isnormal_test): Likewise.
3387 (main): Call the new functions.
3388
3389 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
3390
3391 [BZ #14660]
3392 * Makerules (%.dynsym): Force C locale when running
3393 $(OBJDUMP) --dynamic-syms.
3394
3395 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
3396
3397 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
3398 <stdint.h>.
3399
3400 2012-10-06 David S. Miller <davem@davemloft.net>
3401
3402 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
3403 upper 32-bits of the length value in %o2 since we use branch-on-register
3404 tests which consider the entire 64-bit register.
3405
3406 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
3407
3408 * string/test-strstr.c (check2): Add a test for page boundary.
3409
3410 2012-10-05 David S. Miller <davem@davemloft.net>
3411
3412 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
3413 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
3414 file.
3415 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
3416 sysdep_routines.
3417 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
3418 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
3419 and bzero when HWCAP_SPARC_CRYPTO is present.
3420
3421 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
3422
3423 [BZ #14602]
3424 * string/test-strstr.c (check2): New function.
3425 (test_main): Call check2.
3426
3427 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
3428 and bug-strchr1.
3429 * string/bug-strcasestr1.c (do_test): Moved to ...
3430 * string/test-strcasestr.c (check1): Here. New function.
3431 (do_one_test): Break out result checking code into ...
3432 (check_result): This. New function.
3433 (do_one_test): Call check_result.
3434 (test_main): Call check1.
3435 * string/bug-strchr1.c (do_test): Moved to ...
3436 * string/test-strchr.c (check1): Here. New function.
3437 (do_one_test): Break out result checking code into ...
3438 (check_result): This. New function.
3439 (do_one_test): Call check_result.
3440 (test_main): Call check1.
3441 * string/bug-strstr1.c (main): Moved to ...
3442 * string/test-strchr.c (check1): Here. New function.
3443 (do_one_test): Break out result checking code into ...
3444 (check_result): This. New function.
3445 (do_one_test): Call check_result.
3446 (test_main): Call check1.
3447 * string/bug-strcasestr1.c: Removed.
3448 * string/bug-strchr1.c: Likewise.
3449 * string/bug-strstr1.c: Likewise.
3450
3451 * elf/Makefile (dl-routines): Add hwcaps.
3452 * elf/dl-support.c (_dl_important_hwcaps): Removed.
3453 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
3454 (_dl_important_hwcaps): Moved to ...
3455 * elf/dl-hwcaps.c: Here. New file.
3456 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
3457
3458 [BZ #14557]
3459 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
3460 if IS_IN_rtld isn't defined.
3461
3462 * elf/dl-support.c (_dl_sysinfo_map): New.
3463 Include "get-dynamic-info.h" and "setup-vdso.h".
3464 (_dl_non_dynamic_init): Call setup_vdso.
3465 * elf/dynamic-link.h: Don't include <assert.h>.
3466 (elf_get_dynamic_info): Moved to ...
3467 * elf/get-dynamic-info.h: Here. New file.
3468 * elf/dynamic-link.h: Include "get-dynamic-info.h".
3469 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
3470 * elf/setup-vdso.h: Here. New file.
3471 * elf/rtld.c: Include "setup-vdso.h".
3472 (dl_main): Call setup_vdso.
3473
3474 2012-10-05 Joseph Myers <joseph@codesourcery.com>
3475
3476 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
3477 creal in comment listing functions tested. List finite, isinf,
3478 isnan, isless, islessequal, isgreater, isgreaterequal,
3479 islessgreater, isunordered, lgamma_r and pow10 as functions and
3480 macros not tested. Mention which functions not tested are aliases
3481 for other functions. Fix typo. Note that signs of NaNs are not
3482 tested.
3483
3484 * scripts/config.guess: Update from config.git.
3485 * scripts/config.sub: Likewise.
3486
3487 2012-10-04 Roland McGrath <roland@hack.frob.com>
3488
3489 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
3490 * misc/madvise.c (madvise): Renamed to __madvise.
3491 Make madvise a weak alias.
3492 * include/sys/mman.h: Declare __madvise.
3493 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
3494 * sysdeps/unix/syscalls.list
3495 (madvise): Make __madvise the strong name, and madvise a weak alias.
3496 * sysdeps/unix/sysv/linux/syscalls.list
3497 (madvise, mmap): Remove redundant entries.
3498 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
3499 * malloc/malloc.c (mtrim): Likewise.
3500 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
3501
3502 2012-10-03 Roland McGrath <roland@hack.frob.com>
3503
3504 * sysdeps/mach/hurd/dl-cache.c: File removed.
3505 * config.h.in (USE_LDCONFIG): New #undef.
3506 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
3507 * configure: Regenerated.
3508 * elf/Makefile (dl-routines): Add dl-cache only under
3509 [$(use-ldconfig) = yes].
3510 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
3511 cache on [USE_LDCONFIG].
3512 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
3513 [USE_LDCONFIG].
3514 * elf/rtld.c (dl_main): Likewise.
3515
3516 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
3517
3518 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
3519 _SC_LEVEL4_CACHE_LINESIZE.
3520
3521 2012-10-03 Roland McGrath <roland@hack.frob.com>
3522
3523 * sysdeps/unix/bsd/confstr.h: File removed.
3524
3525 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
3526
3527 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
3528 sys/sdt-config.h.
3529
3530 2012-10-02 Roland McGrath <roland@hack.frob.com>
3531
3532 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
3533 Make 'mapoff' field ElfW(Off) rather than off_t.
3534
3535 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
3536
3537 * nscd/Makefile: Remove nscd-cflags and all its users.
3538 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
3539 (CFLAGS-nonlib): Add compiler flags for nscd modules.
3540
3541 [BZ #10631]
3542 * malloc.c (malloc_printerr): Clarify error message.
3543
3544 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
3545
3546 [BZ #14648]
3547 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3548 Set bit_FMA_Usable if FMA is supported.
3549 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
3550 macro.
3551 (bit_FMA4_Usable): Updated.
3552 (index_FMA_Usable): New macro.
3553 (CPUID_FMA): Likewise
3554 (HAS_FMA): Defined with bit_FMA_Usable.
3555
3556 2012-10-01 Roland McGrath <roland@hack.frob.com>
3557
3558 * bits/types.h (__swblk_t): Type removed.
3559 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
3560 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
3561 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3562 (__SWBLK_T_TYPE): Likewise.
3563 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
3564 (__SWBLK_T_TYPE): Likewise.
3565 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3566 (__SWBLK_T_TYPE): Likewise.
3567 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3568 (__SWBLK_T_TYPE): Likewise.
3569
3570 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
3571 Honza Horak <hhorak@redhat.com>
3572
3573 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
3574 (xdr_mapname): Use YPMAXMAP as maxsize.
3575 (xdr_peername): Use YPMAXPEER as maxsize.
3576 (xdr_keydat): Use YPAXRECORD as maxsize.
3577 (xdr_valdat): Use YPMAXRECORD as maxsize.
3578
3579 2012-10-01 Roland McGrath <roland@hack.frob.com>
3580
3581 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
3582
3583 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
3584 * csu/init-first.c: ... here.
3585 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
3586 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
3587 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
3588 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
3589 * sysdeps/i386/init-first.c: File removed.
3590 * sysdeps/sh/init-first.c: File removed.
3591
3592 2012-10-01 Joseph Myers <joseph@codesourcery.com>
3593
3594 [BZ #14645]
3595 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
3596 if x * y might underflow to zero and z is zero.
3597 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3598 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3599 * math/libm-test.inc (min_subnorm_value): New variable.
3600 (fma_test): Add more tests.
3601 (fma_test_towardzero): Likewise.
3602 (fma_test_downward): Likewise
3603 (fma_test_upward): Likewise.
3604 (initialize): Set min_subnorm_value.
3605
3606 2012-09-29 Joseph Myers <joseph@codesourcery.com>
3607
3608 [BZ #14638]
3609 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
3610 0 + 0.
3611 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
3612 mode for addition resulting in exact zero.
3613 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
3614 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
3615 exact 0 + 0.
3616 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3617 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3618 * math/libm-test.inc (fma_test): Add more tests.
3619 (fma_test_towardzero): New function.
3620 (fma_test_downward): Likewise.
3621 (fma_test_upward): Likewise.
3622 (main): Call the new functions.
3623
3624 2012-09-28 David S. Miller <davem@davemloft.net>
3625
3626 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
3627
3628 2012-09-28 Roland McGrath <roland@hack.frob.com>
3629
3630 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
3631 instead of SIGALRM.
3632
3633 * sysdeps/gnu/_G_config.h: Moved to ...
3634 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
3635 * sysdeps/mach/hurd/_G_config.h: Moved to ...
3636 * sysdeps/generic/_G_config.h: ... here.
3637
3638 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
3639
3640 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
3641
3642 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
3643 Conditionalize target on [libnss_test1.so-version].
3644
3645 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
3646
3647 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
3648 (elfobjdir): Move out of conditionals.
3649
3650 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
3651 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
3652 (__nss_lookup_function): Conditionalize label remove_from_tree on
3653 [!DO_STATIC_NSS || SHARED], matching its only use.
3654
3655 2012-09-28 David S. Miller <davem@davemloft.net>
3656
3657 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
3658 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
3659 file.
3660 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
3661 sysdep_routines.
3662 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
3663 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
3664 when HWCAP_SPARC_CRYPTO is present.
3665
3666 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3667
3668 * io/tst-mknodat.c: Create a FIFO instead of a socket.
3669
3670 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
3671
3672 [BZ #6530]
3673 * stdio-common/vfprintf.c (process_string_arg): Revert
3674 2000-07-22 change.
3675
3676 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
3677
3678 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
3679 for testcase.
3680 * stdio-common/tst-sprintf.c: Include <locale.h>
3681 (main): Test sprintf's handling of incomplete multibyte
3682 characters.
3683
3684 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
3685
3686 * elf/dl-runtime.c (VERSYMIDX): Removed.
3687 * elf/dl-version.c (VERSYMIDX): Likewise.
3688 * elf/do-rel.h (VERSYMIDX): Likewise.
3689 (VALIDX): Likewise.
3690 * elf/dynamic-link.h (VERSYMIDX): Likewise.
3691 * elf/rtld.c (VALIDX): Likewise.
3692 (ADDRIDX): Likewise.
3693 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
3694 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
3695 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
3696 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
3697 (VALIDX): Likewise.
3698 (ADDRIDX): Likewise.
3699
3700 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3701
3702 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
3703
3704 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
3705
3706 [BZ #11438]
3707 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
3708 to global scope.
3709 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
3710 addresses are in the same scope as 192.0.2/24.
3711 * posix/gai.conf: Document new scope table defaults.
3712
3713 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3714
3715 [BZ #5298]
3716 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
3717 for ftell. Compute offsets from write pointers instead.
3718 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
3719
3720 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3721
3722 [BZ #14543]
3723 * libio/Makefile (tests): New test case tst-fseek.
3724 * libio/tst-fseek.c: New test case to verify that fseek/ftell
3725 combination works in wide mode.
3726 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
3727 state when the external buffer state changes.
3728
3729 2012-09-27 David S. Miller <davem@davemloft.net>
3730
3731 [BZ #14376]
3732 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
3733 pass reloc->r_addend in as the 'high' argument to
3734 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
3735
3736 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3737
3738 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3739
3740 * rt/tst-aio2.c: Include <pthread.h>.
3741 * rt/tst-aio3.c: Likewise.
3742
3743 2012-09-27 Steve Ellcey <sellcey@mips.com>
3744
3745 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
3746
3747 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
3748
3749 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
3750 contents on [SHARED].
3751
3752 2012-09-26 Marek Polacek <polacek@redhat.com>
3753
3754 [BZ #14530]
3755 [BZ #13741]
3756 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
3757 for C++ and GCC <4.3 as well as for non GCC compilers.
3758
3759 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
3760
3761 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3762
3763 2012-09-25 Roland McGrath <roland@hack.frob.com>
3764
3765 * Makefile.in (all, install): Declare with .PHONY.
3766 Reported by Michael Hope <michael.hope@linaro.org>.
3767
3768 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3769
3770 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
3771 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
3772 system header.
3773 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
3774 Likewise.
3775 (sydep_routines): Add the new and the internal functions.
3776 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
3777 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
3778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
3779 (GLIBC_2.17): Add the new function.
3780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
3781 (GLIBC_2.17): Likewise.
3782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
3783 (GLIBC_2.17): Likewise.
3784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
3785 (GLIBC_2.17): Likewise.
3786 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
3787
3788 2012-09-25 Alan Modra <amodra@gmail.com>
3789
3790 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
3791 Add release barrier before setting once_control to say
3792 initialisation is done. Add hints on lwarx. Use macro in
3793 place of isync.
3794 (clear_once_control): Add release barrier.
3795
3796 2012-09-25 Joseph Myers <joseph@codesourcery.com>
3797
3798 [BZ #13629]
3799 * math/s_clog.c (__clog): Handle more values close to |z| = 1
3800 specially.
3801 * math/s_clog10.c (__clog10): Likewise.
3802 * math/s_clog10f.c (__clog10f): Likewise.
3803 * math/s_clog10l.c (__clog10l): Likewise.
3804 * math/s_clogf.c (__clogf): Likewise.
3805 * math/s_clogl.c (__clogl): Likewise.
3806 * math/Makefile (libm-calls): Add x2y2m1.
3807 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
3808 (__x2y2m1): Likewise.
3809 (__x2y2m1l): Likewise.
3810 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
3811 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
3812 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
3813 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
3814 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
3815 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
3816 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
3817 * sysdeps/i386/fpu/libm-test-ulps: Update.
3818 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3819
3820 [BZ #14621]
3821 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
3822 int as type of variable DEPTH.
3823 (glob): Use size_t instead of int as type of variables NEWCOUNT
3824 and OLD_PATHC.
3825
3826 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3827
3828 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
3829 Add s_sincosf-sse2.
3830 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
3831 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
3832 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
3833 macros for using routine as __sincosf_ia32.
3834 Use macro for function declaration and weak_alias.
3835 * sysdeps/i386/fpu/libm-test-ulps: Update.
3836
3837 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
3838 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3839
3840 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
3841 subnormal argument.
3842 * math/s_cexpf.c (__cexpf): Likewise.
3843 * math/s_csinf.c (__csinf): Likewise.
3844 * math/s_csinhf.c (__csinhf): Likewise.
3845 * math/s_ctanf.c (__ctanf): Likewise.
3846 * math/s_ctanhf.c (__ctanhf): Likewise.
3847 * math/s_ccosh.c (__ccoshf): Likewise.
3848 * math/s_cexp.c (__cexpl): Likewise.
3849 * math/s_csin.c (__csin): Likewise.
3850 * math/s_csinh.c (__csinh): Likewise.
3851 * math/s_ctan.c (__ctan): Likewise.
3852 * math/s_ctanh.c (ctanh): Likewise.
3853 * math/s_ccoshl.c (__ccoshl): Likewise.
3854 * math/s_cexpl.c (__cexpl): Likewise.
3855 * math/s_csinl.c (__csinl): Likewise.
3856 * math/s_csinhl.c (__csinhl): Likewise.
3857 * math/s_ctanl.c (__ctanl): Likewise.
3858 * math/s_ctanhl.c (__ctanhl): Likewise.
3859
3860 2012-09-25 Joseph Myers <joseph@codesourcery.com>
3861
3862 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
3863 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
3864 (_IO_off_t): Define to __off_t, not _G_off_t.
3865 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
3866 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
3867 (_IO_wint_t): Define to wint_t, not _G_wint_t.
3868 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
3869 type of __dummy and __dummy2 fields.
3870 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
3871 (_G_ssize_t): Likewise.
3872 (_G_off_t): Likewise.
3873 (_G_pid_t): Likewise.
3874 (_G_uid_t): Likewise.
3875 (_G_wchar_t): Likewise.
3876 (_G_wint_t): Likewise.
3877 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
3878 (_G_ssize_t): Likewise.
3879 (_G_off_t): Likewise.
3880 (_G_pid_t): Likewise.
3881 (_G_uid_t): Likewise.
3882 (_G_wchar_t): Likewise.
3883 (_G_wint_t): Likewise.
3884 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
3885 (_G_ssize_t): Likewise.
3886 (_G_off_t): Likewise.
3887 (_G_pid_t): Likewise.
3888 (_G_uid_t): Likewise.
3889 (_G_wchar_t): Likewise.
3890 (_G_wint_t): Likewise.
3891
3892 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3893
3894 * malloc/arena.c: Include malloc-sysdep.h.
3895 (shrink_heap): Use check_may_shrink_heap to decide if madvise
3896 is sufficient to shrink the heap or an unmap is needed.
3897 * sysdeps/generic/malloc-sysdep.h: New file. Define
3898 new function check_may_shrink_heap.
3899 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
3900 new function check_may_shrink_heap.
3901
3902 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3903
3904 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
3905 comments.
3906
3907 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
3908
3909 * catgets/test-gencat.sh: Add "set -e".
3910 * elf/tst-pathopt.sh: Likewise.
3911 * grp/tst_fgetgrent.sh: Likewise.
3912 * iconvdata/run-iconv-test.sh: Likewise.
3913 * intl/tst-gettext.sh: Likewise.
3914 * intl/tst-gettext2.sh: Likewise.
3915 * intl/tst-gettext4.sh: Likewise.
3916 * intl/tst-gettext6.sh: Likewise.
3917 * intl/tst-translit.sh: Likewise.
3918 * io/ftwtest-sh: Likewise.
3919 * libio/test-freopen.sh: Likewise.
3920 * malloc/tst-mtrace.sh: Likewise.
3921 * posix/globtest.sh: Likewise.
3922 * posix/tst-getconf.sh: Likewise.
3923 * posix/wordexp-tst.sh: Likewise.
3924 * stdio-common/tst-printf.sh: Likewise.
3925 * stdio-common/tst-unbputc.sh: Likewise.
3926 * stdlib/tst-fmtmsg.sh: Likewise.
3927 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
3928 * catgets/Makefile: Do not specify -e option when running
3929 testsuite shell scripts.
3930 * elf/Makefile: Likewise.
3931 * grp/Makefile: Likewise.
3932 * iconvdata/Makefile: Likewise.
3933 * intl/Makefile: Likewise.
3934 * io/Makefile: Likewise.
3935 * libio/Makefile: Likewise.
3936 * malloc/Makefile: Likewise.
3937 * posix/Makefile: Likewise.
3938 * stdio-common/Makefile: Likewise.
3939 * stdlib/Makefile: Likewise.
3940 * sysdeps/x86_64/Makefile: Likewise.
3941
3942 * io/ftwtest-sh: Add copyright header.
3943 * posix/globtest.sh: Likewise.
3944 * posix/tst-getconf.sh: Likewise.
3945 * posix/wordexp-tst.sh: Likewise.
3946 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
3947
3948 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
3949
3950 [BZ #13679]
3951 * Makeconfig (+link): Defined as $(+link-static) if
3952 $(build-shared) isn't yes.
3953 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
3954 isn't yes.
3955 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
3956
3957 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
3958
3959 [BZ #14562]
3960 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
3961 new chunk size with MALLOC_ALIGN_MASK.
3962
3963 2012-09-24 Joseph Myers <joseph@codesourcery.com>
3964
3965 [BZ #5044]
3966 * stdio-common/printf_fphex.c: Include <stdbool.h> and
3967 <rounding-mode.h>.
3968 (__printf_fphex): Determine rounding using get_rounding_mode and
3969 round_away.
3970 * stdio-common/tst-printf-round.c (struct hex_test): New
3971 structure.
3972 (hex_tests): New variable.
3973 (test_hex_in_one_mode): New function.
3974 (do_test): Also run tests for hex float output.
3975
3976 2012-09-21 Joseph Myers <joseph@codesourcery.com>
3977
3978 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
3979 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
3980 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
3981 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
3982 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
3983 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
3984 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
3985 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
3986
3987 2012-09-20 Joseph Myers <joseph@codesourcery.com>
3988
3989 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
3990 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
3991 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
3992 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
3993
3994 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
3995
3996 [BZ #14579]
3997 * elf/rtld.c (dl_main): Limit the check for self loading to normal
3998 mode only.
3999 * elf/tst-rtld-load-self.sh: New test.
4000 * elf/Makefile: Run it.
4001
4002 2012-09-18 Joseph Myers <joseph@codesourcery.com>
4003
4004 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
4005 (tst-writev-ENV): Remove.
4006 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
4007
4008 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
4009
4010 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
4011
4012 2012-09-17 Joseph Myers <joseph@codesourcery.com>
4013
4014 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
4015 unconditional.
4016 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
4017 Likewise.
4018 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
4019 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
4020 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
4021 Likewise.
4022
4023 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
4024
4025 [BZ #14587]
4026 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
4027 * config.make.in (have-cpp-asm-debuginfo): Removed.
4028 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
4029 * configure: Regenerated.
4030
4031 2012-09-14 Joseph Myers <joseph@codesourcery.com>
4032
4033 [BZ #5044]
4034 * stdio-common/printf_fp.c: Include <stdbool.h> and
4035 <rounding-mode.h>.
4036 (___printf_fp): Determine rounding using get_rounding_mode and
4037 round_away.
4038 * stdio-common/tst-printf-round.c: New file.
4039 * stdio-common/Makefile (tests): Add tst-printf-round.
4040 (link-libm): New variable.
4041 ($(objpfx)tst-printf-round): Depend in $(link-libm).
4042
4043 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
4044
4045 [BZ #14576]
4046 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
4047 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
4048 Likewise.
4049 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
4050 Likewise.
4051
4052 2012-09-13 Joseph Myers <joseph@codesourcery.com>
4053
4054 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
4055 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
4056 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
4057 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
4058
4059 2012-09-12 Joseph Myers <joseph@codesourcery.com>
4060
4061 [BZ #14518]
4062 * include/rounding-mode.h: New file.
4063 * sysdeps/generic/get-rounding-mode.h: Likewise.
4064 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
4065 * stdlib/strtod_l.c: Include <rounding-mode.h>.
4066 (MAX_VALUE): New macro.
4067 (MIN_VALUE): Likewise.
4068 (overflow_value): New function.
4069 (underflow_value): Likewise.
4070 (round_and_return): Use overflow_value and underflow_value to
4071 determine return values in overflow and underflow cases. Use
4072 round_away to determine rounding depending on rounding mode.
4073 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
4074 determine return values in overflow and underflow cases.
4075 * stdlib/tst-strtod-round.c: Include <fenv.h>.
4076 (struct test_results): New structure.
4077 (struct test): Use struct test_results to store expected results
4078 for all rounding modes.
4079 (TEST): Include expected results for all rounding modes.
4080 (test_in_one_mode): New function.
4081 (do_test): Use test_in_one_mode to compute and check results.
4082 Check results for all rounding modes.
4083 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
4084 $(link-libm).
4085
4086 2012-12-09 Allan McRae <allan@archlinux.org>
4087
4088 * sysdeps/i386/fpu/libm-test-ulps: Update
4089
4090 2012-09-11 Joseph Myers <joseph@codesourcery.com>
4091
4092 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
4093 (_G_int32_t): Likewise.
4094 (_G_uint16_t): Likewise.
4095 (_G_uint32_t): Likewise.
4096 (_G_HAVE_BOOL): Likewise.
4097 (_G_HAVE_ATEXIT): Likewise.
4098 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4099 (_G_HAVE_IO_FILE_OPEN): Likewise.
4100 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
4101 (_G_int32_t): Likewise.
4102 (_G_uint16_t): Likewise.
4103 (_G_uint32_t): Likewise.
4104 (_G_HAVE_BOOL): Likewise.
4105 (_G_HAVE_ATEXIT): Likewise.
4106 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4107 (_G_HAVE_IO_FILE_OPEN): Likewise.
4108 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
4109 (_G_int32_t): Likewise.
4110 (_G_uint16_t): Likewise.
4111 (_G_uint32_t): Likewise.
4112 (_G_HAVE_BOOL): Likewise.
4113 (_G_HAVE_ATEXIT): Likewise.
4114 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4115 (_G_HAVE_IO_FILE_OPEN): Likewise.
4116
4117 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
4118
4119 * csu/libc-tls.c: Update copyright years.
4120
4121 2012-09-10 Joseph Myers <joseph@codesourcery.com>
4122
4123 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
4124 [!_G_USING_THUNKS]: Remove conditional code.
4125 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
4126 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
4127
4128 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
4129 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
4130 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4131 (_G_VTABLE_LABEL_PREFIX): Likewise.
4132 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4133 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4134 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4135 (_G_VTABLE_LABEL_PREFIX): Likewise.
4136 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
4137 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4138 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4139 (_G_VTABLE_LABEL_PREFIX): Likewise.
4140 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
4141
4142 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
4143
4144 * libio/Makefile: Include ../Makeconfig before tests.
4145 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
4146 only if $(build-shared) is yes.
4147
4148 * iconv/gconv_db.c: Update copyright years.
4149
4150 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4151
4152 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
4153 unwind info if defined PIC. Fix special cases description.
4154 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
4155
4156 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
4157 DP_HI_MASK entry.
4158 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
4159
4160 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
4161
4162 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
4163
4164 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
4165 is NULL.
4166
4167 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
4168 (LDLIBS-tst-chk4): This.
4169 (LDFLAGS-tst-chk5): Renamed to ...
4170 (LDLIBS-tst-chk5): This.
4171 (LDFLAGS-tst-chk6): Renamed to ...
4172 (LDLIBS-tst-chk6): This.
4173 (LDFLAGS-tst-lfschk4): Renamed to ...
4174 (LDLIBS-tst-lfschk4): This.
4175 (LDFLAGS-tst-lfschk5): Renamed to ...
4176 (LDLIBS-tst-lfschk5): This.
4177 (LDFLAGS-tst-lfschk6): Renamed to ...
4178 (LDLIBS-tst-lfschk6): This.
4179
4180 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
4181 on $(common-objpfx)soversions.mk.
4182
4183 2012-09-07 Joseph Myers <joseph@codesourcery.com>
4184
4185 [BZ #10014]
4186 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
4187 example host name.
4188
4189 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
4190
4191 * malloc/arena.c (arena_get_retry): New function that gets
4192 another arena for the caller to try its request on.
4193 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
4194 current arena cannot fulfill the request.
4195 (__libc_memalign): Likewise.
4196 (__libc_memalign): Likewise.
4197 (__libc_pvalloc): Likewise.
4198 (__libc_calloc): Likewise.
4199
4200 2012-09-05 John Tobey <john.tobey@gmail.com>
4201
4202 [BZ #13542]
4203 * manual/arith.texi (Operations on Complex): Fix description
4204 of carg branch cut.
4205
4206 2012-09-06 Joseph Myers <joseph@codesourcery.com>
4207
4208 [BZ #10014]
4209 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
4210 host name.
4211
4212 [BZ #10038]
4213 * manual/memory.texi (Memory): Make order of menu items match
4214 order of sections.
4215
4216 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4217
4218 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
4219 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
4220 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
4221
4222 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4223
4224 * csu/libc-tls.c (static_dtv): Renamed to ...
4225 (_dl_static_dtv): This. Make it global.
4226 (_dl_initial_dtv): Removed.
4227 (__libc_setup_tls): Updated.
4228 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
4229 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
4230 DL_INITIAL_DTV.
4231
4232 2012-09-06 Petr Machata <pmachata@redhat.com>
4233
4234 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
4235 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
4236 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
4237 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
4238
4239 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4240
4241 [BZ #14545]
4242 * csu/libc-tls.c (_dl_initial_dtv): New variable.
4243 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
4244 freeing dtv[-1].
4245
4246 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4247
4248 [BZ #14544]
4249 * Makeconfig (link-static-before-libc): Replace $(+prector)
4250 with $(+prectorT).
4251 (link-static-after-libc): Replace $(+postctor) with
4252 $(+postctorT).
4253 (link-bounded): Replace $(+prector)/$(+postctor) with
4254 $(+prectorT)/$(+postctorT).
4255 (+prectorT): New macro.
4256 (+postctorT): Likewise.
4257
4258 2012-09-06 Joseph Myers <joseph@codesourcery.com>
4259
4260 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
4261 (round_str): Handle values above the maximum for IBM long double
4262 as inexact.
4263 * stdlib/tst-strtod-round.c (tests): Regenerated.
4264
4265 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4266
4267 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
4268 assembler flag.
4269 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
4270 zarch_nohighgprs around the zarch optimized routines.
4271 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
4272 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
4273 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
4274 for zarch.
4275
4276 2012-09-05 David S. Miller <davem@davemloft.net>
4277
4278 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4279
4280 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
4281 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
4282 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
4283 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
4284 entries.
4285
4286 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
4287
4288 * malloc/arena.c: Fold copyright years.
4289 * malloc/mcheck.c, malloc/memusage.c: Likewise.
4290
4291 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
4292
4293 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
4294
4295 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
4296
4297 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
4298
4299 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
4300
4301 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
4302 change internal state upon failure.
4303
4304 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
4305
4306 * malloc/mcheck.c (mcheck_check_all): Fix typo.
4307 * malloc/memusage.c (mmap): Likewise.
4308 (mmap64, mremap): Likewise. Adjust name in comment.
4309
4310 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4311
4312 * libio/fileops.c: Fix typos in comments.
4313 * libio/oldfileops.c: Likewise.
4314 * libio/wfileops.c: Likewise.
4315
4316 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4317
4318 [BZ #1349]
4319 * malloc/Makefile (tests): Add tst-malloc-usable test case.
4320 (tst-malloc-usable-ENV): Set environment for test case.
4321 * malloc/hooks.c (malloc_check_get_size): New function to get
4322 requested size.
4323 * malloc/malloc.c (musable): Use malloc_check_get_size.
4324 * malloc/tst-malloc-usable.c: New test case.
4325
4326 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
4327
4328 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
4329
4330 2012-09-05 Allan McRae <allan@archlinux.org>
4331
4332 [BZ #13966]
4333 * configure.in (CXX_SYSINCLUDES): Use compiler output to
4334 determine header location.
4335 * configure: Regenerated.
4336
4337 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
4338
4339 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
4340 float format.
4341 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
4342 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
4343 format.
4344 (test): Regenerate.
4345
4346 2012-09-04 David S. Miller <davem@davemloft.net>
4347
4348 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
4349 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
4350 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
4351
4352 2012-09-04 Florian Weimer <fweimer@redhat.com>
4353
4354 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
4355 failures.
4356
4357 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
4358
4359 2012-09-04 Joseph Myers <joseph@codesourcery.com>
4360
4361 [BZ #9914]
4362 * libio/iogetdelim.c: Include <limits.h>.
4363 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
4364 + len + 1 would overflow.
4365
4366 2012-09-03 Andreas Jaeger <aj@suse.de>
4367
4368 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4369 * sysdeps/i386/fpu/libm-test-ulps: Update.
4370
4371 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4372
4373 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
4374 Add s_sinf-sse2, s_conf-sse2.
4375
4376 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
4377 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
4378 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
4379 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
4380
4381 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
4382 for using routine as __sinf_ia32.
4383 Use macro for function declaration and weak_alias.
4384 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
4385 for using routine as __cosf_ia32.
4386 Use macro for function declaration and weak_alias.
4387
4388 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
4389 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
4390
4391 * sysdeps/x86_64/fpu/s_sinf.S: New file.
4392 * sysdeps/x86_64/fpu/s_cosf.S: New file.
4393 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4394
4395 * math/libm-test.inc (cos_test): Add more test cases.
4396 (sin_test): Likewise.
4397 (sincos_test): Likewise.
4398
4399 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4400
4401 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
4402 (IFUNC_RESOLVE): Make pointers to the specialized implementations
4403 hidden.
4404 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
4405
4406 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
4407
4408 [BZ #14538]
4409 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
4410 first element of the GOT.
4411 (elf_machine_load_address): Return the difference between
4412 the runtime address of _DYNAMIC and elf_machine_dynamic ().
4413
4414 2012-09-01 Allan McRae <allan@archlinux.org>
4415
4416 [BZ #13412]
4417 * configure.in (AWK): Require gawk version 3.0 or later.
4418 * configure: Regenerated.
4419
4420 2012-09-01 Joseph Myers <joseph@codesourcery.com>
4421
4422 * sysdeps/unix/sysv/linux/kernel-features.h
4423 (__ASSUME_POSIX_CPU_TIMERS): Remove.
4424 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4425 [__NR_clock_getres]: Make code unconditional.
4426 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
4427 (clock_getcpuclockid): Remove code left unreachable by removal of
4428 conditionals.
4429 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
4430 code unconditional.
4431 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
4432 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4433 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
4434 Make code unconditional.
4435 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
4436 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4437 * sysdeps/unix/sysv/linux/clock_settime.c
4438 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
4439 conditional code.
4440 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
4441 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4442
4443 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
4444
4445 [BZ #14476]
4446 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
4447 scripts/test-installation.pl.
4448
4449 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
4450 and $ld_so_version if it is set.
4451
4452 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4453
4454 [BZ #14516]
4455 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
4456 failure if reading from procfs failed.
4457 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
4458
4459 2012-08-27 Joseph Myers <joseph@codesourcery.com>
4460
4461 * sysdeps/unix/sysv/linux/kernel-features.h
4462 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
4463 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
4464 Remove conditional code.
4465 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4466 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
4467 Remove conditional code.
4468 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4469 * sysdeps/unix/sysv/linux/i386/fxstat.c
4470 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4471 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4472 * sysdeps/unix/sysv/linux/i386/fxstatat.c
4473 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4474 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4475 * sysdeps/unix/sysv/linux/i386/lxstat.c
4476 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4477 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4478 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
4479 Remove conditional code.
4480 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4481 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
4482 Remove conditional code.
4483 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4484 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
4485 <kernel-features.h>.
4486 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
4487 Remove.
4488 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
4489 Remove conditional code.
4490 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4491 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
4492 Remove conditional.
4493
4494 2012-08-27 Mike Frysinger <vapier@gentoo.org>
4495
4496 [BZ #5400]
4497 * NEWS: Add fixed bug number.
4498
4499 2012-08-27 Joseph Myers <joseph@codesourcery.com>
4500
4501 [BZ #14519]
4502 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
4503 underflowing exponent in case of negative sign.
4504 * stdlib/tst-strtod-round-data: Add more tests.
4505 * stdlib/tst-strtod-round.c (tests): Regenerated.
4506
4507 [BZ #3479]
4508 * stdlib/strtod_l.c (NDIG): Remove.
4509 (HEXNDIG): Likewise.
4510 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
4511 smallest representable value.
4512 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
4513 lie within an exact representation of 1/2 ulp of the result.
4514 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
4515 unconditionally.
4516 (TENS_P9_IDX): Define unconditionally.
4517 (TENS_P9_SIZE): Likewise.
4518 (TENS_P10_IDX): Likewise.
4519 (TENS_P10_SIZE): Likewise.
4520 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
4521 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
4522 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
4523 entries for 10^2^13 and 10^2^14.
4524 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
4525 (TENS_P13_IDX): Define.
4526 (TENS_P13_SIZE): Likewise.
4527 (TENS_P14_IDX): Likewise.
4528 (TENS_P14_SIZE): Likewise.
4529 (_fpioconst_pow10): Change array size to
4530 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
4531 unconditional.
4532 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
4533 1024]: Add entries for 10^2^13 and 10^2^14.
4534 [LAST_POW10 > _LAST_POW10]: Remove #error.
4535 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
4536 (_fpioconst_pow10): Change array size to
4537 FPIOCONST_POW10_ARRAY_SIZE.
4538 * stdlib/gen-fpioconst.c: New file.
4539 * stdlib/gen-tst-strtod-round.c: Likewise.
4540 * stdlib/tst-strtod-round-data: Likewise.
4541 * stdlib/tst-strtod-round.c: Likewise.
4542 * stdlib/Makefile (tests): Add tst-strtod-round.
4543
4544 [BZ #14459]
4545 * stdlib/strtod_l.c: Include <stdint.h>.
4546 (NDEBUG): Do not define.
4547 (round_and_return): Change EXPONENT parameter to type intmax_t.
4548 Rearrange calculations to avoid internal overflow possibilities.
4549 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
4550 Rearrange calculations to avoid internal overflow possibilities.
4551 Assert that number fits inside MPNSIZE limbs.
4552 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
4553 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
4554 calculations and add assertions to avoid internal overflow
4555 possibilities. Add casts to avoid signed/unsigned operations.
4556 * stdlib/tst-strtod-overflow.c: New file.
4557 * stdlib/Makefile (tests): Add tst-strtod-overflow.
4558
4559 2012-08-25 Marek Polacek <polacek@redhat.com>
4560
4561 * time/time.h: Fix some typos in comments.
4562
4563 2012-08-23 Roland McGrath <roland@hack.frob.com>
4564
4565 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
4566 * posix/tst-rfc3484-2.c: Likewise.
4567 * posix/tst-rfc3484-3.c: Likewise.
4568
4569 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
4570
4571 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
4572 (EF_ARM_ABI_FLOAT_HARD): Likewise.
4573
4574 2012-08-23 Joseph Myers <joseph@codesourcery.com>
4575
4576 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
4577 #include of fxstatat64.c.
4578
4579 2012-08-22 Roland McGrath <roland@hack.frob.com>
4580
4581 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
4582 * shadow/getspent_r.c: Likewise.
4583 * shadow/getspnam.c: Likewise.
4584 * shadow/getspnam_r.c: Likewise.
4585 * gshadow/getsgent.c: Likewise.
4586 * gshadow/getsgent_r.c: Likewise.
4587 * gshadow/getsgnam.c: Likewise.
4588 * gshadow/getsgnam_r.c: Likewise.
4589 * inet/getnetbyad.c: Likewise.
4590 * inet/getnetbyad_r.c: Likewise.
4591 * inet/getnetbynm.c: Likewise.
4592 * inet/getnetbynm_r.c: Likewise.
4593 * inet/getnetent.c: Likewise.
4594 * inet/getnetent_r.c: Likewise.
4595 * inet/getproto.c: Likewise.
4596 * inet/getproto_r.c: Likewise.
4597 * inet/getprtent.c: Likewise.
4598 * inet/getprtent_r.c: Likewise.
4599 * inet/getprtname.c: Likewise.
4600 * inet/getprtname_r.c: Likewise.
4601 * inet/getrpcbyname.c: Likewise.
4602 * inet/getrpcbyname_r.c: Likewise.
4603 * inet/getrpcbynumber.c: Likewise.
4604 * inet/getrpcbynumber_r.c: Likewise.
4605 * inet/getrpcent.c: Likewise.
4606 * inet/getrpcent_r.c: Likewise.
4607 * inet/getaliasent.c: Likewise.
4608 * inet/getaliasent_r.c: Likewise.
4609 * inet/getaliasname.c: Likewise.
4610 * inet/getaliasname_r.c: Likewise.
4611 * nscd/getgrgid_r.c: Likewise.
4612 * nscd/getgrnam_r.c: Likewise.
4613 * nscd/gethstbyad_r.c: Likewise.
4614 * nscd/gethstbynm3_r.c: Likewise.
4615 * nscd/getpwnam_r.c: Likewise.
4616 * nscd/getpwuid_r.c: Likewise.
4617 * nscd/getsrvbynm_r.c: Likewise.
4618 * nscd/getsrvbypt_r.c: Likewise.
4619 * nscd/gai.c: Likewise.
4620
4621 * configure.in (build_nscd): New substituted variable, set
4622 by --disable-build-nscd and defaults to $use_nscd.
4623 * configure: Regenerated.
4624 * config.make.in (build-nscd): New substituted variable.
4625 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
4626 Change conditional to require [$(build-nscd) = yes] as well.
4627 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
4628
4629 [BZ# 13696]
4630 * configure.in (use_nscd): New substituted variable, set by
4631 --disable-nscd. If enabled, define USE_NSCD.
4632 * configure: Regenerated.
4633 * config.h.in: Add USE_NSCD.
4634 * config.make.in (use-nscd): New substituted variable.
4635 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
4636 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
4637 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
4638 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
4639 (CFLAGS-getgrnam_r.c): Likewise.
4640 (CFLAGS-initgroups.c): Likewise.
4641 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
4642 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
4643 Variables removed.
4644 * inet/getnetgrent_r.c
4645 (nscd_setnetgrent): New function, broken out of ...
4646 (setnetgrent): ... here. Call it.
4647 (innetgr): Conditionalize nscd bits on [USE_NSCD].
4648 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
4649 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
4650 * nscd/Makefile (routines, aux): Move definitions after include of
4651 Makeconfig. Conditionalize on [$(use-nscd) != no].
4652 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
4653 Conditionalize on [USE_NSCD].
4654 (is_nscd, nscd_init_cb): Likewise.
4655 (nss_load_library): Conditionalize init callback on [USE_NSCD].
4656 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
4657 * nss/nss_db/db-init.c: Likewise.
4658 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
4659 [USE_NSCD].
4660 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
4661 (make_request): Use it.
4662 (cache_valid_p): New function.
4663 (__check_pf): Use it.
4664 * NEWS: Add item for --disable-nscd.
4665
4666 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
4667
4668 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
4669 to support sed >= 4.2.1-20-ga9bf076.
4670 * configure: Regenerated.
4671
4672 2012-08-22 Roland McGrath <roland@hack.frob.com>
4673
4674 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
4675 Conditionalize whole body on [IREL].
4676
4677 2012-08-22 Jeff Law <law@redhat.com>
4678
4679 [BZ #14505]
4680 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
4681 if the family is PF_UNSPEC.
4682
4683 2012-08-22 Mike Frysinger <vapier@gentoo.org>
4684
4685 * Makerules (lib-version): Rename from V.
4686 (install-lib-nosubdir): Change V to lib-version.
4687
4688 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
4689
4690 [BZ #14252]
4691 * powerpc32/power6/wcschr.c: New file.
4692 * powerpc32/power6/wcscpy.c: New file.
4693 * powerpc32/power6/wcsrchr.c: New file.
4694 * powerpc64/power6/wcschr.c: New file.
4695 * powerpc64/power6/wcscpy.c: New file.
4696 * powerpc64/power6/wcsrchr.c: New file.
4697
4698 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
4699
4700 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
4701 (two_way_short_needle): Use it.
4702 * string/strstr.c (AVAILABLE1_USES_J): Define.
4703 * string/strcasestr.c: Likewise.
4704
4705 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
4706 array references.
4707 * string/strcasestr.c (TOLOWER): Make side-effect safe.
4708
4709 [BZ #11607]
4710 * NEWS: Add an entry.
4711 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
4712 define their defaults.
4713 (two_way_short_needle): Detect end-of-string on-the-fly.
4714 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
4715 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
4716 * string/bug-strcasestr1.c: New test.
4717 * string/Makefile: Run it.
4718
4719 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
4720
4721 [BZ #11607]
4722 * string/str-two-way.h (two_way_short_needle): Optimize matching of
4723 the first character.
4724
4725 2012-08-21 Roland McGrath <roland@hack.frob.com>
4726
4727 * csu/elf-init.c (__libc_csu_irel): Function removed.
4728 * csu/libc-start.c (apply_irel): New function.
4729 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
4730
4731 2012-08-21 Joseph Myers <joseph@codesourcery.com>
4732
4733 * sysdeps/unix/sysv/linux/kernel-features.h
4734 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
4735 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
4736 <kernel-features.h>.
4737 [__NR_fadvise64_64]: Make code unconditional.
4738 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
4739 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
4740 !__NR_fadvise64_64)]: Likewise.
4741 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
4742 !__NR_fadvise64_64))]: Likewise.
4743 [__NR_fadvise64]: Make code unconditional.
4744 [!__NR_fadvise64]: Remove conditional code.
4745 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
4746 <kernel-features.h>.
4747 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4748 unconditional.
4749 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4750 conditional code.
4751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
4752 not include <kernel-features.h>.
4753 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4754 unconditional.
4755 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4756 conditional code.
4757 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
4758 include <kernel-features.h>.
4759 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4760 unconditional.
4761 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4762 conditional code.
4763
4764 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
4765
4766 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
4767 slight instruction rearrangements per scrollpipe analysis.
4768 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
4769
4770 2012-08-20 Roland McGrath <roland@hack.frob.com>
4771
4772 * manual/syslog.texi (syslog; vsyslog, closelog):
4773 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
4774 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
4775
4776 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
4777 DSOCAPS to match condition on defining it.
4778
4779 2012-08-20 Joseph Myers <joseph@codesourcery.com>
4780
4781 * sysdeps/unix/sysv/linux/kernel-features.h
4782 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
4783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
4784 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4785 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
4787 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4788 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
4790 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4791 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4792
4793 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
4794 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
4795
4796 * sysdeps/unix/sysv/linux/kernel-features.h
4797 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
4798 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
4799 unconditional.
4800 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4801 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
4802 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
4803 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4804 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
4805 Make code unconditional.
4806 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4807 (__mmap64) [!__NR_mmap2]: Likewise.
4808 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
4809 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
4810 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4811 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
4812 [__NR_mmap2]: Make code unconditional.
4813 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4814 (__mmap64) [!__NR_mmap2]: Likewise.
4815
4816 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4817
4818 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
4819
4820 2012-08-18 Andreas Jaeger <aj@suse.de>
4821
4822 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
4823
4824 2012-08-18 Mike Frysinger <vapier@gentoo.org>
4825
4826 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
4827 * include/unistd.h (__have_sock_cloexec): Likewise.
4828 (__have_pipe2): Likewise.
4829 (__have_dup3): Likewise.
4830
4831 2012-08-18 Mike Frysinger <vapier@gentoo.org>
4832
4833 [BZ #9685]
4834 * include/unistd.h (__have_pipe2): Change define into an extern int.
4835 (__have_dup3): Likewise.
4836 * socket/have_sock_cloexec.c: Include fcntl.h.
4837 (__have_pipe2): New variable.
4838 (__have_dup3): Likewise.
4839
4840 2012-08-17 Mike Frysinger <vapier@gentoo.org>
4841
4842 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
4843
4844 2012-08-17 Marek Polacek <polacek@redhat.com>
4845
4846 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
4847 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
4848
4849 2012-08-17 Roland McGrath <roland@hack.frob.com>
4850
4851 * configure.in: Add AC_SUBST for sysheaders.
4852 * configure: Regenerated.
4853 * config.make.in (sysheaders): New substituted variable.
4854
4855 * sysdeps/unix/mkfifo.c: Moved ...
4856 * sysdeps/posix/mkfifo.c: ... here.
4857 * sysdeps/unix/mkfifoat.c: Moved ...
4858 * sysdeps/posix/mkfifoat.c: ... here.
4859
4860 * sysdeps/unix/utime.c: Moved ...
4861 * sysdeps/posix/utime.c: ... here.
4862
4863 * sysdeps/unix/time.c: Moved ...
4864 * sysdeps/posix/time.c: ... here.
4865 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
4866 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
4867
4868 * sysdeps/unix/nice.c: Moved ...
4869 * sysdeps/posix/nice.c: ... here.
4870
4871 * sysdeps/unix/alarm.c: Moved ...
4872 * sysdeps/posix/alarm.c: ... here.
4873
4874 * intl/Makefile ($(codeset_mo)): Depend on the input file.
4875
4876 2012-08-17 Jeff Law <law@redhat.com>
4877
4878 * intl/Makefile (codeset_mo): New variable.
4879 ($(codeset_mo)): New target.
4880 (tst-codeset.out): Depend on that. Remove explicit rule.
4881 (tst-gettext3.out, tst-gettext5.out): Likewise.
4882 (LOCPATH-ENV, tst-codeset-ENV): New variables.
4883 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
4884 * intl/tst-codeset.sh: Remove.
4885 * intl/tst-gettext3.sh: Likewise.
4886 * intl/tst-gettext5.sh: Likewise.
4887
4888 2012-08-17 Roland McGrath <roland@hack.frob.com>
4889
4890 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
4891 * sysdeps/unix/syscalls.list: ... here.
4892
4893 * sysdeps/posix/getaddrinfo.c
4894 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
4895 (gaiconf_init, gaiconf_reload): Use them.
4896 [!_STATBUF_ST_NSEC]
4897 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
4898 Define using time_t rather than struct timespec.
4899
4900 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
4901 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
4902 Macros removed.
4903 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
4904 [!NO_THREADS].
4905 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
4906 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
4907 Likewise.
4908
4909 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
4910 __libc_cleanup_push argument.
4911
4912 * bits/param.h: New file.
4913 * misc/sys/param.h: New file.
4914 * include/sys/param.h: New file.
4915 * misc/Makefile (headers): Add bits/param.h.
4916 * sysdeps/generic/sys/param.h: File removed.
4917 * sysdeps/unix/sysv/linux/bits/param.h: New file.
4918 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
4919 * sysdeps/mach/hurd/bits/param.h: New file.
4920 * sysdeps/mach/hurd/sys/param.h: File removed.
4921
4922 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
4923 last change.
4924
4925 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
4926 [_IO_MTSAFE_IO].
4927 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
4928 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
4929 New macros.
4930
4931 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
4932 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
4933 rather than -D_IO_MTSAFE_IO conditionally.
4934 * stdio-common/Makefile (CPPFLAGS): Likewise.
4935 * wcsmbs/Makefile (CPPFLAGS): Likewise.
4936 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
4937 Use $(libio-mtsafe).
4938 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
4939 of -D_IO_MTSAFE_IO.
4940 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
4941 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
4942 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
4943 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
4944 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
4945 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
4946 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
4947 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
4948 (CFLAGS-fread_u_chk.c): Likewise.
4949 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
4950 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
4951 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
4952 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
4953 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
4954 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
4955 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
4956 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
4957 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
4958
4959 * libio/Makefile: Test [$(libc-reentrant) = yes]
4960 instead of [$(filter %REENTRANT, $(defines)) nonempty].
4961
4962 * Makeconfig
4963 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
4964 * sysdeps/pthread/configure: File removed.
4965 * sysdeps/pthread/Makeconfig: New file.
4966 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
4967 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
4968
4969 2012-08-16 Gary Benson <gbenson@redhat.com>
4970
4971 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
4972 unmapping the first object in a namespace.
4973
4974 2012-08-16 Roland McGrath <roland@hack.frob.com>
4975
4976 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
4977 (__internal_setnetgrent): ... this. Add internal_function to
4978 definition. Add libc_hidden_def.
4979 (setnetgrent): Update caller.
4980 (internal_endnetgrent): Renamed to ...
4981 (__internal_endnetgrent): ... this. Add internal_function to
4982 definition. Add libc_hidden_def.
4983 (endnetgrent): Update caller.
4984 (internal_getnetgrent_r): Renamed to ...
4985 (__internal_getnetgrent_r): ... this. Add internal_function to
4986 definition. Add libc_hidden_def.
4987 (__getnetgrent_r): Update caller.
4988 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
4989
4990 2012-08-16 Joseph Myers <joseph@codesourcery.com>
4991
4992 * stdlib/longlong.h: Update from GCC.
4993
4994 2012-08-16 Roland McGrath <roland@hack.frob.com>
4995
4996 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
4997 on _QL, which is set by umul_ppmm but never used.
4998 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
4999 variables, which are set by GMP macros but never used.
5000 * stdio-common/_itowa.c (_itowa): Likewise.
5001 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
5002 * stdlib/mod_1.c (mpn_mod_1): Likewise.
5003
5004 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
5005
5006 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
5007 struct La_sh_regs is not constant.
5008 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
5009 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
5010 and struct La_sparc64_regs are not constant.
5011
5012 2012-08-16 Joseph Myers <joseph@codesourcery.com>
5013
5014 * sysdeps/unix/sysv/linux/kernel-features.h
5015 (__ASSUME_POSIX_TIMERS): Remove.
5016 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
5017 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5018 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
5019 Make code unconditional.
5020 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5021 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
5022 Make code unconditional.
5023 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5024 * sysdeps/unix/sysv/linux/clock_nanosleep.c
5025 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
5026 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5027 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
5028 Make code unconditional.
5029 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5030 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
5031 (__libc_missing_posix_timers): Remove.
5032
5033 2012-08-15 Roland McGrath <roland@hack.frob.com>
5034
5035 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
5036 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
5037
5038 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
5039
5040 * elf/dl-sym.c: Include <stdlib.h>.
5041
5042 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
5043 constants, which avoids warnings in 32-bit builds.
5044
5045 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
5046 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
5047
5048 * misc/lseek.c: File moved to ...
5049 * io/lseek.c: ... here.
5050
5051 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
5052
5053 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
5054 shifting LEN more than 31 bits at once.
5055
5056 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5057
5058 [BZ #14195]
5059 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
5060 segmentation fault for a case of two empty input strings.
5061 * string/test-strncasecmp.c (check1): Renamed to...
5062 (bz12205): ...this.
5063 (bz14195): Add new testcase for two empty input strings and N > 0.
5064 (test_main): Call new testcase, adapt for renamed function.
5065
5066 2012-08-15 Andreas Jaeger <aj@suse.de>
5067
5068 [BZ #14090]
5069 * crypt/md5test2.c: New test, based on test supplied by Serge
5070 Belyshev <belyshev@depni.sinp.msu.ru>.
5071 * crypt/Makefile (xtests): Add md5test-giant..
5072 * crypt/Makefile ($(objpfx)md5test-giant): Add.
5073
5074 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
5075
5076 [BZ #14090]
5077 * crypt/md5.c (md5_process_block): Don't assume the buffer
5078 length is less than 2**32.
5079 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
5080 length is less than 2**64.
5081
5082 2012-08-15 Roland McGrath <roland@hack.frob.com>
5083
5084 * string/str-two-way.h: Include <sys/param.h>.
5085 (MAX): Macro removed.
5086
5087 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
5088 Move #define and #undef of memmove to just before and after
5089 including <string.h>.
5090
5091 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
5092 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
5093 and after including <string.h>. Move declarations of
5094 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
5095 to before #include "string/memmove.c".
5096
5097 * include/dirent.h: Declare __getdirentries.
5098
5099 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
5100 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
5101
5102 2012-08-14 Mike Frysinger <vapier@gentoo.org>
5103
5104 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
5105 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
5106 * sysdeps/i386/configure: Regenerated.
5107 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
5108 STABS_CURRENT_FILE, and STABS_FUN.
5109 (END): Remove call to STABS_FUN_END.
5110 (STABS_CURRENT_FILE1): Delete.
5111 (STABS_CURRENT_FILE): Likewise.
5112 (STABS_FUN): Likewise.
5113 (STABS_FUN_END): Likewise.
5114 (STABS_FUN2): Likewise.
5115 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
5116 * sysdeps/x86_64/configure: Regenerated.
5117
5118 2012-08-14 Roland McGrath <roland@hack.frob.com>
5119
5120 * elf/dl-open.c: Include <atomic.h>.
5121 * elf/dl-lookup.c: Likewise.
5122
5123 2012-08-14 Joseph Myers <joseph@codesourcery.com>
5124
5125 * sysdeps/unix/sysv/linux/kernel-features.h
5126 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
5127 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
5128 unconditionally.
5129 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
5130 unconditionally.
5131 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
5132 condition on __ASSUME_CLONE_THREAD_FLAGS.
5133
5134 2012-08-14 Andreas Jaeger <aj@suse.de>
5135
5136 * sysdeps/i386/fpu/libm-test-ulps: Update.
5137
5138 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
5139
5140 * include/atomic.h (atomic_exchange_and_add): Split into ...
5141 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
5142 New atomic macros.
5143
5144 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
5145
5146 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5147
5148 2012-08-13 Jeff Law <law@redhat.com>
5149
5150 * manual/stdio.texi (snprintf): Clarify handling of the trailing
5151 null byte in the output string.
5152
5153 2012-08-10 Joseph Myers <joseph@codesourcery.com>
5154
5155 * sysdeps/unix/sysv/linux/kernel-features.h
5156 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
5157 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
5158 (__ASSUME_ARG_MAX_STACK_BASED): Define.
5159 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
5160 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
5161 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
5162 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
5163
5164 2012-08-09 Jeff Law <law@redhat.com>
5165
5166 [BZ #13939]
5167 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
5168 When avoid_arena is set, don't retry in the that arena. Pick the
5169 next one, whatever it might be.
5170 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
5171 (arena_lock): Pass in new parameter to arena_get2.
5172 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
5173 arena_get2.
5174 (__libc_malloc): Unify retrying after main arena failure with
5175 __libc_memalign version.
5176 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
5177
5178 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
5179
5180 [BZ #14166]
5181 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
5182 to __redirect_strstr.
5183 (__strstr_sse42): Use typeof __redirect_strstr.
5184 (__strstr_ia32): Likewise.
5185 (__libc_strstr): New prototype.
5186 (strstr): Renamed to ...
5187 (__libc_strstr): This.
5188 (strstr): New strong alias of __libc_strstr.
5189 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
5190 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
5191 __redirect_time.
5192 Include <time.h>.
5193 (__libc_time): New prototype.
5194 (time_ifunc): Replace time with __libc_time.
5195 (time): New strong alias and hidden definition of __libc_time.
5196 (__GI_time): Remove strong alias.
5197 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
5198 Include <stddef.h>.
5199 (memmove): Redefined to __redirect_memmove.
5200 (__memmove_sse2): Use typeof __redirect_memmove.
5201 (__memmove_ssse3): Likewise.
5202 (__memmove_ssse3_back): Likewise.
5203 (__libc_memmove): New prototype.
5204 (memmove): Renamed to ...
5205 (__libc_memmove): This.
5206 (memmove): New strong alias of __libc_memmove.
5207
5208 2012-08-08 Mark Salter <msalter@redhat.com>
5209
5210 * elf/elf.h
5211 (R_MN10300_TLS_GD): Define.
5212 (R_MN10300_TLS_LD): Likewise.
5213 (R_MN10300_TLS_LDO): Likewise.
5214 (R_MN10300_TLS_GOTIE): Likewise.
5215 (R_MN10300_TLS_IE): Likewise.
5216 (R_MN10300_TLS_LE): Likewise.
5217 (R_MN10300_TLS_DTPMOD): Likewise.
5218 (R_MN10300_TLS_DTPOFF): Likewise.
5219 (R_MN10300_TLS_TPOFF): Likewise.
5220 (R_MN10300_SYM_DIFF): Likewise.
5221 (R_MN10300_ALIGN): Likewise.
5222 (R_MN10300_NUM): Update.
5223
5224 2012-08-08 Joseph Myers <joseph@codesourcery.com>
5225
5226 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
5227 Remove.
5228
5229 2012-08-08 Roland McGrath <roland@hack.frob.com>
5230
5231 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
5232
5233 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
5234 sysdeps/unix -> sysdeps/posix move.
5235 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
5236
5237 2012-08-07 Allan McRae <allan@archlinux.org>
5238
5239 [BZ #14303]
5240 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
5241 (SUNOS_CPP): Likewise.
5242 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
5243 not found.
5244 (open_input): Call CPP using execvp.
5245
5246 2012-08-07 Joseph Myers <joseph@codesourcery.com>
5247
5248 * sysdeps/unix/sysv/linux/kernel-features.h
5249 (__ASSUME_PROT_GROWSUPDOWN): Remove.
5250 (__ASSUME_NO_CLONE_DETACHED): Likewise.
5251 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
5252 (__ASSUME_WAITID_SYSCALL): Likewise.
5253 * sysdeps/unix/sysv/linux/dl-execstack.c
5254 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
5255 code unconditional.
5256 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
5257 conditional code.
5258 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
5259 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
5260 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
5261 code.
5262 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
5263 unconditional.
5264 [__ASSUME_WAITID_SYSCALL]: Likewise.
5265 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
5266
5267 2012-08-07 Roland McGrath <roland@hack.frob.com>
5268
5269 * sysdeps/unix/closedir.c: Renamed to ...
5270 * sysdeps/posix/closedir.c: ... here.
5271 * sysdeps/unix/dirfd.c: Renamed to ...
5272 * sysdeps/posix/dirfd.c: ... here.
5273 * sysdeps/unix/dirstream.h: Renamed to ...
5274 * sysdeps/posix/dirstream.h: ... here.
5275 * sysdeps/unix/fdopendir.c: Renamed to ...
5276 * sysdeps/posix/fdopendir.c: ... here.
5277 * sysdeps/unix/opendir.c: Renamed to ...
5278 * sysdeps/posix/opendir.c: ... here.
5279 * sysdeps/unix/readdir.c: Renamed to ...
5280 * sysdeps/posix/readdir.c: ... here.
5281 * sysdeps/unix/readdir_r.c: Renamed to ...
5282 * sysdeps/posix/readdir_r.c: ... here.
5283 * sysdeps/unix/rewinddir.c: Renamed to ...
5284 * sysdeps/posix/rewinddir.c: ... here.
5285 * sysdeps/unix/seekdir.c: Renamed to ...
5286 * sysdeps/posix/seekdir.c: ... here.
5287 * sysdeps/unix/telldir.c: Renamed to ...
5288 * sysdeps/posix/telldir.c: ... here.
5289 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
5290 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
5291 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
5292 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
5293
5294 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
5295 * bits/fcntl.h: ... here.
5296
5297 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
5298 not 0.
5299 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
5300 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
5301 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
5302 (struct flock): Move l_start, l_len to the beginning.
5303 Use __pid_t for l_pid.
5304 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
5305 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
5306 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
5307 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
5308 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
5309 [__USE_LARGEFILE64] (struct flock64): New type.
5310 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
5311
5312 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
5313 * bits/dirent.h: ... here.
5314
5315 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
5316 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
5317
5318 2012-08-07 Joseph Myers <joseph@codesourcery.com>
5319
5320 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5321 Change from 2.6.0 to 2.6.16.
5322 * sysdeps/unix/sysv/linux/configure: Regenerated.
5323 * sysdeps/unix/sysv/linux/kernel-features.h
5324 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
5325 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
5326 version.
5327 (__ASSUME_UTIMES): Likewise.
5328 (__ASSUME_CLONE_STOPPED): Remove.
5329 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
5330 architectures, not kernel version.
5331 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
5332 (__ASSUME_NO_CLONE_DETACHED): Likewise.
5333 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
5334 (__ASSUME_WAITID_SYSCALL): Likewise.
5335 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
5336 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
5337 * README: State 2.6.16 as minimum Linux kernel version. Do not
5338 refer to older versions.
5339
5340 2012-08-06 Roland McGrath <roland@hack.frob.com>
5341
5342 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
5343 Define alphasort64 as an alias.
5344 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
5345 Define versionsort64 as an alias.
5346 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
5347 Define scandir64 as an alias.
5348 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
5349 Define scandirat64 as an alias.
5350 * dirent/alphasort64.c (alphasort64):
5351 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
5352 * dirent/versionsort64.c: Likewise.
5353 * dirent/scandir64.c: Likewise.
5354 * dirent/scandirat64.c: Likewise.
5355 * sysdeps/wordsize-64/alphasort.c: File removed.
5356 * sysdeps/wordsize-64/alphasort64.c: File removed.
5357 * sysdeps/wordsize-64/scandir.c: File removed.
5358 * sysdeps/wordsize-64/scandir64.c: File removed.
5359 * sysdeps/wordsize-64/scandirat.c: File removed.
5360 * sysdeps/wordsize-64/scandirat64.c: File removed.
5361 * sysdeps/wordsize-64/versionsort.c: File removed.
5362 * sysdeps/wordsize-64/versionsort64.c: File removed.
5363 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
5364 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
5365 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
5366 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
5367 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
5368 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
5369 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
5370 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
5371
5372 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
5373 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
5374 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
5375 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5376 [defined __arch64__ || defined __sparcv9]
5377 (__INO_T_MATCHES_INO64_T): New macro.
5378 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5379 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
5380 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
5381 * sysdeps/unix/sysv/linux/bits/dirent.h
5382 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
5383 (_DIRENT_MATCHES_DIRENT64): New macro.
5384
5385 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
5386 Define lockf64 as an alias.
5387 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
5388 Define fseeko64 as an alias.
5389 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
5390 Define ftello64 as an alias.
5391 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
5392 Define _IO_fgetpos64 and fgetpos64 as aliases.
5393 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
5394 Define _IO_fsetpos64 and fsetpos64 as aliases.
5395 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
5396 Conditionalize body on this.
5397 * libio/fseeko64.c: Likewise.
5398 * libio/ftello64.c: Likewise.
5399 * libio/iofgetpos64.c: Likewise.
5400 * libio/iofsetpos64.c: Likewise.
5401 * sysdeps/wordsize-64/lockf.c: File removed.
5402 * sysdeps/wordsize-64/lockf64.c: File removed.
5403 * sysdeps/wordsize-64/fseeko.c: File removed.
5404 * sysdeps/wordsize-64/fseeko64.c: File removed.
5405 * sysdeps/wordsize-64/ftello.c: File removed.
5406 * sysdeps/wordsize-64/ftello64.c: File removed.
5407 * sysdeps/wordsize-64/iofgetpos.c: File removed.
5408 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
5409 * sysdeps/wordsize-64/iofsetpos.c: File removed.
5410 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
5411 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
5412 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
5413 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
5414 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
5415 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
5416 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
5417 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
5418 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
5419 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
5420 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
5421
5422 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
5423 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
5424 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
5425 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5426 [defined __arch64__ || defined __sparcv9]
5427 (__OFF_T_MATCHES_OFF64_T): New macro.
5428 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5429 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
5430 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5431 (__OFF_T_MATCHES_OFF64_T): New macro.
5432
5433 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
5434
5435 * stdlib/secure-getenv.c (__secure_getenv): Replace
5436 GLIBC_2_16 with GLIBC_2_17.
5437
5438 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
5439
5440 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
5441 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
5442
5443 2012-08-03 David S. Miller <davem@davemloft.net>
5444
5445 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5446
5447 2012-08-03 Joseph Myers <joseph@codesourcery.com>
5448
5449 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
5450 Remove.
5451 (__ASSUME_CORRECT_SI_PID): Likewise.
5452 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
5453 (__ASSUME_TMPFS_NAME): Likewise.
5454 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
5455 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
5456 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
5457 (HAVE_AUX_SECURE): Make definition unconditional.
5458 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
5459 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
5460
5461 2012-08-03 Roland McGrath <roland@hack.frob.com>
5462
5463 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
5464 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
5465 * sysdeps/mach/hurd/eloop-threshold.h: New file.
5466 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
5467 __eloop_threshold instead of SYMLOOP_MAX.
5468
5469 * sysdeps/generic/eloop-threshold.h: New file.
5470 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
5471 of MAXSYMLINKS.
5472 * elf/chroot_canon.c (chroot_canon): Likewise.
5473
5474 2012-08-03 Joseph Myers <joseph@codesourcery.com>
5475
5476 [BZ #13717]
5477 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5478 Change to 2.6.0 everywhere.
5479 * sysdeps/unix/sysv/linux/configure: Regenerated.
5480 * sysdeps/unix/sysv/linux/kernel-features.h
5481 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
5482 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
5483 kernel versions.
5484 (__ASSUME_POSIX_TIMERS): Define unconditionally.
5485 (__ASSUME_FUTEX_REQUEUE): Remove.
5486 (__ASSUME_STATFS64): Define unconditionally.
5487 (__ASSUME_AT_SECURE): Likewise.
5488 (__ASSUME_CORRECT_SI_PID): Likewise.
5489 (__ASSUME_TGKILL): Define without depending on kernel version for
5490 i386.
5491 (__ASSUME_UTIMES): Likewise.
5492 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
5493 kernel version.
5494 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
5495 (__ASSUME_TMPFS_NAME): Likewise.
5496 * README: Update reference to Linux kernel versions.
5497
5498 2012-08-02 Marek Polacek <polacek@redhat.com>
5499
5500 [BZ# 14150]
5501 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
5502 libc_cv_asm_type_prefix with %.
5503 * configure: Regenerated.
5504 * include/libc-symbols.h: Remove comment about
5505 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
5506 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
5507 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
5508 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
5509 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
5510 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
5511 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
5512 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
5513 * elf/tst-unique2mod1.c: Likewise.
5514 * elf/tst-unique1mod2.c: Likewise.
5515 * elf/tst-unique1mod1.c: Likewise.
5516 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
5517 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
5518 Replace ASM_TYPE_DIRECTIVE with .type.
5519 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5520 * sysdeps/i386/sysdep.h: Likewise.
5521 * sysdeps/x86_64/sysdep.h: Likewise.
5522 * sysdeps/sh/sysdep.h: Likewise.
5523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
5524 Do not define ASM_TYPE_DIRECTIVE.
5525 * sysdeps/powerpc/sysdep.h: Likewise.
5526 * sysdeps/powerpc/powerpc32/sysdep.h:
5527 Replace ASM_TYPE_DIRECTIVE with .type.
5528 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
5529 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5530 * sysdeps/i386/fpu/e_powf.S: Likewise.
5531 * sysdeps/i386/fpu/e_expl.S: Likewise.
5532 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5533 * sysdeps/i386/fpu/e_acosh.S: Likewise.
5534 * sysdeps/i386/fpu/e_pow.S: Likewise.
5535 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
5536 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5537 * sysdeps/i386/fpu/s_expm1.S: Likewise.
5538 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
5539 * sysdeps/i386/fpu/e_log2.S: Likewise.
5540 * sysdeps/i386/fpu/e_log2l.S: Likewise.
5541 * sysdeps/i386/fpu/e_scalb.S: Likewise.
5542 * sysdeps/i386/fpu/e_powl.S: Likewise.
5543 * sysdeps/i386/fpu/e_log10f.S: Likewise.
5544 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
5545 * sysdeps/i386/fpu/e_logl.S: Likewise.
5546 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
5547 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
5548 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
5549 * sysdeps/i386/fpu/e_log2f.S: Likewise.
5550 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5551 * sysdeps/i386/fpu/e_log.S: Likewise.
5552 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5553 * sysdeps/i386/fpu/e_logf.S: Likewise.
5554 * sysdeps/i386/fpu/e_log10l.S: Likewise.
5555 * sysdeps/i386/fpu/e_atanh.S: Likewise.
5556 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
5557 * sysdeps/i386/fpu/e_log10.S: Likewise.
5558 * sysdeps/i386/fpu/s_frexp.S: Likewise.
5559 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5560 * sysdeps/i386/fpu/s_asinh.S: Likewise.
5561 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
5562 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5563 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
5564 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
5565 * sysdeps/i386/i686/strtok.S: Likewise.
5566 * sysdeps/i386/i386-mcount.S: Likewise.
5567 * sysdeps/i386/strtok.S: Likewise.
5568 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
5569 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
5570 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5571 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
5572 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
5573 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
5574 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
5575 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
5576 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
5577 * sysdeps/x86_64/_mcount.S: Likewise.
5578 * sysdeps/x86_64/strtok.S: Likewise.
5579 * sysdeps/sh/_mcount.S: Likewise.
5580
5581 2012-08-01 Roland McGrath <roland@hack.frob.com>
5582
5583 * libio/iofopen.c: Include <fcntl.h>.
5584 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
5585 (_IO_fopen64, fopen64): Define as aliases.
5586 * libio/iofopen64.c: Include <fcntl.h>.
5587 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
5588 Conditionalize body on this.
5589 * sysdeps/wordsize-64/iofopen.c: File removed.
5590 * sysdeps/wordsize-64/iofopen64.c: File removed.
5591
5592 2012-08-01 Marek Polacek <polacek@redhat.com>
5593
5594 * libc/Makeconfig: Use elf in place of binfmt-subdir.
5595 Use dlfcn directly instead of a variable.
5596 (binfmt-subdir): Do not define.
5597 (dlfcn): Likewise.
5598
5599 2012-08-01 Joseph Myers <joseph@codesourcery.com>
5600
5601 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
5602 Remove all definitions.
5603 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
5604 <kernel-features.h>.
5605 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
5606 (miss_F_GETOWN_EX): Remove all definitions.
5607 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
5608 macro definition.
5609 [!__ASSUME_FCNTL64]: Remove conditional code.
5610 [__ASSUME_FCNTL64]: Make code unconditional.
5611 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
5612 <kernel-features.h>.
5613 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
5614 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
5615 (lockf64) [__NR_fcntl64]: Make code unconditional.
5616 (lockf64) [__ASSUME_FCNTL64]: Likewise.
5617
5618 * sysdeps/unix/sysv/linux/kernel-features.h
5619 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
5620 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
5621 Make code unconditional.
5622 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5623 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
5625 [__NR_vfork]: Make code unconditional.
5626 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5627 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
5629 [__NR_vfork]: Make code unconditional.
5630 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5631 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5632
5633 2012-08-01 Roland McGrath <roland@hack.frob.com>
5634
5635 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
5636 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
5637
5638 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5639 Define mkstemp64 as an alias.
5640 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5641 Define mkstemps64 as an alias.
5642 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5643 Define mkostemp64 as an alias.
5644 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5645 Define mkostemps64 as an alias.
5646 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
5647 Conditionalize body on this.
5648 * misc/mkostemp64.c: Likewise.
5649 * misc/mkostemps64.c: Likewise.
5650 * misc/mkstemps64.c: Likewise.
5651 * sysdeps/wordsize-64/mkstemp64.c: File removed.
5652 * sysdeps/wordsize-64/mkostemp64.c: File removed.
5653 * sysdeps/wordsize-64/mkostemp.c: File removed.
5654 * sysdeps/wordsize-64/mkstemp.c: File removed.
5655 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
5656 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
5657 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
5658 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
5659
5660 [BZ #14138]
5661 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
5662 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
5663 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
5664 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
5665
5666 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
5667 compat_symbol macros from <shlib-compat.h> rather than the underlying
5668 default_symbol_version and symbol_version macros, so that DEFAULT
5669 lines in shlib-versions are respected.
5670 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
5671
5672 2012-08-01 Florian Weimer <fweimer@redhat.com>
5673
5674 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
5675 Declare with warn_unused_result.
5676 (setgid, setregid, setegid, setresgid): Likewise.
5677 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
5678 Likewise.
5679 * WUR-REPORT: Remove set*id functions.
5680
5681 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
5682
5683 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
5684
5685 2012-07-31 Roland McGrath <roland@hack.frob.com>
5686
5687 * include/sys/socket.h (__libc_accept, __libc_accept4):
5688 Add attribute_hidden.
5689 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
5690
5691 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
5692 use of PTR_MANGLE.
5693 * inet/getnetgrent_r.c (setup): Likewise.
5694
5695 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
5696
5697 2012-07-31 David S. Miller <davem@davemloft.net>
5698
5699 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5700
5701 2012-07-31 Joseph Myers <joseph@codesourcery.com>
5702
5703 [BZ #13629]
5704 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
5705 value between 1.0 and 2.0 and smaller part has absolute value less
5706 than 1.0.
5707 * math/s_clog10.c (__clog10): Likewise.
5708 * math/s_clog10f.c (__clog10f): Likewise.
5709 * math/s_clog10l.c (__clog10l): Likewise.
5710 * math/s_clogf.c (__clogf): Likewise.
5711 * math/s_clogl.c (__clogl): Likewise.
5712 * math/libm-test.inc (clog_test): Add more tests.
5713 (clog10_test): Likewise.
5714 * sysdeps/i386/fpu/libm-test-ulps: Update.
5715 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5716
5717 2012-07-31 Florian Weimer <fweimer@redhat.com>
5718
5719 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
5720 Exit with zero in case no suitable GID is found, and write a
5721 message to standard error.
5722
5723 2012-07-30 Roland McGrath <roland@hack.frob.com>
5724
5725 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
5726 rather than to 1.
5727 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
5728 (MAXPATHLEN): Removed.
5729 (NOGROUP, NODEV): New macros.
5730 (setbit, clrbit, isset, isclr): New macros.
5731 (howmany, roundup, powerof2): New macros.
5732 (DEV_BSIZE): New macro.
5733
5734 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
5735 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
5736
5737 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
5738 definition on [!__NO_LONG_DOUBLE_MATH].
5739
5740 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
5741 PTR_MANGLE and PTR_DEMANGLE.
5742
5743 * socket/accept4.c (accept4): Rename to __libc_accept4.
5744 Define accept4 as a weak alias.
5745
5746 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
5747 on [_DIRENT_HAVE_D_TYPE].
5748 * io/ftw.c (ftw_dir): Likewise.
5749
5750 * io/xmknod.c (__xmknod): Don't check PATH for being null.
5751
5752 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
5753
5754 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
5755 Use the BSD numbers rather than the arbitrary ones we had.
5756 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
5757 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
5758 (SIGXCPU, SIGXFSZ): New macros.
5759 (_NSIG): Now 32.
5760
5761 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
5762 initializer on [_LIBC_REENTRANT].
5763
5764 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
5765 definitions inside [_POSIX_MAPPED_FILES].
5766
5767 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
5768
5769 * dirent/opendir.c: Include <fcntl.h>.
5770
5771 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
5772 (__libc_getspecific): Likewise.
5773 (__libc_key_create): Likewise.
5774
5775 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
5776 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
5777 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
5778 (tmpfile64): Define as alias.
5779 * sysdeps/wordsize-64/tmpfile.c: File removed.
5780 * sysdeps/wordsize-64/tmpfile64.c: File removed.
5781 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
5782 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
5783
5784 * stdio-common/vfscanf.c: Include <stdbool.h>.
5785 * nss/makedb.c: Likewise.
5786 * stdio-common/_i18n_number.h: Likewise.
5787 * argp/argp-help.c: Likewise.
5788 * posix/wordexp.c: Likewise.
5789 * sysdeps/posix/spawni.c: Likewise.
5790 * nss/nss_files/files-initgroups.c: Likewise.
5791 * stdio-common/reg-modifier.c: Include <stdlib.h>.
5792 * nss/nss_files/files-initgroups.c: Likewise.
5793 * nss/nss_db/db-netgrp.c: Likewise.
5794 * nss/nss_db/db-initgroups.c: Likewise.
5795 * io/fchmodat.c: Include <sys/stat.h>.
5796
5797 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
5798 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
5799
5800 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
5801 [HAVE_MMAP].
5802
5803 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
5804 Add multiple inclusion protection.
5805
5806 2012-07-27 David S. Miller <davem@davemloft.net>
5807
5808 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5809
5810 2012-07-27 Gary Benson <gbenson@redhat.com>
5811
5812 [BZ #14298]
5813 * elf/rtld.c: Include <stap-probe.h>.
5814 (dl_main): Added static probes "init_start" and "init_complete".
5815 * elf/dl-load.c: Include <stap-probe.h>.
5816 (lose): Take new parameter "nsid".
5817 Added static probe "map_failed".
5818 (_dl_map_object_from_fd): Pass namespace id to lose.
5819 Added static probe "map_start".
5820 (open_verify): Pass namespace id to lose.
5821 * elf/dl-open.c: Include <stap-probe.h>.
5822 (dl_open_worker) Added static probes "map_complete", "reloc_start"
5823 and "reloc_complete".
5824 * elf/dl-close.c: Include <stap-probe.h>.
5825 (_dl_close_worker): Added static probes "unmap_start" and
5826 "unmap_complete".
5827 * elf/rtld-debugger-interface.txt: New file documenting the above.
5828
5829 2012-07-26 Roland McGrath <roland@hack.frob.com>
5830
5831 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
5832 rather than a string variable.
5833 * sunrpc/rpc_main.c (h_output): Likewise.
5834 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
5835
5836 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
5837
5838 * inet/check_native.c: New file.
5839
5840 2012-07-26 Joseph Myers <joseph@codesourcery.com>
5841
5842 [BZ #13629]
5843 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
5844 if larger part has absolute value 1.0.
5845 * math/s_clog10.c (__clog10): Likewise.
5846 * math/s_clog10f.c (__clog10f): Likewise.
5847 * math/s_clog10l.c (__clog10l): Likewise.
5848 * math/s_clogf.c (__clogf): Likewise.
5849 * math/s_clogl.c (__clogl): Likewise.
5850 * math/libm-test.inc (clog_test): Add more tests.
5851 (clog10_test): Likewise.
5852 * sysdeps/i386/fpu/libm-test-ulps: Update.
5853 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5854
5855 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
5856 (pltexit): Likewise.
5857 (La_regs): Likewise.
5858 (La_retval): Likewise.
5859 (int_retval): Likewise.
5860 Update #error for removed macros to refer only to definitions in
5861 tst-audit.h.
5862 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
5863 macro.
5864 (pltexit): Likewise.
5865 (La_regs): Likewise.
5866 (La_retval): Likewise.
5867 (int_retval): Likewise.
5868 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
5869 macro.
5870 (pltexit): Likewise.
5871 (La_regs): Likewise.
5872 (La_retval): Likewise.
5873 (int_retval): Likewise.
5874 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
5875 macro.
5876 (pltexit): Likewise.
5877 (La_regs): Likewise.
5878 (La_retval): Likewise.
5879 (int_retval): Likewise.
5880 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
5881 macro.
5882 (pltexit): Likewise.
5883 (La_regs): Likewise.
5884 (La_retval): Likewise.
5885 (int_retval): Likewise.
5886 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
5887 macro.
5888 (pltexit): Likewise.
5889 (La_regs): Likewise.
5890 (La_retval): Likewise.
5891 (int_retval): Likewise.
5892 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
5893 macro.
5894 (pltexit): Likewise.
5895 (La_regs): Likewise.
5896 (La_retval): Likewise.
5897 (int_retval): Likewise.
5898 * sysdeps/generic/tst-audit.h: Update comment to refer only to
5899 macro definitions in tst-audit.h.
5900 * sysdeps/i386/tst-audit.h: New file.
5901 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
5902 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
5903 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
5904 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
5905 * sysdeps/sh/tst-audit.h: Likewise.
5906 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
5907 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
5908 * sysdeps/x86_64/tst-audit.h: Likewise.
5909
5910 2012-07-26 Andreas Jaeger <aj@suse.de>
5911
5912 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
5913 ptrace.
5914
5915 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
5916 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
5917 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
5918 PTRACE_O_MASK.
5919 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
5920 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
5921 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
5922
5923 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
5924 value.
5925
5926 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
5927 _sigsys.
5928 (si_call_addr, si_syscall, si_arch): Define new macro.
5929 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
5930 _sigsys.
5931 (si_call_addr, si_syscall, si_arch): Define new marcro.
5932 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
5933 _sigsys.
5934 (si_call_addr, si_syscall, si_arch): Define new macro.
5935 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
5936 _sigsys.
5937 (si_call_addr, si_syscall, si_arch): Define new macro.
5938
5939 2012-07-25 Joseph Myers <joseph@codesourcery.com>
5940
5941 [BZ #13717]
5942 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5943 Change to 2.4.21 where previously 2.4.1.
5944 * sysdeps/unix/sysv/linux/configure: Regenerated.
5945 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
5946 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
5947 Linux kernel version.
5948 (__ASSUME_STD_AUXV): Remove.
5949 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
5950 kernel version.
5951 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
5952 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
5953 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
5954 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
5955 (__ASSUME_NETLINK_SUPPORT): Likewise.
5956 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
5957 (__no_netlink_support): Remove conditional definition.
5958 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
5959 Remove.
5960 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
5961 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
5962 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
5963 (if_nameindex_ioctl): Remove.
5964 (if_nameindex_netlink): Do not handle __no_netlink_support.
5965 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
5966 code.
5967 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
5968 Remove conditional code.
5969 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
5970 code.
5971 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
5972 unconditional.
5973 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
5974 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
5975 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
5976 Remove.
5977 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
5978 [!__ASSUME_STD_AUXV]: Remove conditional code.
5979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
5980 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
5981 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
5982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
5983 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
5984 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
5985 code.
5986 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
5987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
5988 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
5989 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
5990 conditional code.
5991 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
5992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
5993 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
5994 code.
5995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
5996 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
5997 conditional code.
5998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
5999 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
6000 code unconditional.
6001 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6002 conditional code.
6003 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6004 unconditional.
6005 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6006 conditional code.
6007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
6008 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6009 unconditional.
6010 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6011 conditional code.
6012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
6013 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
6014 code unconditional.
6015 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6016 conditional code.
6017 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6018 unconditional.
6019 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6020 conditional code.
6021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
6022 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
6023 code unconditional.
6024 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6025 conditional code.
6026 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6027 unconditional.
6028 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6029 conditional code.
6030
6031 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
6032
6033 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
6034 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
6035 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
6036 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
6037 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
6038 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
6039 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
6040 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
6041 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
6042 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
6043 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
6044 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
6045 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
6046 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
6047 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
6048 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
6049 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
6050 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
6051 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
6052 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
6053 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
6054 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
6055 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
6056
6057 2012-07-25 Florian Weimer <fweimer@redhat.com>
6058
6059 * Versions.def: Add GLIBC_2.17.
6060 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
6061 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
6062 Introduce __libc_secure_getenv.
6063 * stdlib/Versions (2.17): Add secure_getenv
6064 (GLIBC_PRIVATE): Add __libc_secure_getenv.
6065 * stdlib/secure-getenv.c: Rename __secure_getenv to
6066 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
6067 symbol __secure_getenv for GLIBC_2.0.
6068 * stdlib/tst-secure-getenv.c: New.
6069 * stdlib/Makefile (tests): Add testcase.
6070 * manual/startup.texi (Environment Access): Document
6071 secure_getenv.
6072 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
6073 __libc_secure_getenv.
6074 * inet/ruserpass.c (ruserpass): Likewise.
6075 * malloc/mtrace.c (mtrace): Likewise.
6076 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
6077 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
6078 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
6079 * sysdeps/posix/tempname.c: Likewise. Evaluate
6080 HAVE_SECURE_GETENV.
6081 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
6082 __secure_getenv to __libc_secure_getenv.
6083 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
6084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6085 Likewise.
6086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6087 Likewise.
6088 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
6089 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
6090 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6091 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
6092 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
6093 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6094 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
6095
6096 2012-07-25 Joseph Myers <joseph@codesourcery.com>
6097
6098 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
6099 (struct La_i86_retval): Likewise.
6100 (struct La_x86_64_regs): Likewise.
6101 (struct La_x86_64_retval): Likewise.
6102 (struct La_x32_regs): Likewise.
6103 (struct La_x32_retval): Likewise.
6104 (struct La_ppc32_regs): Likewise.
6105 (struct La_ppc32_retval): Likewise.
6106 (struct La_ppc64_regs): Likewise.
6107 (struct La_ppc64_retval): Likewise.
6108 (struct La_sh_regs): Likewise.
6109 (struct La_sh_retval): Likewise.
6110 (struct La_s390_32_regs): Likewise.
6111 (struct La_s390_32_retval): Likewise.
6112 (struct La_s390_64_regs): Likewise.
6113 (struct La_s390_64_retval): Likewise.
6114 (struct La_sparc32_regs): Likewise.
6115 (struct La_sparc32_retval): Likewise.
6116 (struct La_sparc64_regs): Likewise.
6117 (struct La_sparc64_retval): Likewise.
6118 (struct audit_ifaces): Remove architecture-specific pltenter and
6119 pltexit members.
6120 * sysdeps/i386/ldsodefs.h: New file.
6121 * sysdeps/powerpc/ldsodefs.h: Likewise.
6122 * sysdeps/s390/ldsodefs.h: Likewise.
6123 * sysdeps/sh/ldsodefs.h: Likewise.
6124 * sysdeps/sparc/ldsodefs.h: Likewise.
6125 * sysdeps/x86_64/ldsodefs.h: Likewise.
6126
6127 2012-07-25 Marek Polacek <polacek@redhat.com>
6128
6129 [BZ #6808]
6130 * math/libm-test.inc (yn_test): Add another test.
6131 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
6132 to ERANGE when the result is +-Inf.
6133 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
6134 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
6135 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
6136 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
6137
6138 2012-07-24 Joseph Myers <joseph@codesourcery.com>
6139
6140 * conform/data/time.h-data (NULL): Use macro-constant. Require
6141 equal to 0.
6142 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
6143 clock_t.
6144 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
6145
6146 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
6147
6148 * configure.in <sysdeps resolving>: Correct printing
6149 Implies_before.
6150 * configure: Regenerate.
6151
6152 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
6153
6154 * math/w_ilogb.c: Include <limits.h>.
6155 * math/w_ilogbl.c: Likewise.
6156
6157 2012-07-20 Joseph Myers <joseph@codesourcery.com>
6158
6159 * manual/lang.texi (__va_copy): Document primarily as ISO C99
6160 va_copy. Document allowing for unavailable va_copy only as
6161 pre-C99 compatibility.
6162 * manual/string.texi (Copying and Concatenation): Use va_copy
6163 instead of __va_copy in concat example.
6164
6165 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
6166
6167 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
6168 (__sendto): Use create_address_port. Initialize APORT and deallocate
6169 it if not null.
6170
6171 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
6172 with O_NOLINK passed to __file_name_lookup.
6173
6174 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
6175 with O_NOLINK passed to __file_name_lookup.
6176
6177 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
6178 negative N or less than NGIDS.
6179
6180 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
6181 type to string_t. Set ERANGE as errno and return it if NAME is not big
6182 enough. Use memcpy instead of strncpy.
6183
6184 2012-07-20 Joseph Myers <joseph@codesourcery.com>
6185
6186 * elf/Makefile (check-data): Remove.
6187 (localplt.data): New vpath directive.
6188 ($(objpfx)check-localplt.out): Use localplt.data from vpath
6189 instead of $(check-data).
6190 * scripts/data/localplt-generic.data: Move to ...
6191 * sysdeps/generic/localplt.data: ... here.
6192 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
6193 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
6194 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
6195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
6196 ... here.
6197 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
6198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
6199 ... here.
6200 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
6201 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
6202 ... here.
6203 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
6204 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
6205 ... here.
6206 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
6207 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
6208 ... here.
6209 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
6210 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
6211 ... here.
6212
6213 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6214
6215 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
6216 PPC32 and PPC64 files.
6217 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
6218 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
6219
6220 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6221
6222 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
6223 __makecontext_ret to ...
6224 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
6225 ... here and call exit if uc_link is NULL. New file.
6226 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
6227 __makecontext_ret.S.
6228 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
6229 __makecontext_ret to ...
6230 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
6231 ... here and call exit if uc_link is NULL. New file.
6232 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
6233 __makecontext_ret.S.
6234
6235 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6236
6237 * elf/elf.h (R_390_IRELATIVE): New definition.
6238 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
6239 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
6240 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
6241 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
6242 (elf_machine_lazy_rel): Likewise.
6243 * sysdeps/s390/dl-irel.h: New file.
6244 * sysdeps/s390/s390-64/memcpy.S: New asm code.
6245 * sysdeps/s390/s390-64/memset.S: New asm code.
6246 * sysdeps/s390/s390-64/memcmp.S: New asm code.
6247 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
6248 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
6249 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
6250 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
6251 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
6252 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
6253 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
6254 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
6255 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
6256 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
6257 * sysdeps/s390/s390-32/memcpy.S: New asm code.
6258 * sysdeps/s390/s390-32/memset.S: New asm code.
6259 * sysdeps/s390/s390-32/memcmp.S: New asm code.
6260
6261 2012-07-17 Marek Polacek <polacek@redhat.com>
6262
6263 [BZ #14349]
6264 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
6265 * sysdeps/s390/s390-64/configure.in: Likewise.
6266 * sysdeps/sparc/configure.in: Likewise.
6267 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
6268 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
6269 * sysdeps/i386/configure.in: Likewise.
6270 * sysdeps/x86_64/configure.in: Likewise.
6271 * sysdeps/sh/configure.in: Likewise.
6272 * sysdeps/s390/s390-32/configure: Regenerated.
6273 * sysdeps/s390/s390-64/configure: Likewise.
6274 * sysdeps/x86_64/configure: Likewise.
6275 * sysdeps/sh/configure: Likewise.
6276 * sysdeps/powerpc/powerpc64/configure: Likewise.
6277 * sysdeps/powerpc/powerpc32/configure: Likewise.
6278 * sysdeps/sparc/configure: Likwise.
6279 * sysdeps/i386/configure: Likewise.
6280
6281 * elf/dl-open.c: Comment fixes.
6282
6283 2012-07-17 Joseph Myers <joseph@codesourcery.com>
6284
6285 * Makefile [CXX] (check-data): Remove.
6286 [CXX] (c++-types.data): New vpath directive.
6287 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
6288 vpath. Do not allow for C++ type data being missing.
6289 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
6290 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
6291 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
6292 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
6293 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
6294 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
6295 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
6296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
6297 ... here.
6298 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
6299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
6300 ... here.
6301 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
6302 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
6303 ... here.
6304 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
6305 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
6306 ... here.
6307 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
6308 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
6309 ... here.
6310 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
6311 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
6312 ... here.
6313 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
6314 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
6315 ... here.
6316 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
6317 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
6318
6319 * elf/tls-macros.h (TLS_LE): Move architecture-specific
6320 definitions to architecture-specific files.
6321 (TLS_IE): Likewise.
6322 (TLS_LD): Likewise.
6323 (TLS_GD): Likewise.
6324 * sysdeps/i386/tls-macros.h: New file.
6325 * sysdeps/powerpc/tls-macros.h: Likewise.
6326 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
6327 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
6328 * sysdeps/sh/tls-macros.h: Likewise.
6329 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
6330 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
6331 * sysdeps/x86_64/tls-macros.h: Likewise.
6332
6333 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
6334
6335 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
6336 zero value for regular exit case.
6337
6338 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
6339 (__start_context): Preserve zero value for regular exit case.
6340
6341 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
6342 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6343
6344 * manual/setjmp.texi (setcontext): Clarify normal process
6345 termination when uc_link is the null pointer.
6346 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
6347 exit call.
6348
6349 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
6350
6351 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
6352 preprocessor. Test for each exception mask separately.
6353
6354 2012-07-16 Andreas Jaeger <aj@suse.de>
6355
6356 * po/ru.po: Update from translation team.
6357
6358 2012-07-15 Joseph Myers <joseph@codesourcery.com>
6359
6360 * conform/data/string.h-data (NULL): Use macro-constant. Require
6361 equal to 0.
6362 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
6363 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
6364 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
6365 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
6366 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6367
6368 2012-07-13 Andreas Jaeger <aj@suse.de>
6369
6370 * po/fr.po: Update from translation team.
6371
6372 2012-07-12 Marek Polacek <polacek@redhat.com>
6373
6374 [BZ #14173]
6375 * math/libm-test.inc (yn_test): Add test for BZ #14173.
6376 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
6377 loop condition.
6378
6379 2012-07-12 Joseph Myers <joseph@codesourcery.com>
6380
6381 [BZ #13717]
6382 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6383 Change to 2.4.1 where previously 2.4.0.
6384 * sysdeps/unix/sysv/linux/configure: Regenerated.
6385 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
6386 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
6387 version.
6388 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
6389 (__ASSUME_AT_CLKTCK): Remove.
6390 (__ASSUME_AT_PAGESIZE): Likewise.
6391 (__ASSUME_AT_XID): Likewise.
6392 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
6393 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
6394 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
6395 unconditionally.
6396 (HAVE_AUX_PAGESIZE): Likewise.
6397 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
6398 [__ASSUME_AT_CLKTCK]: Make code unconditional.
6399 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
6400
6401 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
6402
6403 [BZ #14307]
6404 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
6405 the temporary buffer used to invoke __gethostbyname2_r,
6406 __gethostbyaddr_r and gethostbyname4_r to make room for struct
6407 host_data / struct gaih_addrtuple.
6408 * resolv/nss_dns/dns-host.c (global scope): Move definition of
6409 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
6410 header file nss/nsswitch.h.
6411 * nss/nsswitch.h (global scope): Add definition of implementation
6412 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
6413 resolv/nss_dns/dns-host.c).
6414
6415 2012-07-11 Andreas Jaeger <aj@suse.de>
6416
6417 * po/fr.po: Update from translation team.
6418
6419 * po/sv.po: Update from translation team
6420 * po/fr.po: Another update from translation team.
6421
6422 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6423
6424 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
6425 for subnormals or multiply small sinh result by itself.
6426 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
6427 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6428
6429 2012-07-11 David S. Miller <davem@davemloft.net>
6430
6431 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6432
6433 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
6434
6435 [BZ #14347]
6436 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
6437 (INTERNAL_MARK): Shift it here.
6438
6439 2012-07-10 Marek Polacek <polacek@redhat.com>
6440
6441 [BZ #14151]
6442 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
6443 libc_cv_asm_global_directive with .globl.
6444 * configure: Regenerated.
6445 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
6446 with .globl.
6447 * sysdeps/i386/configure: Regenerated.
6448 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
6449 with .globl.
6450 * sysdeps/x86_64/configure: Regenerated.
6451 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
6452 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
6453 * elf/tst-unique2mod2.c: Likewise.
6454 * elf/tst-unique2mod1.c: Likewise.
6455 * elf/tst-unique1mod2.c: Likewise.
6456 * elf/tst-unique1mod1.c: Likewise.
6457 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6458 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
6459 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6460 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6461 * sysdeps/mach/sysdep.h: Likewise.
6462 * sysdeps/i386/sysdep.h: Likewise.
6463 * sysdeps/i386/i386-mcount.S: Likewise.
6464 * sysdeps/x86_64/_mcount.S: Likewise.
6465 * sysdeps/x86_64/sysdep.h: Likewise.
6466 * sysdeps/sh/_mcount.S: Likewise.
6467 * sysdeps/sh/sysdep.h: Likewise.
6468 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
6469 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
6470 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
6471 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
6472 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
6473 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
6474 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
6475 * locale/localeinfo.h: Likewise.
6476 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
6477 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
6478
6479 2012-07-09 Roland McGrath <roland@hack.frob.com>
6480
6481 [BZ #14336]
6482 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
6483 system".
6484 * manual/message.texi (The Uniforum approach): Likewise.
6485 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
6486 (glibc iconv Implementation): Likewise.
6487
6488 2012-07-09 Joseph Myers <joseph@codesourcery.com>
6489
6490 [BZ #14337]
6491 * math/s_clog.c (__clog): Avoid scaling a value down where that
6492 could result in underflow.
6493 * math/s_clog10.c (__clog10): Likewise.
6494 * math/s_clog10f.c (__clog10f): Likewise.
6495 * math/s_clog10l.c (__clog10l): Likewise.
6496 * math/s_clogf.c (__clogf): Likewise.
6497 * math/s_clogl.c (__clogl): Likewise.
6498 * math/libm-test.inc (clog_test): Add more tests.
6499 (clog10_test): Likewise.
6500 * sysdeps/i386/fpu/libm-test-ulps: Update.
6501 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6502
6503 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
6504
6505 [BZ #14283]
6506 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
6507 by 7 not 8 to examine high bit of fractional part.
6508
6509 [BZ #14042]
6510 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
6511 for call to __mcount_internal.
6512 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
6513 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
6514 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
6515
6516 2012-07-06 Joseph Myers <joseph@codesourcery.com>
6517
6518 [BZ #14154]
6519 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
6520 approximation for values within 0x1p-13f of an odd multiple of
6521 pi/4.
6522 * math/libm-test.inc (tan_test): Do not allow spurious underflow
6523 exception. Add more tests.
6524 * sysdeps/i386/fpu/libm-test-ulps: Update.
6525
6526 [BZ #6778]
6527 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
6528 inputs and return -1 for them. Do not check for +Inf in case not
6529 reachable for +Inf.
6530 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
6531 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
6532 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
6533 and return -1 for them. Do not check for +Inf in case not
6534 reachable for +Inf.
6535 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
6536 define.
6537 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
6538 and return -1 for them. Do not check for +Inf in case not
6539 reachable for +Inf.
6540 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
6541 spurious underflow.
6542 * sysdeps/i386/fpu/libm-test-ulps: Update.
6543 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6544
6545 2012-07-06 Mike Frysinger <vapier@gentoo.org>
6546
6547 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
6548
6549 2012-07-05 Joseph Myers <joseph@codesourcery.com>
6550
6551 [BZ #14157]
6552 [BZ #14331]
6553 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
6554 could result in spurious underflow. Scale down values above
6555 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
6556 * math/s_csqrtf.c (__csqrtf): Likewise.
6557 * math/s_csqrtl.c (__csqrtl): Likewise.
6558 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
6559 spurious underflow.
6560 * sysdeps/i386/fpu/libm-test-ulps: Update.
6561 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6562
6563 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
6564
6565 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
6566 xopen-msg.sed.
6567 * catgets/xopen-msg.awk: New file.
6568 * catgets/xopen-msg.sed: Removed.
6569
6570 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
6571 po2text.sed.
6572 * intl/po2test.awk: New file.
6573 * intl/po2test.sed: Removed.
6574
6575 2012-07-04 Joseph Myers <joseph@codesourcery.com>
6576
6577 [BZ #14328]
6578 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
6579 or multiply small sinh result by itself.
6580 * math/s_ctanf.c (__ctanf): Likewise.
6581 * math/s_ctanh.c (__ctanh): Likewise.
6582 * math/s_ctanhf.c (__ctanhf): Likewise.
6583 * math/s_ctanhl.c (__ctanhl): Likewise.
6584 * math/s_ctanl.c (__ctanl): Likewise.
6585 * math/libm-test.inc (ctan_test_tonearest): New function.
6586 (ctan_test_towardzero): Likewise.
6587 (ctan_test_downward): Likewise.
6588 (ctan_test_upward): Likewise.
6589 (ctanh_test_tonearest): Likewise.
6590 (ctanh_test_towardzero): Likewise.
6591 (ctanh_test_downward): Likewise.
6592 (ctanh_test_upward): Likewise.
6593 (main): Call these new functions.
6594 * sysdeps/i386/fpu/libm-test-ulps: Update.
6595 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6596
6597 2012-07-03 Mike Frysinger <vapier@gentoo.org>
6598
6599 * .gitignore: Delete /ports entry.
6600
6601 2012-07-03 Andreas Jaeger <aj@suse.de>
6602
6603 * po/bg.po: Update from translation team.
6604 * po/cs.po: Likewise.
6605 * po/de.po: Likewise.
6606 * po/hr.po: Likewise.
6607 * po/nl.pl: Likewise.
6608 * po/pl.po: Likewise.
6609 * po/vi.po: Likewise.
6610
6611 2012-07-03 Joseph Myers <joseph@codesourcery.com>
6612
6613 * Makeconfig [!+link] (+link-before-libc): New variable.
6614 [!+link] (+link-after-libc): Likewise.
6615 [!+link] (+link-tests): Likewise.
6616 [!+link] (+link): Define in terms of $(+link-before-libc) and
6617 $(+link-after-libc).
6618 [!+link-static] (+link-static-before-libc): New variable.
6619 [!+link-static] (+link-static-after-libc): Likewise.
6620 [!+link-static] (+link-static-tests): Likewise.
6621 [!+link-static] (+link-static): Define in terms of
6622 $(+link-static-before-libc) and $(+link-static-after-libc).
6623 [build-shared] (link-libc-before-gnulib): New variable.
6624 [build-shared] (link-libc-tests): Likewise.
6625 [build-shared] (link-libc): Define in terms of
6626 $(link-libc-before-gnulib).
6627 [!build-shared] (link-libc-tests): New variable.
6628 (link-libc-static-tests): New variable.
6629 [!gnulib] (gnulib-arch): New variable.
6630 [!gnulib] (gnulib-tests): Likewise.
6631 [!gnulib] (static-gnulib-arch): Likewise.
6632 [!gnulib] (static-gnulib-tests): Likewise.
6633 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
6634 Define with "=" instead of ":=".
6635 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
6636 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
6637 * Rules (binaries-all-notests): New variable.
6638 (binaries-all-tests): Likewise.
6639 (binaries-static-notests): Likewise.
6640 (binaries-static-tests): Likewise.
6641 (binaries-all): Define using $(binaries-all-notests) and
6642 $(binaries-all-tests).
6643 (binaries-static): Define using $(binaries-static-notests) and
6644 $(binaries-static-tests).
6645 (binaries-shared-tests): New variable.
6646 (binaries-shared-notests): Likewise.
6647 (binaries-shared): Remove variable.
6648 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
6649 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
6650 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
6651 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
6652 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
6653 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
6654 * elf/Makefile (sln-modules): New variable.
6655 (extra-objs): Add $(sln-modules:=.o).
6656 (ldconfig-modules): Add static-stubs.
6657 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
6658 * elf/static-stubs.c: New file.
6659
6660 [BZ #14283]
6661 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
6662 by 7 not 8 to examine high bit of fractional part. Use volatile
6663 variables when splitting into final array of floats if
6664 __FLT_EVAL_METHOD__ != 0.
6665 * math/libm-test.inc (cos_test): Add another test.
6666 (sin_test): Likewise.
6667 * sysdeps/i386/fpu/libm-test-ulps: Update.
6668
6669 [BZ #14273]
6670 * math/libm-test.inc (cosh_test): Add more tests.
6671
6672 * version.h (RELEASE): Set to "development".
6673 (VERSION): Set to "2.16.90".
6674
6675 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
6676
6677 * NEWS: Update copyright. Remove last-updated date.
6678 Mention math library bug fixes and timezone data changes.
6679 * README: Mention GNU/Hurd, x32, and HPPA support status.
6680
6681 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
6682
6683 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
6684
6685 2012-06-27 Andreas Jaeger <aj@suse.de>
6686
6687 * manual/contrib.texi (Contributors): Add Samuel Thibault.
6688
6689 2012-06-25 Andreas Jaeger <aj@suse.de>
6690
6691 * sysdeps/s390/fpu/libm-test-ulps: Update.
6692
6693 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
6694 Thomas Schwinge <thomas@codesourcery.com>
6695
6696 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
6697 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
6698 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
6699 fanotify_mark.
6700
6701 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
6702
6703 * sysdeps/mach/start.c: Remove file.
6704 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
6705 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
6706 * sysdeps/sh/init-first.c: Likewise.
6707
6708 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
6709 registers for frame unwinding purposes, add CFI directives.
6710 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
6711 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
6712 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
6713 Likewise.
6714
6715 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
6716 __fortify_fail returning.
6717 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
6718
6719 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
6720 sysdeps/sh/____longjmp_chk.S.
6721 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
6722 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
6723 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
6724 (gen-as-const-headers): Append sigaltstack-offsets.sym.
6725
6726 * sysdeps/sh/abort-instr.h: New file.
6727 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
6728 process in case exit returns.
6729
6730 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
6731 initialize the GOT register before use.
6732
6733 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
6734 calculation of ARGC > 4.
6735
6736 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
6737 meaningful names to some local labels.
6738
6739 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6740 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6741
6742 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
6743 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
6744 (__arch_compare_and_exchange_val_16_acq): Likewise.
6745 (__arch_compare_and_exchange_val_32_acq): Likewise.
6746 (atomic_exchange_and_add): Fix gUSA sequence.
6747 (atomic_add): Likewise.
6748 (atomic_add_negative): Likewise.
6749 (atomic_add_zero): Likewise.
6750 (atomic_bit_test_set): Likewise.
6751
6752 2012-06-22 Andreas Schwab <schwab@redhat.com>
6753
6754 [BZ #13579]
6755 * include/link.h (struct link_map): Add l_free_initfini.
6756 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
6757 l_initfini.
6758 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
6759 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
6760 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
6761 set.
6762
6763 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
6764
6765 * configure.in: Use AC_LANG_SOURCE.
6766 * configure: Regenerate.
6767
6768 2012-06-22 Roland McGrath <roland@hack.frob.com>
6769
6770 * configure.in (libc_cv_localstatedir): New substituted variable.
6771 * configure: Regenerated.
6772 * config.make.in (localstatedir): New variable, substituted from
6773 libc_cv_localstatedir.
6774 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
6775 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
6776 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
6777 * sysdeps/gnu/configure: Regenerated.
6778
6779 2012-06-21 Jeff Law <law@redhat.com>
6780
6781 [BZ #14277]
6782 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
6783 free. Simplify list management for _LIBC case.
6784
6785 2012-06-21 Joseph Myers <joseph@codesourcery.com>
6786
6787 [BZ #14273]
6788 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
6789 Clear sign bit of 64-bit integer value before comparing against
6790 overflow value.
6791
6792 * sysdeps/mach/configure: Regenerated.
6793
6794 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
6795
6796 [BZ #14278]
6797 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
6798
6799 2012-06-21 Jeff Law <law@redhat.com>
6800
6801 [BZ #13882]
6802 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
6803 uint16_t for elements in the "seen" array to avoid char overflows.
6804 * elf/dl-fini.c (_dl_sort_fini): Likewise.
6805 * elf/dl-open.c (dl_open_worker): Likewise.
6806
6807 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
6808
6809 * scripts/list-sources.sh: Scan PORTS for translations.
6810 * po/libc.pot: Regenerated.
6811
6812 2012-06-21 Andreas Jaeger <aj@suse.de>
6813
6814 [BZ #12194]
6815 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
6816 warning.
6817 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
6818 * bits/byteswap-16.h (__bswap_16): Likewise.
6819 * bits/byteswap.h (__bswap_constant_16): Likewise.
6820
6821 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
6822
6823 [BZ #14117]
6824 * sysdeps/i386/fpu_control.h: Removed.
6825 * sysdeps/x86_64/fpu_control.h: Moved to ...
6826 * sysdeps/x86/fpu_control.h: Here.
6827
6828 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
6829 (_FPU_SETCW): Likewise.
6830
6831 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
6832
6833 [BZ #14117]
6834 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
6835 * sysdeps/x86/fpu/bits/mathinline.h: This.
6836 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
6837
6838 [BZ #14050]
6839 [BZ #14117]
6840 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
6841 functions if __x86_64__ is defined.
6842
6843 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
6844
6845 * string/endian.h: Add !__ASSEMBLER__ condition for including
6846 conversion interfaces.
6847
6848 2012-06-15 Joseph Myers <joseph@codesourcery.com>
6849
6850 [BZ #14241]
6851 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
6852 of ABS(x) in calculating zero to negative powers other than odd
6853 integers.
6854 * math/libm-test.inc (pow_test): Add more tests.
6855
6856 2012-06-15 Andreas Jaeger <aj@suse.de>
6857
6858 * manual/contrib.texi (Contributors): Update entry of Liubov
6859 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
6860 Machado Filho.
6861
6862 2012-06-15 Cyril Hrubis <metan@ucw.cz>
6863
6864 * string/string.h: Add __wur to GNU version of strerror_r.
6865
6866 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
6867
6868 [BZ #14229]
6869 * string/Makefile (tests): Add tst-strtok_r.
6870 * string/tst-strtok_r.c: New file.
6871 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
6872 RAX_LP/RDX_LP on SAVE_PTR.
6873
6874 2012-06-14 Roland McGrath <roland@hack.frob.com>
6875
6876 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
6877
6878 2012-06-14 Joseph Myers <joseph@codesourcery.com>
6879
6880 * libm_test.inc (csqrt_test): Allow more spurious underflow
6881 exceptions.
6882 (j0_test): Likewise.
6883 (j1_test): Likewise.
6884 (y0_test): Likewise.
6885 (y1_test): Likewise.
6886
6887 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
6888
6889 * po/Makefile (libc.pot): Use UTF-8 charset.
6890
6891 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
6892
6893 [BZ #14210]
6894 Suppress sign-conversion warning from FD_SET.
6895 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
6896 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
6897 not unsigned long int.
6898 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
6899
6900 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
6901
6902 [BZ #14050]
6903 [BZ #14117]
6904 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
6905 __extern_always_inline instead of __extern_inline.
6906 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
6907 (__signbit): Likewise.
6908 (__signbitl): Support C++ namespace.
6909 (lrintf): New inline function.
6910 (lrint): Likewise.
6911 (llrintf): Likewise.
6912 (llrint): Likewise.
6913 (fmaxf): Likewise.
6914 (fmax): Likewise.
6915 (fminf): Likewise.
6916 (fmin): Likewise.
6917 (rint): Likewise.
6918 (rintf): Likewise.
6919 (ceil): Likewise.
6920 (ceilf): Likewise.
6921 (floor): Likewise.
6922 (floorf): Likewise.
6923 (nearbyint): Likewise.
6924 (nearbyintf): Likewise.
6925
6926 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
6927
6928 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
6929 non-default versions.
6930
6931 2012-06-11 Roland McGrath <roland@hack.frob.com>
6932
6933 [BZ #14218]
6934 * manual/argp.texi (Argp): Reword argp_parse description slightly.
6935
6936 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
6937
6938 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
6939 (FE_UPWARD, FE_DOWNWARD): Don't define.
6940 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
6941 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
6942
6943 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
6944 reading it.
6945 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
6946 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
6947
6948 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6949
6950 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
6951 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
6952 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
6953 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
6954
6955 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
6956
6957 [BZ #14117]
6958 * sysdeps/i386/fpu/bits/fenv.h: Removed.
6959 * sysdeps/i386/fpu/Implies: New file.
6960 * sysdeps/x86_64/fpu/Implies: Likewise.
6961 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
6962 * sysdeps/x86/fpu/bits/fenv.h: This.
6963
6964 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
6965 __SSE_MATH__.
6966
6967 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
6968
6969 [BZ #14134]
6970 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
6971 character 0xffff that matches the last element of the
6972 conversion table.
6973
6974 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6975
6976 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
6977 fmodl commit.
6978
6979 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6980
6981 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
6982 values higher than 25.6283.
6983
6984 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6985
6986 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
6987 subnormal exponent extraction and add some __builtin_expect.
6988 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
6989 Fix for subnormal mantissa calculation.
6990
6991 2012-06-04 Mike Frysinger <vapier@gentoo.org>
6992
6993 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
6994 cpu2 is -1 and errno is not ENOSYS.
6995
6996 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
6997
6998 [BZ #14117]
6999 * sysdeps/i386/i486/bits/string.h: Renamed to ...
7000 * sysdeps/x86/bits/string.h: This.
7001 * sysdeps/x86_64/bits/string.h: Removed.
7002
7003 * sysdeps/i386/i486/bits/string.h: Define inline functions only
7004 if not compiling for x86-64, but compiling for >= i486.
7005
7006 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
7007 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
7008
7009 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
7010 New macro from Linux kernel 3.4.0.
7011 (FP_XSTATE_MAGIC2): Likewise.
7012 (FP_XSTATE_MAGIC2_SIZE): Likewise.
7013 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
7014 (struct _fpx_sw_bytes): New struct.
7015 (struct _xsave_hdr): Likewise.
7016 (struct _ymmh_state): Likewise.
7017 (struct _xstate): Likewise.
7018
7019 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
7020 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
7021 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
7022 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
7023 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
7024 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
7025
7026 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
7027 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
7028 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
7029 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
7030 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
7031 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
7032
7033 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7034
7035 [BZ #13743]
7036 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
7037 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
7038 (sysdep_headers): Include sys/platform/ppc.h.
7039 * sysdeps/powerpc/test-gettimebase.c: Test for
7040 __ppc_get_timebase() to catch future ISA opcode/insn changes.
7041 * manual/Makefile (appendices): Include platform.texi.
7042 * manual/contrib.texi (Contributors): Update @node pointers.
7043 * manual/maint.texi (Maintenance): Likewise.
7044 (Platform): New node.
7045 * manual/platform.texi: New file. Document the new features.
7046
7047 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7048 Jakub Jelinek <jakub@redhat.com>
7049
7050 [BZ #14188]
7051 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
7052 where __builtin_expect is unavailable.
7053
7054 2012-06-03 David S. Miller <davem@davemloft.net>
7055
7056 * stdlib/longlong.h: Updated from GCC.
7057
7058 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
7059
7060 [BZ #14042]
7061 * sysdeps/powerpc/powerpc32/mcount.c: New file.
7062 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
7063 __mcount_internal.
7064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
7065 (GLIBC_2.16): Likewise.
7066
7067 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
7068
7069 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
7070
7071 2012-06-01 Joseph Myers <joseph@codesourcery.com>
7072
7073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
7074 (default-abi): New variable.
7075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
7076 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
7077 variable.
7078 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
7079 Likewise.
7080 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
7081 Likewise.
7082 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
7083 Likewise.
7084
7085 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
7086 definition. Document in comment.
7087
7088 2012-06-01 David S. Miller <davem@davemloft.net>
7089
7090 * stdlib/longlong.h: Updated from GCC.
7091
7092 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
7093
7094 [BZ #14117]
7095 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
7096 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
7097 sys/debugreg.h sys/io.h here.
7098 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
7099 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
7100 sys/io.h.
7101 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
7102 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
7103 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
7104 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
7105 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
7106 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
7107
7108 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
7109 Define only if __x86_64__ is defined.
7110
7111 2012-06-01 Joseph Myers <joseph@codesourcery.com>
7112
7113 [BZ #14048]
7114 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
7115 Use int64_t for variable i.
7116 * math/libm-test.inc (fmod_test): Add more tests.
7117
7118 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
7119 z computation is not scheduled after fetestexcept.
7120 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
7121 Use math_force_eval instead of asm to ensure calculation scheduled
7122 before exception test.
7123 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
7124 Ensure a1 + u.d computation is not scheduled after fetestexcept.
7125
7126 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
7127
7128 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
7129 computation is not scheduled after fetestexcept.
7130
7131 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
7132
7133 [BZ #14117]
7134 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
7135 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
7136
7137 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7138
7139 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
7140 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
7141
7142 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
7143
7144 [BZ #14117]
7145 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
7146 <bits/wordsize.h>.
7147 (__WCHAR_MIN): Support __WORDSIZE == 64.
7148 (__WCHAR_MAX): Likewise.
7149
7150 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
7151 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
7152
7153 [BZ #14183]
7154 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
7155 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
7156
7157 [BZ #14117]
7158 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
7159 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
7160
7161 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
7162 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
7163
7164 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
7165 Defined to 1 if __x86_64__ isn't defined.
7166 (_STAT_VER_LINUX_OLD): New.
7167 (st_atime): Remove duplicate.
7168 (st_mtime): Likewise.
7169 (st_ctime): Likewise.
7170
7171 2012-05-31 David S. Miller <davem@davemloft.net>
7172
7173 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
7174 entries.
7175
7176 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
7177
7178 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
7179 gen-libm-test.pl.
7180
7181 [BZ #14132]
7182 * elf/dl-reloc.c: Include <_itoa.h>.
7183 (_dl_reloc_bad_type): Remove use of INTUSE.
7184 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
7185 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
7186 * stdio-common/psiginfo.c (psiginfo): Likewise.
7187 * stdio-common/psignal.c (psignal): Likewise.
7188 * string/strsignal.c (strsignal): Likewise.
7189 * include/signal.h (_sys_siglist): Declare hidden proto.
7190 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
7191 INTVARDEF with libc_hidden_data_def.
7192 * stdio-common/itoa-udigits.c: Likewise.
7193 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
7194 (_itoa_lower_digits_internal): Remove declaration.
7195 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
7196 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
7197 (_sys_sigabbrev_internal): Remove aliases.
7198 (_sys_siglist): Define hidden alias.
7199
7200 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
7201
7202 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7203 bits/sysctl.h.
7204
7205 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
7206
7207 [BZ #14117]
7208 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
7209 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
7210
7211 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
7212 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
7213 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
7214 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
7215 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
7216 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
7217
7218 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
7219 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
7220 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
7221
7222 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
7223 with __addr.
7224 (insw): Likewise.
7225 (insl): Likewise.
7226 (outsb): Likewise.
7227 (outsw): Likewise.
7228 (outsl): Likewise.
7229
7230 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
7231 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
7232 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
7233
7234 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
7235 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
7236 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
7237 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
7238 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
7239 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
7240
7241 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
7242 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
7243
7244 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
7245 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
7246
7247 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
7248 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
7249 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
7250
7251 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
7252 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
7253 to ...
7254 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
7255
7256 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
7257 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
7258 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
7259
7260 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
7261 for x86-64.
7262 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
7263
7264 2012-05-31 Joseph Myers <joseph@codesourcery.com>
7265
7266 * math/math.h (M_El): Use two more decimal places.
7267 (M_LOG2El): Likewise.
7268 (M_LOG10El): Likewise.
7269 (M_LN2l): Likewise.
7270 (M_LN10l): Likewise.
7271 (M_PIl): Likewise.
7272 (M_PI_2l): Likewise.
7273 (M_PI_4l): Likewise.
7274 (M_1_PIl): Likewise.
7275 (M_2_PIl): Likewise.
7276 (M_2_SQRTPIl): Likewise.
7277 (M_SQRT2l): Likewise.
7278 (M_SQRT1_2l): Likewise.
7279
7280 2012-05-31 David S. Miller <davem@davemloft.net>
7281
7282 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
7283 values between float registers.
7284 * sysdeps/sparc/sparc64/memset.S: Likewise.
7285 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7286
7287 2012-05-31 Mike Frysinger <vapier@gentoo.org>
7288
7289 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
7290 -D_FORTIFY_SOURCE=1.
7291 (CPPFLAGS-tst-longjmp_chk.c): Define.
7292 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
7293 (CPPFLAGS-tst-longjmp_chk2.c): Define.
7294 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
7295 CFLAGS-tst-wchar-h.c.
7296
7297 2012-05-31 Marek Polacek <polacek@redhat.com>
7298
7299 [BZ #14132]
7300 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
7301 __endmntent_internal): Remove declaration.
7302 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
7303 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
7304 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
7305
7306 2012-05-30 David S. Miller <davem@davemloft.net>
7307
7308 * sysdeps/sparc/sparc32/soft-fp/q_util.c
7309 (___Q_simulate_exceptions): Use real FP ops rather than writing
7310 into the %fsr.
7311 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
7312 Likewise.
7313
7314 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7315
7316 [BZ #14117]
7317 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
7318 * sysdeps/x86/bits/xtitypes.h: This.
7319
7320 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
7321 * sysdeps/x86/bits/wordsize.h: This.
7322
7323 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
7324 * sysdeps/x86/bits/huge_vall.h: This.
7325
7326 * sysdeps/i386/bits/select.h: Removed.
7327 * sysdeps/x86_64/bits/select.h: Renamed to ...
7328 * sysdeps/x86/bits/select.h: This.
7329
7330 * sysdeps/i386/bits/setjmp.h: Removed.
7331 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
7332 * sysdeps/x86/bits/setjmp.h: This.
7333
7334 * sysdeps/i386/bits/mathdef.h: Removed.
7335 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
7336 * sysdeps/x86/bits/mathdef.h: This.
7337
7338 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
7339
7340 [BZ #14132]
7341 * include/sys/socket.h (__connect_internal)
7342 (__libc_sa_len_internal): Remove declaration.
7343 (__connect, __libc_sa_len): Declare hidden_proto.
7344 (SA_LEN): Remove use of INTUSE.
7345 * socket/connect.c: Add libc_hidden_def.
7346 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
7347 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
7348 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
7349 alias.
7350 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
7351 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7352 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
7353 of adding _internal alias.
7354
7355 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7356
7357 [BZ #14117]
7358 * sysdeps/i386/bits/link.h: Removed.
7359 * sysdeps/i386/bits/linkmap.h: Likewise.
7360 * sysdeps/x86_64/bits/link.h: Renamed to ...
7361 * sysdeps/x86/bits/link.h: This.
7362 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
7363 * sysdeps/x86/bits/linkmap.h: This.
7364
7365 * sysdeps/i386/bits/endian.h: Removed.
7366 * sysdeps/x86_64/bits/endian.h: Renamed to ...
7367 * sysdeps/x86/bits/endian.h: This.
7368
7369 * sysdeps/i386/bits/byteswap.h: Removed.
7370 * sysdeps/i386/bits/byteswap-16.h: Likewise.
7371 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
7372 * sysdeps/x86/bits/byteswap.h: This.
7373 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
7374 * sysdeps/x86/bits/byteswap-16.h: This.
7375 * sysdeps/i386/Implies: Add x86.
7376 * sysdeps/x86_64/Implies: Likewise.
7377
7378 2012-05-30 David S. Miller <davem@davemloft.net>
7379
7380 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
7381 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
7382 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
7383 (FP_TRAPPING_EXCEPTIONS): Define.
7384 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
7385 (FP_TRAPPING_EXCEPTIONS): Define.
7386 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
7387 subnormals only when inexact has been signalled or underflow
7388 exceptions are enabled.
7389 (_FP_PACK_CANONICAL): Likewise.
7390
7391 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7392
7393 [BZ #14183]
7394 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
7395 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
7396
7397 2012-05-30 Richard Henderson <rth@twiddle.net>
7398
7399 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
7400 with #ifndef NOT_IN_libc.
7401
7402 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
7403 marked to avoid plt entry.
7404
7405 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7406
7407 [BZ #14112]
7408 * Makeconfig (default-abi): New macro.
7409 (abi-includes): Likewise.
7410 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
7411 $(abi-$(default-abi)-lib-soname) for soname if defined.
7412 ($(common-objpfx)gnu/lib-names.stmp): Generate from
7413 abi-variants.
7414 * Makefile (installed-stubs): Likewise.
7415 * include/stubs-biarch.h: Removed.
7416 * scripts/lib-names.awk: Only handle one library at a time.
7417 * scripts/soversions.awk: Remove WORDSIZE support.
7418 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
7419 entries.
7420 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
7421 Removed.
7422 (syscall-list-default-condition): Likewise.
7423 (syscall-list-default-condition): Likewise.
7424 (syscall-list-includes): Likewise.
7425 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
7426 syscall-list-* with abi-*. Handle undefined abi-variants.
7427 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
7428 * sysdeps/unix/sysv/linux/i386/Implies: New file.
7429 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
7430 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
7431 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
7432 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
7433 Removed.
7434 (syscall-list-32-options): Likewise.
7435 (syscall-list-32-condition): Likewise.
7436 (syscall-list-64-options): Likewise.
7437 (syscall-list-64-condition): Likewise.
7438 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
7439 macro.
7440 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
7441 Renamed to ...
7442 (abi-*): This.
7443 (abi-64-ld-soname): New macro.
7444 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
7445 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
7446 Renamed to ...
7447 (abi-*): This.
7448 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
7449 * sysdeps/x86_64/x32/shlib-versions: Likewise.
7450
7451 2012-05-30 Joseph Myers <joseph@codesourcery.com>
7452
7453 * sysdeps/unix/sysv/linux/kernel-features.h
7454 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
7455 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
7456 include <kernel-features.h>.
7457 [!__NR_ftruncate64]: Remove conditional code.
7458 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7459 [__NR_ftruncate64]: Make code unconditional.
7460 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7461 * sysdeps/unix/sysv/linux/truncate64.c: Do not
7462 include <kernel-features.h>.
7463 [!__NR_ftruncate64]: Remove conditional code.
7464 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7465 [__NR_ftruncate64]: Make code unconditional.
7466 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
7468 include <kernel-features.h>.
7469 [!__NR_ftruncate64]: Remove conditional code.
7470 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7471 [__NR_ftruncate64]: Make code unconditional.
7472 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
7474 include <kernel-features.h>.
7475 [!__NR_ftruncate64]: Remove conditional code.
7476 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7477 [__NR_ftruncate64]: Make code unconditional.
7478 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7479
7480 * configure.in (libc_cv_fpie): Weaken to a compile test using
7481 LIBC_TRY_CC_OPTION.
7482 * configure: Regenerated.
7483
7484 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7485
7486 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
7487 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
7488 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
7489 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7490 Refreshed.
7491 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
7492 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
7493 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
7494 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
7495 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
7496 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7497 Refreshed.
7498
7499 2012-05-27 David S. Miller <davem@davemloft.net>
7500
7501 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
7502 (___Q_zero): New.
7503 (__Q_simulate_exceptions): Return void. Change to simulate
7504 exceptions by writing into the %fsr.
7505 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
7506 (__Qp_handle_exceptions): Likewise.
7507 (numbers): Delete.
7508 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
7509 __Qp_handle_exceptions.
7510 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
7511 __Qp_handle_exceptions.
7512 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
7513 as unused and give dummy FP_RND_NEAREST initializer.
7514 (FP_INHIBIT_RESULTS): Define.
7515 (___Q_simulate_exceptions): Update declaration.
7516 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
7517 formatting.
7518 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
7519 as unused and give dummy FP_RND_NEAREST initializer.
7520 (__Qp_handle_exceptions): Update declaration.
7521 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
7522 formatting.
7523
7524 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
7525
7526 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
7527 the temporary FPU control word.
7528 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
7529 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
7530 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
7531 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
7532 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7533 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
7534 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
7535 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
7536 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7537 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
7538 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
7539
7540 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7541
7542 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
7543 fields.
7544
7545 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
7546
7547 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
7548 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
7549 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
7550 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
7551 Likewise.
7552 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
7553 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
7554 Likewise.
7555
7556 2012-05-27 Ulrich Drepper <drepper@gmail.com>
7557
7558 * po/h.po: Update from translation team.
7559
7560 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
7561
7562 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
7563
7564 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
7565 handling of denormals.
7566 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7567 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
7568 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
7569 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
7570 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7571 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
7572 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
7573 Likewise.
7574
7575 2012-05-26 Marek Polacek <polacek@redhat.com>
7576
7577 [BZ #14152]
7578 * math/libm-test.inc (fma_test): Don't always expect underflow
7579 exception.
7580
7581 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7582
7583 [BZ #12416]
7584 * elf/tst-execstack.c: Include stackinfo.h.
7585 (do_test): Adjust test case to ensure that pthread_getattr_np
7586 behaviour remains the same after marking stack executable.
7587
7588 2012-05-25 Joseph Myers <joseph@codesourcery.com>
7589
7590 * sysdeps/unix/sysv/linux/kernel-features.h
7591 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
7592 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
7593 kernel-features.h.
7594 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
7595 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
7596 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
7597 kernel-features.h.
7598 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
7599 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
7600
7601 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
7602
7603 * configure.in: Define the default includes to being none.
7604 * configure: Regenerated.
7605
7606 2012-05-25 Roland McGrath <roland@hack.frob.com>
7607
7608 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
7609 * sysdeps/x86_64/setjmp.S: Likewise.
7610 * sysdeps/i386/bsd-setjmp.S: Likewise.
7611 * sysdeps/i386/bsd-_setjmp.S: Likewise.
7612 * sysdeps/i386/setjmp.S: Likewise.
7613 * sysdeps/i386/__longjmp.S: Likewise.
7614 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
7615 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
7616
7617 * include/stap-probe.h: New file.
7618 * configure.in: Handle --enable-systemtap.
7619 * configure: Regenerated.
7620 * config.h.in (USE_STAP_PROBE): New #undef.
7621 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
7622 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
7623 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
7624
7625 2012-05-25 Joseph Myers <joseph@codesourcery.com>
7626
7627 [BZ #13717]
7628 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
7629 to 2.4.0 where earlier.
7630 * sysdeps/unix/sysv/linux/configure: Regenerated.
7631 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
7632 <kernel-features.h>.
7633 [__ASSUME_32BITUIDS]: Make code unconditional.
7634 [!__ASSUME_32BITUIDS]: Remove conditional code.
7635 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
7636 <kernel-features.h>.
7637 [__ASSUME_32BITUIDS]: Make code unconditional.
7638 [!__ASSUME_32BITUIDS]: Remove conditional code.
7639 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
7640 [__ASSUME_32BITUIDS]: Make code unconditional.
7641 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
7642 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
7643 <kernel-features.h>.
7644 [__ASSUME_32BITUIDS]: Make code unconditional.
7645 [!__ASSUME_32BITUIDS]: Remove conditional code.
7646 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
7647 <kernel-features.h>.
7648 [__ASSUME_32BITUIDS]: Make code unconditional.
7649 [!__ASSUME_32BITUIDS]: Remove conditional code.
7650 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
7651 <kernel-features.h>.
7652 [__ASSUME_32BITUIDS]: Make code unconditional.
7653 [!__ASSUME_32BITUIDS]: Remove conditional code.
7654 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
7655 <kernel-features.h>.
7656 [__ASSUME_32BITUIDS]: Make code unconditional.
7657 [!__ASSUME_32BITUIDS]: Remove conditional code.
7658 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
7659 <kernel-features.h>.
7660 [__ASSUME_32BITUIDS]: Make code unconditional.
7661 [!__ASSUME_32BITUIDS]: Remove conditional code.
7662 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
7663 <kernel-features.h>.
7664 [__ASSUME_32BITUIDS]: Make code unconditional.
7665 [!__ASSUME_32BITUIDS]: Remove conditional code.
7666 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
7667 <kernel-features.h>.
7668 [__ASSUME_32BITUIDS]: Make code unconditional.
7669 [!__ASSUME_32BITUIDS]: Remove conditional code.
7670 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
7671 <kernel-features.h>.
7672 [__ASSUME_32BITUIDS]: Make code unconditional.
7673 [!__ASSUME_32BITUIDS]: Remove conditional code.
7674 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
7675 <kernel-features.h>.
7676 [__ASSUME_32BITUIDS]: Make code unconditional.
7677 [!__ASSUME_32BITUIDS]: Remove conditional code.
7678 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
7679 <kernel-features.h>.
7680 [__ASSUME_32BITUIDS]: Make code unconditional.
7681 [!__ASSUME_32BITUIDS]: Remove conditional code.
7682 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
7683 <kernel-features.h>.
7684 [__NR_setresgid] (__setresgid): Do not declare.
7685 [__ASSUME_32BITUIDS]: Make code unconditional.
7686 [!__ASSUME_32BITUIDS]: Remove conditional code.
7687 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
7688 <kernel-features.h>.
7689 [__NR_setresuid] (__setresuid): Do not declare.
7690 [__ASSUME_32BITUIDS]: Make code unconditional.
7691 [!__ASSUME_32BITUIDS]: Remove conditional code.
7692 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
7693 <kernel-features.h>.
7694 [__ASSUME_32BITUIDS]: Make code unconditional.
7695 [!__ASSUME_32BITUIDS]: Remove conditional code.
7696 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
7697 <kernel-features.h>.
7698 [__ASSUME_32BITUIDS]: Make code unconditional.
7699 [!__ASSUME_32BITUIDS]: Remove conditional code.
7700 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
7701 <kernel-features.h>.
7702 [__ASSUME_32BITUIDS]: Make code unconditional.
7703 [!__ASSUME_32BITUIDS]: Remove conditional code.
7704 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
7705 <kernel-features.h>.
7706 [__ASSUME_32BITUIDS]: Make code unconditional.
7707 [!__ASSUME_32BITUIDS]: Remove conditional code.
7708 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
7709 <kernel-features.h>.
7710 [__ASSUME_32BITUIDS]: Make code unconditional.
7711 [!__ASSUME_32BITUIDS]: Remove conditional code.
7712 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
7713 <kernel-features.h>.
7714 [__ASSUME_32BITUIDS]: Make code unconditional.
7715 [!__ASSUME_32BITUIDS]: Remove conditional code.
7716 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
7717 <kernel-features.h>.
7718 [__ASSUME_32BITUIDS]: Make code unconditional.
7719 [!__ASSUME_32BITUIDS]: Remove conditional code.
7720 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
7721 <kernel-features.h>.
7722 [__ASSUME_32BITUIDS]: Make code unconditional.
7723 [!__ASSUME_32BITUIDS]: Remove conditional code.
7724 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
7725 <kernel-features.h>.
7726 [__ASSUME_32BITUIDS]: Make code unconditional.
7727 [!__ASSUME_32BITUIDS]: Remove conditional code.
7728 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
7729 <kernel-features.h>.
7730 [__ASSUME_32BITUIDS]: Make code unconditional.
7731 [!__ASSUME_32BITUIDS]: Remove conditional code.
7732 * sysdeps/unix/sysv/linux/kernel-features.h
7733 (__ASSUME_SETRESUID_SYSCALL): Remove.
7734 (__ASSUME_SETRESGID_SYSCALL): Likewise.
7735 (__ASSUME_32BITUIDS): Likewise.
7736 (__ASSUME_LDT_WORKS): Likewise.
7737 (__ASSUME_O_DIRECTORY): Likewise.
7738 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
7739 architecture but not kernel version.
7740 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
7741 (__ASSUME_MMAP2_SYSCALL): Likewise.
7742 (__ASSUME_STAT64_SYSCALL): Likewise.
7743 (__ASSUME_IPC64): Likewise.
7744 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
7745 <kernel-features.h>.
7746 [__ASSUME_32BITUIDS]: Make code unconditional.
7747 [!__ASSUME_32BITUIDS]: Remove conditional code.
7748 * sysdeps/unix/sysv/linux/opendir.c: Do not include
7749 <kernel-features.h>.
7750 [__ASSUME_O_DIRECTORY]: Make code unconditional.
7751 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
7752 132096]: Remove conditional code.
7753 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
7754 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
7755 <kernel-features.h>.
7756 [__ASSUME_32BITUIDS]: Make code unconditional.
7757 [!__ASSUME_32BITUIDS]: Remove conditional code.
7758 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
7759 <kernel-features.h>.
7760 [__ASSUME_32BITUIDS]: Make code unconditional.
7761 [!__ASSUME_32BITUIDS]: Remove conditional code.
7762 * sysdeps/unix/sysv/linux/setegid.c: Do not include
7763 <kernel-features.h>.
7764 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
7765 unconditional.
7766 (__setresgid): Do not declare.
7767 [__ASSUME_32BITUIDS]: Make code unconditional.
7768 [!__ASSUME_32BITUIDS]: Remove conditional code.
7769 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
7770 <kernel-features.h>.
7771 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
7772 unconditional.
7773 (__setresuid): Do not declare.
7774 [__ASSUME_32BITUIDS]: Make code unconditional.
7775 [!__ASSUME_32BITUIDS]: Remove conditional code.
7776 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
7777 <kernel-features.h>.
7778 [__ASSUME_32BITUIDS]: Make code unconditional.
7779 [!__ASSUME_32BITUIDS]: Remove conditional code.
7780 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
7781 <kernel-features.h>.
7782 [__ASSUME_32BITUIDS]: Make code unconditional.
7783 [!__ASSUME_32BITUIDS]: Remove conditional code.
7784
7785 2012-05-25 Richard Henderson <rth@twiddle.net>
7786
7787 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
7788 dl_hwcap to ifunc resolver.
7789 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
7790 elf_ifunc_invoke.
7791 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
7792 dl_hwcap to ifunc resolver.
7793 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
7794
7795 2012-05-24 Joseph Myers <joseph@codesourcery.com>
7796
7797 [BZ #14153]
7798 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
7799 for |x| <= 2**-26, not 2**-57.
7800 * math/libm-test.inc (acos_test): Do not allow spurious underflow
7801 exception.
7802
7803 2012-05-24 Jeff Law <law@redhat.com>
7804
7805 * stdio-common/Makefile (tests): Add bug25.
7806 * stdio-common/bug25.c: New test.
7807
7808 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
7809
7810 [BZ #13576]
7811 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
7812 multiple of MALLOC_ALIGNMENT in size.
7813 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
7814
7815 2012-05-24 Joseph Myers <joseph@codesourcery.com>
7816
7817 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
7818 Require >= 256.
7819 (FILENAME_MAX): Use macro-int-constant.
7820 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
7821 (_IOFBF): Use macro-int-constant.
7822 (_IOLBF): Likewise.
7823 (_IONBF): Likewise.
7824 (SEEK_CUR): Likewise.
7825 (SEEK_END): Likewise.
7826 (SEEK_SET): Likewise.
7827 (TMP_MAX): Likewise.
7828 (EOF): Use macro-int-constant. Require < 0.
7829 (NULL): Use macro-constant. Require == 0.
7830 (stdin): Require type to be FILE *.
7831 (stdout): Likewise.
7832 (stderr): Likewise.
7833 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
7834 macro-int-constant.
7835 (EXIT_SUCCESS): Likewise.
7836 (NULL): Use macro-constant. Require == 0.
7837 (RAND_MAX): Use macro-int-constant.
7838 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
7839 [C99-based standards] (strtof): Require function.
7840 [C99-based standards] (strtold): Likewise.
7841 [C99-based standards] (strtoll): Likewise.
7842 [C99-based standards] (strtoull): Likewise.
7843 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
7844 [ISO || ISO99 || ISO11] (limits.h): Likewise.
7845 [ISO || ISO99 || ISO11] (math.h): Likewise.
7846 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
7847 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
7848 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7849
7850 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
7851
7852 [BZ #14132]
7853 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
7854 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
7855 * intl/dgettext.c (DCGETTEXT): Likewise.
7856 * intl/gettext.c (DCGETTEXT): Likewise.
7857 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
7858 * posix/regex_internal.h (gettext): Likewise.
7859 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
7860 Remove declaration.
7861 * include/argz.h (__argz_count_internal)
7862 (__argz_stringify_internal): Remove declaration.
7863 (__argz_count, __argz_stringify): Declare hidden proto.
7864 * intl/dcgettext.c: Remove use of INTDEF.
7865 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
7866 * string/argz-stringify.c: Likewise.
7867 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
7868 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
7869 Declare hidden proto.
7870 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
7871 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
7872 Declare hidden proto.
7873 * include/stdio.h (__asprintf_internal): Don't declare.
7874 (__asprintf): Don't define as macro. Declare hidden proto.
7875 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
7876 (__fsetlocking): Declare hidden proto.
7877 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
7878 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
7879 hidden proto.
7880 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
7881 (_IO_setlinebuf): Remove use of INTUSE.
7882 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
7883 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
7884 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
7885 Remove declaration.
7886 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
7887 (_IO_do_flush): Remove use of INTUSE.
7888 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
7889 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
7890 (_IO_adjust_column, _IO_least_wmarker)
7891 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
7892 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
7893 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
7894 (_IO_default_doallocate, _IO_wdefault_doallocate)
7895 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
7896 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
7897 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
7898 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
7899 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
7900 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
7901 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
7902 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
7903 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
7904 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
7905 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
7906 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
7907 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
7908 proto.
7909 (_IO_flush_all_internal, _IO_adjust_column_internal)
7910 (_IO_default_uflow_internal, _IO_default_finish_internal)
7911 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
7912 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
7913 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
7914 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
7915 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
7916 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
7917 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
7918 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
7919 (_IO_file_close_internal, _IO_file_close_it_internal)
7920 (_IO_file_underflow_internal, _IO_file_overflow_internal)
7921 (_IO_file_init_internal, _IO_file_attach_internal)
7922 (_IO_file_fopen_internal, _IO_file_read_internal)
7923 (_IO_file_sync_internal, _IO_file_seek_internal)
7924 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
7925 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
7926 (_IO_str_underflow_internal, _IO_str_overflow_internal)
7927 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
7928 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
7929 (_IO_list_all_internal, _IO_link_in_internal)
7930 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
7931 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
7932 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
7933 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
7934 (_IO_do_write_internal, _IO_padn_internal)
7935 (_IO_getline_info_internal, _IO_getline_internal)
7936 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
7937 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
7938 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
7939 (_IO_vfscanf_internal, _IO_vfprintf_internal)
7940 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
7941 (_IO_init_internal, _IO_un_link_internal): Don't declare.
7942 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
7943 with libc_hidden_ver, remove use of INTUSE.
7944 * libio/genops.c: Likewise.
7945 * libio/freopen.c: Likewise.
7946 * libio/freopen64.c: Likewise.
7947 * libio/iofclose.c: Likewise.
7948 * libio/iofdopen.c: Likewise.
7949 * libio/iofflush.c: Likewise.
7950 * libio/iofflush_u.c: Likewise.
7951 * libio/iofgets.c: Likewise.
7952 * libio/iofgets_u.c: Likewise.
7953 * libio/iofopen.c: Likewise.
7954 * libio/iofopncook.c: Likewise.
7955 * libio/iofread.c: Likewise.
7956 * libio/iofread_u.c: Likewise.
7957 * libio/ioftell.c: Likewise.
7958 * libio/iofwrite.c: Likewise.
7959 * libio/iogetline.c: Likewise.
7960 * libio/iogets.c: Likewise.
7961 * libio/iogetwline.c: Likewise.
7962 * libio/iopadn.c: Likewise.
7963 * libio/iopopen.c: Likewise.
7964 * libio/ioseekoff.c: Likewise.
7965 * libio/ioseekpos.c: Likewise.
7966 * libio/iosetbuffer.c: Likewise.
7967 * libio/iosetvbuf.c: Likewise.
7968 * libio/ioungetc.c: Likewise.
7969 * libio/ioungetwc.c: Likewise.
7970 * libio/iovdprintf.c: Likewise.
7971 * libio/iovsprintf.c: Likewise.
7972 * libio/iovsscanf.c: Likewise.
7973 * libio/memstream.c: Likewise.
7974 * libio/obprintf.c: Likewise.
7975 * libio/oldfileops.c: Likewise.
7976 * libio/oldiofclose.c: Likewise.
7977 * libio/oldiofdopen.c: Likewise.
7978 * libio/oldiofopen.c: Likewise.
7979 * libio/oldiopopen.c: Likewise.
7980 * libio/oldstdfiles.c: Likewise.
7981 * libio/putc.c: Likewise.
7982 * libio/setbuf.c: Likewise.
7983 * libio/setlinebuf.c: Likewise.
7984 * libio/stdfiles.c: Likewise.
7985 * libio/strops.c: Likewise.
7986 * libio/vasprintf.c: Likewise.
7987 * libio/vscanf.c: Likewise.
7988 * libio/vsnprintf.c: Likewise.
7989 * libio/vswprintf.c: Likewise.
7990 * libio/wfiledoalloc.c: Likewise.
7991 * libio/wfileops.c: Likewise.
7992 * libio/wgenops.c: Likewise.
7993 * libio/wmemstream.c: Likewise.
7994 * libio/wstrops.c: Likewise.
7995 * libio/__fpurge.c: Likewise.
7996 * libio/__fsetlocking.c: Likewise.
7997 * assert/assert.c: Likewise.
7998 * debug/fgets_chk.c: Likewise.
7999 * debug/fgets_u_chk.c: Likewise.
8000 * debug/fread_chk.c: Likewise.
8001 * debug/fread_u_chk.c: Likewise.
8002 * debug/gets_chk.c: Likewise.
8003 * debug/obprintf_chk.c: Likewise.
8004 * debug/vasprintf_chk.c: Likewise.
8005 * debug/vdprintf_chk.c: Likewise.
8006 * debug/vsnprintf_chk.c: Likewise.
8007 * debug/vsprintf_chk.c: Likewise.
8008 * malloc/mtrace.c: Likewise.
8009 * misc/error.c: Likewise.
8010 * misc/syslog.c: Likewise.
8011 * stdio-common/asprintf.c: Likewise.
8012 * stdio-common/fxprintf.c: Likewise.
8013 * stdio-common/getw.c: Likewise.
8014 * stdio-common/isoc99_fscanf.c: Likewise.
8015 * stdio-common/isoc99_scanf.c: Likewise.
8016 * stdio-common/isoc99_vfscanf.c: Likewise.
8017 * stdio-common/isoc99_vscanf.c: Likewise.
8018 * stdio-common/isoc99_vsscanf.c: Likewise.
8019 * stdio-common/printf-prs.c: Likewise.
8020 * stdio-common/printf_fp.c: Likewise.
8021 * stdio-common/printf_fphex.c: Likewise.
8022 * stdio-common/printf_size.c: Likewise.
8023 * stdio-common/putw.c: Likewise.
8024 * stdio-common/scanf.c: Likewise.
8025 * stdio-common/sprintf.c: Likewise.
8026 * stdio-common/tmpfile.c: Likewise.
8027 * stdio-common/vfprintf.c: Likewise.
8028 * stdio-common/vfscanf.c: Likewise.
8029 * stdlib/strfmon_l.c: Likewise.
8030 * sunrpc/openchild.c: Likewise.
8031 * sunrpc/xdr_stdio.c: Likewise.
8032 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
8033 * sysdeps/mach/hurd/tmpfile.c: Likewise.
8034
8035 2012-05-24 Roland McGrath <roland@hack.frob.com>
8036
8037 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
8038
8039 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
8040 in the third column, to generate for the shared library an IFUNC
8041 that uses _dl_vdso_vsym.
8042 * Makerules (COMPILE.c, compile-stdin.c): New variables.
8043 * Makeconfig (object-suffixes-noshared): New variable.
8044
8045 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
8046 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
8047 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
8048 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
8049
8050 [BZ #14132]
8051 * include/sys/time.h (__gettimeofday): Remove macro.
8052 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
8053 * time/gettimeofday.c (__gettimeofday): Remove #undef.
8054 Remove INTDEF.
8055 (__gettimeofday): Add libc_hidden_def.
8056 (gettimeofday): Add libc_hidden_weak.
8057 * sysdeps/mach/gettimeofday.c: Likewise.
8058 * sysdeps/posix/gettimeofday.c: Likewise.
8059 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
8060 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
8061 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
8062 (__gettimeofday_internal): Remove strong_alias.
8063 (__gettimeofday): Add libc_hidden_def.
8064 (gettimeofday): Add libc_hidden_weak.
8065 * sysdeps/unix/syscalls.list (gettimeofday):
8066 Remove __gettimeofday_internal alias.
8067
8068 2012-05-24 Daniel Jacobowitz <drow@false.org>
8069 H.J. Lu <hongjiu.lu@intel.com>
8070
8071 [BZ #12495]
8072 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
8073 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
8074 (largebin_index_32_big): New.
8075 (largebin_index): Use it for 16-byte alignment.
8076 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
8077 correction with front_misalign.
8078
8079 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
8080
8081 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
8082 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
8083 Likewise.
8084 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
8085 Likewise.
8086 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
8087 Likewise.
8088 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
8089 Likewise.
8090 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
8091 Likewise.
8092 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
8093 Likewise.
8094 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
8095 Likewise.
8096 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
8097 Likewise.
8098 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
8099 Likewise.
8100 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
8101 Likewise.
8102 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
8103 Likewise.
8104 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
8105 Likewise.
8106
8107 * scripts/data/c++-types-x32-linux-gnu.data: New file.
8108 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
8109
8110 2012-05-24 Joseph Myers <joseph@codesourcery.com>
8111
8112 [BZ #10846]
8113 [BZ #14036]
8114 * math/libm-test.inc (exp_test): Add test from bug 14036.
8115 (pow_test): Add test from bug 10846.
8116
8117 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
8118 and other flags.
8119 (special_function): Do not include flags in test name.
8120 (parse_args): Likewise.
8121 * sysdeps/i386/fpu/libm-test-ulps: Update.
8122 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8123 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8124 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8125 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8126
8127 * math/gen-libm-test.pl (%beautify): Add entries for underflow
8128 exceptions.
8129 * math/libm-test.inc ("Philosophy"): Update comment about
8130 exception testing.
8131 (UNDERFLOW_EXCEPTION): New macro.
8132 (UNDERFLOW_EXCEPTION_OK): Likewise.
8133 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
8134 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
8135 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
8136 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
8137 (INVALID_EXCEPTION_OK): Update value.
8138 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8139 (OVERFLOW_EXCEPTION_OK): Likewise.
8140 (IGNORE_ZERO_INF_SIGN): Likewise.
8141 (test_exceptions): Handle underflow exceptions.
8142 (acos_test): Update for underflow exception expectations.
8143 (cexp_test): Likewise.
8144 (clog_test): Likewise.
8145 (clog10_test): Likewise.
8146 (csqrt_test): Likewise.
8147 (ctan_test): Likewise.
8148 (ctanh_test): Likewise.
8149 (exp_test): Likewise.
8150 (exp10_test): Likewise.
8151 (exp2_test): Likewise.
8152 (expm1_test): Likewise.
8153 (fma_test): Likewise.
8154 (j0_test): Likewise.
8155 (jn_test): Likewise.
8156 (nexttoward_test): Likewise.
8157 (pow_test): Likewise.
8158 (scalbn_test): Likewise.
8159 (scalbln_test): Likewise.
8160 (tan_test): Likewise.
8161 (y1_test): Likewise.
8162 * sysdeps/i386/fpu/libm-test-ulps: Update.
8163 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8164
8165 2012-05-23 David S. Miller <davem@davemloft.net>
8166
8167 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
8168 (__libc_sigaction): Remove unused local variables.
8169
8170 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
8171
8172 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
8173
8174 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
8175
8176 mktime: avoid signed integer overflow
8177 * time/mktime.c (__mktime_internal): Do not mishandle the case
8178 where diff == INT_MIN.
8179
8180 mktime: simplify computation of average
8181 * time/mktime.c (ranged_convert): Use new time_t_avg function
8182 instead of rolling our own (probably-slower) code.
8183
8184 mktime: do not assume signed right shift propagates sign bit
8185 * time/mktime.c (isdst_differ): New static function.
8186 (__mktime_internal): No need to normalize tm_isdst now.
8187 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
8188 tm_isdst values.
8189
8190 mktime: merge another wrapv change from gnulib
8191 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
8192 from some compilers.
8193
8194 mktime: remove incorrect attempt at unusual arithmetics
8195 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
8196 The code didn't really work on such machines anyway.
8197 (TYPE_MINIMUM): Assume two's complement.
8198 (twos_complement_arithmetic): Verify that long_int and time_t
8199 are two's complement (or unsigned, in the latter case).
8200
8201 mktime: check signed shifts on long_int and time_t, too
8202 * time/mktime.c (SHR): Check that shifts work as desired
8203 on the types long_int and time_t too, as SHR is used on
8204 such types.
8205
8206 mktime: do not assume 'long' is wide enough
8207 * time/mktime.c (verify): Move decl up.
8208 (long_int): New type.
8209 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
8210 to remove assumption in the code that 'long' is wide enough to
8211 store year values. This assumption is not true on x32 and on
8212 some non-glibc platforms.
8213
8214 mktime: merge wrapv change from gnulib
8215 * time/mktime.c (WRAPV): New macro.
8216 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
8217 (guess_time_tm, __mktime_internal): Do not assume that signed
8218 integer overflow wraps around; modern compilers generate code
8219 where this assumption is no longer valid.
8220
8221 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
8222
8223 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
8224 Replace "jmp L(pseudo_end)" with "ret".
8225 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
8226 Likewise.
8227
8228 2012-05-23 Andreas Jaeger <aj@suse.de>
8229
8230 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
8231 * sysdeps/unix/sysv/linux/poll.c: Remove file.
8232
8233 2012-05-23 Andreas Jaeger <aj@suse.de>
8234 Maximilian Attems <max@stro.at>
8235
8236 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
8237 New macros.
8238
8239 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
8240
8241 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
8242 code so that pseudo_end is just ret and the stack pointer is
8243 correct also for static library in error case.
8244
8245 2012-05-23 Joseph Myers <joseph@codesourcery.com>
8246
8247 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
8248 move to syscalls.list.
8249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
8250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
8251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
8252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
8253
8254 * manual/install.texi (Running make install): Do not mention Linux
8255 kernel version for which pt_chown is not needed.
8256 (Linux): Do not mention problems with nscd with 2.0 kernels.
8257 * INSTALL: Regenerated.
8258
8259 2012-05-23 Andreas Jaeger <aj@suse.de>
8260
8261 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
8262 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
8263 macro.
8264 * sysdeps/unix/sysv/linux/s390/bits/mman.h
8265 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8266 * sysdeps/unix/sysv/linux/sh/bits/mman.h
8267 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8268 * sysdeps/unix/sysv/linux/i386/bits/mman.h
8269 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8270 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
8271 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8272 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
8273 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8274 * sysdeps/unix/sysv/linux/bits/in.h
8275 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
8276
8277 2012-05-22 Roland McGrath <roland@hack.frob.com>
8278
8279 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
8280 (PREPARE_VERSION): Just use assert instead, it will be elided
8281 under [NDEBUG] anyway.
8282
8283 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8284
8285 * sysdeps/unix/sysv/linux/Makefile: Include
8286 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
8287 (sysdep_routines): Remove sysctl.
8288 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
8289 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
8290 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
8291 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
8292 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
8293
8294 2012-05-22 Andreas Jaeger <aj@suse.de>
8295
8296 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
8297 that pseudo_end is just ret and the stack pointer is correct also
8298 for static library in error case.
8299
8300 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
8301
8302 [BZ #14122]
8303 * nss/nsswitch.c (defconfig_entries): New variable.
8304 (__nss_database_lookup): Don't leak defconfig entries.
8305 (nss_parse_service_list): Don't leak on error paths.
8306 (free_database_entries): New function.
8307 (free_defconfig): New function.
8308 (free_mem): Move common code to free_database_entries.
8309
8310 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8311
8312 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
8313 Add arch_prctl.
8314 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
8315
8316 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8317 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
8318 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
8319 New macro.
8320 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
8321 (INTERNAL_SYSCALL_TYPES): Likewise.
8322 (LOAD_ARGS_TYPES_[1-6]): Likewise.
8323 (LOAD_REGS_TYPES_[1-6]): Likewise.
8324 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
8325 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
8326
8327 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8328
8329 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
8330 copysignl for GLIBC_2_0.
8331 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
8332 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
8333 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
8334 logbl for GLIBC_2_0.
8335 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
8336 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
8337
8338 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8339
8340 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
8341 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8342
8343 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
8344 Use "neg %eax".
8345
8346 * time/mktime.c: Update copyright years.
8347
8348 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
8349
8350 mktime: merge comment-quoting-style change from gnulib
8351 * time/mktime.c: Quote 'like this' in comments.
8352 The GNU coding standards suggest that we no longer quote `like this',
8353 as "`" and "'" are typically rendered asymmetrically nowadays.
8354 The typical gnulib style is to quote 'like this' when quoting
8355 code, and "like this" when quoting English.
8356
8357 * time/mktime.c (compile-command): Add "-I.".
8358
8359 mktime: merge mktime-internal.h change from gnulib
8360 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
8361
8362 mktime: merge time_r change from gnulib
8363 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
8364
8365 mktime: merge DEBUG change from gnulib
8366 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
8367 case system <time.h> has a #define.
8368
8369 mktime: merge <sys/types.h> change from gnulib
8370 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
8371 since <time.t> is now guaranteed to define time_t.
8372
8373 mktime: merge HAVE_CONFIG_H change from gnulib
8374 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
8375
8376 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8377
8378 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
8379 Use "neg %eax".
8380
8381 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
8382 __rlim_t cast.
8383 (struct rusage): Use anonymous union to pad each field to
8384 __syscall_slong_t.
8385
8386 2012-05-21 David S. Miller <davem@davemloft.net>
8387
8388 * Makefules (o-iterator): Remove .s cases.
8389 (compile-command.s): Delete.
8390 (COMPILE.s): Delete.
8391 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
8392
8393 2012-05-21 Joseph Myers <joseph@codesourcery.com>
8394
8395 * configure.in (libc_cv_predef_stack_protector): Only consider
8396 "foobar" and "__stack_chk_fail" lines in libc_undefs.
8397 * configure: Regenerated.
8398
8399 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8400
8401 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
8402 New macro. Use R*LP on int and pointer.
8403 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
8404 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
8405 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
8406 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
8407
8408 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
8409 [__WORDSIZE_TIME64_COMPAT32] instead of
8410 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
8411 (struct utmp): Likewise.
8412 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
8413 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
8414 Renamed to ...
8415 (__WORDSIZE_TIME64_COMPAT32): This.
8416 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
8417 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
8418 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
8419 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
8420 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
8421 (__WORDSIZE_TIME64_COMPAT32): New macro.
8422
8423 2012-05-21 Andreas Jaeger <aj@suse.de>
8424
8425 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
8426 only if [SHARED]. Add prototype for __wcschr_ia32.
8427
8428 2012-05-21 Roland McGrath <roland@hack.frob.com>
8429
8430 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
8431 of %rbp unmolested in the jmp_buf while mangling the low bits.
8432 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
8433 unmolested high bits of %rbp while demangling the low bits.
8434 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
8435
8436 2012-05-21 Andreas Jaeger <aj@suse.de>
8437
8438 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
8439 * sunrpc/svc_simple.c: Use it for registerrpc.
8440 * sunrpc/xcrypt.c: Use it for passwd2des.
8441
8442 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
8443
8444 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8445
8446 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
8447 Don't define if [__SYSCALL_WORDSIZE != 32].
8448 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
8449 New macro.
8450
8451 2012-05-21 Bruno Haible <bruno@clisp.org>
8452 Andreas Jaeger <aj@suse.de>
8453
8454 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
8455 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
8456 inptr and inend for must_buffer_ch.
8457 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
8458 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
8459 * stdio-common/Makefile (tests): Remove bug15.
8460 (bug15-ENV): Remove macro.
8461 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
8462 anymore.
8463
8464 2012-05-19 Andreas Jaeger <aj@suse.de>
8465 Roland McGrath <roland@hack.frob.com>
8466
8467 * manual/contrib.texi: Completely rewritten. It contains now an
8468 alphabetical list of contributors and their contributions.
8469
8470 2012-05-21 Richard Henderson <rth@twiddle.net>
8471
8472 * misc/getauxval.c (__getauxval): Use unsigned long int.
8473 * misc/sys/auxv.h: Include <sys/cdefs.h>.
8474 (getauxval): Use unsigned long int.
8475
8476 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8477
8478 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
8479
8480 2012-05-21 Roland McGrath <roland@hack.frob.com>
8481
8482 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
8483 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
8484 __alignof__ (long double).
8485
8486 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8487
8488 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8489
8490 2012-05-20 Richard Henderson <rth@twiddle.net>
8491
8492 * misc/getauxval.c: New file.
8493 * misc/sys/auxv.h: New file.
8494 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
8495 (routines): Add getauxval.
8496 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
8497 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
8498 * elf/dl-sysdep.c (_dl_auxv): Remove.
8499 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
8500 * elf/dl-support.c (_dl_auxv): New variable.
8501 (_dl_aux_init): Initialize it.
8502 * manual/startup.texi (Auxiliary Vector): New node.
8503 * sysdeps/generic/bits/hwcap.h: New file.
8504 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
8505 * sysdeps/powerpc/sysdep.h: ... here. Include it.
8506 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
8507 * sysdeps/sparc/sysdep.h: ... here. Include it.
8508 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
8509 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
8510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8511 Update.
8512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
8513 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
8514 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
8515 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
8516 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
8517 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
8518 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
8519 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
8520
8521 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8522
8523 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8524
8525 2012-05-19 David S. Miller <davem@davemloft.net>
8526
8527 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8528
8529 2012-05-19 Joseph Myers <joseph@codesourcery.com>
8530
8531 [BZ #14123]
8532 * math/s_ccosh.c: Include <float.h>
8533 (__ccosh): Avoid internal overflow calculating sinh and cosh
8534 values before multiplying by sin and cos values.
8535 * math/s_ccoshf.c: Likewise.
8536 * math/s_ccoshl.c: Likewise.
8537 * math/s_csin.c: Likewise.
8538 * math/s_csinf.c: Likewise.
8539 * math/s_csinl.c: Likewise.
8540 * math/s_csinh.c: Likewise.
8541 * math/s_csinhf.c: Likewise.
8542 * math/s_csinhl.c: Likewise.
8543 * math/libm-test.inc (ccos_test): Add more tests.
8544 (ccosh_test): Likewise.
8545 (csin_test): Likewise.
8546 (csinh_test): Likewise.
8547 * sysdeps/i386/fpu/libm-test-ulps: Update.
8548 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8549
8550 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
8551
8552 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
8553 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
8554
8555 * sysdeps/x86_64/x32/_itoa.h: Add comment.
8556
8557 2012-05-19 Joseph Myers <joseph@codesourcery.com>
8558
8559 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
8560 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
8561 * sysdeps/powerpc/soft-fp/Versions: Likewise.
8562 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
8563 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
8564 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
8565 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
8566 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
8567 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
8568 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
8569 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
8570 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
8571 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
8572 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
8573 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
8574 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
8575 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
8576 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
8577 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
8578 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
8579 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
8580 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
8581 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
8582 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
8583 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
8584 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
8585 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
8586 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
8587 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
8588 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
8589 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
8590
8591 2012-05-18 Andreas Jaeger <aj@suse.de>
8592
8593 * csu/.gitignore: Delete.
8594
8595 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8596
8597 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
8598 (timex): Use __syscall_slong_t.
8599
8600 2012-05-18 Andreas Jaeger <aj@suse.de>
8601 Carlos O'Donell <carlos_odonell@mentor.com>
8602
8603 * manual/install.texi (Configuring and compiling): Update
8604 description about files modified in the source directory.
8605 * INSTALL: Regenerated.
8606
8607 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8608
8609 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
8610 value. Use "or" to set return value to -1.
8611 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
8612 negate return value.
8613
8614 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8615
8616 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
8617 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
8618 failure if the compiler has Graphite support disabled.
8619 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
8620 Likewise.
8621 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
8622 CFLAGS-memmove.c): Likewise.
8623 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
8624 Likewise.
8625
8626 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8627
8628 * sysdeps/x86_64/x32/_itoa.h: New file.
8629
8630 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
8631 getdents system call only if kernel and user dirents have the
8632 same d_ino and d_off.
8633
8634 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
8635 LLONG_MAX != LONG_MAX.
8636 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8637 (_fitoa_word): Likewise.
8638
8639 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
8640 years.
8641 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
8642 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
8643 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
8644
8645 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
8646 include <bits/wordsize.h>. Check __x86_64__ instead of
8647 __WORDSIZE.
8648 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
8649 if __x86_64__ is defined. Use anonymous union on fpstate.
8650
8651 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
8652 anonymous union.
8653
8654 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
8655
8656 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
8657 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
8658 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
8659 Refer to _rtld_local_ro instead of _rtld_global_ro.
8660 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
8661 Likewise.
8662 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
8663 Likewise.
8664 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
8665 Likewise.
8666 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
8667 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
8668 of _rtld_global, and rtld_progname instead of _dl_argv[0].
8669
8670 * sysdeps/powerpc/powerpc32/dl-machine.c
8671 (__elf_machine_runtime_setup) [PROF]: Don't reference
8672 _dl_prof_resolve.
8673
8674 2012-05-18 Andreas Jaeger <aj@suse.de>
8675
8676 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
8677 function only available for GCCs before 3.4 since GCC 3.4
8678 introduced a builtin.
8679 (lrint): Likewise.
8680 (llrintf): Likewise.
8681 (llrint): Likewise.
8682 (fmaxf): Likewise.
8683 (fmax): Likewise.
8684 (fminf): Likewise.
8685 (fmin): Likewise.
8686 (rint): Likewise.
8687 (rintf): Likewise.
8688 (nearbyint): Likewise.
8689 (nearbyintf): Likewise.
8690 (ceil): Likewise.
8691 (ceilf): Likewise.
8692 (floor): Likewise.
8693 (floorf): Likewise.
8694
8695 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8696
8697 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
8698 on both fields and cast pointer to __syscall_ulong_t.
8699
8700 * bits/types.h (__fsword_t): New type.
8701 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
8702 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
8703 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8704 (__FSWORD_T_TYPE): Likewise.
8705 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8706 (__FSWORD_T_TYPE): Likewise.
8707 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8708 (__FSWORD_T_TYPE): Likewise.
8709 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
8710 (__FSWORD_T_TYPE): Likewise.
8711 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
8712 __SWORD_TYPE with __fsword_t.
8713 (statfs64): Likewise.
8714
8715 2012-05-17 David S. Miller <davem@davemloft.net>
8716
8717 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
8718
8719 2012-05-17 Andreas Jaeger <aj@suse.de>
8720
8721 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
8722 warning.
8723
8724 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8725
8726 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
8727
8728 2012-05-17 Andreas Jaeger <aj@suse.de>
8729
8730 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
8731 when it is used.
8732
8733 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
8734
8735 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
8736
8737 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8738
8739 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
8740 * sysdeps/x86_64/tst-mallocalign1.c: New file.
8741
8742 2012-05-17 Andreas Jaeger <aj@suse.de>
8743 Carlos O'Donell <carlos_odonell@mentor.com>
8744
8745 [BZ #14059]
8746 * sysdeps/x86_64/multiarch/init-arch.h
8747 (bit_YMM_Usable): Rename to...
8748 (bit_AVX_Usable): ... this.
8749 (bit_FMA4_Usable): New macro.
8750 (bit_XMM_state): New macro.
8751 (bit_YMM_state): New macro.
8752 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
8753 [__ASSEMBLER__] (index_AVX_Usable): ... this.
8754 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
8755 (CPUID_OSXSAVE): New macro.
8756 (CPUID_AVX): New macro.
8757 (CPUID_FMA4): New macro.
8758 (index_YMM_Usable): Rename to...
8759 (index_AVX_Usable): ... this.
8760 (HAS_AVX): Use HAS_ARCH_FEATURE.
8761 (HAS_FMA4): Likewise.
8762 (HAS_YMM_USABLE): Remove.
8763 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8764 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
8765 are present.
8766 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
8767 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
8768 * sysdeps/x86_64/multiarch/Makefile: Likewise.
8769 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
8770 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
8771
8772 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
8773
8774 * math/libm-test.c: Support platforms without multiple rounding modes.
8775 * math/bug-nextafter.c: Support platforms without FP exceptions.
8776 * math/bug-nexttoward.c: Likewise.
8777 * math/test-fenv.c: Likewise.
8778 * math/test-misc.c: Likewise.
8779 * stdlib/bug-getcontext.c: Likewise.
8780
8781 2012-05-17 Andreas Jaeger <aj@suse.de>
8782
8783 * manual/examples/search.c (critter_cmp): Change signature to
8784 avoid warnings.
8785 * manual/string.texi (Collation Functions): Likewise.
8786
8787 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8788
8789 * bits/types.h: Fold copyright years.
8790 * bits/typesizes.h: Likewise.
8791 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
8792 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
8793 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
8794 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
8795 * time/time.h: Likewise.
8796
8797 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
8798
8799 [BZ #208]
8800 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
8801 in instead of returning them. Return void.
8802 (__libc_mallinfo): Accumulate over all arenas.
8803 (__malloc_stats): Adjust for change in int_mallinfo interface.
8804
8805 2012-05-16 Roland McGrath <roland@hack.frob.com>
8806
8807 [BZ #10375]
8808 * configure.in (NM): Add AC_CHECK_TOOL for it.
8809 (libc_extra_cflags): New substituted variable.
8810 Check for -fstack-protector being used implicitly.
8811 * configure: Regenerated.
8812 * config.make.in (config-extra-cflags): New variable,
8813 gets @libc_extra_cflags@.
8814 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
8815
8816 [BZ #10375]
8817 * configure.in: Check for _FORTIFY_SOURCE being predefined.
8818 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
8819 * configure: Regenerated.
8820 * config.make.in (CPPUNDEFS): New substituted variable.
8821 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
8822 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
8823 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
8824
8825 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8826
8827 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
8828 (mq_attr): Use __syscall_slong_t.
8829
8830 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8831
8832 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
8833 Check __x86_64__ instead of __WORDSIZE.
8834 (_STAT_VER_LINUX): Likewise.
8835 (stat): Check __x86_64__ instead of __WORDSIZE. Use
8836 __syscall_ulong_t and __syscall_slong_t.
8837 (stat64): Likewise.
8838
8839 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8840
8841 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
8842
8843 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8844
8845 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
8846
8847 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8848
8849 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
8850 __syscall_ulong_t.
8851
8852 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
8853 include <bits/wordsize.h>. Check __x86_64__ instead of
8854 __WORDSIZE.
8855 (greg_t): Use "__extension__ long long int" if __x86_64__ is
8856 defined.
8857 (mcontext_t): Replace "unsigned long" with "unsigned long long".
8858
8859 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
8860 include <bits/wordsize.h>. Check __x86_64__ instead of
8861 __WORDSIZE.
8862 (user_regs_struct): Use "__extension__ unsigned long long"
8863 instead of "unsigned long" if __x86_64__ is defined.
8864 (user): Likewise. Pad after pointer field if __ILP32__ is
8865 defined.
8866
8867 2012-05-16 Joseph Myers <joseph@codesourcery.com>
8868
8869 * configure.in (makeinfo): Require version 4.5 or later. Allow
8870 versions 5 to 9.
8871 * configure: Regenerated.
8872 * manual/install.texi (texinfo): Increase version requirement to
8873 4.5 or later.
8874 * INSTALL: Regenerated.
8875
8876 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
8877
8878 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8879
8880 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
8881
8882 * sysdeps/x86_64/x32/ffs.c: New file.
8883
8884 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
8885 __syscall_ulong_t.
8886 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
8887 defined. Use __syscall_ulong_t.
8888 (shminfo): Use __syscall_ulong_t.
8889 (shm_info): Likewise.
8890
8891 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
8892 __syscall_ulong_t.
8893
8894 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
8895 <bits/wordsize.h>.
8896 (msgqnum_t): Use __syscall_ulong_t.
8897 (msglen_t): Likewise.
8898 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
8899 __syscall_ulong_t.
8900
8901 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
8902 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8903
8904 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
8905
8906 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
8907 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
8908
8909 * sysvipc/sys/msg.h (msgbuf): Replace long int with
8910 __syscall_slong_t.
8911
8912 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
8913 include <bits/wordsize.h>. Check __x86_64__ instead of
8914 __WORDSIZE.
8915
8916 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
8917 "unsigned long long int" if __x86_64__ is defined.
8918 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
8919
8920 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
8921 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8922 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
8923
8924 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
8925 <stdint.h>.
8926 (GET_PC): Cast to uintptr_t first.
8927 (GET_FRAME): Likewise.
8928 (GET_STACK): Likewise.
8929
8930 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
8931 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
8932 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
8933 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
8934 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
8935 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
8936 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
8937 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
8938 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
8939 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
8940 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
8941 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
8942 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
8943 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
8944 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
8945 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
8946 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
8947 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
8948 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
8949 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
8950 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
8951 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
8952 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
8953 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
8954 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
8955 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
8956 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
8957 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
8958 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
8959
8960 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
8961
8962 * Makerules (+depfiles): Also collect depfiles from .oS in
8963 $(extra-objs).
8964 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
8965 .oS, $(libnldbl-routines)).
8966
8967 * Makerules (native-compile-mkdep-flags): Define.
8968 * sunrpc/Makefile (extra-objs): Add $(addprefix
8969 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
8970 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
8971 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
8972 calling $(make-target-directory).
8973
8974 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8975
8976 * bits/types.h (__snseconds_t): Removed.
8977 * time/time.h (struct timespec): Replace __snseconds_t with
8978 __syscall_slong_t.
8979 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
8980 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
8981 Likewise.
8982 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8983 (__SNSECONDS_T_TYPE): Likewise.
8984 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8985 (__SNSECONDS_T_TYPE): Likewise.
8986 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8987 (__SNSECONDS_T_TYPE): Likewise.
8988
8989 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8990
8991 * sysdeps/mach/hurd/bits/typesizes.h
8992 (__SYSCALL_SLONG_TYPE): New macro.
8993 (__SYSCALL_ULONG_TYPE): Likewise.
8994
8995 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8996
8997 * bits/types.h (__syscall_slong_t): New type.
8998 (__syscall_ulong_t): Likewise.
8999
9000 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
9001 (__SYSCALL_ULONG_TYPE): Likewise.
9002 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9003 (__SYSCALL_SLONG_TYPE): Likewise.
9004 (__SYSCALL_ULONG_TYPE): Likewise.
9005 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9006 (__SYSCALL_SLONG_TYPE): Likewise.
9007 (__SYSCALL_ULONG_TYPE): Likewise.
9008 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9009 (__SYSCALL_SLONG_TYPE): Likewise.
9010 (__SYSCALL_ULONG_TYPE): Likewise.
9011
9012 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9013
9014 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
9015 Add sigaltstack-offsets.sym.
9016 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
9017 <sigaltstack-offsets.h>.
9018 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
9019 longjmp_msg pointer.
9020 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
9021 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
9022 signal stack.
9023 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
9024
9025 2012-05-15 Joseph Myers <joseph@codesourcery.com>
9026
9027 * elf/stackguard-macros.h: Remove file.
9028 * sysdeps/generic/stackguard-macros.h: New file.
9029 * sysdeps/i386/stackguard-macros.h: Likewise.
9030 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
9031 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
9032 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
9033 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
9034 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
9035 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
9036 * sysdeps/x86_64/stackguard-macros.h: Likewise.
9037 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
9038 <elf/stackguard-macros.h>.
9039
9040 [BZ #14109]
9041 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
9042 __aligned__ in attribute.
9043 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
9044 (gregset_t): Likewise.
9045
9046 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9047
9048 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
9049 * sysdeps/x86_64/64/Implies-after: Here. New file.
9050 * sysdeps/x86_64/x32/Implies-after: New file.
9051
9052 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9053
9054 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
9055 and access return value for _dl_profile_fixup. Use R10_LP to
9056 load frame size.
9057
9058 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9059
9060 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
9061
9062 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9063
9064 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
9065 * sysdeps/x86_64/x32/sysdep.h: New file.
9066
9067 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9068
9069 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
9070 * sysdeps/x86_64/setjmp.S: Likewise.
9071
9072 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9073
9074 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
9075 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
9076 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
9077 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
9078 remove unused global constant.
9079
9080 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
9081
9082 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
9083 include of <not-cancel.h>.
9084
9085 2012-05-15 Roland McGrath <roland@hack.frob.com>
9086
9087 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
9088
9089 2012-05-15 Jeff Law <law@redhat.com>
9090 Andreas Jaeger <aj@suse.de>
9091
9092 [BZ #13594]
9093 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
9094 out from...
9095 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
9096 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
9097 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
9098 code changing __hst_map_handle.map.
9099
9100 2012-05-15 Roland McGrath <roland@hack.frob.com>
9101
9102 * configure.in (sysnames): Look for Implies-before and Implies-after
9103 files.
9104 * configure: Regenerated.
9105
9106 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9107
9108 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
9109 8-byte data alignment with LP_SIZE alignment.
9110
9111 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9112
9113 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
9114 into R10_LP.
9115
9116 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9117
9118 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
9119
9120 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9121
9122 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
9123 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
9124 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
9125 Likewise.
9126 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
9127
9128 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9129
9130 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
9131 (stackinfo_sub_sp): Likewise.
9132
9133 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9134
9135 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
9136 RAX_LP.
9137
9138 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9139
9140 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
9141 into R*_LP.
9142
9143 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9144
9145 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
9146 sizes into R*_LP.
9147
9148 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9149
9150 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
9151
9152 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9153
9154 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
9155 into R11_LP and load __x86_64_shared_cache_size_half into
9156 R8_LP.
9157
9158 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9159
9160 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
9161 R8_LP.
9162
9163 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9164
9165 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
9166 logb for POWER7.
9167 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
9168 logbf for POWER7.
9169 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
9170 logbl for POWER7.
9171 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
9172 powerpc32/power7/fpu/s_logb.c via #include.
9173 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
9174 powerpc32/power7/fpu/s_logbf.c via #include.
9175 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
9176 powerpc32/power7/fpu/s_logbl.c via #include.
9177
9178 2012-05-15 Joseph Myers <joseph@codesourcery.com>
9179
9180 * README.libm: Remove file.
9181
9182 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9183
9184 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
9185 count for x32. Use R*_LP and omit operand-size suffix.
9186
9187 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9188
9189 * shlib-versions: Move x86_64-.*-linux.* entries to ...
9190 * sysdeps/x86_64/64/shlib-versions: Here. New file.
9191 * sysdeps/x86_64/x32/shlib-versions: New file.
9192
9193 2012-05-14 Roland McGrath <roland@hack.frob.com>
9194
9195 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
9196 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
9197 Use _dl_fatal_printf instead.
9198
9199 2012-05-14 Joseph Myers <joseph@codesourcery.com>
9200
9201 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
9202 set if not set by the user. Do not allow for being unset.
9203 * sysdeps/unix/sysv/linux/configure: Regenerated.
9204
9205 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9206
9207 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
9208 the `q' suffix from lea and replace .quad with ASM_ADDR.
9209
9210 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9211
9212 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
9213 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
9214 instead of $17.
9215 (PTR_DEMANGLE): Likewise.
9216
9217 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9218
9219 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
9220 (LP_OP): Likewise.
9221 (ASM_ADDR): Likewise.
9222 (RAX_LP): Likewise.
9223 (RBP_LP): Likewise.
9224 (RBX_LP): Likewise.
9225 (RCX_LP): Likewise.
9226 (RDI_LP): Likewise.
9227 (RSI_LP): Likewise.
9228 (RSP_LP): Likewise.
9229 (R8_LP): Likewise.
9230 (R9_LP): Likewise.
9231 (R10_LP): Likewise.
9232 (R10_LP): Likewise.
9233 (R11_LP): Likewise.
9234 (R12_LP): Likewise.
9235 (R13_LP): Likewise.
9236 (R14_LP): Likewise.
9237 (R15_LP): Likewise.
9238
9239 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9240
9241 * sysdeps/x86_64/x32/dl-machine.h: New file.
9242
9243 2012-05-14 Andreas Jaeger <aj@suse.de>
9244
9245 * manual/Makefile (subdir): Remove export of subdir.
9246 (all): Remove target.
9247 (.PHONY): Remove all from list.
9248 (mkinstalldirs): Remove.
9249 (.PHONY): Remove installdirs from list.
9250 ($(inst_infodir)/libc.info): Use make-target-directory.
9251 (installdirs): Remove.
9252 (subdir_%): Remove.
9253 (glibc-targets): Remove.
9254 (lib): Remove.
9255 (stubs): Remove.
9256 ($(objpfx)stubs ../po/manual.pot): Remove.
9257 ($(objpfx)stamp%): Remove.
9258 (make-target-directory): Remove.
9259 (subdir_install): Remove.
9260 (routines): Remove.
9261 (aux): Remove.
9262 (sources): Remove.
9263 (objects): Remove.
9264 (headers): Remove.
9265
9266 [BZ #13750]
9267 * manual/.gitignore: Remove, it's not needed anymore.
9268 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
9269 all files in it.
9270 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
9271 directory.
9272 (texis): Renamed to $(objpfx)texis.
9273 (texis-path): New, contains path to generated files.
9274 (chapters.%): Use texis-path for complete path, add extra argument
9275 libc-texinfo.sh.
9276 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
9277 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
9278 (summary,texi, stamp-summary): Use complete path of
9279 files. Generate files in build dir.
9280 (dir-add.texi): Build in build dir.
9281 (libm-err.texi,stamp-libm-err): Likewise.
9282 (version.texi, stamp-version): Likewise.
9283 (.%c.texi): Likewise.
9284 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
9285 (mostlyclean): Remove target.
9286 (realclean): Remove target.
9287 (generated): Add new variable with contents from mostlyclean and
9288 realclean, remove entries duplicated in common-mostlyclean, add
9289 stamp-libm-err and stamp-version.
9290 (generated-dirs): Add libc directory.
9291 ($(inst_infodir)/libc.info): Install files from build dir.
9292
9293 * manual/install.texi (Configuring and compiling): Adjust since
9294 the info files are not part of the tar ball anymore.
9295
9296 2012-05-14 Andreas Jaeger <aj@suse.de>
9297
9298 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
9299 variable.
9300
9301 2012-05-14 Joseph Myers <joseph@codesourcery.com>
9302
9303 [BZ #13717]
9304 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
9305 to 2.2.0 where earlier.
9306 * sysdeps/unix/sysv/linux/configure: Regenerated.
9307 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
9308 Remove conditional code.
9309 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
9310 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
9311 Remove conditional code.
9312 [!__NR_lchown]: Likewise.
9313 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9314 [__NR_lchown]: Likewise.
9315 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
9316 comment referencing __ASSUME_LCHOWN_SYSCALL.
9317 * sysdeps/unix/sysv/linux/i386/sigaction.c
9318 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9319 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9320 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
9321 Remove conditional code.
9322 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
9323 (__protocol_available): Remove #if 0 code.
9324 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
9325 conditional code.
9326 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
9327 * sysdeps/unix/sysv/linux/kernel-features.h
9328 (__ASSUME_GETCWD_SYSCALL): Don't define.
9329 (__ASSUME_REALTIME_SIGNALS): Likewise.
9330 (__ASSUME_PREAD_SYSCALL): Likewise.
9331 (__ASSUME_PWRITE_SYSCALL): Likewise.
9332 (__ASSUME_POLL_SYSCALL): Likewise.
9333 (__ASSUME_LCHOWN_SYSCALL): Likewise.
9334 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
9335 non-SPARC.
9336 (__ASSUME_SIOCGIFNAME): Don't define.
9337 (__ASSUME_MSG_NOSIGNAL): Likewise.
9338 (__ASSUME_SENDFILE): Define unconditionally.
9339 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
9340 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
9341 conditional code.
9342 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
9343 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
9344 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
9345 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9346 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
9347 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
9348 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
9350 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9351 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
9353 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9354 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
9356 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9357 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
9359 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9360 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
9362 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9363 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
9365 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9366 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
9368 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9369 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
9371 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9372 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9373 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
9374 Remove conditional code.
9375 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9376 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
9377 Remove conditional code.
9378 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9379 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
9380 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
9381 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
9382 Remove conditional code.
9383 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9384 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
9385 Remove conditional code.
9386 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9387 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
9388 Remove conditional code.
9389 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9390 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
9391 Remove conditional code.
9392 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9393 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
9394 Remove conditional code.
9395 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9396 * sysdeps/unix/sysv/linux/sh/pwrite64.c
9397 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9398 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9399 * sysdeps/unix/sysv/linux/sigaction.c
9400 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9401 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9402 * sysdeps/unix/sysv/linux/sigpending.c
9403 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9404 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9405 * sysdeps/unix/sysv/linux/sigprocmask.c
9406 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9407 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9408 * sysdeps/unix/sysv/linux/sigsuspend.c
9409 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9410 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9411 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
9412 (__libc_missing_rt_sigs): Remove.
9413 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
9414 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
9415 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
9416 Remove conditional code.
9417 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
9418 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
9419 return 1.
9420 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
9421 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
9422 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
9423 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
9424
9425 2012-05-14 Andreas Jaeger <aj@suse.de>
9426
9427 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
9428 it's not used in glibc.
9429 (__coshm1): Likewise.
9430 (__acosh1p): Likewise.
9431 (__sgn): Likewise.
9432
9433 * manual/string.texi (Copying and Concatenation): Add missing
9434 variable in concat example.
9435 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
9436
9437 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9438
9439 [BZ #14103]
9440 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
9441 __builtin_clzl with __builtin_clzll.
9442
9443 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9444
9445 [BZ #14104]
9446 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
9447 libc_freeres_ptr.
9448
9449 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9450
9451 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
9452 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
9453 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
9454 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
9455
9456 2012-05-14 Mike Frysinger <vapier@gentoo.org>
9457
9458 * NEWS: Update ia64 info.
9459
9460 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
9461
9462 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
9463 used as bcopy.
9464
9465 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
9466
9467 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
9468 * sysdeps/unix/syscalls.list (dup3): Likewise.
9469 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
9470 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
9471
9472 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
9473
9474 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
9475 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
9476
9477 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
9478
9479 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
9480 thread pointer.
9481 (TLS_IE): Use mov/add instead of movq/addq to load thread
9482 pointer.
9483 (TLS_GD_PREFIX): New.
9484 (TLS_GD): Use it.
9485
9486 2012-05-11 David S. Miller <davem@davemloft.net>
9487
9488 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
9489 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
9490 (_FPU_SETCW): Likewise.
9491
9492 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9493
9494 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
9495 is 32-byte aligned.
9496
9497 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
9498
9499 [BZ #11837]
9500 * iconvdata/gb18030.c: Update tables.
9501 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
9502 characters specially.
9503 (BODY for TO_LOOP): Add encoding of missing ranges.
9504
9505 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
9506
9507 [BZ #13673]
9508 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
9509 * sysdeps/mach/hurd/dup3.c: Likewise.
9510 * sysdeps/mach/hurd/readlinkat.c: Likewise.
9511 * sysdeps/powerpc/memmove.c:: Likewise.
9512
9513 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9514
9515 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
9516 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
9517
9518 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9519
9520 * elf/elf.h (R_X86_64_RELATIVE64): New.
9521 (R_X86_64_NUM): Updated.
9522 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
9523 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
9524 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
9525 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
9526 tst-quad1pie tst-quad2pie
9527 (modules-names): Add tst-quadmod1 tst-quadmod2.
9528 ($(objpfx)tst-quad1): New dependency.
9529 ($(objpfx)tst-quad2): Likewise.
9530 ($(objpfx)tst-quad1pie): Likewise.
9531 ($(objpfx)tst-quad2pie): Likewise.
9532 * sysdeps/x86_64/tst-quad1.c: New file.
9533 * sysdeps/x86_64/tst-quad1pie.c: New file.
9534 * sysdeps/x86_64/tst-quad2.c: Likewise.
9535 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
9536 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
9537 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
9538 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
9539 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
9540
9541 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9542
9543 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
9544 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
9545 * streams/stropts.h (t_scalar_t): Define type.
9546
9547 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
9548 (_PATH_PRESERVE): Set to "/var/lib".
9549 (_PATH_RWHODIR): Set to "/var/spool/rwho".
9550
9551 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
9552 instead of int.
9553
9554 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
9555 if __dir_mkfile succeeded.
9556
9557 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
9558 checking for _hurd_dtablesize. Unlock it right after having
9559 finished _hurd_dtable allocation.
9560
9561 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9562
9563 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
9564 * sysdeps/mach/hurd/configure: Regenerated.
9565 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
9566 special-casing to...
9567 * sysdeps/gnu/configure.in: ... this new file.
9568 * sysdeps/unix/sysv/linux/configure: Regenerated.
9569 * sysdeps/gnu/configure: New generated file.
9570
9571 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
9572 for Linux: use nsec instead of usec, as well as:
9573 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
9574 members of type struct timespec.
9575 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
9576 New macros.
9577 (struct stat64): Likewise.
9578 (_STATBUF_ST_NSEC): New macro.
9579 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
9580
9581 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
9582 __strtoul_internal rather than strtoul.
9583
9584 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9585
9586 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
9587 and reject them.
9588
9589 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9590
9591 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
9592 which preserves existing values.
9593 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
9594
9595 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9596
9597 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
9598 TIMEOUT values. Return EINVAL for NFDS values either negative or
9599 greater than FD_SETSIZE.
9600
9601 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9602
9603 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
9604 allocated, call __vm_protect to finish enabling the existing space, and
9605 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
9606 allocate the remainder.
9607
9608 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9609
9610 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
9611 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
9612
9613 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9614
9615 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
9616 sysdeps/mach/hurd/readlink.c.
9617
9618 * posix/tst-sysconf.c (posix_options): Only use
9619 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
9620 _POSIX_SYNCHRONIZED_IO when they are defined
9621 * sysdeps/mach/hurd/bits/posix_opt.h:
9622 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
9623 (_XOPEN_REALTIME): Undefine macro.
9624 (_XOPEN_REALTIME_THREADS): Undefine macro.
9625 (_XOPEN_SHM): Undefine macro.
9626 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
9627 macro to -1.
9628 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
9629 macro to -1.
9630 (_POSIX_ASYNC_IO): Undefine macro.
9631 (_POSIX_PRIORITIZED_IO): Undefine macro.
9632 (_POSIX_SPIN_LOCKS): Define macro to -1.
9633
9634 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
9635 SA_NODEFER, SA_RESETHAND.
9636 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
9637 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
9638 F_DUPFD_CLOEXEC.
9639
9640 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9641
9642 * elf/Makefile (pldd-modules): Define unconditionally.
9643
9644 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9645
9646 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
9647
9648 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9649
9650 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
9651 Return ENOENT when name is empty.
9652 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
9653
9654 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9655
9656 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
9657
9658 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
9659
9660 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9661
9662 Fix mlock in all cases except non-readable pages.
9663 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
9664 instead of VM_PROT_ALL as parameter to __vm_wire function.
9665
9666 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
9667 (__mkdir): When path is `/', just fail with EEXIST.
9668 * sysdeps/mach/hurd/mkdirat.c: Likewise.
9669
9670 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9671
9672 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
9673 <sys/uio.h> (for writev).
9674 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
9675 and <sys/param.h> (for MIN).
9676
9677 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9678
9679 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
9680 REQUESTED_TIME. Properly set the remaining time and return EINTR
9681 if interrupted.
9682
9683 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9684
9685 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
9686 Depend on against $(link-rpcuserlibs).
9687
9688 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9689
9690 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
9691 (__libc_stack_end): Do not use attribute_relro.
9692 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
9693 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
9694 to libthread-provided value.
9695 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
9696 attribute_relro.
9697
9698 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9699
9700 [BZ #3748]
9701 * bits/libc-lock.h (__libc_once_get): New macro.
9702 * sysdeps/mach/bits/libc-lock.h: Likewise.
9703 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
9704 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
9705 instead of using implementation details.
9706
9707 * libio/fileops.c: Unconditionally include <kernel-features.h>.
9708 * libio/freopen.c: Likewise.
9709 * libio/freopen64.c: Likewise.
9710 * misc/syslog.c: Likewise.
9711 * nscd/connections.c: Likewise.
9712 * nscd/netgroupcache.c: Likewise.
9713 * sysdeps/posix/getcwd.c: Likewise.
9714
9715 2012-05-10 Roland McGrath <roland@hack.frob.com>
9716
9717 * math/w_ilogbf.c: Add #include <limits.h>.
9718
9719 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9720
9721 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
9722 path instead of returning without unlocking.
9723
9724 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
9725 immediate-write ioctls.
9726 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
9727
9728 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9729
9730 * sysdeps/mach/hurd/i386/init-first.c (init): Use
9731 __builtin_frame_address instead of making assumptions about the
9732 location of the return address relative to DATA. Force early load of
9733 the return address.
9734 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
9735 __builtin_frame_address.
9736
9737 dup3 for GNU Hurd.
9738 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
9739 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
9740 implement dup3 and do some further code clean-ups.
9741 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
9742 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
9743
9744 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9745
9746 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
9747
9748 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
9749 HURD_CRITICAL_END around holding _hurd_dtable_lock.
9750 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
9751 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
9752 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
9753 d->port.lock.
9754
9755 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
9756 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
9757 when handler == SIG_ERR, not when handler != SIG_ERR.
9758
9759 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9760
9761 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
9762 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
9763 definitions.
9764
9765 accept4 for GNU Hurd.
9766 * include/sys/socket.h (__libc_accept4): New prototype.
9767 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
9768 to implement __libc_accept4.
9769 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
9770 __libc_accept4.
9771 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
9772
9773 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
9774 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
9775 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
9776 signal-defines.sym.
9777
9778 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9779
9780 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
9781
9782 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9783
9784 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
9785 assertion on O_CLOEXEC flag.
9786 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
9787 * hurd/intern-fd.c: Likewise.
9788 * hurd/port2fd.c: Likewise.
9789
9790 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9791
9792 [BZ #3906]
9793 * bits/in.h (IPV6_PKTINFO): Define new macro.
9794 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
9795
9796 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9797
9798 [BZ #13954]
9799 [BZ #13955]
9800 [BZ #13956]
9801 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
9802 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9803 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
9804 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
9805 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9806 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
9807 * math/libm-test.inc (logb_test) : Additional logb tests.
9808
9809 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
9810 Andreas Jaeger <aj@suse.de>
9811
9812 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
9813 * configure: Regenerated.
9814 * config.h.in (LINK_OBSOLETE_RPC): New macro.
9815 * config.make.in (link-obsolete-rpc): New substituted variable.
9816 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
9817 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
9818 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
9819 (shared-only-routines): Don't set it under [link-obsolete-rpc],
9820 so that libc.a contains the symbols.
9821 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
9822 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
9823 * sunrpc/auth_none.c: Likewise.
9824 * sunrpc/auth_unix.c: Likewise.
9825 * sunrpc/authdes_prot.c: Likewise.
9826 * sunrpc/authuxprot.c: Likewise.
9827 * sunrpc/clnt_gen.c: Likewise.
9828 * sunrpc/clnt_perr.c: Likewise.
9829 * sunrpc/clnt_raw.c: Likewise.
9830 * sunrpc/clnt_simp.c: Likewise.
9831 * sunrpc/clnt_tcp.c: Likewise.
9832 * sunrpc/clnt_udp.c: Likewise.
9833 * sunrpc/clnt_unix.c: Likewise.
9834 * sunrpc/des_crypt.c: Likewise.
9835 * sunrpc/des_soft.c: Likewise.
9836 * sunrpc/get_myaddr.c: Likewise.
9837 * sunrpc/key_call.c: Likewise.
9838 * sunrpc/key_prot.c: Likewise.
9839 * sunrpc/netname.c: Likewise.
9840 * sunrpc/pm_getmaps.c: Likewise.
9841 * sunrpc/pm_getport.c: Likewise.
9842 * sunrpc/pmap_clnt.c: Likewise.
9843 * sunrpc/pmap_prot.c: Likewise.
9844 * sunrpc/pmap_prot2.c: Likewise.
9845 * sunrpc/pmap_rmt.c: Likewise.
9846 * sunrpc/publickey.c: Likewise.
9847 * sunrpc/rpc_cmsg.c: Likewise.
9848 * sunrpc/rpc_common.c: Likewise.
9849 * sunrpc/rpc_dtable.c: Likewise.
9850 * sunrpc/rpc_prot.c: Likewise.
9851 * sunrpc/rpc_thread.c: Likewise.
9852 * sunrpc/rtime.c: Likewise.
9853 * sunrpc/svc.c: Likewise.
9854 * sunrpc/svc_auth.c: Likewise.
9855 * sunrpc/svc_raw.c: Likewise.
9856 * sunrpc/svc_run.c: Likewise.
9857 * sunrpc/svc_tcp.c: Likewise.
9858 * sunrpc/svc_udp.c: Likewise.
9859 * sunrpc/svc_unix.c: Likewise.
9860 * sunrpc/svcauth_des.c: Likewise.
9861 * sunrpc/xcrypt.c: Likewise.
9862 * sunrpc/xdr.c: Likewise.
9863 * sunrpc/xdr_array.c: Likewise.
9864 * sunrpc/xdr_float.c: Likewise.
9865 * sunrpc/xdr_intXX_t.c: Likewise.
9866 * sunrpc/xdr_mem.c: Likewise.
9867 * sunrpc/xdr_rec.c: Likewise.
9868 * sunrpc/xdr_ref.c: Likewise.
9869 * sunrpc/xdr_sizeof.c: Likewise.
9870 * sunrpc/xdr_stdio.c: Likewise.
9871
9872 2012-05-10 Roland McGrath <roland@hack.frob.com>
9873
9874 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
9875 change. Update copyright years.
9876
9877 2012-05-10 Joseph Myers <joseph@codesourcery.com>
9878
9879 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
9880
9881 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
9882 Joseph Myers <joseph@codesourcery.com>
9883 Paul Pluzhnikov <ppluzhnikov@google.com>
9884
9885 [BZ #14012]
9886 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
9887 requiring rpcgen.
9888 [cross-compiling] (extra-libs): Likewise.
9889 [cross-compiling] (extra-libs-others): Likewise.
9890 [cross-compiling] (librpcsvc-routines): Likewise.
9891 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
9892 [cross-compiling] (omit-deps): Likewise.
9893 (sunrpc-CPPFLAGS): New variable.
9894 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
9895 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
9896 (cross-rpcgen-objs): New variable.
9897 (extra-objs): Append $(cross-rpcgen-objs).
9898 ($(cross-rpcgen-objs)): New rule.
9899 ($(objpfx)cross-rpcgen): Likewise.
9900 (rpcgen-cmd): Define to use $(built-program-file). Expand
9901 comment.
9902 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
9903 ($(objpfx)x%.stmp): Likewise.
9904 * sunrpc/proto.h [IS_IN_build] (_): Define.
9905 [IS_IN_build] (_libc_intl_domainname): Likewise.
9906
9907 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9908
9909 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
9910 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
9911 and R_X86_64_TPOFF64.
9912
9913 2012-05-10 Joseph Myers <joseph@codesourcery.com>
9914
9915 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
9916 sysdeps/unix/sysv/syscalls.list.
9917 (stime): Likewise.
9918 (utime): Likewise.
9919 * sysdeps/unix/sysv/syscalls.list: Remove file.
9920
9921 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
9922
9923 [BZ #3440]
9924 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
9925 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
9926 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
9927 (__LC_IDENTIFICATION): Make these macros useful in #if
9928 expressions, as required by C99.
9929
9930 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
9931
9932 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
9933 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
9934 after this.
9935
9936 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
9937
9938 * stdlib/longlong.h: Updated from GCC.
9939
9940 2012-05-09 Andreas Jaeger <aj@suse.de>
9941
9942 * nscd/nscd.c (run_modes): Make named enum, reorder so that
9943 default is first entry.
9944 (run_mode): Set type.
9945 (main): Remove informal message about syslog.
9946 (options): Fix typo.
9947
9948 [BZ #14053]
9949 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
9950 to asm.
9951 (lrint): Likewise.
9952 (llrintf): Likewise.
9953 (llrint): Likewise.
9954 (rint): Likewise.
9955 (rintf): Likewise.
9956 (nearbyint): Likewise.
9957 (nearbyintf): Likewise.
9958
9959 2012-05-09 Andreas Jaeger <aj@suse.de>
9960 Pedro Alves <palves@redhat.com>
9961
9962 * nscd/nscd.c (run_mode): Use enum.
9963 (main): Cleanup coding style issue.
9964
9965 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
9966 Andreas Jaeger <aj@suse.de>
9967
9968 * nscd/nscd.c (go_background): Replaced with...
9969 (run_mode): ... this.
9970 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
9971 (options): Add -F --foreground.
9972 (main): Implement it.
9973 (parse_opt): Parse it.
9974
9975 2012-05-09 Andreas Jaeger <aj@suse.de>
9976
9977 [BZ #14083]
9978 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
9979 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
9980 -Wconversion warning.
9981 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
9982 Likewise.
9983
9984 2012-05-09 Joseph Myers <joseph@codesourcery.com>
9985
9986 * conform/data/locale.h-data (NULL): Use macro-constant. Require
9987 == 0.
9988 (LC_ALL): Use macro-int-constant.
9989 (LC_COLLATE): Likewise.
9990 (LC_CTYPE): Likewise.
9991 (LC_MESSAGES): Likewise.
9992 (LC_MONETARY): Likewise.
9993 (LC_NUMERIC): Likewise.
9994 (LC_TIME): Likewise.
9995 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
9996 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
9997 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9998 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
9999 Specify type.
10000 [C99-based standards] (float_t): Expect type.
10001 [C99-based standards] (double_t): Expect type.
10002 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
10003 type.
10004 [C99-based standards] (HUGE_VALL): Likewise.
10005 [C99-based standards] (INFINITY): Likewise.
10006 [C99-based standards] (NAN): Likewise.
10007 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
10008 [C99-based standards] (FP_NAN): Likewise.
10009 [C99-based standards] (FP_NORMAL): Likewise.
10010 [C99-based standards] (FP_SUBNORMAL): Likewise.
10011 [C99-based standards] (FP_ZERO): Likewise.
10012 [C99-based standards] (FP_FAST_FMA): Use
10013 optional-macro-int-constant. Specify type. Require == 1.
10014 [C99-based standards] (FP_FAST_FMAF): Likewise.
10015 [C99-based standards] (FP_FAST_FMAL): Likewise.
10016 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
10017 [C99-based standards] (FP_ILOGBNAN): Likewise.
10018 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
10019 Specify type.
10020 [C99-based standards] (MATH_ERREXCEPT): Likewise.
10021 [C99-based standards] (math_errhandling): Specify type.
10022 [ISO99 || ISO11] (signgam): Do not allow.
10023 [non-C99-based standards] (copysignf): Do not allow.
10024 [non-C99-based standards] (exp2f): Likewise.
10025 [non-C99-based standards] (log2f): Likewise.
10026 [non-C99-based standards] (modff): Allow.
10027 [non-C99-based standards] (erff): Do not allow.
10028 [non-C99-based standards] (erfcf): Likewise.
10029 [non-C99-based standards] (gammaf): Likewise.
10030 [non-C99-based standards] (hypotf): Likewise.
10031 [non-C99-based standards] (j0f): Likewise.
10032 [non-C99-based standards] (j1f): Likewise.
10033 [non-C99-based standards] (jnf): Likewise.
10034 [non-C99-based standards] (lgammaf): Likewise.
10035 [non-C99-based standards] (tgammaf): Likewise.
10036 [non-C99-based standards] (y0f): Likewise.
10037 [non-C99-based standards] (y1f): Likewise.
10038 [non-C99-based standards] (ynf): Likewise.
10039 [non-C99-based standards] (isnanf): Likewise.
10040 [non-C99-based standards] (acoshf): Likewise.
10041 [non-C99-based standards] (asinhf): Likewise.
10042 [non-C99-based standards] (atanhf): Likewise.
10043 [non-C99-based standards] (cbrtf): Likewise.
10044 [non-C99-based standards] (expm1f): Likewise.
10045 [non-C99-based standards] (ilogbf): Likewise.
10046 [non-C99-based standards] (log1pf): Likewise.
10047 [non-C99-based standards] (logbf): Likewise.
10048 [non-C99-based standards] (nextafterf): Likewise.
10049 [non-C99-based standards] (remainderf): Likewise.
10050 [non-C99-based standards] (rintf): Likewise.
10051 [non-C99-based standards] (scalbf): Likewise.
10052 [non-C99-based standards] (copysignl): Likewise.
10053 [non-C99-based standards] (exp2l): Likewise.
10054 [non-C99-based standards] (log2l): Likewise.
10055 [non-C99-based standards] (modfl): Allow.
10056 [non-C99-based standards] (erfl): Do not allow.
10057 [non-C99-based standards] (erfcl): Likewise.
10058 [non-C99-based standards] (gammal): Likewise.
10059 [non-C99-based standards] (hypotl): Likewise.
10060 [non-C99-based standards] (j0l): Likewise.
10061 [non-C99-based standards] (j1l): Likewise.
10062 [non-C99-based standards] (jnl): Likewise.
10063 [non-C99-based standards] (lgammal): Likewise.
10064 [non-C99-based standards] (tgammal): Likewise.
10065 [non-C99-based standards] (y0l): Likewise.
10066 [non-C99-based standards] (y1l): Likewise.
10067 [non-C99-based standards] (ynl): Likewise.
10068 [non-C99-based standards] (isnanl): Likewise.
10069 [non-C99-based standards] (acoshl): Likewise.
10070 [non-C99-based standards] (asinhl): Likewise.
10071 [non-C99-based standards] (atanhl): Likewise.
10072 [non-C99-based standards] (cbrtl): Likewise.
10073 [non-C99-based standards] (expm1l): Likewise.
10074 [non-C99-based standards] (ilogbl): Likewise.
10075 [non-C99-based standards] (log1pl): Likewise.
10076 [non-C99-based standards] (logbl): Likewise.
10077 [non-C99-based standards] (nextafterl): Likewise.
10078 [non-C99-based standards] (remainderl): Likewise.
10079 [non-C99-based standards] (rintl): Likewise.
10080 [non-C99-based standards] (scalbl): Likewise.
10081 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10082 [non-C99-based standards] (FP_*): Do not allow.
10083 [C99-based standards] (FP_*): Change to
10084 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
10085 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10086 allow.
10087 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
10088 (SIG_ERR): Likewise.
10089 [X/Open-based standards] (SIG_HOLD): Likewise.
10090 (SIG_IGN): Likewise.
10091 (SIGABRT): Use macro-int-constant. Specify type. Require
10092 positive value.
10093 (SIGFPE): Likewise.
10094 (SIGILL): Likewise.
10095 (SIGINT): Likewise.
10096 (SIGSEGV): Likewise.
10097 (SIGTER): Likewise.
10098 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
10099 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
10100 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
10101 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
10102 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
10103 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
10104 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
10105 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
10106 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
10107 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
10108 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
10109 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
10110 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
10111 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
10112 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
10113 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
10114 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
10115 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
10116 [X/Open-based standards] (SIGTRAP): Likewise.
10117 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
10118 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
10119 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
10120 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
10121 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10122 allow.
10123
10124 2012-05-08 Ian Wienand <ianw@vmware.com>
10125
10126 [BZ #14080]
10127 * time/tzset.c (__tzset_parse_tz): Update default rules for
10128 daylight time changes in the Energy Policy Act of 2005.
10129
10130 2012-05-09 Andreas Jaeger <aj@suse.de>
10131
10132 [BZ #13983]
10133 * elf/ldconfig.c (parse_conf): Change string to make clear that
10134 ldconfig only issued a warning if ld.so.conf does not exist.
10135
10136 2012-05-08 David S. Miller <davem@davemloft.net>
10137
10138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
10139 movxtod instead of popping the value on the stack.
10140
10141 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10142
10143 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
10144
10145 * config.h.in: Add HAVE_ARM_PCS_VFP.
10146
10147 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
10148
10149 [BZ #13979]
10150 * include/features.h: Warn if user requests __FORTIFY_SOURCE
10151 checking but the checks are disabled for any reason.
10152
10153 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
10154
10155 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
10156 and ELF64_R_TYPE with ELFW(R_TYPE).
10157
10158 2012-05-08 Joseph Myers <joseph@codesourcery.com>
10159
10160 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
10161 (ulimit): Likewise.
10162
10163 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
10164 (settimeofday): Likewise.
10165
10166 2012-05-08 Mike Frysinger <vapier@gentoo.org>
10167
10168 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
10169 a struct th_u2 inside the union, and move tu_block/tu_code into
10170 a new th_u3 union of tu_block/tu_code inside of that. Move
10171 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
10172 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
10173 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
10174 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
10175 (th_stuff): Change to th_u1.tu_stuff.
10176 (th_data): Define.
10177 (th_msg): Change to th_u1.th_u2.tu_data.
10178
10179 2012-05-07 David S. Miller <davem@davemloft.net>
10180
10181 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10182
10183 [BZ #14074]
10184 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
10185 (SETUP_PIC_REG): Use it.
10186 (SETUP_PIC_REG_LEAF): Use it.
10187
10188 2012-05-07 Joseph Myers <joseph@codesourcery.com>
10189
10190 [BZ #13885]
10191 [BZ #13923]
10192 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10193 USE_AS_EXPM1L.
10194 (EXPL_FINITE): Likewise.
10195 (FLDLOG): Likewise.
10196 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
10197 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
10198 e_expl.S.
10199 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10200 USE_AS_EXPM1L.
10201 (EXPL_FINITE): Likewise.
10202 (FLDLOG): Likewise.
10203 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
10204 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
10205 e_expl.S.
10206 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
10207 test of -max_value argument for long double.
10208 * sysdeps/i386/fpu/libm-test-ulps: Update.
10209 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10210
10211 2012-05-06 David S. Miller <davem@davemloft.net>
10212
10213 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
10214 quad soft-float symbols whose references which are compiler
10215 generated.
10216 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
10217
10218 2012-05-06 Joseph Myers <joseph@codesourcery.com>
10219
10220 [BZ #13884]
10221 [BZ #13914]
10222 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10223 USE_AS_EXP10L.
10224 (EXPL_FINITE): Likewise.
10225 (FLDLOG): Likewise.
10226 (c0): Likewise.
10227 (c1): Likewise.
10228 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
10229 Adjust comments for base varying.
10230 (__expl_finite): Change alias to EXPL_FINITE.
10231 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
10232 e_expl.S.
10233 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
10234 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
10235 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
10236 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
10237 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10238 USE_AS_EXP10L.
10239 (EXPL_FINITE): Likewise.
10240 (FLDLOG): Likewise.
10241 (c0): Likewise.
10242 (c1): Likewise.
10243 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
10244 Adjust comments for base varying.
10245 (__expl_finite): Change alias to EXPL_FINITE.
10246 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
10247 tests for bugs.
10248 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10249
10250 [BZ #14064]
10251 * math/libm-test.inc (check_float_internal): Correct ulp
10252 calculation for subnormal expected results.
10253
10254 2012-05-06 Andreas Jaeger <aj@suse.de>
10255
10256 * Makeconfig (+math-flags): New, set to -frounding-math.
10257 (+cflags): Add +math-flags so that all of glibc gets compiled with
10258 it.
10259
10260 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
10261
10262 2012-05-05 Joseph Myers <joseph@codesourcery.com>
10263
10264 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
10265 Disable one test.
10266
10267 [BZ #13787]
10268 [BZ #13922]
10269 [BZ #14036]
10270 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
10271 (__ieee754_expl): Allow for and saturate large arguments.
10272 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
10273 (u_threshold): Likewise.
10274 (__exp): Call __ieee754_exp before checking for overflow and
10275 underflow.
10276 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
10277 (u_threshold): Likewise.
10278 (__expf): Call __ieee754_expf before checking for overflow and
10279 underflow.
10280 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
10281 (u_threshold): Likewise.
10282 (__expl): Call __ieee754_expl before checking for overflow and
10283 underflow.
10284 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
10285 (__ieee754_expl): Allow for and saturate large arguments.
10286 * math/libm-test.inc (exp_test): Add another test. Do not allow
10287 missing overflow exception on overflow.
10288 (expm1_test): Do not allow missing overflow exception on overflow.
10289
10290 * sysdeps/i386/fpu/e_expl.c: Move to ...
10291 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
10292 rather than using inline asm.
10293 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
10294 * sysdeps/x86_64/fpu/e_expl.S: Copy from
10295 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
10296
10297 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
10298 (nice): Likewise.
10299 (poll): Likewise.
10300 (signal): Likewise.
10301 (time): Likewise.
10302 (times): Likewise.
10303
10304 2012-05-04 Joseph Myers <joseph@codesourcery.com>
10305
10306 * sysdeps/unix/syscalls.list (adjtime): Add entry from
10307 sysdeps/unix/common/syscalls.list.
10308 (fchmod): Likewise.
10309 (fchown): Likewise.
10310 (ftruncate): Likewise.
10311 (getrusage): Likewise.
10312 (gettimeofday): Likewise.
10313 (setpgid): Likewise.
10314 (setregid): Likewise.
10315 (setreuid): Likewise.
10316 (sigaction): Likewise.
10317 (truncate): Likewise.
10318 (vhangup): Likewise.
10319 * sysdeps/unix/common/syscalls.list: Remove file.
10320 * sysdeps/unix/bsd/Implies: Don't include unix/common.
10321 * sysdeps/unix/sysv/linux/Implies: Likewise.
10322
10323 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
10324
10325 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
10326 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
10327 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
10328 Moved to ...
10329 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
10330 Here.
10331 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
10332 to ...
10333 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
10334 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
10335 to ...
10336 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
10337 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
10338 to ...
10339 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
10340 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
10341 to ...
10342 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
10343 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
10344 to ...
10345 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
10346 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
10347 to ...
10348 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
10349 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
10350 to ...
10351 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
10352 Here.
10353 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
10354 to ...
10355 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
10356 Here.
10357 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
10358 to ...
10359 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
10360 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
10361 Moved to ...
10362 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
10363 Here.
10364 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
10365 to ...
10366 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
10367
10368 2012-05-04 Joseph Myers <joseph@codesourcery.com>
10369
10370 * sysdeps/unix/common/bits/dirent.h: Remove file.
10371 * sysdeps/unix/common/bits/fcntl.h: Likewise.
10372
10373 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
10374 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
10375 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
10376 * sysdeps/unix/bsd/isatty.c: Likewise.
10377 * sysdeps/unix/bsd/tcdrain.c: Likewise.
10378 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
10379 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
10380
10381 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10382
10383 [BZ #13563]
10384 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
10385 long double comparison inaccuracies.
10386 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
10387 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10388
10389 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
10390
10391 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
10392 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
10393
10394 2012-05-04 Joseph Myers <joseph@codesourcery.com>
10395
10396 [BZ #14049]
10397 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
10398 nonzero digits before rounding a hex value.
10399 * stdlib/tst-strtod.c (tests): Add another test.
10400
10401 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10402
10403 * sysdeps/s390/fpu/libm-test-ulps: Update.
10404
10405 2012-05-03 Andreas Jaeger <aj@suse.de>
10406
10407 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
10408 does not get optimized out.
10409 (malloc_opt_barrier): New.
10410
10411 2012-05-03 Andreas Jaeger <aj@suse.de>
10412 Roland McGrath <roland@hack.frob.com>
10413
10414 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
10415 intermediate file deletion.
10416 (generated): Add .symlist files.
10417
10418 2012-05-03 Joseph Myers <joseph@codesourcery.com>
10419
10420 [BZ #13775]
10421 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
10422 Redirect under this condition.
10423 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
10424 [__USE_GNU] (__dprintf_chk): Not under this condition.
10425 [__USE_GNU] (__vdprintf_chk): Likewise.
10426 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
10427 under this condition.
10428 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
10429 [__USE_XOPEN2K8] (dprintf): Define under this condition.
10430 [__USE_XOPEN2K8] (vdprintf): Likewise.
10431 [__USE_GNU] (__dprintf_chk): Not under this condition.
10432 [__USE_GNU] (__vdprintf_chk): Likewise.
10433 [__USE_GNU] (dprintf): Likewise.
10434 [__USE_GNU] (vdprintf): Likewise.
10435
10436 2012-05-03 Roland McGrath <roland@hack.frob.com>
10437
10438 * elf/Makefile (common-generated): Set this instead of generated for
10439 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
10440 $(all-built-dso)-derived lists.
10441
10442 2012-05-03 Andreas Jaeger <aj@suse.de>
10443
10444 * sysdeps/i386/fpu/libm-test-ulps: Update.
10445
10446 * FAQ: Removed.
10447 * FAQ.in: Likewise.
10448 * scripts/gen-FAQ.pl: Likewise.
10449 * manual/install.texi (Installation): Point to online location of
10450 FAQ.
10451 * Makefile (files-for-dist): Remove FAQ.
10452 (FAQ): Remove.
10453
10454 2012-05-02 Allan McRae <allan@archlinux.org>
10455
10456 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
10457 (LDFLAGS-reldepmod5.so): Likewise.
10458 (LDFLAGS-reldep6mod1.so): Likewise.
10459 (LDFLAGS-reldep6mod4.so): Likewise.
10460 (LDFLAGS-reldep8mod3.so): Likewise.
10461 (LDFLAGS-unload4mod1.so): Likewise.
10462 (LDFLAGS-unload4mod2.so): Likewise.
10463 (LDFLAGS-tst-initorder): Likewise.
10464 (LDFLAGS-tst-initordera2.so): Likewise.
10465 (LDFLAGS-tst-initordera3.so): Likewise.
10466 (LDFLAGS-tst-initordera4.so): Likewise.
10467 (LDFLAGS-tst-initorderb2.so): Likewise.
10468 (LDFLAGS-noload): Likewise.
10469 (LDFLAGS-next): Likewise.
10470 (LDFLAGS-order2mod1.so): Likewise.
10471 (LDFLAGS-order2mod2.so): Likewise.
10472 (LDFLAGS-tst-initorder2): Likewise.
10473 (LDFLAGS-tst-initorder2a.so): Likewise.
10474 (LDFLAGS-tst-initorder2b.so): Likewise.
10475 (LDFLAGS-tst-initorder2c.so): Likewise.
10476 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
10477
10478 2012-05-02 David S. Miller <davem@davemloft.net>
10479
10480 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10481
10482 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
10483
10484 [BZ #14055]
10485 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
10486
10487 2012-05-02 Andreas Jaeger <aj@suse.de>
10488
10489 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
10490 since we manipulate rounding mode.
10491 (CPPFLAGS-test-idouble.c): Likewise.
10492 (CPPFLAGS-test-ifloat.c): Likewise.
10493 (CFLAGS-test-ldouble.c): Likewise.
10494 (CFLAGS-test-double.c): Likewise.
10495 (CFLAGS-test-float.c): Likewise.
10496 (CFLAGS-test-misc.c): Likewise.
10497 (CFLAGS-test-test-fenv.c): Likewise.
10498
10499 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10500
10501 [BZ #2550]
10502 [BZ #2570]
10503 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
10504 comparisons to determine direction to adjust input.
10505
10506 2012-05-01 Roland McGrath <roland@hack.frob.com>
10507
10508 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
10509 output to the target.
10510
10511 * scripts/localplt.awk: New file.
10512 * elf/Makefile ($(objpfx)check-localplt): Target removed.
10513 (check-localplt-CFLAGS): Variable removed.
10514 ($(all-built-dso:=.jmprel)): New static pattern rule.
10515 (generated): Add those targets.
10516 (localplt-built-dso): New variable.
10517 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
10518
10519 * elf/check-localplt.c: File removed.
10520
10521 * scripts/check-execstack.awk: New file.
10522 * elf/Makefile ($(objpfx)check-execstack): Target removed.
10523 (check-execstack-CFLAGS): Variable removed.
10524 ($(objpfx)check-execstack.h): Target removed.
10525 ($(objpfx)execstack-default): New target.
10526 (generated): Add that instead of check-execstack.h.
10527 ($(all-built-dso:=.phdr)): New static pattern rule.
10528 (generated): Add those targets.
10529 * elf/check-execstack.c: File removed.
10530
10531 * scripts/check-textrel.awk: New file.
10532 * elf/Makefile ($(objpfx)check-textrel): Target removed.
10533 (check-textrel-CFLAGS): Variable removed.
10534 (all-built-dso): Use := to define.o
10535 ($(all-built-dso:=.dyn)): New static pattern rule.
10536 (generated): Add those targets.
10537 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
10538 * config.make.in (READELF): New substituted variable.
10539 * elf/check-textrel.c: File removed.
10540
10541 2012-05-01 Joseph Myers <joseph@codesourcery.com>
10542
10543 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10544 allow.
10545 * conform/data/ctype.h-data [C99-based standards] (isblank):
10546 Expect function.
10547 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
10548 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
10549 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10550 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
10551 Specify type. Require positive value.
10552 (EILSEQ): Likewise.
10553 (ERANGE): Likewise.
10554 [ISO || POSIX] (EILSEQ): Do not expect.
10555 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
10556 Specify type. Require positive value.
10557 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
10558 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
10559 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
10560 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
10561 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
10562 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
10563 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
10564 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
10565 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
10566 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
10567 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
10568 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
10569 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
10570 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
10571 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
10572 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
10573 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
10574 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
10575 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
10576 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
10577 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
10578 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
10579 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
10580 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
10581 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
10582 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
10583 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
10584 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
10585 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
10586 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
10587 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
10588 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
10589 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
10590 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
10591 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
10592 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
10593 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
10594 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
10595 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
10596 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
10597 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
10598 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
10599 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
10600 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
10601 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
10602 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
10603 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
10604 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
10605 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
10606 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
10607 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
10608 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
10609 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
10610 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
10611 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
10612 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
10613 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
10614 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
10615 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
10616 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
10617 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
10618 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
10619 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
10620 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
10621 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
10622 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
10623 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
10624 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
10625 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
10626 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
10627 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
10628 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
10629 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
10630 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
10631 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
10632 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
10633 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
10634 Require >= 2.
10635 (FLT_ROUNDS): Expect as macro, not constant.
10636 (FLT_MANT_DIG): Use macro-int-constant.
10637 (DBL_MANT_DIG): Likewise.
10638 (LDBL_MANT_DIG): Likewise.
10639 (FLT_DIG): Likewise.
10640 (DBL_DIG): Likewise.
10641 (LDBL_DIG): Likewise.
10642 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
10643 (DBL_MIN_EXP): Likewise.
10644 (LDBL_MIN_EXP): Likewise.
10645 (FLT_MAX_EXP): Use macro-int-constant.
10646 (DBL_MAX_EXP): Likewise.
10647 (LDBL_MAX_EXP): Likewise.
10648 (FLT_MAX_10_EXP): Likewise.
10649 (DBL_MAX_10_EXP): Likewise.
10650 (LDBL_MAX_10_EXP): Likewise.
10651 (FLT_MAX): Use macro-constant.
10652 (DBL_MAX): Likewise.
10653 (LDBL_MAX): Likewise.
10654 (FLT_EPSILON): Use macro-constant. Give upper bound.
10655 (DBL_EPSILON): Likewise.
10656 (LDBL_EPSILON): Likewise.
10657 (FLT_MIN): Likewise.
10658 (DBL_MIN): Likewise.
10659 (LDBL_MIN): Likewise.
10660 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
10661 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
10662 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
10663 [ISO11] (FLT_HAS_SUBNORM): Likewise.
10664 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
10665 [ISO11] (DBL_DECIMAL_DIG): Likewise.
10666 [ISO11] (FLT_DECIMAL_DIG): Likewise.
10667 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
10668 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
10669 [ISO11] (FLT_TRUE_MIN): Likewise.
10670 [ISO11] (LDBL_TRUE_MIN): Likewise.
10671 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10672 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
10673 (SCHAR_MIN): Use macro-int-constant. Specify type.
10674 (SCHAR_MAX): Likewise.
10675 (UCHAR_MAX): Likewise.
10676 (CHAR_MIN): Likewise.
10677 (CHAR_MAX): Likewise.
10678 (MB_LEN_MAX): Use macro-int-constant.
10679 (SHRT_MIN): Use macro-int-constant. Specify type.
10680 (SHRT_MAX): Likewise.
10681 (USHRT_MAX): Likewise.
10682 (INT_MAX): Likewise.
10683 (INT_MIN): Use macro-int-constant. Specify type. Make upper
10684 bound negative.
10685 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
10686 bound with "U".
10687 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
10688 bound with "L".
10689 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
10690 bound negative. Suffix upper bound with "L".
10691 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
10692 bound with "UL".
10693 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
10694 Specify type.
10695 [C99-based standards] (LLONG_MAX): Likewise.
10696 [C99-based standards] (ULLONG_MAX): Likewise.
10697 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
10698 == 0.
10699 [ISO11] (max_align_t): Require type.
10700 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10701
10702 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
10703 from $CFLAGS, without defining away __attribute__ calls.
10704 (checknamespace): Use $CFLAGS_namespace.
10705
10706 * conform/conformtest.pl (@keywords): Only include C99 keywords
10707 for standards based on C99 or C11.
10708
10709 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
10710 Disable tests.
10711 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
10712 UNIX98]: Likewise.
10713
10714 * conform/conformtest.pl: Handle "macro-int-constant" and test for
10715 usability of symbols in #if.
10716
10717 * conform/conformtest.pl: If macro or constant types start
10718 "promoted:", expect the symbol to be of the following type
10719 promoted by the integer promotions.
10720
10721 * conform/conformtest.pl: Parse all "constant" and "macro" lines
10722 in one place. Also handle "macro-constant".
10723
10724 * conform/conformtest.pl: Only accept expected macro values with
10725 "==". Parse all "macro" lines in one place.
10726 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
10727
10728 * conform/conformtest.pl: Handle braced types on "constant" lines
10729 instead of handling "typed-constant".
10730 * conform/data/signal.h-data: Use "constant" instead of
10731 "typed-constant".
10732
10733 * conform/conformtest.pl: Handle "optional-" at start of lines in
10734 one place rather than duplicating several cases. Handle each
10735 format of "macro" line with initial "optional-".
10736
10737 * conform/conformtest.pl: Only accept expected constant or
10738 optional-constant values with "==". Parse all "constant" lines in
10739 one place. Parse all "optional-constant" lines in one place.
10740 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
10741 * conform/data/fmtmsg.h-data: Likewise.
10742 * conform/data/netinet/in.h-data: Likewise.
10743 * conform/data/tar.h-data: Likewise.
10744 * conform/data/limits.h-data: Use "==" form on "constant" and
10745 "optional-constant" lines.
10746
10747 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
10748 Use -std=c99 for XOPEN2K.
10749 (@knownproblems): Remove.
10750 (newtoken): Don't check %isknown.
10751
10752 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
10753 Do not expect macro.
10754 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
10755 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
10756 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
10757 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
10758 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
10759 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
10760 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
10761 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
10762 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
10763 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
10764 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
10765 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
10766 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
10767 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
10768 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
10769 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
10770 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
10771 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
10772 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
10773 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
10774 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
10775 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
10776 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
10777 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
10778 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
10779 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
10780 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
10781 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
10782 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
10783 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
10784 [XPG3] (acosh): Likewise.
10785 [XPG3] (asinh): Likewise.
10786 [XPG3] (atanh): Likewise.
10787 [XPG3] (cbrt): Likewise.
10788 [XPG3] (expm1): Likewise.
10789 [XPG3] (ilogb): Likewise.
10790 [XPG3] (log1p): Likewise.
10791 [XPG3] (logb): Likewise.
10792 [XPG3] (nextafter): Likewise.
10793 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
10794 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
10795 [XPG3] (remainder): Likewise.
10796 [XPG3] (rint): Likewise.
10797 [XPG3 || XPG4 || UNIX98] (round): Likewise.
10798 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
10799 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
10800 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
10801 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
10802 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
10803 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
10804 [UNIX98 || XOPEN2K] (scalb): Expect.
10805 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
10806 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
10807 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
10808 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
10809 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
10810 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
10811 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
10812 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
10813 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
10814 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
10815 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
10816 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
10817 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
10818 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
10819 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
10820 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
10821 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
10822 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
10823 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
10824 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
10825 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
10826 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
10827 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
10828 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
10829 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
10830 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
10831 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
10832 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
10833 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
10834 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
10835 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
10836 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
10837 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
10838 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
10839 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
10840 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
10841 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
10842 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
10843 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
10844 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
10845 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
10846 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
10847 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
10848 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
10849 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
10850 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
10851 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
10852 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
10853 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
10854 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
10855 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
10856 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
10857 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
10858 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
10859 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
10860 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
10861 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
10862 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
10863 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
10864 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
10865 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
10866 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
10867 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
10868 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
10869 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
10870 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
10871 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
10872 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
10873 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
10874 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
10875 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
10876 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
10877 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
10878 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
10879 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
10880 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
10881 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
10882 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
10883 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
10884 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
10885 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
10886 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
10887 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
10888 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
10889 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
10890 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
10891 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
10892 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
10893 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
10894 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
10895 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
10896 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
10897 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
10898 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
10899 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
10900 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
10901 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
10902 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
10903 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
10904 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
10905 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
10906 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
10907 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
10908 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
10909 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
10910 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
10911 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
10912 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
10913 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
10914 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
10915 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
10916 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
10917 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
10918 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
10919 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
10920 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
10921 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
10922 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
10923 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
10924 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
10925 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
10926 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
10927 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
10928 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
10929 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
10930 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
10931 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
10932 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
10933 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
10934 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
10935 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
10936 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
10937 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
10938 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
10939 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
10940 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
10941 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
10942
10943 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
10944 _XOPEN_SOURCE_EXTENDED for XPG4.
10945
10946 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
10947
10948 * Makeconfig (localtime): Remove variable.
10949 (inst_localtime-file): Likewise.
10950
10951 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
10952
10953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
10954 Update.
10955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10956 Update.
10957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
10958 Update.
10959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
10960 Update.
10961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
10962 Update.
10963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
10964 Update.
10965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10966 Update.
10967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
10968 Update.
10969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10970 Update.
10971
10972 2012-05-01 Joseph Myers <joseph@codesourcery.com>
10973
10974 [BZ #2550]
10975 [BZ #2570]
10976 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
10977 comparisons to determine direction to adjust input.
10978 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
10979 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
10980 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
10981 Likewise.
10982 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
10983 Likewise.
10984 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
10985 Likewise.
10986 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
10987 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
10988 Likewise.
10989 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
10990 Likewise.
10991 * math/libm-test.inc (nexttoward_test): Add more tests.
10992
10993 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
10994
10995 [BZ #14040]
10996 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
10997 in version GLIBC_2.1, not GLIBC_2.0.
10998 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
10999 Likewise.
11000
11001 2012-04-30 Joseph Myers <joseph@codesourcery.com>
11002
11003 [BZ #13942]
11004 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
11005 (1 - x) * (1 + x).
11006 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
11007 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
11008 * math/libm-test.inc (acos_test): Add more tests.
11009 (asin_test): Likewise.
11010 * sysdeps/i386/fpu/libm-test-ulps: Update.
11011 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11012
11013 [BZ #14034]
11014 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
11015 of square root.
11016 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
11017 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
11018 * math/libm-test.inc (acos_test_tonearest): New function.
11019 (acos_test_towardzero): Likewise.
11020 (acos_test_downward): Likewise.
11021 (acos_test_upward): Likewise.
11022 (asin_test_tonearest): Likewise.
11023 (asin_test_towardzero): Likewise.
11024 (asin_test_downward): Likewise.
11025 (asin_test_upward): Likewise.
11026 (main): Call the new functions.
11027 * sysdeps/i386/fpu/libm-test-ulps: Update.
11028 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11029
11030 [BZ #13884]
11031 [BZ #13924]
11032 * math/e_exp10.c: Include <float.h>.
11033 (__ieee754_exp10): Handle underflow here rather than multiplying
11034 large negative argument by M_LN10.
11035 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
11036 of __ieee754_expf.
11037 * math/e_exp10l.c: Include <float.h>.
11038 (__ieee754_exp10l): Handle underflow here rather than multiplying
11039 large negative argument by M_LN10l.
11040 * math/libm-test.inc (exp10_test): Add another test. Do not allow
11041 spurious overflow exception on underflow.
11042
11043 2012-04-29 Marek Polacek <polacek@redhat.com>
11044
11045 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
11046 (__fortify_function): New macro.
11047 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
11048 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
11049 __extern_always_inline.
11050 * libio/bits/stdio2.h: Likewise.
11051 * libio/bits/stdio.h: Likewise.
11052 * string/string.h: Likewise.
11053 * string/bits/string3.h: Likewise.
11054 * include/stdio.h: Likewise.
11055 * stdlib/bits/stdlib.h: Likewise.
11056 * stdlib/stdlib.h: Likewise.
11057 * rt/bits/mqueue2.h: Likewise.
11058 * rt/mqueue.h: Likewise.
11059 * posix/bits/unistd.h: Likewise.
11060 * posix/unistd.h: Likewise.
11061 * io/bits/poll2.h: Likewise.
11062 * io/bits/fcntl2.h: Likewise.
11063 * io/fcntl.h: Likewise.
11064 * io/sys/poll.h: Likewise.
11065 * misc/bits/syslog.h: Likewise.
11066 * misc/bits/syslog-ldbl.h: Likewise.
11067 * misc/sys/syslog.h: Likewise.
11068 * socket/bits/socket2.h: Likewise.
11069 * socket/sys/socket.h: Likewise.
11070 * debug/tst-chk1.c: Likewise.
11071 * wcsmbs/bits/wchar2.h: Likewise.
11072 * wcsmbs/bits/wchar-ldbl.h: Likewise.
11073 * wcsmbs/wchar.h: Likewise.
11074
11075 2012-04-29 Andreas Jaeger <aj@suse.de>
11076
11077 * Makerules (tests): Remove enable-check-abi protection.
11078 (check-abi-warn): Remove.
11079 (check-abi-%): Remove check-abi-warn usage.
11080
11081 * configure.in: Remove check-abi configure option.
11082 * configure: Regenerated.
11083 * config.make.in (enable-check-abi): Remove.
11084
11085 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
11086
11087 [BZ #14033]
11088 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
11089 double functions to double *_finite functions.
11090
11091 [BZ #13941]
11092 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
11093 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
11094 LDBL_MIN_EXP.
11095 * stdio-common/Makefile (tests): Add tst-sprintf3.
11096 * stdio-common/tst-sprintf3.c: New file.
11097
11098 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
11099 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
11100
11101 2012-04-28 Joseph Myers <joseph@codesourcery.com>
11102
11103 * conform/conformtest.pl: Remove duplicate typed-constant
11104 handling.
11105
11106 2012-04-28 David S. Miller <davem@davemloft.net>
11107
11108 * Makerules (%.abilist): Add vpath on sysdep_dirs.
11109 (check-abi-%): Remove AWK script prerequisite and explicit
11110 abilist directory.
11111 (check-abi): Rewrite to just diff the symlist with the abilist.
11112 (config-tls, config-abi-config): Delete, no longer used.
11113 (update-abi-%): Remove AWK script and explicit abilist directory.
11114 (update-abi): Rewrite to simply compare and conditionally copy the
11115 symlist and the sysdep abilist file. Remove update-abi-config
11116 checks.
11117 * abilist/ld.abilist: Remove.
11118 * abilist/libBrokenLocale.abilist: Remove.
11119 * abilist/libanl.abilist: Remove.
11120 * abilist/libcrypt.abilist: Remove.
11121 * abilist/libdl.abilist: Remove.
11122 * abilist/librt.abilist: Remove.
11123 * abilist/libthread_db.abilist: Remove.
11124 * abilist/libutil.abilist: Remove.
11125 * scripts/extract-abilist.awk: Remove.
11126 * scripts/merge-abilist.awk: Remove.
11127 * sysdeps/generic/libcidn.abilist: New file.
11128 * sysdeps/generic/libnss_compat.abilist: New file.
11129 * sysdeps/generic/libnss_db.abilist: New file.
11130 * sysdeps/generic/libnss_dns.abilist: New file.
11131 * sysdeps/generic/libnss_files.abilist: New file.
11132 * sysdeps/generic/libnss_hesiod.abilist: New file.
11133 * sysdeps/generic/libnss_nis.abilist: New file.
11134 * sysdeps/generic/libnss_nisplus.abilist: New file.
11135 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
11136 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
11137 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
11138 file.
11139 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
11140 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
11141 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
11142 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
11143 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
11144 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
11145 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
11146 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
11147 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
11148 file.
11149 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
11150 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
11151 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
11152 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
11153 file.
11154 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
11155 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
11156 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
11157 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
11158 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
11159 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
11160 file.
11161 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
11162 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
11163 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
11164 file.
11165 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
11166 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
11167 New file.
11168 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
11169 New file.
11170 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
11171 New file.
11172 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
11173 New file.
11174 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
11175 New file.
11176 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
11177 New file.
11178 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
11179 New file.
11180 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
11181 New file.
11182 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
11183 New file.
11184 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
11185 New file.
11186 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
11187 New file.
11188 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
11189 New file.
11190 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
11191 New file.
11192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
11193 file.
11194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
11195 New file.
11196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
11197 New file.
11198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
11199 file.
11200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
11201 New file.
11202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
11203 New file.
11204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
11205 file.
11206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
11207 New file.
11208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11209 New file.
11210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
11211 New file.
11212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
11213 New file.
11214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
11215 New file.
11216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
11217 New file.
11218 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
11219 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
11220 file.
11221 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
11222 New file.
11223 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
11224 file.
11225 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
11226 file.
11227 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
11228 file.
11229 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
11230 file.
11231 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
11232 file.
11233 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11234 New file.
11235 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
11236 file.
11237 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
11238 file.
11239 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
11240 New file.
11241 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
11242 file.
11243 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
11244 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
11245 file.
11246 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
11247 New file.
11248 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
11249 file.
11250 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
11251 file.
11252 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
11253 file.
11254 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
11255 file.
11256 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
11257 file.
11258 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11259 New file.
11260 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
11261 file.
11262 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
11263 file.
11264 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
11265 New file.
11266 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
11267 file.
11268 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
11269 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
11270 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
11271 file.
11272 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
11273 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
11274 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
11275 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
11276 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
11277 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
11278 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
11279 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
11280 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
11281 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
11282 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
11283 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
11284 file.
11285 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
11286 New file.
11287 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
11288 file.
11289 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
11290 file.
11291 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
11292 file.
11293 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
11294 file.
11295 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
11296 file.
11297 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11298 New file.
11299 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
11300 New file.
11301 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
11302 file.
11303 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
11304 New file.
11305 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
11306 file.
11307 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
11308 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
11309 file.
11310 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
11311 New file.
11312 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
11313 file.
11314 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
11315 file.
11316 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
11317 file.
11318 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
11319 file.
11320 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
11321 file.
11322 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11323 New file.
11324 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
11325 New file.
11326 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
11327 file.
11328 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
11329 New file.
11330 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
11331 file.
11332
11333 2012-04-28 Joseph Myers <joseph@codesourcery.com>
11334
11335 * conform/conformtest.pl: Fix typo in handling typed-constant from
11336 allow-header.
11337
11338 2012-04-27 Joseph Myers <joseph@codesourcery.com>
11339
11340 * README: Cut down references to pre-2.6 Linux kernels and
11341 Linuxthreads. Update lists of configurations in libc and ports
11342 and sort alphabetically. Say "or newer" with Linux kernel version
11343 requirements.
11344
11345 * config.h.in [IS_IN_build]: Allow compiling without optimization.
11346
11347 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11348
11349 [BZ #887]
11350 * math/libm-test.inc (logb_test_downward): New test to expose
11351 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
11352 rounding mode.
11353
11354 2012-04-27 Joseph Myers <joseph@codesourcery.com>
11355
11356 [BZ #14027]
11357 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
11358 to be done.
11359 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
11360 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
11361
11362 2012-04-26 Joseph Myers <joseph@codesourcery.com>
11363
11364 * sysdeps/unix/i386/brk.S: Remove file.
11365 * sysdeps/unix/i386/dl-brk.S: Likewise.
11366 * sysdeps/unix/i386/pipe.S: Likewise.
11367 * sysdeps/unix/i386/sigreturn.S: Likewise.
11368 * sysdeps/unix/i386/syscall.S: Likewise.
11369 * sysdeps/unix/i386/vfork.S: Likewise.
11370 * sysdeps/unix/i386/wait.S: Likewise.
11371
11372 * sysdeps/unix/common/tcsendbrk.c: Move to ...
11373 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
11374
11375 * configure.in (arm*-none*): Do not allow without
11376 --enable-hacker-mode.
11377 (netbsd*): Remove case setting base_os.
11378 (386bsd*): Likewise.
11379 (freebsd*): Likewise.
11380 (bsdi*): Likewise.
11381 (osf*): Likewise.
11382 (sunos*): Likewise.
11383 (ultrix*): Likewise.
11384 (newsos*): Likewise.
11385 (dynix*): Likewise.
11386 (*bsd*): Likewise.
11387 (sysv*): Likewise.
11388 (isc*): Likewise.
11389 (esix*): Likewise.
11390 (sco*): Likewise.
11391 (minix*): Likewise.
11392 (irix4*): Likewise.
11393 (irix6*): Likewise.
11394 (solaris[2-9]*): Likewise.
11395 (none): Likewise.
11396 * configure: Regenerated.
11397
11398 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11399
11400 [BZ #11521]
11401 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
11402 overflow or cancellation in calculating denominator.
11403 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
11404 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
11405 down expression to avoid unexpected rounding in newer GCCs.
11406 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
11407
11408 2012-04-26 David S. Miller <davem@davemloft.net>
11409
11410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
11411 long-double compat symbols.
11412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
11413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
11414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
11415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
11416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
11417 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
11418 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
11419 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
11420 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
11421 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
11422 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
11423 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
11424 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
11425
11426 2012-04-25 David S. Miller <davem@davemloft.net>
11427
11428 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
11429 HWCAP_* values only after the memory barriers have been defined.
11430 (atomic_full_barrier): Define.
11431 (atomic_read_barrier): Define.
11432 (atomic_write_barrier): Define.
11433
11434 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11435
11436 * shlib-versions: Add libgcc_s version information.
11437 * sysdeps/generic/libgcc_s.h: Remove.
11438 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
11439 libgcc_s.h.
11440 * sysdeps/gnu/unwind-resume.c: Likewise.
11441 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
11442
11443 2012-04-25 David S. Miller <davem@davemloft.net>
11444
11445 * sysdeps/unix/sparc/brk.S: Delete.
11446 * sysdeps/unix/sparc/dl-brk.S: Delete.
11447 * sysdeps/unix/sparc/pipe.S: Delete.
11448 * sysdeps/unix/sparc/sysdep.S: Delete.
11449 * sysdeps/unix/sparc/sysdep.h: Delete.
11450 * sysdeps/unix/sparc/vfork.S: Delete.
11451 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
11452 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
11453 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
11454 ret_ERRVAL, r0, r1, MOVE): Define.
11455 (JUMPTARGET): Remove.
11456 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
11457 sysdeps/unix/sparc/sysdep.h
11458 (ENTRY, END): Remove.
11459 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11460
11461 2012-04-25 Joseph Myers <joseph@codesourcery.com>
11462
11463 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
11464 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
11465 -DIS_IN_build.
11466
11467 * timezone/README: Update upstream location and email address for
11468 tzcode and tzdata.
11469 * timezone/zdump.c: Update from tzcode 2012b.
11470 * timezone/zic.c: Likewise.
11471
11472 * configure.in (libc_cv_as_needed): Remove test.
11473 * configure: Regenerated.
11474 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
11475 conditional definition.
11476 [$(have-as-needed) != yes] (no-as-needed): Likewise.
11477 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
11478 * config.make.in (have-as-needed): Remove variable.
11479
11480 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11481 Paul Pluzhnikov <ppluzhnikov@google.com>
11482
11483 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
11484 strings correctly.
11485
11486 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
11487
11488 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
11489 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
11490 * sysdeps/sh/strlen.S: Likewise.
11491
11492 2012-04-24 Joseph Myers <joseph@codesourcery.com>
11493
11494 * sysdeps/unix/fork.S: Remove file.
11495 * sysdeps/unix/i386/fork.S: Likewise.
11496 * sysdeps/unix/sparc/fork.S: Likewise.
11497
11498 * sysdeps/unix/system.c: Remove file.
11499 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
11500
11501 * sysdeps/unix/getegid.S: Remove file.
11502 * sysdeps/unix/geteuid.S: Likewise.
11503
11504 2012-04-24 Roland McGrath <roland@hack.frob.com>
11505
11506 * scripts/check-localplt.awk: New file.
11507 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
11508 of diff.
11509 * scripts/data/localplt-generic.data: Add a comment.
11510
11511 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
11512 NODE when __dir_mkfile failed.
11513 * sysdeps/mach/hurd/symlinkat.c: Likewise.
11514 Reported by Ludovic Courtès <ludo@gnu.org>.
11515
11516 2012-04-24 Andreas Jaeger <aj@suse.de>
11517
11518 * Makerules (common-clean): Also remove gen-as-const-headers
11519 files.
11520
11521 2012-04-24 Joseph Myers <joseph@codesourcery.com>
11522
11523 * Makerules (native-compile): Do not change working directory for
11524 build. Use $(OUTPUT_OPTION) in command.
11525 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
11526
11527 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11528
11529 [BZ #13886]
11530 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
11531 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
11532 * math/libm-test.inc (floor_test): Add more tests.
11533 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
11534
11535 2012-04-24 Joseph Myers <joseph@codesourcery.com>
11536
11537 * sysdeps/unix/getdents.c: Remove file.
11538 * sysdeps/unix/sysv/getdents.c: Likewise.
11539 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
11540
11541 * sysdeps/unix/syscalls.list (madvise): Add syscall from
11542 sysdeps/unix/mman/syscalls.list.
11543 (mmap): Likewise.
11544 (mprotect): Likewise.
11545 (msync): Likewise.
11546 (munmap): Likewise.
11547 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
11548 * sysdeps/unix/mman/syscalls.list: Remove.
11549 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
11550
11551 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
11552 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
11553 * configure: Regenerated.
11554 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
11555 $(libgcc_s_suffix).
11556 * config.make.in (libgcc_s_suffix): Remove variable.
11557
11558 2012-04-23 Joseph Myers <joseph@codesourcery.com>
11559
11560 * sysdeps/unix/sysv/gethostname.c: Move to ...
11561 * sysdeps/posix/gethostname.c: ... here.
11562
11563 * sysdeps/unix/execve.S: Remove file.
11564
11565 * sysdeps/unix/_exit.S: Remove file.
11566
11567 2012-04-23 Andreas Jaeger <aj@suse.de>
11568
11569 [BZ #13739]
11570 * manual/Makefile: Remove make dist support, there's no
11571 need for a stand-alone documentation tar ball.
11572 (TEXI2DVI): Define always, it's not in Makeconfig.
11573 (dist): Removed.
11574 (tar-it): Removed.
11575 (edition): Removed.
11576 (glibc-doc-$(edition).tar): Removed
11577 (%.Z): Removed.
11578 (%.gz): Removed.
11579 (%.uu): Removed.
11580 (ETAGS): Remove, it's in Makeconfig.
11581 (move-if-change): Remove, it's in Makeconfig.
11582
11583 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
11584
11585 [BZ #13970]
11586 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
11587 (strtod, strtof, strtold, strtol, strtoul, strtoq)
11588 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
11589 (strtod_l, strtof_l, strtold_l): Remove __wur.
11590 It is not necessarily an error to ignore strtol's return value.
11591 One can reliably look at the stored endptr to decide whether
11592 the number had valid syntax.
11593
11594 2012-04-21 Andreas Jaeger <aj@suse.de>
11595
11596 [BZ #13739]
11597 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
11598
11599 2012-04-21 Joseph Myers <joseph@codesourcery.com>
11600
11601 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
11602 * sysdeps/unix/sysv/Versions: Remove file.
11603
11604 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
11605
11606 [BZ #13927]
11607 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11608
11609 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
11610
11611 [BZ #7064]
11612 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
11613 version from __vm86.
11614
11615 2012-04-20 Joseph Myers <joseph@codesourcery.com>
11616
11617 * sysdeps/unix/common/lxstat.c: Remove file.
11618 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
11619
11620 * sysdeps/unix/sysv/Makefile: Remove file.
11621
11622 * sysdeps/unix/sysv/direct.h: Remove file.
11623
11624 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
11625 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
11626 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
11627 * sysdeps/unix/sysv/bits/signum.h: Likewise.
11628 * sysdeps/unix/sysv/bits/stat.h: Likewise.
11629 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
11630 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
11631
11632 * sysdeps/unix/sysv/setrlimit.c: Remove file.
11633
11634 * sysdeps/unix/xmknod.c: Remove file.
11635 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
11636
11637 * sysdeps/unix/sysv/settimeofday.c: Remove file.
11638
11639 * sysdeps/unix/sysv/i386/time.S: Remove file.
11640
11641 * sysdeps/unix/fxstat.c: Remove file.
11642 * sysdeps/unix/xstat.c: Likewise.
11643 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
11644
11645 * sysdeps/unix/sysv/sigaction.c: Remove file.
11646
11647 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
11648 (sysdep_headers): Remove variable.
11649 [termio.h not in sysdep_headers] (generated): Likewise.
11650 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
11651 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
11652 * sysdeps/unix/sysv/tcdrain.c: Likewise.
11653 * sysdeps/unix/sysv/tcflow.c: Likewise.
11654 * sysdeps/unix/sysv/tcflush.c: Likewise.
11655 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
11656 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
11657 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
11658 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
11659 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
11660
11661 * sysdeps/unix/siglist.c: Remove file.
11662
11663 * sysdeps/unix/getppid.S: Remove file.
11664
11665 * sysdeps/unix/mkdir.c: Remove file.
11666 * sysdeps/unix/rmdir.c: Likewise.
11667
11668 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
11669
11670 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
11671 ERR_MAX value.
11672 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
11673 errlist-compat value.
11674
11675 2012-04-18 David S. Miller <davem@davemloft.net>
11676
11677 * sysdeps/generic/memcopy.h (reg_char): Delete.
11678 * debug/strcat_chk.c: Use char, not reg_char.
11679 * debug/strcpy_chk.c: Likewise.
11680 * debug/strncat_chk.c: Likewise.
11681 * debug/strncpy_chk.c: Likewise.
11682 * string/memchr.c: Likewise.
11683 * string/memrchr.c: Likewise.
11684 * string/rawmemchr.c: Likewise.
11685 * string/strcat.c: Likewise.
11686 * string/strchr.c: Likewise.
11687 * string/strchrnul.c: Likewise.
11688 * string/strcmp.c: Likewise.
11689 * string/strcpy.c: Likewise.
11690 * string/strncat.c: Likewise.
11691 * string/strncmp.c: Likewise.
11692 * string/strncpy.c: Likewise.
11693
11694 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11695
11696 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
11697 __builtin_memcopy is called when src and dest ranges are known to not
11698 overlap.
11699
11700 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11701
11702 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
11703 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
11704 fwd_align_merge macro call.
11705 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
11706 bwd_align_merge macro call.
11707 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11708
11709 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11710
11711 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
11712 bwd_align_merge macros.
11713 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
11714 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
11715 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11716
11717 2012-04-18 David S. Miller <davem@davemloft.net>
11718
11719 * sysdeps/sparc/sparc64/memcopy.h: Delete.
11720
11721 2012-04-18 Andreas Jaeger <aj@suse.de>
11722
11723 [BZ# 6794]
11724 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
11725 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
11726 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11727
11728 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
11729 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
11730 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11731
11732 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
11733 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
11734 Adjust for changed ldbl-128 files.
11735
11736 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
11737 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
11738 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11739
11740 2012-04-17 David S. Miller <davem@davemloft.net>
11741
11742 * sysdeps/sparc/sparc32/memcopy.h: Delete.
11743
11744 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
11745
11746 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
11747 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
11748 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
11749 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
11750 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
11751 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
11752
11753 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11754
11755 [BZ #6794]
11756 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
11757 * math/libm-test.inc: Add ilogb errno and exception tests.
11758 * math/w_ilogb.c: New file: ilogb wrapper.
11759 * math/w_ilogbf.c: New file: ilogbf wrapper.
11760 * math/w_ilogbl.c: New file: ilogbl wrapper.
11761 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
11762 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
11763 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
11764 exception being thrown with 0.0 as argument.
11765 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
11766 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
11767 exception being thrown with 0.0 as argument.
11768 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
11769 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
11770 exception being thrown with 0.0 as argument.
11771 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
11772 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
11773 exception being thrown with 0.0 as argument.
11774 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
11775 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
11776 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
11777 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
11778 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
11779 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
11780 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
11781 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
11782 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
11783
11784 2012-04-17 Petr Baudis <pasky@ucw.cz>
11785
11786 * include/sys/uio.h: Change __vector to __iovec to avoid clash
11787 with altivec.
11788
11789 2012-04-16 Marek Polacek <polacek@redhat.com>
11790
11791 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
11792
11793 2012-04-16 Marek Polacek <polacek@redhat.com>
11794
11795 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
11796 operands of fdivp instruction.
11797
11798 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
11799
11800 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
11801 * elf/tst-auditmod3b.c: Likewise.
11802 * elf/tst-auditmod4b.c: Likewise.
11803 * elf/tst-auditmod5b.c: Likewise.
11804 * elf/tst-auditmod6b.c: Likewise.
11805 * elf/tst-auditmod6c.c: Likewise.
11806 * elf/tst-auditmod7b.c: Likewise.
11807 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
11808 * sysdeps/x86_64/preconfigure.in: Likewise.
11809 * sysdeps/x86_64/preconfigure: Regenerated.
11810
11811 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
11812
11813 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
11814 __ILP32__.
11815
11816 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
11817
11818 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11819 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
11820
11821 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
11822
11823 [BZ #13973]
11824 * locale/iso-639.def: Fix gl language name. Spotted by
11825 Yaron Shahrabani.
11826
11827 2012-04-12 Roland McGrath <roland@hack.frob.com>
11828
11829 [BZ #2074]
11830 * libio/libio.h (__io_write_fn): Update comment.
11831
11832 2012-04-12 Petr Baudis <pasky@ucw.cz>
11833
11834 [BZ #2074]
11835 * stdio.texi (Hook Functions): The user provided writer function
11836 is not allowed to return -1.
11837
11838 2012-04-11 David S. Miller <davem@davemloft.net>
11839
11840 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11841
11842 2012-04-11 Mike Frysinger <vapier@gentoo.org>
11843
11844 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
11845 Add a leading slash to rtkaio.
11846
11847 2012-04-11 Jim Meyering <meyering@redhat.com>
11848
11849 [BZ #11959]
11850 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
11851 It is not necessarily an error to ignore fwrite's return
11852 value. One can reliably use ferror to test for errors after
11853 the fact.
11854
11855 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
11856
11857 * bits/types.h (__snseconds_t): New type.
11858 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
11859
11860 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
11861 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11862 (__SNSECONDS_T_TYPE): Likewise.
11863 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11864 (__SNSECONDS_T_TYPE): Likewise.
11865 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11866 (__SNSECONDS_T_TYPE): Likewise.
11867
11868 2012-04-10 Andreas Jaeger <aj@suse.de>
11869
11870 [BZ #2636]
11871 * manual/time.texi (Processor Time): Return type of times is
11872 elapsed real time since an arbitrary point in the past.
11873 (CPU Time): Move CLK_TCK from here...
11874 (Processor Time): ...to here. Correct description.
11875 * manual/conf.texi (Constants for Sysconf): Correct description of
11876 _SC_CLK_TCK.
11877
11878 2012-04-10 David S. Miller <davem@davemloft.net>
11879
11880 [BZ #13967]
11881 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
11882 where the is a gap between DT_REL(A) and DT_JMPREL.
11883
11884 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
11885
11886 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
11887 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
11888 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
11889
11890 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11891
11892 * elf/dl-support.c (_dl_inhibit_cache): New variable.
11893 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
11894 (dl_main): Handle --inhibit-cache.
11895 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
11896 _dl_inhibit_cache.
11897 * elf/dl-load.c (_dl_map_object): Use it.
11898 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
11899
11900 2012-04-09 Joseph Myers <joseph@codesourcery.com>
11901
11902 [BZ #13872]
11903 * sysdeps/i386/fpu/e_powl.S (p78): New object.
11904 (__ieee754_powl): Saturate large exponents rather than testing for
11905 overflow of y*log2(x).
11906 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11907 * math/libm-test.inc (pow_test): Do not permit spurious overflow
11908 exceptions.
11909
11910 [BZ #11521]
11911 * math/s_ctan.c: Include <float.h>.
11912 (__ctan): Avoid internal overflow or cancellation in calculating
11913 denominator.
11914 * math/s_ctanf.c: Likewise.
11915 * math/s_ctanl.c: Likewise.
11916 * math/s_ctanh.c: Likewise.
11917 * math/s_ctanhf.c: Likewise.
11918 * math/s_ctanhl.c: Likewise.
11919 * math/libm-test.inc (ctan_test): Add more tests.
11920 (ctanh_test): Likewise.
11921 * sysdeps/i386/fpu/libm-test-ulps: Update.
11922 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11923
11924 2012-04-09 Andreas Jaeger <aj@suse.de>
11925
11926 [BZ #6894]
11927 * manual/filesys.texi (Directory Entries): Mention that d_namlen
11928 is an optional BSD extension.
11929
11930 [BZ #10254]
11931 * manual/stdio.texi (Opening Streams): Document additional fopen
11932 parameters.
11933
11934 2012-04-09 Roland McGrath <roland@hack.frob.com>
11935
11936 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
11937 %eax without telling the compiler.
11938
11939 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
11940
11941 [BZ # 13963]
11942 * manual/install.texi: Use sourceware.org.
11943
11944 2012-04-09 Joseph Myers <joseph@codesourcery.com>
11945
11946 [BZ #13873]
11947 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
11948 (__ieee754_pow): Generate overflow and underflow using huge*huge
11949 and tiny*tiny rather than just returning constant infinity or zero
11950 for large exponents.
11951 * math/libm-test.inc (pow_test): Require overflow exceptions for
11952 applicable cases of large exponents.
11953
11954 [BZ #706]
11955 * sysdeps/i386/fpu/e_pow.S (p10): New object.
11956 (__ieee754_pow): Use iterative multiplication algorithm only for
11957 integer exponents with absolute value below 1024. Check for odd
11958 integer exponents when using algorithm for real exponents.
11959 * math/libm-test.inc (pow_test): Add more tests.
11960 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11961
11962 2012-04-08 Joseph Myers <joseph@codesourcery.com>
11963
11964 [BZ #13705]
11965 * math/libm-test.inc (exp_test): Do not allow overflow exception
11966 on underflow test.
11967
11968 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
11969
11970 [BZ #13705]
11971 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
11972 instead of __kernel_standard_f.
11973
11974 2012-04-08 Mike Frysinger <vapier@gentoo.org>
11975
11976 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
11977 * sysdeps/x86_64/memset_chk.S: Likewise.
11978
11979 2012-04-08 Andreas Jaeger <aj@suse.de>
11980
11981 [BZ #10153]
11982 * manual/startup.texi (Environment Access): Describe return value
11983 for putenv and setenv.
11984
11985 [BZ #6895]
11986 * manual/filesys.texi (Directory Entries): Add description for
11987 DT_LNK.
11988
11989 [BZ #6890]
11990 * manual/filesys.texi (Directory Entries): Clarify that it's file
11991 system not operating system in the description of DT_UNKNOWN.
11992
11993 [BZ #6578]
11994 * manual/syslog.texi (closelog): Fix reference, it's openlog.
11995
11996 2012-04-08 Stephen Compall <s11@member.fsf.org>
11997
11998 [BZ #6649]
11999 * manual/llio.texi (Opening and Closing Files): Add cross
12000 reference to explain mode argument.
12001
12002 2012-04-07 Mike Frysinger <vapier@gentoo.org>
12003
12004 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
12005 * sysdeps/x86_64/memset_chk.S: Likewise.
12006
12007 2012-04-07 David S. Miller <davem@davemloft.net>
12008
12009 * elf/elf.h (R_SPARC_WDISP10): Define.
12010 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
12011 R_SPARC_SIZE32.
12012 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
12013 R_SPARC_SIZE64 and R_SPARC_H34.
12014
12015 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
12016
12017 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
12018 conditions and remove no longer applicable assertion.
12019
12020 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
12021
12022 * bits/byteswap.h: Include <features.h>.
12023 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
12024 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
12025
12026 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
12027
12028 * bits/byteswap.h (__bswap_16): Removed.
12029 Include <bits/byteswap-16.h> to get __bswap_16.
12030 * sysdeps/i386/bits/byteswap.h: Likewise.
12031 * sysdeps/s390/bits/byteswap.h: Likewise.
12032 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12033 * bits/byteswap-16.h: New file.
12034 * sysdeps/i386/bits/byteswap-16.h: Likewise.
12035 * sysdeps/s390/bits/byteswap-16.h: Likewise.
12036 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
12037 * string/Makefile (headers): Add bits/byteswap-16.h.
12038
12039 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
12040
12041 [BZ #13895]
12042 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
12043 extra indirection.
12044 * nss/Makefile (tests-static, tests): Add tst-nss-static.
12045 * nss/tst-nss-static.c: New.
12046
12047 2012-04-06 Robert Millan <rmh@gnu.org>
12048
12049 [BZ #6486]
12050 * manual/llio.texi (File Position Primitive): lseek
12051 refers to WHENCE when it really means OFFSET.
12052
12053 2012-04-06 Andreas Jaeger <aj@suse.de>
12054
12055 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
12056 strncmp declarations.
12057
12058 * abilist/libc.abilist: Add __poll and __ppoll.
12059
12060 2012-04-05 David S. Miller <davem@davemloft.net>
12061
12062 * scripts/check-local-headers.sh: Accept a host triplet in the
12063 path matched by the exclude regexp.
12064
12065 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
12066 definition.
12067 * sysdeps/powerpc/powerpc32/dl-machine.h
12068 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
12069 * sysdeps/s390/s390-32/dl-machine.h
12070 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
12071 * sysdeps/sparc/sparc32/dl-machine.h
12072 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
12073 * sysdeps/sparc/sparc64/dl-machine.h
12074 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
12075
12076 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
12077 lazy binding.
12078 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
12079 undefined symbol errors.
12080
12081 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
12082 DT_NEEDED entries.
12083
12084 2012-04-05 Michael Matz <matz@suse.de>
12085
12086 [BZ #13592]
12087 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
12088
12089 2012-04-05 Andreas Jaeger <aj@suse.de>
12090
12091 [BZ #13908]
12092 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
12093 comment.
12094
12095 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12096
12097 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
12098 which ROUND is no valid rounding mode.
12099
12100 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12101
12102 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
12103 read again.
12104 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
12105
12106 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12107
12108 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
12109 an exception using FPU order intentionally.
12110
12111 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12112
12113 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
12114 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
12115 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
12116 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
12117
12118 2012-04-05 Simon Josefsson <simon@josefsson.org>
12119
12120 [BZ #12340]
12121 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
12122 EINVAL when BUFLEN is too smal.
12123
12124 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
12125
12126 [BZ #13553]
12127 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
12128 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
12129
12130 2012-04-03 Andreas Jaeger <aj@suse.de>
12131
12132 [BZ #13938]
12133 * manual/setjmp.texi (System V contexts): Fix sentence.
12134
12135 [BZ #13926]
12136 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
12137 New macro for this case.
12138 [!__GNUC__] (__bswap_64): New inline function for this case.
12139 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12140 * bits/byteswap.h: Likewise.
12141 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
12142 ull, guard with __GLIBC_HAVE_LONG_LONG.
12143
12144 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
12145 __GLIBC_HAVE_LONG_LONG.
12146
12147 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
12148 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
12149
12150 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12151
12152 [BZ #13691]
12153 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
12154 inptr and inend, rather than using last_ch.
12155
12156 2012-04-02 David S. Miller <davem@davemloft.net>
12157
12158 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
12159 * stdio-common/printf-parse.h (read_int): Change return type to
12160 'int', return -1 on INT_MAX overflow.
12161 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
12162 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
12163 overflows INT_MAX. Check for overflow of in-format-string precision
12164 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
12165 SIZE_MAX not INT_MAX for integer overflow test.
12166 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
12167 skip the construct in the format string but do not record anything.
12168 * stdio-common/bug22.c: Adjust to test both width/prevision
12169 INT_MAX overflow as well as total length INT_MAX overflow. Check
12170 explicitly for proper errno values.
12171
12172 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
12173
12174 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
12175 CHAR_MAX.
12176 * string/test-strcmp.c [! WIDE]: Likewise.
12177 * time/tst-mktime2.c: Likewise for INT_MAX.
12178 * string/test-string.h: #include <sys/param.h> for MIN.
12179
12180 * csu/init-first.c (__libc_init_first): Call __ctype_init.
12181 * sysdeps/i386/init-first.c (init): Likewise.
12182 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
12183 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
12184 * sysdeps/sh/init-first.c (init): Likewise.
12185
12186 2012-04-01 Ulrich Drepper <drepper@gmail.com>
12187
12188 * po/ru.po: Update from translation team.
12189 * po/vi.po: Likewise.
12190
12191 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
12192
12193 * resolv/nss_dns/dns-host.c: Merge copyright years.
12194
12195 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12196
12197 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
12198 Optimize memcpy with prefetch if
12199 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
12200 src, dst pointers have unequal 16 byte alignments.
12201
12202 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12203
12204 [BZ #13928]
12205 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
12206 from a CNAME entry and return the minimum ttl for the query.
12207 (gaih_getanswer_slice): Likewise.
12208
12209 2012-03-30 Jeff Law <law@redhat.com>
12210
12211 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
12212 due to long keys.
12213 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
12214 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
12215
12216 * resolv/nss_dns/dns-host.c: Update copyright year.
12217
12218 2012-03-30 Ulrich Drepper <drepper@gmail.com>
12219
12220 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
12221 requests to save a system call. Fix check that all bytes are sent.
12222
12223 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
12224 comments for sendmmsg.
12225
12226 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12227
12228 [BZ #13691]
12229 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
12230 with only 1 character between 0x0041 and 0x01b0.
12231 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
12232 * wcsmbs/tst-mbsnrtowcs.c: New file.
12233
12234 2012-03-29 David S. Miller <davem@davemloft.net>
12235
12236 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
12237 small copies by hand.
12238
12239 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12240
12241 [BZ #13761]
12242 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
12243 _nss_compat_initgroups_dyn): Fall back to malloc/free
12244 for large group memberships.
12245
12246 2012-03-28 David S. Miller <davem@davemloft.net>
12247
12248 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
12249 that branches into memcpy.
12250 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
12251 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
12252 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
12253 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
12254 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
12255 bits.
12256 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
12257 implementation too.
12258 * sysdeps/sparc/mempcpy.S: New file.
12259
12260 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
12261 the IFUNC routine in the libc case.
12262 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
12263
12264 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
12265 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
12266 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
12267 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
12268 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
12269 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
12270 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
12271 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
12272
12273 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
12274 loop to 256 bytes instead of 64 bytes and fix test signedness.
12275
12276 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
12277 * sysdeps/sparc/sparc32/Makefile: rather than here...
12278 * sysdeps/sparc/sparc64/Makefile: and here.
12279
12280 2012-03-28 Ulrich Drepper <drepper@gmail.com>
12281
12282 * malloc/mallocbug.c: Avoid warnings about unused variables.
12283
12284 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12285
12286 [BZ #13760]
12287 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
12288 in the right place. Discard and retry query if response is
12289 larger than input buffer size.
12290
12291 2012-03-28 Joseph Myers <joseph@codesourcery.com>
12292
12293 [BZ #369]
12294 [BZ #2678]
12295 [BZ #3866]
12296 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
12297 x for large integer exponent.
12298 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
12299 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
12300 sign of result as needed afterwards.
12301 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
12302 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
12303 result for underflowing pow the same as for overflow.
12304 (__kernel_standard_l): Handle powl overflow and underflow here
12305 rather than calling __kernel_standard.
12306 * math/libm-test.inc (pow_test): Add more tests.
12307
12308 [BZ #3868]
12309 [BZ #13879]
12310 [BZ #13910]
12311 [BZ #13911]
12312 [BZ #13912]
12313 [BZ #13913]
12314 [BZ #13915]
12315 [BZ #13916]
12316 [BZ #13917]
12317 [BZ #13918]
12318 [BZ #13919]
12319 [BZ #13920]
12320 [BZ #13921]
12321 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
12322 * sysdeps/ieee754/k_standard.c: Include <float.h>.
12323 (__kernel_standard_l): New function.
12324 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
12325 __kernel_standard.
12326 * math/w_acosl.c (__acosl): Likewise.
12327 * math/w_asinl.c (__asinl): Likewise.
12328 * math/w_atan2l.c (__atan2l): Likewise.
12329 * math/w_atanhl.c (__atanhl): Likewise.
12330 * math/w_coshl.c (__coshl): Likewise.
12331 * math/w_exp10l.c (__exp10l): Likewise.
12332 * math/w_exp2l.c (__exp2l): Likewise.
12333 * math/w_fmodl.c (__fmodl): Likewise.
12334 * math/w_hypotl.c (__hypotl): Likewise.
12335 * math/w_j0l.c (__j0l, __y0l): Likewise.
12336 * math/w_j1l.c (__j1l, __y1l): Likewise.
12337 * math/w_jnl.c (__jnl, __ynl): Likewise.
12338 * math/w_lgammal.c (__lgammal): Likewise.
12339 * math/w_log10l.c (__log10l): Likewise.
12340 * math/w_log2l.c (__log2l): Likewise.
12341 * math/w_logl.c (__logl): Likewise.
12342 * math/w_powl.c (__powl): Likewise.
12343 * math/w_remainderl.c (__remainderl): Likewise.
12344 * math/w_scalbl.c (sysv_scalbl): Likewise.
12345 * math/w_sinhl.c (__sinhl): Likewise.
12346 * math/w_sqrtl.c (__sqrtl): Likewise.
12347 * math/w_tgammal.c (__tgammal): Likewise.
12348 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
12349 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
12350 * math/libm-test.inc (acos_test): Add more tests.
12351 (acosh_test): Likewise.
12352 (asin_test): Likewise.
12353 (atanh_test): Likewise.
12354 (exp_test): Likewise.
12355 (exp10_test): Likewise.
12356 (exp2_test): Likewise.
12357 (expm1_test): Likewise.
12358 (lgamma_test): Likewise.
12359 (log_test): Likewise.
12360 (log10_test): Likewise.
12361 (log1p_test): Likewise.
12362 (log2_test): Likewise.
12363 (pow_test): Do not allow some spurious overflow exceptions.
12364 (sqrt_test): Add more tests.
12365 (tgamma_test): Likewise.
12366 (y0_test): Likewise.
12367 (y1_test): Likewise.
12368 (yn_test): Likewise.
12369
12370 2012-03-27 Anton Blanchard <anton@samba.org>
12371
12372 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
12373 MAP_HUGETLB.
12374 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12375 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12376 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12377
12378 2012-03-27 David S. Miller <davem@davemloft.net>
12379
12380 * conform/Makefile: Run run-conformtest.sh using $(BASH).
12381
12382 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
12383 have-as-vis3 check.
12384
12385 2012-03-27 Andreas Jaeger <aj@suse.de>
12386
12387 * sysdeps/x86_64/elf/configure.in: Moved to ...
12388 * sysdeps/x86_64/configure.in: ... here.
12389 * sysdeps/x86_64/elf/start.S: Moved to ...
12390 * sysdeps/x86_64/start.S: ... here.
12391 * sysdeps/x86_64/elf/configure: Delete.
12392
12393 * sysdeps/x86_64/configure.in: Merge contents from
12394 sysdeps/i386/configure.in (without i686 check).
12395
12396 * sysdeps/i386/elf/Versions: Merge into ...
12397 * sysdeps/i386/Versions: ... this.
12398 * sysdeps/i386/elf/Versions: Delete file.
12399 * sysdeps/i386/elf/start.S: Moved to ...
12400 * sysdeps/i386/start.S: ...here.
12401 * sysdeps/i386/elf/configure.in: Merge into...
12402 * sysdeps/i386/configure.in: ...here.
12403 * sysdeps/i386/elf/configure.in: Delete file.
12404 * sysdeps/i386/elf/configure: Delete file.
12405
12406 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
12407 * debug/backtracesyms.c: ... here.
12408 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
12409 * debug/backtracesymsfd.c: ... here.
12410 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
12411 * sysdeps/generic/ifunc-sel.h: ... here.
12412
12413 * sysdeps/unix/i386/start.c: Delete file.
12414 * sysdeps/unix/sparc/start.c: Delete file.
12415 * sysdeps/unix/start.c: Delete file.
12416
12417 * sysdeps/sh/elf/configure.in: Moved to ...
12418 * sysdeps/sh/configure.in: ... here.
12419 * sysdeps/sh/elf/start.S: Moved to ...
12420 * sysdeps/sh/start.S: ... here.
12421 * sysdeps/sh/elf/configure: Delete file.
12422
12423 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
12424 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
12425 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
12426 * sysdeps/powerpc/powerpc64/entry.h: ... here.
12427 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
12428 * sysdeps/powerpc/powerpc64/start.S: here.
12429 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
12430 * sysdeps/powerpc/powerpc64/Makefile: ... this.
12431 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
12432 * sysdeps/powerpc/powerpc64/configure.in: ... this.
12433 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
12434
12435 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
12436 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
12437 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
12438 * sysdeps/powerpc/powerpc32/start.S: ... here.
12439 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
12440 * sysdeps/powerpc/powerpc32/configure.in: ... this.
12441 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
12442
12443 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
12444 * sysdeps/powerpc/ifunc-sel.h: ... here.
12445 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
12446 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
12447
12448 * sysdeps/sparc/elf/configure.in: Moved to ...
12449 * sysdeps/sparc/configure.in: ... here.
12450 * sysdeps/sparc/elf/configure: Delete file.
12451 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
12452 * sysdeps/sparc/sparc32/start.S: ... here.
12453 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
12454 * sysdeps/sparc/sparc64/start.S: ... here.
12455 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
12456 * sysdeps/sparc/sparc32/Makefile: ... this.
12457 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
12458 * sysdeps/sparc/sparc64/Makefile: ... this.
12459
12460 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
12461 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
12462 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
12463 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
12464 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
12465 * sysdeps/s390/s390-32/setjmp.S: ... here.
12466 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
12467 * sysdeps/s390/s390-32/configure.in: ... here.
12468 * sysdeps/s390/s390-32/elf/configure: Delete file.
12469 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
12470 * sysdeps/s390/s390-32/start.S: ... here.
12471
12472 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
12473 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
12474 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
12475 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
12476 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
12477 * sysdeps/s390/s390-64/setjmp.S: ... here.
12478 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
12479 * sysdeps/s390/s390-64/configure.in: ... here
12480 * sysdeps/s390/s390-64/elf/configure: Delete file.
12481 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
12482 * sysdeps/s390/s390-64/start.S: ... here.
12483 * sysdeps/s390/s390-64/elf/configure: Delete.
12484
12485 * configure.in: Remove support for elf directories in sysdeps.
12486
12487 * configure: Regenerated.
12488 * sysdeps/i386/configure: Regenerated.
12489 * sysdeps/powerpc/powerpc32/configure: Regenerated.
12490 * sysdeps/powerpc/powerpc64/configure: Regenerated.
12491 * sysdeps/s390/s390-32/configure: Regenerated.
12492 * sysdeps/s390/s390-64/configure: Regenerated.
12493 * sysdeps/sh/configure: Regenerated.
12494 * sysdeps/sparc/configure: Regenerated.
12495 * sysdeps/x86_64/configure: Regenerated.
12496
12497 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
12498
12499 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12500
12501 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
12502 denormal result into account.
12503
12504 2012-03-25 Roland McGrath <roland@hack.frob.com>
12505
12506 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
12507 Reported by Allan McRae <allan@archlinux.org>.
12508
12509 2012-03-23 Jeff Law <law@redhat.com>
12510
12511 * nss/getnssent.c (__nss_getent): Fix typo.
12512
12513 2012-03-23 David S. Miller <davem@davemloft.net>
12514
12515 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12516
12517 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
12518
12519 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
12520 to pad to uint64_t for each field.
12521 (dl_tls_index): Replace unsigned long with uint64_t.
12522
12523 2012-03-23 Daniel Jacobowitz <dmj@google.com>
12524 Paul Pluzhnikov <ppluzhnikov@google.com>
12525
12526 [BZ #6528]
12527 * grp/Makefile (otherlibs): Don't set it.
12528 * inet/Makefile (otherlibs): Likewise.
12529 * login/Makefile (otherlibs): Likewise.
12530 * nscd/Makefile (otherlibs): Likewise.
12531 * posix/Makefile (otherlibs): Likewise.
12532 * pwd/Makefile (otherlibs): Likewise.
12533 * rt/Makefile (otherlibs): Likewise.
12534 * sunrpc/Makefile (otherlibs): Likewise.
12535 * nss/Makefile (otherlibs): Likewise.
12536 Add libnss_files to routines and static-only-routines.
12537 ($(objpfx)getent): Remove rule.
12538 * resolv/Makefile: Add libnss_dns and libresolv to routines and
12539 static-only-routines.
12540
12541 2012-03-22 Joseph Myers <joseph@codesourcery.com>
12542
12543 [BZ #13892]
12544 * math/s_cexp.c: Include <float.h>.
12545 (__cexp): Handle exp result overflowing not necessarily
12546 overflowing both real and imaginary parts of result.
12547 * math/s_cexpf.c: Likewise.
12548 * math/s_cexpl.c: Likewise.
12549 * math/libm-test.inc (cexp_test): Add more tests.
12550 * sysdeps/i386/fpu/libm-test-ulps: Update.
12551 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12552
12553 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12554
12555 * include/link.h (ELFW): New macro.
12556 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
12557 Replace ELF64_R_TYPE with ELFW(R_TYPE).
12558
12559 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12560
12561 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
12562 with uint64_t.
12563
12564 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12565
12566 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
12567 declaration.
12568 (struct La_x32_retval): Likewise.
12569
12570 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12571
12572 * sysdeps/x86_64/preconfigure.in: New file.
12573 * sysdeps/x86_64/preconfigure: New generated file.
12574
12575 2012-03-22 Joseph Myers <joseph@codesourcery.com>
12576
12577 [BZ #13824]
12578 * math/e_exp2l.c: Include <float.h>.
12579 (__ieee754_exp2l): Handle overflow and underflow cases
12580 separately. Only pass fractional part of argument to
12581 __ieee754_expl.
12582 * math/libm-test.inc (exp2_test): Add more tests.
12583
12584 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
12585 negating x to take absolute value.
12586 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
12587 Likewise.
12588 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
12589 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
12590 Likewise.
12591 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
12592 computing low part if x was negated.
12593 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
12594
12595 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12596
12597 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
12598 la_x32_gnu_pltexit.
12599 (pltexit): Cast int_retval to ptrdiff_t.
12600 * elf/tst-auditmod3b.c: Likewise.
12601 * elf/tst-auditmod4b.c: Likewise.
12602 * elf/tst-auditmod5b.c: Likewise.
12603 * elf/tst-auditmod6b.c: Likewise.
12604 * elf/tst-auditmod6c.c: Likewise.
12605 * elf/tst-auditmod7b.c: Likewise.
12606
12607 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
12608 and x32_gnu_pltexit.
12609
12610 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
12611 __ELF_NATIVE_CLASS.
12612 (La_x32_regs): New macro.
12613 (La_x32_retval): Likewise.
12614 (la_x32_gnu_pltenter): New function prototype.
12615 (la_x32_gnu_pltexit): Likewise.
12616
12617 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
12618
12619 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
12620 exponent.
12621
12622 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12623
12624 * configure.in (libc_cv_cc_nofma): Check for option to disable
12625 generation of FMA instructions.
12626 * configure: Regenerate.
12627 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
12628 * sysdeps/ieee754/dbl-64/Makefile: New file.
12629 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
12630 Remove brandred-fma4.
12631 (CFLAGS-brandred-fma4.c): Remove.
12632 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
12633 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
12634 define.
12635 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
12636 define.
12637
12638 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12639
12640 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
12641 LLONG_MAX != LONG_MAX.
12642 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12643 (_fitoa_word): Likewise.
12644 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
12645 LLONG_MAX != LONG_MAX.
12646 * stdio-common/_itowa.h: Include <_itoa.h>.
12647 (_itowa_word): Use _ITOA_WORD_TYPE on value.
12648 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
12649 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
12650 only if not defined.
12651 (_ITOA_WORD_TYPE): Likewise.
12652 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12653 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
12654
12655 2012-03-21 David S. Miller <davem@davemloft.net>
12656
12657 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12658
12659 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12660
12661 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
12662 of x86_64 when setting libc_cv_slibdir, libdir and
12663 libc_cv_localedir.
12664 * sysdeps/unix/sysv/linux/configure: Regenerated.
12665
12666 2012-03-21 Joseph Myers <joseph@codesourcery.com>
12667
12668 * manual/lang.texi (Old Varargs): Remove section.
12669 (How Variadic): Update menu.
12670 (va_start): Do not mention varargs.h.
12671
12672 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
12673 Joseph Myers <joseph@codesourcery.com>
12674
12675 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
12676 link test.
12677 * configure: Regenerated.
12678
12679 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
12680
12681 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
12682 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
12683 conformtest.pl
12684
12685 2012-03-21 Joseph Myers <joseph@codesourcery.com>
12686
12687 * NOTES: Remove.
12688 * Makefile (files-for-dist): Remove NOTES.
12689 (NOTES): Remove rule.
12690 * README: Don't refer to NOTES.
12691 * manual/creature.texi: Don't include macros.texi.
12692 * manual/intro.texi (creature.texi): Remove comment referring to
12693 NOTES.
12694
12695 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
12696 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
12697 * configure: Regenerated.
12698 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
12699 LIBC_TRY_CC_OPTION.
12700 (libc_cv_as_i686): Likewise.
12701 (libc_cv_cc_avx): Likewise.
12702 (libc_cv_cc_sse2avx): Likewise.
12703 (libc_cv_cc_fma4): Likewise.
12704 (libc_cv_cc_novzeroupper): Likewise.
12705 * sysdeps/i386/configure: Regenerated.
12706
12707 [BZ #13883]
12708 * sysdeps/i386/fpu/s_cexp.S: Remove.
12709 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
12710 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
12711 * math/libm-test.inc (cexp_test): Add more tests.
12712 * sysdeps/i386/fpu/libm-test-ulps: Update.
12713 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12714
12715 2012-03-21 Allan McRae <allan@archlinux.org>
12716
12717 * timezone/Makefile: Do not install iso3166.tab and zone.tab
12718
12719 2012-03-21 Joseph Myers <joseph@codesourcery.com>
12720
12721 [BZ #13871]
12722 * math/w_exp2.c: Do not include <float.h>.
12723 (o_threshold, u_threshold): Remove.
12724 (__exp2): Calculate result before checking finiteness and calling
12725 __kernel_standard.
12726 * math/w_exp2f.c: Likewise.
12727 * math/w_exp2l.c: Likewise.
12728 * math/libm-test.inc (exp2_test): Require overflow exception for
12729 1e6 input.
12730
12731 [BZ #3866]
12732 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
12733 range of signed 64-bit integers before using fistpll. Remove
12734 checks for whether integers fit in mantissa bits.
12735 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
12736 the range of signed 32-bit integers before using fistpl. Remove
12737 checks for whether integers fit in mantissa bits.
12738 * sysdeps/i386/fpu/e_powl.S (p64): New object.
12739 (__ieee754_powl): Test for y outside the range of signed 64-bit
12740 integers before using fistpll. Reduce 64-bit values to 63-bit
12741 ones as needed.
12742 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
12743 divide-by-zero is raised for zero to large negative powers.
12744 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
12745 (__ieee754_powl): Test for y outside the range of signed 64-bit
12746 integers before using fistpll. Reduce 64-bit values to 63-bit
12747 ones as needed.
12748 * math/libm-test.inc (pow_test): Add more tests.
12749
12750 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12751
12752 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
12753 <stdio-common/_itoa.h>.
12754 * debug/segfault.c: Likewise.
12755 * elf/dl-cache.c: Likewise.
12756 * elf/dl-minimal.c: Likewise.
12757 * elf/dl-misc.c: Likewise.
12758 * elf/dl-sysdep.c: Likewise.
12759 * elf/dl-version.c: Likewise.
12760 * elf/rtld.c: Likewise.
12761 * hurd/hurdsock.c: Likewise.
12762 * hurd/lookup-retry.c: Likewise.
12763 * malloc/malloc.c: Likewise.
12764 * malloc/mtrace.c: Likewise.
12765 * nscd/nscd_getgr_r.c: Likewise.
12766 * nscd/nscd_getpw_r.c: Likewise.
12767 * nscd/nscd_getserv_r.c: Likewise.
12768 * posix/getopt_init.c: Likewise.
12769 * posix/wordexp.c: Likewise.
12770 * stdio-common/_itoa.c: Likewise.
12771 * stdio-common/printf_fphex.c: Likewise.
12772 * stdio-common/vfprintf.c: Likewise.
12773 * string/_strerror.c: Likewise.
12774 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
12775 * sysdeps/i386/i686/hp-timing.h: Likewise.
12776 * sysdeps/mach/_strerror.c: Likewise.
12777 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
12778 * sysdeps/mach/hurd/sethostid.c: Likewise.
12779 * sysdeps/mach/hurd/xmknodat.c: Likewise.
12780 * sysdeps/mach/xpg-strerror.c: Likewise.
12781 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12782 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
12783 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
12784 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
12785 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
12786 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
12787 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
12788 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
12789 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
12790 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
12791 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
12792 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
12793 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
12794 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
12795 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
12796 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
12797 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
12798 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
12799 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
12800 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
12801 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
12802
12803 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
12804
12805 * stdio-common/_itoa.h: Moved to ...
12806 * sysdeps/generic/_itoa.h: Here.
12807
12808 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
12809
12810 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
12811 instead of "_itoa.h" and "_itowa.h".
12812 * stdio-common/vfprintf.: Likewise.
12813
12814 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12815
12816 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
12817 <bits/wordsize.h>.
12818 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
12819 (__signbit): Likwise.
12820 (llrintf): Likwise.
12821 (llrint): Likwise.
12822
12823 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12824
12825 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
12826 __WORDSIZE != 64.
12827
12828 2012-03-20 Joseph Myers <joseph@codesourcery.com>
12829
12830 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
12831 OVERFLOW_EXCEPTION_OK.
12832 * math/libm-test.inc ("Philosophy"): Update comment about
12833 exception testing.
12834 (OVERFLOW_EXCEPTION): Define.
12835 (OVERFLOW_EXCEPTION_OK): Likewise.
12836 (INVALID_EXCEPTION_OK): Renumber.
12837 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
12838 (IGNORE_ZERO_INF_SIGN): Likewise.
12839 (test_exceptions): Handle FE_OVERFLOW.
12840 (exp10_test): Expect overflow exceptions.
12841 (exp2_test): Likewise.
12842 (expm1_test): Likewise.
12843 (nextafter_test): Likewise.
12844 (pow_test): Likewise.
12845 (scalbn_test): Likewise.
12846 (scalbln_test): Likewise.
12847
12848 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12849
12850 * sysdeps/x86_64/bits/atomic.h
12851 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
12852 64bit integer.
12853 (atomic_exchange_acq): Likewise.
12854 (__arch_exchange_and_add_body): Likewise.
12855 (__arch_add_body): Likewise.
12856 (atomic_add_negative): Likewise.
12857 (atomic_add_zero): Likewise.
12858
12859 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12860
12861 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
12862 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
12863
12864 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12865
12866 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
12867 Check __x86_64__ instead of __WORDSIZE.
12868
12869 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12870
12871 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
12872
12873 2012-03-19 David S. Miller <davem@davemloft.net>
12874
12875 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12876
12877 * sysdeps/sparc/fpu/fenv_private.h: New file.
12878 * sysdeps/sparc/fpu/math_private.h: Use it.
12879 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
12880 Remove.
12881 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
12882 (libc_feholdexcept_setroundl): Remove.
12883 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
12884 Remove.
12885 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
12886 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
12887
12888 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12889
12890 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
12891 int64_t instead of long int.
12892 (INSERT_WORDS64): Likwise.
12893
12894 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12895
12896 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
12897 _Unwind_GetCFA return to _Unwind_Ptr first.
12898
12899 2012-03-19 Joseph Myers <joseph@codesourcery.com>
12900
12901 [BZ #13629]
12902 * math/s_clog.c: Include <float.h>.
12903 (__clog): Scale large or subnormal inputs.
12904 * math/s_clogf.c: Likewise.
12905 * math/s_clogl.c: Likewise.
12906 * math/s_clog10.c: Include <float.h>.
12907 (M_LOG10_2): Define.
12908 (__clog10): Scale large or subnormal inputs.
12909 * math/s_clog10f.c: Likewise.
12910 * math/s_clog10l.c: Likewise.
12911 * math/libm-test.inc (clog_test): Add more tests.
12912 (clog10_test): Likewise.
12913 * sysdeps/i386/fpu/libm-test-ulps: Update.
12914 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12915
12916 [BZ #11451]
12917 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
12918 x and y.
12919 * math/libm-test.inc (atan2_test): Add another test.
12920
12921 * Makerules (common-objdir-compile): Remove.
12922 * sysdeps/unix/Makefile (config-generated): Do not add
12923 $(unix-generated) to variable.
12924 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
12925 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
12926 Remove rule.
12927 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
12928 Likewise.
12929 [generic bits/local_lim.h] (before-compile): Do not append to
12930 variable.
12931 [generic bits/local_lim.h] (common-generated): Likewise.
12932 [generic sys/param.h] (before-compile): Do not append to variable.
12933 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
12934 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
12935 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
12936 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
12937 include.
12938 [generic sys/param.h] (sys/param.h-includes): Remove variable.
12939 [generic sys/param.h] (sys/param.h-includes): Remove rule.
12940 [generic sys/param.h] ($(addprefix
12941 $(common-objpfx),$(sys/param.h-includes))): Likewise.
12942 [generic sys/param.h] (common-generated): Do not append to
12943 variable.
12944 [generic sys/param.h] (sysdep_headers): Likewise.
12945 [generic bits/errno.h] (before-compile): Do not append to
12946 variable.
12947 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
12948 rule.
12949 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
12950 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
12951 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
12952 [generic bits/errno.h] (common-generated): Do not append to
12953 variable.
12954 [generic bits/ioctls.h] (before-compile): Do not append to
12955 variable.
12956 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
12957 rule.
12958 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
12959 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
12960 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
12961 rule.
12962 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
12963 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
12964 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
12965 [generic bits/ioctls.h] (common-generated): Do not append to
12966 variable.
12967 [generic sys/syscall.h] (syscall.h): Remove variable.
12968 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
12969 rule.
12970 [generic sys/syscall.h] (before-compile): Do not append to
12971 variable.
12972 [generic sys/syscall.h] (common-generated): Likewise.
12973 * sysdeps/unix/errnos-tmpl.c: Remove file.
12974 * sysdeps/unix/errnos.awk: Likewise.
12975 * sysdeps/unix/ioctls-tmpl.c: Likewise.
12976 * sysdeps/unix/ioctls.awk: Likewise.
12977 * sysdeps/unix/mk-local_lim.c: Likewise.
12978 * sysdeps/unix/snarf-ioctls: Likewise.
12979
12980 2012-03-19 Richard Henderson <rth@twiddle.net>
12981
12982 * sysdeps/i386/fpu/fenv_private.h: New file.
12983 * sysdeps/i386/fpu/math_private.h: Use it.
12984 (math_opt_barrier, math_force_eval): Remove.
12985 (libc_feholdexcept_setround_53bit): Remove.
12986 (libc_feupdateenv_53bit): Remove.
12987 * sysdeps/x86_64/fpu/math_private.h: Likewise.
12988 (math_opt_barrier, math_force_eval): Remove.
12989 (libc_feholdexcept): Remove.
12990 (libc_feholdexcept_setround): Remove.
12991 (libc_fetestexcept, libc_fesetenv): Remove.
12992 (libc_feupdateenv_test): Remove.
12993 (libc_feupdateenv, libc_feholdsetround): Remove.
12994 (libc_feresetround): Remove.
12995
12996 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
12997 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
12998
12999 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
13000 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
13001 (libc_feupdateenv_testl): New.
13002 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
13003 (libc_feupdateenv_testf): New.
13004 (libc_feupdateenv): Use libc_feupdateenv_test.
13005 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
13006 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
13007
13008 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
13009 (libc_feholdsetroundf, libc_feholdsetroundl): New.
13010 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
13011 (libc_feresetround_noex): New.
13012 (libc_feresetround_noexf): New.
13013 (libc_feresetround_noexl): New.
13014 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
13015 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
13016 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
13017 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
13018 SET_RESTORE_ROUND.
13019 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
13020 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
13021 (__cos): Likewise.
13022 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
13023 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
13024 SET_RESTORE_ROUND_NOEX.
13025 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
13026 SET_RESTORE_ROUND_NOEXF.
13027 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
13028 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
13029 (libc_feholdsetroundf): New.
13030 (libc_feresetround, libc_feresetroundf): New.
13031
13032 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
13033 (libc_feholdexcept_setround_53bit): Convert from macro to function.
13034 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
13035
13036 * sysdeps/generic/math_private.h: Include <fenv.h>.
13037 (default_libc_feholdexcept): New.
13038 (default_libc_feholdexcept_setround): New.
13039 (default_libc_fesetenv, default_libc_feupdateenv): New.
13040 (libc_feholdexcept): Only define if undefined.
13041 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
13042 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
13043 (libc_feholdexcept_setroundl): Likewise.
13044 (libc_feholdexcept_setround_53bit): Likewise.
13045 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
13046 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
13047 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
13048 (libc_feupdateenv_53bit): Likewise.
13049 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
13050 (libc_feholdexcept): Convert from macro to inline function.
13051 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
13052 (libc_fesetenv, libc_feupdateenv): Likewise.
13053
13054 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
13055 not previously defined.
13056 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
13057 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
13058 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
13059 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
13060 * sysdeps/ieee754/flt-32/math_private.h: New file.
13061 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
13062 math_private.h below SET_FLOAT_WORD.
13063 (__isnan, __isinf_ns, __finite): Remove.
13064 (__isnanf, __isinf_nsf, __finitef): Remove.
13065
13066 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
13067
13068 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13069
13070 2012-03-17 David S. Miller <davem@davemloft.net>
13071
13072 [BZ #6471]
13073 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
13074 for 2.16.
13075
13076 2012-03-16 David S. Miller <davem@davemloft.net>
13077
13078 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
13079 warnings.
13080
13081 [BZ #6471]
13082 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
13083 properly.
13084 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
13085 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
13086 sysdep_routines when subdir is sysvipc.
13087 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
13088 __getshmlba helper.
13089
13090 * sysdeps/sparc/fpu/libm-test/ulps: Update.
13091
13092 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13093
13094 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
13095 [__LP64__].
13096
13097 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13098
13099 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
13100 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
13101 (__lround): Renamed to ...
13102 (__llround): This. Replace long int with long long int.
13103 Define lround functions as aliases of llround functions.
13104 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
13105
13106 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13107
13108 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
13109 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
13110 adresses to uintptr_t. Replace "long int" and "unsigned long
13111 int" with "greg_t" on va_arg.
13112
13113 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13114
13115 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
13116 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
13117
13118 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
13119 Move e_machine check before EI_CLASS check. Handle x32
13120 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
13121 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
13122 SKIP_EM_IA_64 and include
13123 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
13124
13125 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
13126 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
13127 (add_system_dir): New macro.
13128
13129 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
13130 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
13131
13132 2012-03-16 Joseph Myers <joseph@codesourcery.com>
13133
13134 [BZ #2551]
13135 [BZ #2552]
13136 [BZ #2553]
13137 [BZ #2554]
13138 [BZ #2562]
13139 [BZ #2563]
13140 [BZ #2565]
13141 [BZ #2566]
13142 [BZ #2576]
13143 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
13144 (y0): Likewise.
13145 * math/w_j0f.c (j0f): Likewise.
13146 (y0f): Likewise.
13147 * math/w_j0l.c (__j0l): Likewise.
13148 (__y0l): Likewise.
13149 * math/w_j1.c (j1): Likewise.
13150 (y1): Likewise.
13151 * math/w_j1f.c (j1f): Likewise.
13152 (y1f): Likewise.
13153 * math/w_j1l.c (__j1l): Likewise.
13154 (__y1l): Likewise.
13155 * math/w_jn.c (jn): Likewise.
13156 (yn): Likewise.
13157 * math/w_jnf.c (jnf): Likewise.
13158 (ynf): Likewise.
13159 * math/w_jnl.c (__jnl): Likewise.
13160 (__ynl): Likewise.
13161 * math/libm-test.inc (j0_test): Add more tests.
13162 (j1_test): Likewise.
13163 (jn_test): Likewise. Add trailing semicolon to existing test.
13164 (y0_test): Likewise.
13165 (y1_test): Likewise.
13166 * sysdeps/i386/fpu/libm-test-ulps: Update.
13167 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13168
13169 [BZ #13851]
13170 [BZ #13854]
13171 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
13172 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
13173 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
13174 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
13175 (__tanl): Set errno for infinite argument.
13176 * sysdeps/i386/fpu/mptan.c: Remove.
13177 * sysdeps/i386/fpu/s_tan.S: Likewise.
13178 * sysdeps/i386/fpu/s_tanl.S: Likewise.
13179 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
13180 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
13181 * math/libm-test.inc (tan_test): Add more tests and enable more
13182 tests for double and long double.
13183 * sysdeps/i386/fpu/libm-test-ulps: Update.
13184 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13185
13186 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13187
13188 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
13189 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
13190
13191 2012-03-16 Roland McGrath <roland@hack.frob.com>
13192
13193 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
13194 * configure.in: Use it for both main tree and add-ons.
13195 * configure: Regenerated.
13196
13197 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13198
13199 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
13200
13201 2012-03-16 Joseph Myers <joseph@codesourcery.com>
13202
13203 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
13204 in comment.
13205
13206 [BZ #13851]
13207 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
13208 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
13209 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
13210 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
13211 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
13212 infinite argument.
13213 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
13214 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
13215 != 0 for prec == 2.
13216 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
13217 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
13218 * sysdeps/i386/fpu/s_cosl.S: Likewise.
13219 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
13220 * sysdeps/i386/fpu/s_sinl.S: Likewise.
13221 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
13222 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
13223 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
13224 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
13225 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
13226 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
13227 * math/libm-test.inc (cos_test): Add more tests and enable more
13228 tests for long double.
13229 (sin_test): Likewise.
13230 (sincos_test): Likewise.
13231 * sysdeps/i386/fpu/libm-test-ulps: Update.
13232 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13233
13234 2012-03-16 David S. Miller <davem@davemloft.net>
13235
13236 * sysdeps/sparc/fpu/math_private.h: New file.
13237
13238 2012-03-15 David S. Miller <davem@davemloft.net>
13239
13240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
13241 file.
13242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
13243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
13244 file.
13245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
13246 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
13247 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
13248 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
13249 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
13250 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
13251 sysdep routines.
13252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
13253
13254 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
13255 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
13256
13257 * sysdeps/sparc/sparc-ifunc.h: New file.
13258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
13259 sparc-ifunc.h
13260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
13261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
13262 Likewise.
13263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
13264 Likewise.
13265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
13266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
13267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
13268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
13269 Likewise.
13270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
13271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
13272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
13273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
13274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
13275 Likewise.
13276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
13277 Likewise.
13278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
13279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
13280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
13281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
13282 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
13283 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
13284 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
13285 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
13286 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
13287 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
13288 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
13289 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
13290 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
13291 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
13292 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
13293 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
13294 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
13295 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
13296 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
13297 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
13298 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
13299 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
13300 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
13301 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
13302
13303 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
13304
13305 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
13306 scaling.
13307 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13308
13309 2012-03-15 Andreas Jaeger <aj@suse.de>
13310
13311 [BZ #13852]
13312 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
13313 ieee754/flt-32 implementation for sin, cos and sincos.
13314 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
13315 * sysdeps/i386/fpu/s_cosf.S: Likewise.
13316 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
13317 * sysdeps/i386/fpu/s_sinf.S: Likewise.
13318 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
13319 ieee754/flt-32 implementation for tan.
13320
13321 * math/libm-test.inc (cos_test): Enable some large input tests for
13322 float as well
13323 (sin_test): Likewise.
13324 (sincos_test): Likewise.
13325 (tan_test): Add tests for large input.
13326
13327 * sysdeps/i386/fpu/libm-test-ulps: Update.
13328
13329 2012-03-15 Andreas Jaeger <aj@suse.de>
13330
13331 [BZ #13658]
13332 * math/libm-test.inc (cos_test): Add more test cases.
13333 (sin_test): Likewise.
13334 (sincos_test): Likewise.
13335
13336 2012-03-15 Andreas Jaeger <aj@suse.de>
13337
13338 [BZ #13837]
13339 * math/libm-test.inc (cos_test): Add a test case for large input
13340 value.
13341 (sin_test): Likewise.
13342 (sincos_test): Likewise.
13343
13344 2012-03-15 Andreas Jaeger <aj@suse.de>,
13345 Joseph Myers <joseph@codesourcery.com>
13346
13347 [BZ #13658]
13348 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
13349 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
13350 * sysdeps/i386/fpu/branred.c: Likewise.
13351 * sysdeps/i386/fpu/dosincos.c: Likewise.
13352 * sysdeps/i386/fpu/mpa.c: Likewise.
13353 * sysdeps/i386/fpu/s_cos.S: Likewise.
13354 * sysdeps/i386/fpu/s_sin.S: Likewise.
13355 * sysdeps/i386/fpu/s_sincos.S: Likewise.
13356 * sysdeps/i386/fpu/sincos32.c: Likewise.
13357
13358 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
13359 Define.
13360 (libc_feupdateenv_53bit): Define.
13361 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
13362 Define.
13363 (libc_feupdateenv_53bit): Define.
13364
13365 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
13366 53 bit (without extend i386 double precision).
13367
13368 * math/libm-test.inc (sincos_test): Add tests for large input.
13369 (sin): Likewise.
13370 (cos): Likewise.
13371
13372 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
13373
13374 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
13375
13376 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13377
13378 2012-03-15 David S. Miller <davem@davemloft.net>
13379
13380 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
13381 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
13382 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
13383 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
13384 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
13385 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
13386 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
13387 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
13388 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
13389 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
13390 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
13391 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
13392 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
13393 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
13394 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
13395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
13396 file.
13397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
13398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
13399 file.
13400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
13401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
13402 file.
13403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
13404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
13405 file.
13406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
13407 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
13408 fmin/fmax sysdep routines.
13409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
13410
13411 2012-03-14 David S. Miller <davem@davemloft.net>
13412
13413 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
13414 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
13415 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
13416 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
13417 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
13418 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
13419 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
13420 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
13421 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
13422 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
13423 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
13424 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
13425 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
13426 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
13427 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
13428 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
13429 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
13430 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
13431 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
13432 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
13433 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
13434 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
13435 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
13436 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
13437 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
13438 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
13439 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
13440 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
13441 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
13442 routines.
13443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
13444 file.
13445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
13446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
13447 file.
13448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
13449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
13450 file.
13451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
13452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
13453 file.
13454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
13455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
13456 file.
13457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
13458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
13459 file.
13460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
13461 file.
13462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
13463 file.
13464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
13465 file.
13466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
13467 New file.
13468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
13469 file.
13470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
13471 file.
13472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
13473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
13474 file.
13475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
13476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
13477 file.
13478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
13479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
13480 file.
13481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
13482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
13483 VIS3 routines.
13484
13485 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
13486 New file.
13487
13488 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13489
13490 * sysdeps/sparc/configure.in: New file.
13491 * sysdeps/sparc/configure: Generate.
13492 * configure.in (libc_cv_sparc_as_vis3): Substitute.
13493 * configure: Regenerate.
13494 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
13495 * config.make.in (have-as-vis3): New.
13496 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
13497 available use -Av9d instead of -Av9a.
13498 * sysdeps/sparc/sparc64/Makefile: Likewise.
13499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
13500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
13501 New file.
13502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
13503 file.
13504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
13505 New file.
13506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
13507 file.
13508 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
13509 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
13510 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
13511 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
13512 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
13513
13514 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
13515 fzeros/fnegs to load 0x80000000 into a float register instead of
13516 using the stack.
13517 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
13518
13519 2012-03-14 Joseph Myers <joseph@codesourcery.com>
13520
13521 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13522 bits/syscall.h.
13523 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
13524 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
13525 ($(inst_includedir)/bits/syscall.h): Remove rule.
13526 ($(objpfx)bits/syscall.d): Include instead of
13527 $(objpfx)syscall-list.d.
13528 (generated): Change syscall-list.h and syscall-list.d to
13529 bits/syscall.h and bits/syscall.d.
13530
13531 2012-03-14 Roland McGrath <roland@hack.frob.com>
13532
13533 [BZ #13846]
13534 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
13535
13536 2012-03-14 Joseph Myers <joseph@codesourcery.com>
13537
13538 [BZ #13841]
13539 * math/s_csqrt.c: Include <float.h>.
13540 (__csqrt): Scale large or subnormal inputs.
13541 * math/s_csqrtf.c: Likewise.
13542 * math/s_csqrtl.c: Likewise.
13543 * math/libm-test.inc (csqrt_test): Add more tests.
13544 * sysdeps/i386/fpu/libm-test-ulps: Update.
13545 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13546
13547 [BZ #13840]
13548 * math/libm-test.inc (hypot_test): Add more tests.
13549
13550 2012-03-13 David S. Miller <davem@davemloft.net>
13551
13552 [BZ #13840]
13553 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
13554 double-precision for the calculation instead of scaling.
13555
13556 2012-03-13 Joseph Myers <joseph@codesourcery.com>
13557
13558 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
13559 manipulate bits before adding and subtracting TWO52[sx].
13560 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
13561 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
13562 Likewise.
13563 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
13564
13565 2012-03-13 David S. Miller <davem@davemloft.net>
13566
13567 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
13568 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
13569 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
13570 rtld-global-offsets.h
13571 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13572
13573 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
13574 large parameters.
13575
13576 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
13577
13578 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
13579 'err' in the ifdef scope in which it is actually used.
13580
13581 * nss/nss_db/db-init.c: Include string.h
13582
13583 2012-03-12 David S. Miller <davem@davemloft.net>
13584
13585 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
13586 masking out of the most significant byte of random value used.
13587 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13588 Fix coding style in previous change.
13589
13590 * sysdeps/unix/sysv/linux/kernel-features.h
13591 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
13592 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
13593 expression.
13594 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
13595 later.
13596
13597 2012-03-11 David S. Miller <davem@davemloft.net>
13598
13599 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
13600 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
13601 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
13602 for 'resultvar' otherwise things get truncated on 64-bit.
13603
13604 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13605 Fix masking out of the most significant byte of random value used.
13606
13607 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13608
13609 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
13610
13611 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13612
13613 2012-03-09 David S. Miller <davem@davemloft.net>
13614
13615 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
13616 variables with appropriate CPP guards.
13617 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
13618 frame pointer, not the stack pointer. Correct layout comments. Fix test
13619 on resulting framesize and the management of the outregs buffer for pltexit.
13620 Preserve floating point return values across _dl_call_pltexit call.
13621 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
13622 framesize and the management of the outregs buffer for pltexit.
13623 Preserve floating point return values across _dl_call_pltexit
13624 call.
13625 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
13626 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
13627 (print_exit): Fix format string for return register value.
13628
13629 2012-03-10 Joseph Myers <joseph@codesourcery.com>
13630
13631 * sunrpc/Makefile (others): Add rpcgen.
13632 ($(objpfx)rpcgen): Remove special build rule and dependency on
13633 libc.
13634 * sunrpc/rpcgen.c: New file.
13635
13636 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
13637
13638 [BZ #13673]
13639 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
13640 * stdio-common/bug-vfprintf-nargs.c: Likewise.
13641 * sysdeps/i386/crti.S: Likewise.
13642 * sysdeps/i386/crtn.S: Likewise.
13643 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
13644 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
13645 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
13646 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
13647 * sysdeps/sh/crti.S: Likewise.
13648 * sysdeps/sh/crtn.S: Likewise.
13649 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
13650
13651 [BZ #13673]
13652 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
13653 with URL.
13654 * locale/programs/locfile-kw.gperf: Likewise.
13655 * locale/programs/charmap-kw.h: Regenerated.
13656 * locale/programs/locfile-kw.h: Likewise.
13657
13658 [BZ #13673]
13659 * intl/plural.y: Replace FSF snail mail address with URL.
13660 * intl/plural.c: Regenerated.
13661
13662 2012-03-09 Richard Henderson <rth@twiddle.net>
13663
13664 * include/math_private.h: Remove file.
13665 * math/math_private.h: Move file ...
13666 * sysdeps/generic/math_private.h: ... here.
13667
13668 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
13669 * sysdeps/powerpc/fpu/math_private.h: Likewise.
13670 * sysdeps/x86_64/fpu/math_private.h: Likewise.
13671
13672 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
13673 and <math_private.h>.
13674 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
13675 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
13676 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
13677 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
13678 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
13679 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
13680 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13681 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13682 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13683 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13684 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13685 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13686 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13687 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13688 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13689 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13690 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13691 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13692 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13693 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
13694 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13695 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13696 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13697 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13698 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
13699 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13700 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13701 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13702 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13703 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13704 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13705 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13706 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
13707 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13708 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13709 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13710 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13711 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13712 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13713 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13714 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
13715 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13716 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
13717 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
13718 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
13719 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13720 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
13721 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13722 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13723 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13724 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13725 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
13726 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
13727 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13728 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
13729 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13730 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13731 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
13732 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
13733 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
13734 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13735 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13736 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13737 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13738 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
13739 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13740 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13741 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13742 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
13743 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
13744 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
13745 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13746 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
13747 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13748 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
13749 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
13750 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
13751 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13752 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
13753 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
13754 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
13755 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
13756 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
13757 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
13758 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13759 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
13760 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
13761 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
13762 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
13763 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13764 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13765 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
13766 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13767 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
13768 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
13769 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
13770 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13771 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13772 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13773 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
13774 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
13775 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
13776 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
13777 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
13778 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13779 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
13780 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13781 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
13782 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13783 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13784 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13785 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13786 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
13787 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13788 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
13789 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13790 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
13791 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
13792 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13793 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13794 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
13795 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
13796 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13797 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
13798 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
13799 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
13800 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
13801 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
13802 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
13803 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
13804 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
13805 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13806 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
13807 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
13808 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
13809 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
13810 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13811 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
13812 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
13813 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
13814 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13815 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
13816 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
13817 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
13818 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
13819 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
13820 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
13821 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
13822 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
13823 * sysdeps/ieee754/k_standard.c: Likewise.
13824 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
13825 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
13826 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13827 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
13828 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13829 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
13830 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
13831 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13832 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13833 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13834 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13835 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13836 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
13837 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
13838 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
13839 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13840 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
13841 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
13842 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13843 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
13844 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
13845 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
13846 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13847 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
13848 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
13849 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
13850 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
13851 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
13852 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
13853 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13854 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
13855 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
13856 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
13857 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
13858 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
13859 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
13860 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
13861 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
13862 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
13863 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
13864 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13865 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13866 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
13867 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
13868 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13869 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13870 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
13871 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13872 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
13873 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13874 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13875 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
13876 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
13877 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
13878 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13879 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13880 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
13881 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
13882 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
13883 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
13884 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13885 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
13886 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
13887 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
13888 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13889 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13890 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
13891 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
13892 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
13893 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
13894 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
13895 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13896 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
13897 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
13898 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
13899 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
13900 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
13901 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
13902 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13903 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
13904 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
13905 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
13906 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
13907 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
13908 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
13909 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
13910 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
13911 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
13912 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
13913 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
13914 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
13915 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
13916 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
13917 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
13918 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
13919 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
13920 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
13921 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
13922 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
13923 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
13924 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
13925 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
13926 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13927 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
13928 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
13929 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
13930 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13931 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
13932 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
13933 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
13934 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
13935 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
13936 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
13937 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13938 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
13939 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13940 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
13941 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13942 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13943 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13944 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13945 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
13946 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13947 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
13948 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13949 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
13950 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13951 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
13952 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
13953 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13954 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13955 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13956 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13957 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
13958 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
13959 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
13960 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
13961 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
13962 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13963 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
13964 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
13965 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13966 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
13967 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
13968 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
13969 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13970 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13971 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
13972 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
13973 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
13974 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13975 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
13976 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
13977 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
13978 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
13979 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
13980 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
13981 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
13982 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
13983 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
13984 * sysdeps/ieee754/s_lib_version.c: Likewise.
13985 * sysdeps/ieee754/s_matherr.c: Likewise.
13986 * sysdeps/ieee754/s_signgam.c: Likewise.
13987 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13988 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13989 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
13990 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
13991 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
13992 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
13993 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
13994 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
13995 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
13996 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
13997 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
13998 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
13999 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
14000 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
14001 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
14002 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
14003 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14004 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
14005 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14006 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14007 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
14008
14009 2012-03-09 Joseph Myers <joseph@codesourcery.com>
14010
14011 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
14012 * sunrpc/rpc_main.c: Likewise.
14013 * sunrpc/rpc_svcout.c: Likewise.
14014
14015 2012-03-09 David S. Miller <davem@davemloft.net>
14016
14017 * include/math_private.h: New file.
14018
14019 2012-03-09 Joseph Myers <joseph@codesourcery.com>
14020
14021 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
14022 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
14023 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
14024 from <bits/socket_type.h>.
14025 (enum __socket_type): Don't define here.
14026 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
14027 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14028 bits/socket_type.h.
14029
14030 [BZ #13566]
14031 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
14032 checking __USE_GNU.
14033
14034 * Makerules ($(inst_includedir)/%.h): New rule.
14035 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
14036 (install-others): Remove variable setting.
14037 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
14038
14039 2012-03-08 Richard Henderson <rth@twiddle.net>
14040
14041 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
14042 from macro to inline function; merge with the
14043 !__LIBC_INTERNAL_MATH_INLINES version.
14044 (__ieee754_sqrtf): Likewise.
14045
14046 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
14047 to inline function.
14048 (__rintf, __floor, __floorf): Likewise.
14049
14050 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
14051 macro to inline function.
14052 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
14053
14054 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
14055 not <math/math_private.h>.
14056
14057 2012-03-08 David S. Miller <davem@davemloft.net>
14058
14059 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
14060 copyright year.
14061 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
14062
14063 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
14064
14065 * resolv/gai_misc.c (handle_requests): Fix struct timespec
14066 normalization.
14067 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
14068 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
14069
14070 2012-03-08 Ulrich Drepper <drepper@gmail.com>
14071
14072 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
14073 be defined individually, they must be defined as a block. Define
14074 S for printing a string instead of hidint the different by using a
14075 macro for adding the 'l'.
14076 * stdio-common/tst-fphex-wide.c: Adjust.
14077
14078 2012-03-07 Marek Polacek <polacek@redhat.com>
14079
14080 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
14081
14082 2012-03-08 Marek Polacek <polacek@redhat.com>
14083
14084 [BZ #13806]
14085 * stdio-common/Makefile (tests): Add tst-fphex-wide.
14086 * stdio-common/tst-fphex.c: Define a few macros to make the
14087 test reusable. Use them.
14088 * stdio-common/tst-fphex-wide.c: New file.
14089
14090 2012-03-08 Joseph Myers <joseph@codesourcery.com>
14091
14092 [BZ #6911]
14093 * manual/macros.texi (gnusystems): New macro.
14094 (nongnusystems): Likewise.
14095 (gnulinuxhurdsystems): Likewise.
14096 (gnuhurdsystems): Likewise..
14097 (gnulinuxsystems): Likewise.
14098 * manual/charset.texi: Use new macros or @theglibc{} to refer to
14099 variants of the GNU system, not "GNU system".
14100 * manual/conf.texi: Likewise.
14101 * manual/errno.texi: Likewise. Update example of errno macro
14102 expansion.
14103 * manual/filesys.texi: Likewise.
14104 (getumask): Document as specific to GNU/Hurd.
14105 * manual/install.texi: Likewise. Reword some references to
14106 GNU/Linux.
14107 * manual/intro.texi: Likewise.
14108 * manual/io.texi: Likewise.
14109 (File Name Portability): Detail which constraints are inapplicable
14110 to all GNU systems and which are only inapplicable to GNU/Hurd.
14111 * manual/job.texi: Likewise.
14112 * manual/llio.texi: Likewise.
14113 (O_NOCTTY): Document as present on GNU/Linux.
14114 * manual/maint.texi: Likewise.
14115 * manual/memory.texi: Likewise.
14116 * manual/pattern.texi: Likewise.
14117 * manual/pipe.texi: Likewise.
14118 * manual/process.texi: Likewise.
14119 * manual/resource.texi: Likewise.
14120 (RUSAGE_CHILDREN): Remove statement about specifying a particular
14121 child on GNU/Hurd.
14122 * manual/setjmp.texi: Likewise.
14123 * manual/signal.texi: Likewise.
14124 * manual/startup.texi: Likewise.
14125 * manual/stdio.texi: Likewise.
14126 * manual/terminal.texi: Likewise.
14127 (ONLCR): Document as POSIX.
14128 (OXTABS): Document availability on GNU/Linux as XTABS.
14129 (ONOEOT): Document availability separately from other bits.
14130 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
14131 * manual/time.texi: Likewise.
14132 * manual/users.texi: Likewise.
14133 * INSTALL: Regenerated.
14134 * sysdeps/gnu/errlist.c: Regenerated.
14135
14136 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
14137 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
14138 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
14139 puts.
14140 * configure: Regenerated.
14141
14142 2012-03-07 Joseph Myers <joseph@codesourcery.com>
14143
14144 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
14145 default includes instead of AC_HEADER_CHECK.
14146 * sysdeps/i386/configure: Regenerated.
14147
14148 [BZ #10716]
14149 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
14150 * math/s_cacoshf.c (__cacoshf): Likewise.
14151 * math/s_cacoshl.c (__cacoshl): Likewise.
14152 * math/s_casinh.c (__casinh): Set signs of result from argument.
14153 * math/s_casinhf.c (__casinhf): Likewise.
14154 * math/s_casinhl.c (__casinhl): Likewise.
14155 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
14156 (casinh_test): Add more tests.
14157 * sysdeps/i386/fpu/libm-test-ulps: Update.
14158 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14159
14160 2012-03-07 Ulrich Drepper <drepper@gmail.com>
14161
14162 * po/zh_TW.po: Update from translation team.
14163
14164 * login/Makefile (distribute): Remove variable.
14165 * catgets/Makefile: Likewise.
14166 * mach/Makefile: Likewise.
14167 * malloc/Makefile: Likewise.
14168 * misc/Makefile: Likewise.
14169 * iconv/Makefile: Likewise.
14170 * nscd/Makefile: Likewise.
14171 * hurd/Makefile: Likewise.
14172 * manual/Makefile: Likewise.
14173 * locale/Makefile: Likewise.
14174 * intl/Makefile: Likewise.
14175 * conform/Makefile: Likewise.
14176 * nss/Makefile: Likewise.
14177 * time/Makefile: Likewise.
14178 * soft-fp/Makefile: Likewise.
14179 * dirent/Makefile: Likewise.
14180 * gmon/Makefile: Likewise.
14181 * po/Makefile: Likewise.
14182 * rt/Makefile: Likewise.
14183 * socket/Makefile: Likewise.
14184 * math/Makefile: Likewise.
14185 * signal/Makefile: Likewise.
14186 * debug/Makefile: Likewise.
14187 * elf/Makefile: Likewise.
14188 * timezone/Makefile: Likewise.
14189 * stdlib/Makefile: Likewise.
14190 * iconvdata/Makefile: Likewise.
14191 * sunrpc/Makefile: Likewise.
14192 * io/Makefile: Likewise.
14193 * argp/Makefile: Likewise.
14194 * inet/Makefile: Likewise.
14195 * hesiod/Makefile: Likewise.
14196 * grp/Makefile: Likewise.
14197 * csu/Makefile: Likewise.
14198 * wctype/Makefile: Likewise.
14199 * crypt/Makefile: Likewise.
14200 * libio/Makefile: Likewise.
14201 * string/Makefile: Likewise.
14202 * nis/Makefile: Likewise.
14203 * resolv/Makefile: Likewise.
14204 * stdio-common/Makefile: Likewise.
14205 * wcsmbs/Makefile: Likewise.
14206 * dlfcn/Makefile: Likewise.
14207 * posix/Makefile: Likewise.
14208
14209 [BZ #6959]
14210 * timezone/Makefile: Don't install timezone files, just the programs
14211 and scripts.
14212
14213 2012-03-06 Ulrich Drepper <drepper@gmail.com>
14214
14215 * nss/databases.def: Add missing gshadow entry.
14216
14217 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
14218
14219 2012-03-06 Marek Polacek <polacek@redhat.com>
14220
14221 [BZ #13726]
14222 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
14223 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
14224 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
14225 * stdio-common/tst-long-dbl-fphex.c: New file.
14226
14227 2012-03-06 David S. Miller <davem@davemloft.net>
14228
14229 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14230 (set_obp_int): New function.
14231 (get_obp_int): New function.
14232 (__get_clockfreq_via_dev_openprom): Likewise.
14233 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
14234 Avoid unused variable warnings on 'val' and use builtin_expect.
14235 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
14236 __builtin_expect.
14237 (INLINE_CLONE_SYSCALL): Likewise.
14238
14239 2012-03-05 David S. Miller <davem@davemloft.net>
14240
14241 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14242
14243 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
14244
14245 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14246
14247 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
14248 only for |x| >= 40.
14249 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14250
14251 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
14252
14253 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
14254 Replace gettimeofday with __vdso_gettimeofday.
14255
14256 * sysdeps/unix/sysv/linux/x86_64/init-first.c
14257 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
14258 __vdso_clock_gettime and __vdso_getcpu.
14259
14260 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
14261 time with __vdso_time.
14262
14263 2012-03-05 Joseph Myers <joseph@codesourcery.com>
14264
14265 * manual/lang.texi (size_t): Note types to which size_t may be
14266 equivalent with the GNU C Library, but do not describe when
14267 differences between them are significant.
14268
14269 2012-03-05 Andreas Jaeger <aj@suse.de>
14270
14271 * sysdeps/i386/fpu/libm-test-ulps: Update.
14272
14273 2012-03-05 Joseph Myers <joseph@codesourcery.com>
14274
14275 [BZ #3976]
14276 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
14277 (__ieee754_pow): Save and restore rounding mode and use
14278 round-to-nearest for main computations.
14279 * math/libm-test.inc (pow_test_tonearest): New function.
14280 (pow_test_towardzero): Likewise.
14281 (pow_test_downward): Likewise.
14282 (pow_test_upward): Likewise.
14283 (main): Call the new functions.
14284 * sysdeps/i386/fpu/libm-test-ulps: Update.
14285 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14286
14287 [BZ #3976]
14288 * math/libm-test.inc (cosh_test_tonearest): New function.
14289 (cosh_test_towardzero): Likewise.
14290 (cosh_test_downward): Likewise.
14291 (cosh_test_upward): Likewise.
14292 (sinh_test_tonearest): Likewise.
14293 (sinh_test_towardzero): Likewise.
14294 (sinh_test_downward): Likewise.
14295 (sinh_test_upward): Likewise.
14296 (main): Call the new functions.
14297 * sysdeps/i386/fpu/libm-test-ulps: Update.
14298 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14299
14300 2012-03-05 Tom de Vries <tom@codesourcery.com>
14301
14302 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
14303 default stack guard is set in last bytes.
14304 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
14305
14306 2012-03-05 Kees Cook <keescook@chromium.org>
14307
14308 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
14309
14310 [BZ #13656]
14311 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
14312 possibly allocate from heap instead of stack.
14313 * stdio-common/bug-vfprintf-nargs.c: New file.
14314 * stdio-common/Makefile (tests): Add nargs overflow test.
14315
14316 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
14317
14318 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14319
14320 2012-03-03 Marek Polacek <polacek@redhat.com>
14321
14322 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
14323 * math/math_private.h: Likewise.
14324 * stdlib/tst-strtod.c: Likewise.
14325 * sysdeps/i386/i486/bits/atomic.h: Likewise.
14326 * sysdeps/x86_64/bits/atomic.h: Likewise.
14327
14328 2012-03-02 David S. Miller <davem@davemloft.net>
14329
14330 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
14331 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
14332 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
14333 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
14334 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
14335 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
14336 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
14337 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
14338
14339 2012-03-02 Roland McGrath <roland@hack.frob.com>
14340
14341 [BZ #13792]
14342 * manual/examples/README: New file, says the example source files
14343 can be used under GPL>=2.
14344 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
14345 line containing just "*/".
14346 * manual/examples/add.c: Add copyright header (GPL>=2).
14347 * manual/examples/argp-ex1.c: Likewise.
14348 * manual/examples/argp-ex2.c: Likewise.
14349 * manual/examples/argp-ex3.c: Likewise.
14350 * manual/examples/argp-ex4.c: Likewise.
14351 * manual/examples/atexit.c: Likewise.
14352 * manual/examples/db.c: Likewise.
14353 * manual/examples/dir.c: Likewise.
14354 * manual/examples/dir2.c: Likewise.
14355 * manual/examples/execinfo.c: Likewise.
14356 * manual/examples/filecli.c: Likewise.
14357 * manual/examples/filesrv.c: Likewise.
14358 * manual/examples/fmtmsgexpl.c: Likewise.
14359 * manual/examples/genpass.c: Likewise.
14360 * manual/examples/inetcli.c: Likewise.
14361 * manual/examples/inetsrv.c: Likewise.
14362 * manual/examples/isockad.c: Likewise.
14363 * manual/examples/longopt.c: Likewise.
14364 * manual/examples/memopen.c: Likewise.
14365 * manual/examples/memstrm.c: Likewise.
14366 * manual/examples/mkfsock.c: Likewise.
14367 * manual/examples/mkisock.c: Likewise.
14368 * manual/examples/mygetpass.c: Likewise.
14369 * manual/examples/pipe.c: Likewise.
14370 * manual/examples/popen.c: Likewise.
14371 * manual/examples/rprintf.c: Likewise.
14372 * manual/examples/search.c: Likewise.
14373 * manual/examples/select.c: Likewise.
14374 * manual/examples/setjmp.c: Likewise.
14375 * manual/examples/sigh1.c: Likewise.
14376 * manual/examples/sigusr.c: Likewise.
14377 * manual/examples/stpcpy.c: Likewise.
14378 * manual/examples/strdupa.c: Likewise.
14379 * manual/examples/strftim.c: Likewise.
14380 * manual/examples/strncat.c: Likewise.
14381 * manual/examples/subopt.c: Likewise.
14382 * manual/examples/swapcontext.c: Likewise.
14383 * manual/examples/termios.c: Likewise.
14384 * manual/examples/testopt.c: Likewise.
14385 * manual/examples/testpass.c: Likewise.
14386 * manual/examples/timeval_subtract.c: Likewise.
14387
14388 [BZ #13792]
14389 * manual/time.texi (Elapsed Time): Move timeval_subtract example
14390 function to ...
14391 * manual/timeval_subtract.c.texi: ... here, new file.
14392
14393 2012-03-02 David S. Miller <davem@davemloft.net>
14394
14395 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
14396
14397 2012-03-02 Joseph Myers <joseph@codesourcery.com>
14398
14399 [BZ #3976]
14400 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
14401 (__sin): Save and restore rounding mode and use round-to-nearest
14402 for all computations.
14403 (__cos): Save and restore rounding mode and use round-to-nearest
14404 for all computations.
14405 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
14406 <fenv.h>.
14407 (tan): Save and restore rounding mode and use round-to-nearest for
14408 all computations.
14409 * math/libm-test.inc (cos_test_tonearest): New function.
14410 (cos_test_towardzero): Likewise.
14411 (cos_test_downward): Likewise.
14412 (cos_test_upward): Likewise.
14413 (sin_test_tonearest): Likewise.
14414 (sin_test_towardzero): Likewise.
14415 (sin_test_downward): Likewise.
14416 (sin_test_upward): Likewise.
14417 (tan_test_tonearest): Likewise.
14418 (tan_test_towardzero): Likewise.
14419 (tan_test_downward): Likewise.
14420 (tan_test_upward): Likewise.
14421 (main): Call the new functions.
14422 * sysdeps/i386/fpu/libm-test-ulps: Update.
14423 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14424
14425 [BZ #10135]
14426 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
14427 small n, then large n, before computing and testing k+n.
14428 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
14429 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
14430 Likewise.
14431 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
14432 Likewise.
14433 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
14434 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
14435 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
14436 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
14437 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
14438 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
14439 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
14440 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
14441 * math/libm-test.inc (scalbn_test): Add more tests.
14442 (scalbln_test): Likewise.
14443
14444 * manual/filesys.texi (mode_t): Describe constraints on size and
14445 signedness, not exact equivalence to a particular type.
14446 (ino_t): Likewise.
14447 (ino64_t): Likewise.
14448 (dev_t): Likewise.
14449 (nlink_t): Likewise.
14450 (blkcnt_t): Likewise.
14451 (blkcnt64_t): Likewise.
14452 * manual/llio.texi (off_t): Likewise.
14453
14454 [BZ #3976]
14455 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
14456 (__ieee754_exp): Save and restore rounding mode and use
14457 round-to-nearest for all computations.
14458 * math/libm-test.inc (exp_test_tonearest): New function.
14459 (exp_test_towardzero): Likewise.
14460 (exp_test_downward): Likewise.
14461 (exp_test_upward): Likewise.
14462 (main): Call the new functions.
14463 * sysdeps/i386/fpu/libm-test-ulps: Update.
14464 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14465
14466 2012-03-01 Chris Demetriou <cgd@google.com>
14467
14468 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
14469 have predictable order.
14470
14471 2012-03-01 David S. Miller <davem@davemloft.net>
14472
14473 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
14474
14475 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
14476 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
14477 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
14478 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
14479
14480 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
14481 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
14482 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
14483 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
14484 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
14485 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
14486 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
14487 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
14488 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
14489
14490 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14491
14492 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
14493 * sysdeps/sparc/fpu/libm-test-ulps: to here.
14494 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
14495
14496 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
14497 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14498 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
14499 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
14500 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
14501 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
14502 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
14503 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14504 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
14505 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
14506 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
14507 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14508 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14509 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
14510 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14511 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14512 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
14513 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
14514 * sysdeps/sparc/elf/configure: Regenerated.
14515
14516 2012-03-01 Joseph Myers <joseph@codesourcery.com>
14517
14518 * configure.in (AS, LD): Require binutils 2.20 or later.
14519 * configure: Regenerated.
14520 * manual/install.texi (Tools for Compilation): Give binutils 2.20
14521 as required minimum version.
14522 * INSTALL: Regenerated.
14523
14524 [BZ #2541]
14525 [BZ #4108]
14526 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
14527 before squaring exponent.
14528 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
14529 bottom long double and 27 bits of top long double before squaring
14530 exponent.
14531 * math/libm-test.inc (erfc_test): Add more tests.
14532 * sysdeps/i386/fpu/libm-test-ulps: Update.
14533 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14534 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14535
14536 2012-03-01 Kai Tietz <ktietz@redhat.com>
14537
14538 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
14539 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
14540 containing bit-fields.
14541 * soft-fp/extended.h (_FP_UNION_E): Likewise.
14542 * soft-fp/single.h (_FP_UNION_S): Likewise.
14543 * soft-fp/double.h (_FP_UNION_D): Likewise.
14544
14545 2012-02-29 Joseph Myers <joseph@codesourcery.com>
14546
14547 [BZ #13786]
14548 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
14549 not include ../strcmp.S.
14550 [USE_AS_STRNCASECMP_L]: Likewise.
14551 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
14552 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
14553 * sysdeps/i386/i686/multiarch/strncase_l-c.c
14554 (__strncasecmp_l_ia32): Define as alias to
14555 __strncasecmp_l_nonascii.
14556
14557 [BZ #5794]
14558 * math/libm-test.inc (expm1_test): Add test for bug 5794.
14559 * sysdeps/i386/fpu/libm-test-ulps: Update.
14560 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14561
14562 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
14563 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14564
14565 2012-02-29 Jeff Law <law@redhat.com>
14566
14567 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
14568 out of bounds read.
14569
14570 2012-02-29 Marek Polacek <polacek@redhat.com>
14571
14572 [BZ #13706]
14573 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
14574 * elf/Makefile: Add rules to run tst-unused-dep.out.
14575
14576 2012-02-28 David S. Miller <davem@davemloft.net>
14577
14578 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
14579 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
14580 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
14581 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
14582 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
14583 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
14584
14585 2012-02-29 Joseph Myers <joseph@codesourcery.com>
14586
14587 * math/libm-test.inc (llround_test): Move one test from
14588 lround_test. Use TEST_f_L in moved test.
14589 (lround_test): Move misplaced test to llround_test. Add testcase
14590 from bug 2561.
14591
14592 2012-02-28 Ulrich Drepper <drepper@gmail.com>
14593
14594 * sysdeps/x86_64/fpu/e_expf.S: New file.
14595 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
14596
14597 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
14598
14599 [BZ #13637]
14600 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
14601 of remain_len that may cause incomplete multi-byte character and
14602 false match.
14603 * posix/bug-regex33.c: New file.
14604 * posix/Makefile (tests): Add bug-regex33.
14605
14606 2012-02-28 Joseph Myers <joseph@codesourcery.com>
14607
14608 * manual/macros.texi: New file.
14609 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
14610 * manual/libc.texinfo: Include macros.texi.
14611 * manual/creatute.texi: Likewise.
14612 * manual/install.texi: Likewise.
14613 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
14614 @glibcadj{} in references to the GNU C Library.
14615 * manual/charset.texi: Likewise.
14616 * manual/conf.texi: Likewise.
14617 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
14618 when not using those macros.
14619 * manual/creature.texi: Likewise.
14620 * manual/crypt.texi: Likewise.
14621 * manual/errno.texi: Likewise.
14622 * manual/filesys.texi: Likewise.
14623 * manual/header.texi: Likewise.
14624 * manual/install.texi: Likewise.
14625 * manual/intro.texi: Likewise.
14626 * manual/io.texi: Likewise.
14627 * manual/job.texi: Likewise.
14628 * manual/lang.texi: Likewise.
14629 * manual/libc.texiinfo: Likewise.
14630 * manual/llio.texi: Likewise.
14631 * manual/locale.texi: Likewise.
14632 * manual/maint.texi: Likewise.
14633 * manual/math.texi: Likewise.
14634 * manual/memory.texi: Likewise.
14635 * manual/message.texi: Likewise.
14636 * manual/nss.texi: Likewise.
14637 * manual/pattern.texi: Likewise.
14638 * manual/process.texi: Likewise.
14639 * manual/resource.texi: Likewise.
14640 * manual/search.texi: Likewise.
14641 * manual/setjmp.texi: Likewise.
14642 * manual/signal.texi: Likewise.
14643 * manual/socket.texi: Likewise.
14644 * manual/startup.texi: Likewise.
14645 * manual/stdio.texi: Likewise.
14646 * manual/string.texi: Likewise.
14647 * manual/sysinfo.texi: Likewise.
14648 * manual/syslog.texi: Likewise.
14649 * manual/terminal.texi: Likewise.
14650 * manual/time.texi: Likewise.
14651 * manual/users.texi: Likewise.
14652 * INSTALL: Regenerated.
14653 * NOTES: Regenerated.
14654 * sysdeps/gnu/errlist.c: Regenerated.
14655
14656 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
14657
14658 * include/dirent.h: Include <dirstream.h> before
14659 <dirent/dirent.h>.
14660
14661 2012-02-28 David S. Miller <davem@davemloft.net>
14662
14663 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
14664 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
14665 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
14666 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
14667
14668 2012-02-27 David S. Miller <davem@davemloft.net>
14669
14670 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
14671 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
14672 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
14673 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
14674
14675 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
14676 frame pointer instead of stack pointer relative arg slot.
14677 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
14678 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
14679 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
14680
14681 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
14682
14683 [BZ #3992]
14684 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
14685
14686 2012-02-27 David S. Miller <davem@davemloft.net>
14687
14688 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
14689 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
14690 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
14691 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
14692 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
14693 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
14694 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
14695 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
14696
14697 2012-02-27 Joseph Myers <joseph@codesourcery.com>
14698
14699 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
14700 later. Allow versions 5-9.
14701 * configure: Regenerated.
14702 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
14703 required minimum version and 4.6 as recommended version. Do not
14704 mention bugs in GCC 2.7 and 2.8.
14705 * INSTALL: Regenerated.
14706
14707 2012-02-27 David S. Miller <davem@davemloft.net>
14708
14709 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
14710 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
14711 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
14712 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
14713 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
14714 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
14715 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
14716 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
14717
14718 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
14719 manipulate bits before adding and subtracting TWO112[sx].
14720 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
14721
14722 2012-02-27 Roland McGrath <roland@hack.frob.com>
14723
14724 [BZ #13775]
14725 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
14726 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
14727 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
14728 being in POSIX, because they are in 1003.1-2008.
14729
14730 * rt/tst-aio.c: Include <fcntl.h>.
14731 * rt/tst-aio7.c: Likewise.
14732 * rt/tst-aio64.c: Likewise.
14733
14734 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
14735
14736 2012-02-27 Joseph Myers <joseph@codesourcery.com>
14737
14738 * manual/install.texi (--with-headers): Describe headers as
14739 interface headers, not private headers.
14740 (Specific advice for GNU/Linux systems): Describe use of headers
14741 from "make headers_install", not private headers from older
14742 kernels.
14743 * INSTALL: Regenerated.
14744 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
14745 Change to 2.6.19.
14746 * sysdeps/unix/sysv/linux/configure: Regenerated.
14747
14748 * manual/llio.texi (fclean): Remove documentation.
14749
14750 * manual/Makefile (libc-texi-generated): New variable. Include
14751 version.texi.
14752 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
14753 $(libc-texi-generated), not duplicated list of files.
14754 (version.texi, stamp-version): New rules.
14755 (realclean): Remove $(libc-texi-generated), not individual files
14756 from that list. Do not remove dir-add.texinfo.
14757 * manual/libc.texinfo: Comment out uses of edition numbers and
14758 references to printed manual. Remove last-updated dates.
14759 (EDITION): Comment out.
14760 (ISBN): Likewise.
14761 (VERSION, UPDATED): Remove.
14762 (version.texi): Include.
14763
14764 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
14765
14766 * sysdeps/posix/spawni.c: Include <signal.h>.
14767 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
14768 * sysdeps/pthread/aio_fsync.c: Likewise.
14769
14770 2012-02-26 Ulrich Drepper <drepper@gmail.com>
14771
14772 * conform/Makefile (tests): Run only when not cross-compiling and
14773 when fast-check is not defined.
14774
14775 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
14776 * conform/data/limits.h-data: Fixes for POSIX2008.
14777 * conform/run-conformtest.sh: Run all tests.
14778 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
14779 headers.
14780 * include/bits/dlfcn.h: Likewise.
14781 * include/langinfo.h: Likewise.
14782 * include/monetary.h: Likewise.
14783 * include/sys/poll.h: Likewise.
14784
14785 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
14786 for __USE_GNU.
14787 * posix/spawn.h: Define __need_sigset_t.
14788 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
14789 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
14790 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
14791 to get sigevent_t only.
14792 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
14793 only for __USE_GNU.
14794 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14795 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
14796 process_vm_writev only for __USE_GNU.
14797 * termios/termios.h: Declare tcgetsid also for POSIX2008.
14798
14799 * conform/Makefile: For now ignore errors from run-conformtest.
14800 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
14801 POSIX to avoid namespace pollution. Don't prepend headers.
14802 * conform/data/aio.h-data: Fixes for POSIX testing.
14803 * conform/data/fcntl.h-data: Likewise.
14804 * conform/data/glob.h-data: Likewise.
14805 * conform/data/grp.h-data: Likewise.
14806 * conform/data/pthread.h-data: Likewise.
14807 * conform/data/pwd.h-data: Likewise.
14808 * conform/data/signal.h-data: Likewise.
14809 * conform/data/spawn.h-data: Likewise.
14810 * conform/data/stdio.h-data: Likewise.
14811 * conform/data/stdlib.h-data: Likewise.
14812 * conform/data/stropts.h-data: Likewise.
14813 * conform/data/sys/mman.h-data: Likewise.
14814 * conform/data/sys/stat.h-data: Likewise.
14815 * conform/data/sys/types.h-data: Likewise.
14816 * conform/data/sys/wait.h-data: Likewise.
14817 * conform/data/time.h-data: Likewise.
14818 * conform/data/unistd.h-data: Likewise.
14819 * conform/data/utime.h-data: Likewise.
14820
14821 * io/sys/stat.h: fchmod was always in POSIX.
14822 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
14823 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
14824 * rt/aio.h: Define __need_timespec before including <time.h>.
14825 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
14826 struct. Add forward declaration of pthread_attr_t and use it in
14827 sigevent.
14828 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
14829 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
14830 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
14831 always remove CLK_TCK definition.
14832
14833 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
14834
14835 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
14836
14837 2012-02-25 Ulrich Drepper <drepper@gmail.com>
14838
14839 * conform/run-conformtest.sh: New file.
14840 * conform/Makefile: Run run-conformtest for tests.
14841 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
14842 support.
14843
14844 * conform/data/uchar.h-data: New file.
14845 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
14846 * conform/data/arpa/inet.h-data: Likewise.
14847 * conform/data/assert.h-data: Likewise.
14848 * conform/data/complex.h-data: Likewise.
14849 * conform/data/cpio.h-data: Likewise.
14850 * conform/data/ctype.h-data: Likewise.
14851 * conform/data/dirent.h-data: Likewise.
14852 * conform/data/dlfcn.h-data: Likewise.
14853 * conform/data/errno.h-data: Likewise.
14854 * conform/data/fcntl.h-data: Likewise.
14855 * conform/data/float.h-data: Likewise.
14856 * conform/data/fmtmsg.h-data: Likewise.
14857 * conform/data/fnmatch.h-data: Likewise.
14858 * conform/data/ftw.h-data: Likewise.
14859 * conform/data/glob.h-data: Likewise.
14860 * conform/data/grp.h-data: Likewise.
14861 * conform/data/iconv.h-data: Likewise.
14862 * conform/data/inttypes.h-data: Likewise.
14863 * conform/data/langinfo.h-data: Likewise.
14864 * conform/data/libgen.h-data: Likewise.
14865 * conform/data/limits.h-data: Likewise.
14866 * conform/data/locale.h-data: Likewise.
14867 * conform/data/math.h-data: Likewise.
14868 * conform/data/monetary.h-data: Likewise.
14869 * conform/data/mqueue.h-data: Likewise.
14870 * conform/data/ndbm.h-data: Likewise.
14871 * conform/data/net/if.h-data: Likewise.
14872 * conform/data/netdb.h-data: Likewise.
14873 * conform/data/netinet/in.h-data: Likewise.
14874 * conform/data/nl_types.h-data: Likewise.
14875 * conform/data/poll.h-data: Likewise.
14876 * conform/data/pthread.h-data: Likewise.
14877 * conform/data/pwd.h-data: Likewise.
14878 * conform/data/regex.h-data: Likewise.
14879 * conform/data/sched.h-data: Likewise.
14880 * conform/data/search.h-data: Likewise.
14881 * conform/data/semaphore.h-data: Likewise.
14882 * conform/data/setjmp.h-data: Likewise.
14883 * conform/data/signal.h-data: Likewise.
14884 * conform/data/spawn.h-data: Likewise.
14885 * conform/data/stdarg.h-data: Likewise.
14886 * conform/data/stdio.h-data: Likewise.
14887 * conform/data/stdlib.h-data: Likewise.
14888 * conform/data/string.h-data: Likewise.
14889 * conform/data/strings.h-data: Likewise.
14890 * conform/data/stropts.h-data: Likewise.
14891 * conform/data/sys/ipc.h-data: Likewise.
14892 * conform/data/sys/mman.h-data: Likewise.
14893 * conform/data/sys/msg.h-data: Likewise.
14894 * conform/data/sys/resource.h-data: Likewise.
14895 * conform/data/sys/select.h-data: Likewise.
14896 * conform/data/sys/sem.h-data: Likewise.
14897 * conform/data/sys/shm.h-data: Likewise.
14898 * conform/data/sys/socket.h-data: Likewise.
14899 * conform/data/sys/stat.h-data: Likewise.
14900 * conform/data/sys/statvfs.h-data: Likewise.
14901 * conform/data/sys/time.h-data: Likewise.
14902 * conform/data/sys/timeb.h-data: Likewise.
14903 * conform/data/sys/times.h-data: Likewise.
14904 * conform/data/sys/types.h-data: Likewise.
14905 * conform/data/sys/uio.h-data: Likewise.
14906 * conform/data/sys/un.h-data: Likewise.
14907 * conform/data/sys/utsname.h-data: Likewise.
14908 * conform/data/sys/wait.h-data: Likewise.
14909 * conform/data/syslog.h-data: Likewise.
14910 * conform/data/tar.h-data: Likewise.
14911 * conform/data/termios.h-data: Likewise.
14912 * conform/data/utime.h-data: Likewise.
14913 * conform/data/utmpx.h-data: Likewise.
14914 * conform/data/varargs.h-data: Likewise.
14915 * conform/data/wchar.h-data: Likewise.
14916 * conform/data/wctype.h-data: Likewise.
14917 * conform/data/wordexp.h-data: Likewise.
14918
14919 * include/stropts.h: New file.
14920 * include/uchar.h: New file.
14921 * include/aio.h: Changes to allow conformtest.pl to use the headers.
14922 * include/assert.h: Likewise.
14923 * include/ctype.h: Likewise.
14924 * include/dirent.h: Likewise.
14925 * include/dlfcn.h: Likewise.
14926 * include/fcntl.h: Likewise.
14927 * include/fnmatch.h: Likewise.
14928 * include/glob.h: Likewise.
14929 * include/grp.h: Likewise.
14930 * include/libio.h: Likewise.
14931 * include/locale.h: Likewise.
14932 * include/math.h: Likewise.
14933 * include/net/if.h: Likewise.
14934 * include/netdb.h: Likewise.
14935 * include/netinet/in.h: Likewise.
14936 * include/pthread.h: Likewise.
14937 * include/pwd.h: Likewise.
14938 * include/regex.h: Likewise.
14939 * include/sched.h: Likewise.
14940 * include/search.h: Likewise.
14941 * include/setjmp.h: Likewise.
14942 * include/signal.h: Likewise.
14943 * include/stdio.h: Likewise.
14944 * include/stdlib.h: Likewise.
14945 * include/string.h: Likewise.
14946 * include/sys/cdefs.h: Likewise.
14947 * include/sys/mman.h: Likewise.
14948 * include/sys/msg.h: Likewise.
14949 * include/sys/resource.h: Likewise.
14950 * include/sys/select.h: Likewise.
14951 * include/sys/socket.h: Likewise.
14952 * include/sys/stat.h: Likewise.
14953 * include/sys/statvfs.h: Likewise.
14954 * include/sys/time.h: Likewise.
14955 * include/sys/times.h: Likewise.
14956 * include/sys/uio.h: Likewise.
14957 * include/sys/utsname.h: Likewise.
14958 * include/sys/wait.h: Likewise.
14959 * include/termios.h: Likewise.
14960 * include/time.h: Likewise.
14961 * include/ulimit.h: Likewise.
14962 * include/unistd.h: Likewise.
14963 * include/utime.h: Likewise.
14964 * include/wchar.h: Likewise.
14965 * include/wctype.h: Likewise.
14966 * include/wordexp.h: Likewise.
14967
14968 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
14969
14970 * time/time.h: TIME_UTC must be a macro.
14971 Make timespec_get available for ISO C11 only as well.
14972
14973 2012-02-24 Ulrich Drepper <drepper@gmail.com>
14974
14975 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
14976 Reported by Peng Haitao <penght@cn.fujitsu.com>.
14977
14978 2012-02-24 Joseph Myers <joseph@codesourcery.com>
14979
14980 * configure.in: Use -o not -a in test for unsupported multi-arch.
14981
14982 2012-02-24 Joseph Myers <joseph@codesourcery.com>
14983
14984 * manual/texinfo.tex: Update to version 2012-01-19.16.
14985
14986 2012-02-24 Joseph Myers <joseph@codesourcery.com>
14987
14988 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
14989
14990 2012-02-24 Roland McGrath <roland@hack.frob.com>
14991
14992 [BZ #13738]
14993 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
14994 * manual/fdl-1.3.texi: New file.
14995 * manual/fdl-1.1.texi: File removed.
14996
14997 [BZ #13738]
14998 * manual/libc.texinfo (FDL_VERSION): New @set.
14999 Use it for mention of FDL in cover text.
15000 (Documentation License): Use it in @include file name.
15001
15002 2012-02-22 Joseph Myers <joseph@codesourcery.com>
15003 Roland McGrath <roland@hack.frob.com>
15004
15005 [BZ #5461]
15006 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
15007 not LONG_LONG_MAX and LONG_LONG_MIN.
15008 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
15009 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
15010 name.
15011 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
15012
15013 2012-02-22 Joseph Myers <joseph@codesourcery.com>
15014
15015 [BZ #2547]
15016 [BZ #11365]
15017 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
15018 manipulate bits before adding and subtracting TWO23[sx].
15019 * math/libm-test.inc (nearbyint_test): Add more tests.
15020
15021 2012-02-22 Joseph Myers <joseph@codesourcery.com>
15022
15023 [BZ #2548]
15024 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
15025 bits before adding and subtracting TWO23[sx].
15026 * math/libm-test.inc (rint_test): Add more tests.
15027 (rint_test_tonearest): Likewise.
15028 (rint_test_towardzero): Likewise.
15029 (rint_test_downward): Likewise.
15030 (rint_test_upward: Likewise.
15031
15032 2012-02-22 Joseph Myers <joseph@codesourcery.com>
15033
15034 [BZ #10110]
15035 * include/stdc-predef.h: New file. Extracted from features.h.
15036 * include/features.h: Include stdc-predef.h.
15037 * Makefile (headers): Add stdc-predef.h.
15038 * CONFORMANCE (Compiler limitations): Update.
15039
15040 2012-02-22 Joseph Myers <joseph@codesourcery.com>
15041
15042 * manual/libc.texinfo (VERSION, UPDATED): Revert.
15043
15044 2012-02-21 David S. Miller <davem@davemloft.net>
15045
15046 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
15047 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
15048
15049 2012-02-20 David S. Miller <davem@davemloft.net>
15050
15051 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
15052 using a normal save/restore sequence, rather than allocating a
15053 dummy stack frame just to store a frame pointer and restore.
15054 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
15055
15056 2012-02-21 Joseph Myers <joseph@codesourcery.com>
15057
15058 * manual/install.texi: Fix stray word in line-wrapped comment.
15059
15060 2012-02-20 David S. Miller <davem@davemloft.net>
15061
15062 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
15063 both binutils and gcc support GOTDATA.
15064
15065 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
15066 "rd %pc" in the PIC register setup sequences.
15067
15068 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
15069 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
15070 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
15071 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
15072 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
15073 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
15074 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15075 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
15076 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
15077 (SYSCALL_ERROR_HANDLER): Likewise.
15078 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
15079 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
15080 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
15081 (SYSCALL_ERROR_HANDLER): Likewise.
15082
15083 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
15084 (HAVE_GCC_GOTDATA): New.
15085 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
15086 relocation support in both binutils and gcc.
15087 * sysdeps/sparc/elf/configure: Regenerate.
15088
15089 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
15090 * sysdeps/sparc/sparc32/elf/configure: Delete.
15091 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
15092 * sysdeps/sparc/sparc64/elf/configure: Delete.
15093 * sysdeps/sparc/elf/configure.in: New file.
15094 * sysdeps/sparc/elf/configure: Generate.
15095
15096 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
15097 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
15098 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
15099 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
15100 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
15101
15102 2012-02-21 Joseph Myers <joseph@codesourcery.com>
15103
15104 * manual/install.texi: Do not mention specific glibc version
15105 numbers.
15106 * manual/libc.texinfo (VERSION, UPDATED): Update.
15107 (@copying): Use @copyright{} and range of years.
15108
15109 2012-02-21 Joseph Myers <joseph@codesourcery.com>
15110
15111 [BZ #13695]
15112 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
15113 [crti.S not in sysdirs] (generated): Do not append.
15114 [crti.S not in sysdirs] (omit-deps): Likewise.
15115 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
15116 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
15117 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
15118 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
15119 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
15120 Likewise.
15121 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
15122 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
15123 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
15124 * csu/defs.awk: Remove file.
15125 * sysdeps/generic/initfini.c: Likewise.
15126 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
15127 variable.
15128 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
15129 Likewise.
15130
15131 2012-02-20 Joseph Myers <joseph@codesourcery.com>
15132
15133 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
15134 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
15135 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
15136 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
15137 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
15138 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
15139 <bits/epoll.h>.
15140 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
15141 (__EPOLL_PACKED): Define to empty if not defined by
15142 <bits/epoll.h>.
15143 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
15144 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15145 bits/epoll.h.
15146
15147 2012-02-20 Joseph Myers <joseph@codesourcery.com>
15148
15149 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
15150 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
15151 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
15152 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
15153 <bits/timerfd.h>.
15154 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
15155 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15156 bits/timerfd.h.
15157
15158 2012-02-20 Joseph Myers <joseph@codesourcery.com>
15159
15160 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
15161 in C locale.
15162 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15163 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15164 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
15165 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15166
15167 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
15168
15169 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15170 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
15171
15172 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
15173
15174 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
15175 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
15176 defined.
15177 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
15178 Likewise.
15179 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
15180 entry for 2.16.
15181
15182 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
15183
15184 * math/w_acos.c: Use non-signaling floating-point comparisons.
15185 * math/w_acosf.c: Likewise.
15186 * math/w_acosh.c: Likewise.
15187 * math/w_acoshf.c: Likewise.
15188 * math/w_acoshl.c: Likewise.
15189 * math/w_acosl.c: Likewise.
15190 * math/w_asin.c: Likewise.
15191 * math/w_asinf.c: Likewise.
15192 * math/w_asinl.c: Likewise.
15193 * math/w_atanh.c: Likewise.
15194 * math/w_atanhf.c: Likewise.
15195 * math/w_atanhl.c: Likewise.
15196 * math/w_exp2.c: Likewise.
15197 * math/w_exp2f.c: Likewise.
15198 * math/w_exp2l.c: Likewise.
15199 * math/w_j0.c: Likewise.
15200 * math/w_j0f.c: Likewise.
15201 * math/w_j0l.c: Likewise.
15202 * math/w_j1.c: Likewise.
15203 * math/w_j1f.c: Likewise.
15204 * math/w_j1l.c: Likewise.
15205 * math/w_jn.c: Likewise.
15206 * math/w_jnf.c: Likewise.
15207 * math/w_log.c: Likewise.
15208 * math/w_log10.c: Likewise.
15209 * math/w_log10f.c: Likewise.
15210 * math/w_log10l.c: Likewise.
15211 * math/w_log2.c: Likewise.
15212 * math/w_log2f.c: Likewise.
15213 * math/w_log2l.c: Likewise.
15214 * math/w_logf.c: Likewise.
15215 * math/w_logl.c: Likewise.
15216 * math/w_sqrt.c: Likewise.
15217 * math/w_sqrtf.c: Likewise.
15218 * math/w_sqrtl.c: Likewise.
15219 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15220 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
15221 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15222 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
15223 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
15224
15225 2012-02-19 Joseph Myers <joseph@codesourcery.com>
15226
15227 [BZ #9739]
15228 * manual/string.texi (strnlen): Use correct parameter name in
15229 equivalent expression.
15230
15231 2012-02-19 Joseph Myers <joseph@codesourcery.com>
15232
15233 [BZ #11174]
15234 * manual/users.texi (seteuid): Consistently use neweuid for
15235 argument name.
15236
15237 2012-02-19 Joseph Myers <joseph@codesourcery.com>
15238
15239 [BZ #13704]
15240 * manual/nss.texi (Services in the NSS configuration): Correct
15241 list of services in example configuration file.
15242
15243 2012-02-19 Nick Bowler <nbowler@draconx.ca>
15244
15245 [BZ #11322]
15246 * manual/arith.texi: Remove statements about negative zero
15247 behaving identically to zero.
15248
15249 2012-02-18 Joseph Myers <joseph@codesourcery.com>
15250
15251 [BZ #5993]
15252 * manual/install.texi: Do not document upgrading from libc5.
15253
15254 2012-02-18 Joseph Myers <joseph@codesourcery.com>
15255
15256 [BZ #4596]
15257 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
15258
15259 2012-02-18 David S. Miller <davem@davemloft.net>
15260
15261 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
15262 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
15263 %o7 across the call.
15264 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
15265 instead.
15266 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
15267 SETUP_PIC_REG_LEAF.
15268 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15269 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
15270 * sysdeps/sparc/crtn.S: Likewise.
15271
15272 2012-02-17 Ulrich Drepper <drepper@gmail.com>
15273
15274 * aout/Makefile: Remove.
15275
15276 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
15277
15278 [BZ #13058]
15279 * manual/examples/argp-ex1.c (main): Format definition in GNU
15280 style.
15281 * manual/examples/argp-ex2.c (main): Likewise.
15282 * manual/examples/argp-ex3.c (main): Likewise.
15283 * manual/examples/argp-ex4.c (main): Likewise.
15284 * manual/examples/longopt.c (main): Use new-style prototype
15285 definition.
15286 * manual/examples/strncat.c (main): Specify return type and use
15287 (void) for arguments.
15288 * manual/examples/subopt.c (main): Use char **argv argument.
15289
15290 2012-02-17 Joseph Myers <joseph@codesourcery.com>
15291
15292 [BZ #5077]
15293 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
15294 rounding modes.
15295
15296 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
15297
15298 [BZ #6907]
15299 * manual/string.texi (strchr): Change when strchrnul is
15300 recommended.
15301
15302 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
15303
15304 [BZ #174]
15305 * manual/locale.texi (setlocale): Document LOCPATH.
15306
15307 2012-02-17 Joseph Myers <joseph@codesourcery.com>
15308
15309 [BZ #10210]
15310 * manual/process.texi (execle): Move @dots{} before last argument.
15311
15312 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
15313
15314 [BZ #12047]
15315 * manual/charset.texi (Generic Charset Conversion): Fix typo
15316 (LC_TYPE -> LC_CTYPE).
15317
15318 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
15319
15320 [BZ #5805]
15321 * manual/arith.texi (scalbn): Use @var{} on parameter names.
15322 (scalbnf): Likewise.
15323 (scalbnl): Likewise.
15324 (scalbln): Likewise.
15325 (scalblnf): Likewise.
15326 (scalblnl): Likewise.
15327 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
15328 (vwarnx): Likewise.
15329 (verr): Likewise.
15330 (verrx): Likewise.
15331 * manual/filesys.texi (telldir): Use braces around return type.
15332 * manual/llio.texi (mmap): Add space after comma.
15333 (mmap64): Likewise.
15334 * manual/math.texi (jn): Use @var{} on parameter names.
15335 (jnf): Likewise.
15336 (jnl): Likewise.
15337 (yn): Likewise.
15338 (ynf): Likewise.
15339 (ynl): Likewise.
15340 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
15341 line.
15342 * manual/resource.texi (ulimit): Use @dots{} instead of literal
15343 "...".
15344 (sched_get_priority_min): Remove semicolon on @deftypefun line.
15345 (sched_get_priority_max): Likewise.
15346 * manual/signal.texi (sigvec): Add space after comma.
15347 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
15348 names.
15349 (if_indextoname): Likewise.
15350 (if_freenameindex): Likewise.
15351 (sendto): Use ',' instead of '.' in prototype.
15352 * manual/startup.texi (syscall): Use @dots{} instead of literal
15353 "...".
15354 * manual/stdio.texi (__fpending): Separate initial words of
15355 paragraph from @deftypefun line.
15356 * manual/syslog.texi (syslog): Use @dots{} instead of literal
15357 "...".
15358 (vsyslog): Use @var{} on parameter names.
15359 * manual/terminal.texi (stty): Use @var{} on parameter names.
15360 * manual/users.texi (getutmp): Use @var{} on parameter names.
15361 (getutmpx): Likewise.
15362
15363 2012-02-17 Joseph Myers <joseph@codesourcery.com>
15364
15365 [BZ #6884]
15366 * manual/stdio.texi (fopen): Fix typos in description of
15367 ",ccs=STRING".
15368
15369 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
15370
15371 [BZ #4026]
15372 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
15373 get clock_id definition.
15374
15375 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
15376
15377 [BZ #4822]
15378 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
15379 (madvise): Cast every argument to void on its own.
15380
15381 2012-02-17 Joseph Myers <joseph@codesourcery.com>
15382
15383 [BZ #9902]
15384 * manual/startup.texi (Exit Status): Fix typo.
15385
15386 2012-02-17 Joseph Myers <joseph@codesourcery.com>
15387
15388 [BZ #10140]
15389 * manual/examples/argp-ex1.c: Include <stdlib.h>.
15390 * manual/examples/argp-ex2.c: Likewise.
15391 * manual/examples/argp-ex3.c: Likewise.
15392
15393 2012-02-16 Richard Henderson <rth@redhat.com>
15394
15395 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
15396 * sysdeps/s390/s390-32/initfini.c: Remove.
15397 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
15398 * sysdeps/s390/s390-64/initfini.c: Remove.
15399
15400 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15401
15402 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
15403 compiler output for sysdeps/generic/initfini.c.
15404 * sysdeps/sh/elf/initfini.c: Remove file.
15405
15406 2012-02-16 David S. Miller <davem@davemloft.net>
15407
15408 [BZ #11494]
15409 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
15410
15411 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
15412 * sysdeps/sparc/crti.S: New file.
15413 * sysdeps/sparc/crtn.S: New file.
15414 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
15415 * sysdeps/sparc/sparc64/Makefile: Likewise.
15416
15417 2012-02-15 Mike Frysinger <vapier@gentoo.org>
15418
15419 [BZ #3335]
15420 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
15421
15422 2012-02-15 Roland McGrath <roland@hack.frob.com>
15423
15424 [BZ #4822]
15425 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
15426
15427 * mach/devstream.c (cookie_io_functions_t): Macro removed.
15428 (write, read, close): Likewise.
15429 Patch by Aurelien Jarno <aurelien@aurel32.net>.
15430
15431 2012-02-15 Joseph Myers <joseph@codesourcery.com>
15432
15433 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
15434 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
15435 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
15436 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
15437 <bits/signalfd.h>.
15438 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
15439 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15440 bits/signalfd.h.
15441
15442 2012-02-14 Marek Polacek <polacek@redhat.com>
15443
15444 * sysdeps/x86_64/crti.S: New file.
15445 * sysdeps/x86_64/crtn.S: New file.
15446 * sysdeps/x86_64/elf/initfini.c: Remove file.
15447
15448 2012-02-13 Joseph Myers <joseph@codesourcery.com>
15449
15450 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
15451 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
15452 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
15453 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
15454 <bits/inotify.h>.
15455 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
15456 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15457 bits/inotify.h.
15458
15459 2012-02-13 Joseph Myers <joseph@codesourcery.com>
15460
15461 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
15462 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
15463 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
15464 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
15465 <bits/eventfd.h>.
15466 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
15467 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15468 bits/eventfd.h.
15469
15470 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
15471
15472 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
15473 __feraiseexcept instead of feraiseexcept.
15474
15475 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
15476 nanosleep invocations.
15477 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
15478 strings, and add error checking for a nanosleep invocations.
15479
15480 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
15481
15482 Replace FSF snail mail address with URLs, as per GNU coding standards.
15483 Most of the snail mail addresses were wrong anyway, and omitting
15484 them makes the source code easier to maintain. Almost all of the
15485 changes are to license notices and to locale LC_IDENTIFICATION
15486 addresses, except for this one:
15487 * manual/libc.texinfo: In "Published by", give the FSF's URL,
15488 not its snail mail address.
15489
15490 2012-02-09 Richard Henderson <rth@twiddle.net>
15491
15492 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
15493 of kernel-features.h.
15494
15495 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
15496
15497 2012-02-08 Marek Polacek <polacek@redhat.com>
15498
15499 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
15500 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
15501 * sysdeps/gnu/_G_config.h: Likewise.
15502 * sysdeps/generic/_G_config.h: Likewise.
15503
15504 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
15505
15506 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
15507 tests.
15508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15509
15510 * sysdeps/powerpc/powerpc32/crti.S: New file.
15511 * sysdeps/powerpc/powerpc32/crtn.S: New file.
15512 * sysdeps/powerpc/powerpc64/crti.S: New file.
15513 * sysdeps/powerpc/powerpc64/crtn.S: New file.
15514
15515 * Makeconfig (have-initfini): Don't set.
15516 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
15517 * configure.in (nopic_initfini): Don't substitute.
15518 * config.h.in (HAVE_INITFINI): Don't #undef.
15519 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
15520 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
15521
15522 2012-02-08 Joseph Myers <joseph@codesourcery.com>
15523
15524 Support crti.S and crtn.S provided directly by architectures.
15525 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
15526 [crti.S in sysdirs] (omit-deps): Likewise.
15527 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
15528 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
15529 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
15530 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
15531 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
15532 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
15533 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
15534 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
15535 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
15536 compiler output for sysdeps/generic/initfini.c.
15537 * sysdeps/i386/elf/Makefile: Remove file.
15538 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
15539
15540 2012-02-07 Marek Polacek <polacek@redhat.com>
15541
15542 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
15543 * sysdeps/gnu/_G_config.h: Likewise.
15544 * sysdeps/mach/hurd/_G_config.h: Likewise.
15545
15546 2012-02-07 Marek Polacek <polacek@redhat.com>
15547
15548 * math/Makefile (tests): Add tst-CMPLX2.
15549 * math/tst-CMPLX2.c: New file.
15550
15551 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
15552
15553 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15554
15555 * math/libm-test.inc (jn_test): Add missing L suffix.
15556
15557 2012-02-06 Marek Polacek <polacek@redhat.com>
15558
15559 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
15560 * sysdeps/i386/fpu/e_powf.S: Likewise.
15561 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15562 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
15563 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15564 * sysdeps/i386/fpu/e_pow.S: Likewise.
15565 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
15566 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15567 * sysdeps/i386/fpu/s_expm1.S: Likewise.
15568 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
15569 * sysdeps/i386/fpu/e_log2.S: Likewise.
15570 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15571 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15572 * sysdeps/i386/fpu/e_powl.S: Likewise.
15573 * sysdeps/i386/fpu/s_log1p.S: Likewise.
15574 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15575 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
15576 * sysdeps/i386/fpu/e_logl.S: Likewise.
15577 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
15578 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
15579 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
15580 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
15581 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15582 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15583 * sysdeps/i386/fpu/e_log.S: Likewise.
15584 * sysdeps/i386/fpu/s_cexp.S: Likewise.
15585 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15586 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
15587 * sysdeps/i386/fpu/e_logf.S: Likewise.
15588 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15589 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15590 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
15591 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
15592 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
15593 * sysdeps/i386/fpu/e_log10.S: Likewise.
15594 * sysdeps/i386/fpu/s_frexp.S: Likewise.
15595 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15596 * sysdeps/i386/fpu/s_asinh.S: Likewise.
15597 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
15598 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15599 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
15600 * sysdeps/i386/asm-syntax.h: Likewise.
15601 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15602 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15603 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15604 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
15605 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
15606 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15607 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
15608 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
15609 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15610 * sysdeps/powerpc/sysdep.h: Likewise.
15611 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
15612 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15613
15614 2012-02-06 Joseph Myers <joseph@codesourcery.com>
15615
15616 [BZ #411]
15617 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
15618
15619 2012-02-06 Joseph Myers <joseph@codesourcery.com>
15620
15621 * sysdeps/i386/sysdep.h: Include <features.h>.
15622 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
15623 version.
15624
15625 2012-02-05 Joseph Myers <joseph@codesourcery.com>
15626
15627 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
15628 Define.
15629 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
15630 LOAD_PIC_REG_STR.
15631
15632 2012-02-03 Joseph Myers <joseph@codesourcery.com>
15633
15634 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
15635 (SETUP_PIC_REG): Use GET_PC_THUNK.
15636 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
15637 macro.
15638
15639 2012-02-03 Joseph Myers <joseph@codesourcery.com>
15640
15641 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
15642 for non-PIC compilation.
15643 (SETUP_PIC_REG): Add .p2align directive.
15644 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
15645 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
15646 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
15647 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
15648 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
15649 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
15650 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
15651 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
15652 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15653 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15654 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15655 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15656 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15657 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15658 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
15659 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
15660 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
15661 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
15662 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
15663 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
15664 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15665 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
15666 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
15667 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
15668 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
15669 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
15670 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15671 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
15672 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
15673 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
15674 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
15675 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15676 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
15677 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
15678 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
15679 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
15680 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
15681 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
15682 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
15683 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
15684 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
15685
15686 2012-02-03 Joseph Myers <joseph@codesourcery.com>
15687
15688 * math/tst-CMPLX.c: Include <stdio.h>.
15689
15690 2012-01-31 Joseph Myers <joseph@codesourcery.com>
15691
15692 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
15693 float.
15694 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
15695 * sysdeps/sparc/bits/mathdef.h: Likewise.
15696
15697 2012-01-31 Marek Polacek <polacek@redhat.com>
15698
15699 * libio/libio.h: Don't define _PARAMS.
15700 * locale/programs/config.h: Don't define PARAMS.
15701 * stdlib/strtol_l.c: Likewise.
15702 (__strtol_l): Remove PARAMS from the prototype.
15703
15704 2012-01-31 Ulrich Drepper <drepper@gmail.com>
15705
15706 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
15707 names. Just use the correct names. Remove unnecessary wrapper
15708 functions.
15709 * malloc/arena.c: Likewise.
15710 * malloc/hooks.c: Likewise.
15711
15712 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
15713 ARENA_TEST says not to. Simplify test for creation of a new arena.
15714 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
15715
15716 2012-01-30 Ulrich Drepper <drepper@gmail.com>
15717
15718 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
15719 into tail calls.
15720 (update_get_addr): New function.
15721 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
15722 GET_ADDR_MODULE parameter.
15723
15724 2012-01-30 Joseph Myers <joseph@codesourcery.com>
15725
15726 * crypt/cert.c: Remove __STDC__ conditionals.
15727 * crypt/crypt-entry.c: Likewise.
15728 * crypt/crypt_util.c: Likewise.
15729 * libio/filedoalloc.c: Likewise.
15730 * libio/fileops.c: Likewise.
15731 * libio/genops.c: Likewise.
15732 * libio/iofclose.c: Likewise.
15733 * libio/iofdopen.c: Likewise.
15734 * libio/iofopen.c: Likewise.
15735 * libio/iofopen64.c: Likewise.
15736 * libio/iogetdelim.c: Likewise.
15737 * libio/iopopen.c: Likewise.
15738 * libio/obprintf.c: Likewise.
15739 * libio/oldfileops.c: Likewise.
15740 * libio/oldiofclose.c: Likewise.
15741 * libio/oldiofdopen.c: Likewise.
15742 * libio/oldiofopen.c: Likewise.
15743 * libio/oldiopopen.c: Likewise.
15744 * libio/wfiledoalloc.c: Likewise.
15745 * libio/wgenops.c: Likewise.
15746 * locale/programs/xmalloc.c: Likewise.
15747 * misc/syslog.c: Likewise.
15748 * stdio-common/xbug.c: Likewise.
15749 * string/memchr.c: Likewise.
15750 * string/memcmp.c: Likewise.
15751 * string/memrchr.c: Likewise.
15752 * string/rawmemchr.c: Likewise.
15753 * sysdeps/posix/getcwd.c: Likewise.
15754 * time/strftime_l.c: Likewise.
15755
15756 2012-01-30 Joseph Myers <joseph@codesourcery.com>
15757
15758 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
15759 * config.make.in (config-cflags-sse2avx): Define.
15760 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
15761 Fix typo.
15762
15763 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
15764
15765 * scripts/config.guess: Update from upstream config git repository.
15766 * scripts/config.sub: Likewise.
15767
15768 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
15769
15770 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
15771 (EM_NUM): Update.
15772 (R_TILEPRO_*, R_TILEGX_*): New macros.
15773
15774 * scripts/firstversions.awk: Fix bug in version range handling.
15775
15776 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
15777
15778 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
15779
15780 * include/sys/epoll.h: New file.
15781 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
15782 libc_hidden_def.
15783
15784 2012-01-28 Ulrich Drepper <drepper@gmail.com>
15785
15786 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
15787 Avoid unnecessary __WORDSIZE == 64 test.
15788 (fmaxf): Use VEX format if possible.
15789 (fmax): Likewise.
15790 (fminf): Likewise.
15791 (fmin): Likewise.
15792
15793 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
15794 * math/math_private.h: Remove libc_fegetround* and
15795 libc_fesetround*.
15796 * sysdeps/i386/configure.in: Check for -msse2avx.
15797 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
15798 also if SSE2AVX is defined.
15799 Remove libc_fegetround* and libc_fesetround*.
15800 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
15801 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
15802 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
15803 of HAS_YMM_USABLE.
15804 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15805 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15806 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15807 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15808 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
15809
15810 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
15811
15812 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15813
15814 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
15815 size is not set.
15816 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
15817
15818 2012-01-27 Ulrich Drepper <drepper@gmail.com>
15819
15820 [BZ #13618]
15821 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
15822 relocation.
15823 * Makeconfig (libm): Define.
15824 * elf/Makefile: Add rules to build and run tst-relsort1.
15825 * elf/tst-relsort1.c: New file.
15826 * elf/tst-relsort1mod1.c: New file.
15827 * elf/tst-relsort1mod2.c: New file.
15828
15829 2012-01-27 Joseph Myers <joseph@codesourcery.com>
15830
15831 * math/s_ldexp.c: Remove __STDC__ conditionals.
15832 * math/s_ldexpf.c: Likewise.
15833 * math/s_ldexpl.c: Likewise.
15834 * math/s_nextafter.c: Likewise.
15835 * math/s_nexttowardf.c: Likewise.
15836 * math/s_significand.c: Likewise.
15837 * math/s_significandf.c: Likewise.
15838 * math/s_significandl.c: Likewise.
15839 * math/w_jnl.c: Likewise.
15840 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
15841 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
15842 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
15843 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
15844 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
15845 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15846 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
15847 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15848 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15849 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15850 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15851 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15852 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15853 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
15854 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15855 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15856 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15857 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15858 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15859 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
15860 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15861 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
15862 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
15863 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15864 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15865 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15866 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15867 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
15868 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
15869 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15870 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
15871 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
15872 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
15873 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
15874 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
15875 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
15876 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
15877 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
15878 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
15879 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
15880 * sysdeps/ieee754/k_standard.c: Likewise.
15881 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15882 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15883 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
15884 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
15885 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
15886 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
15887 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15888 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
15889 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
15890 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
15891 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
15892 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
15893 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
15894 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
15895 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
15896 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
15897 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
15898 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15899 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15900 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
15901 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15902 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15903 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
15904 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
15905 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15906 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
15907 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15908 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15909 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15910 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
15911 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
15912 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
15913 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
15914 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
15915 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
15916 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
15917 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
15918 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
15919 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
15920 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
15921 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
15922 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
15923 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
15924 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
15925 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
15926 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
15927 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
15928 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15929 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
15930 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
15931 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
15932 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
15933 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15934 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
15935 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
15936 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
15937 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
15938 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15939 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15940 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15941 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
15942 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
15943 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
15944 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15945 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
15946 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
15947 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
15948 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
15949 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
15950 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
15951 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
15952 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
15953 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
15954 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
15955 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
15956 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
15957 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
15958 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
15959 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
15960 * sysdeps/ieee754/s_matherr.c: Likewise.
15961 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
15962 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
15963 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15964 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15965
15966 2012-01-26 Joseph Myers <joseph@codesourcery.com>
15967
15968 * crypt/md5.h: Remove __STDC__ conditionals.
15969 * libio/libioP.h: Likewise.
15970 * locale/programs/config.h: Likewise.
15971 * sysdeps/generic/sysdep.h: Likewise.
15972 * sysdeps/i386/asm-syntax.h: Likewise.
15973 * sysdeps/s390/asm-syntax.h: Likewise.
15974 * sysdeps/unix/sysdep.h: Likewise.
15975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
15976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15977
15978 2012-01-26 Joseph Myers <joseph@codesourcery.com>
15979
15980 * libio/libio.h: Remove __STDC__ conditionals.
15981 * malloc/obstack.h: Likewise.
15982 * math/complex.h: Likewise.
15983 * math/math.h: Likewise.
15984 * sysdeps/generic/_G_config.h: Likewise.
15985 * sysdeps/gnu/_G_config.h: Likewise.
15986 * sysdeps/mach/hurd/_G_config.h: Likewise.
15987 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15988 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
15989 * sysdeps/sparc/bits/mathdef.h: Likewise.
15990
15991 2012-01-26 Ulrich Drepper <drepper@gmail.com>
15992
15993 [BZ #13583]
15994 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
15995 Clean up HAS_* macros.
15996 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
15997 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
15998 possible.
15999 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
16000 HAS_AVX.
16001 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16002 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16003 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16004 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16005 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
16006
16007 2012-01-25 Joseph Myers <joseph@codesourcery.com>
16008
16009 * elf/tst-unique3.cc (gets): Remove declaration.
16010 * elf/tst-unique3lib.cc (gets): Likewise.
16011 * elf/tst-unique3lib2.cc (gets): Likewise.
16012 * elf/tst-unique4.cc (gets): Likewise.
16013
16014 2012-01-24 Ulrich Drepper <drepper@gmail.com>
16015
16016 * include/stdio.h: Add C++ protection. Add gets declarations and
16017 definitions.
16018 * debug/tst-chk1.c: Don't declare gets here.
16019 * stdio-common/tst-gets.c: Likewise.
16020
16021 2012-01-24 Joseph Myers <joseph@codesourcery.com>
16022
16023 * posix/glob: Remove directory.
16024
16025 2012-01-24 Joseph Myers <joseph@codesourcery.com>
16026
16027 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
16028
16029 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
16030
16031 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
16032 of the non-standard EPFNOSUPPORT.
16033
16034 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
16035
16036 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
16037 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
16038 ANYWHERE set to 1 only on KERN_NO_SPACE error.
16039
16040 2012-01-21 Ulrich Drepper <drepper@gmail.com>
16041
16042 * wcsmbs/uchar.h: Test __STDC_VERSION__.
16043
16044 2012-01-20 Ulrich Drepper <drepper@gmail.com>
16045
16046 * nscd/aicache.c (addhstaiX): Do not cache negative results of
16047 transient errors.
16048 * nscd/grpcache.c (cache_addgr): Likewise.
16049 * nscd/hstcache.c (cache_addhst): Likewise.
16050 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16051 * nscd/pwdcache.c (cache_addpw): Likewise.
16052 * nscd/servicescache.c (cache_addserv): Likewise.
16053
16054 2012-01-16 Ulrich Drepper <drepper@gmail.com>
16055
16056 * malloc/malloc.c: Various cleanups.
16057 * malloc/hooks.c: Likewise.
16058
16059 * stdlib/Makefile (tests): Add bug-fmtmsg1.
16060 * stdlib/bug-fmtmsg1.c: New file.
16061
16062 * stdlib/fmtmsg.c (init): Add missing unlock.
16063 Patch by Peng Haitao <penght@cn.fujitsu.com>.
16064
16065 2012-01-12 Marek Polacek <polacek@redhat.com>
16066
16067 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
16068 and _GNU_SOURCE.
16069
16070 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
16071
16072 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
16073 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
16074 macro to ensure uniqueness of label name.
16075 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
16076 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
16077
16078 2012-01-11 Ulrich Drepper <drepper@gmail.com>
16079
16080 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
16081
16082 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
16083 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
16084 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
16085 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
16086
16087 2012-01-10 Ulrich Drepper <drepper@gmail.com>
16088
16089 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
16090
16091 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
16092 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
16093 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
16094
16095 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
16096
16097 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
16098 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
16099 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
16100 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
16101
16102 * math/bits/math-finite.h: Add ldexp support.
16103
16104 2012-01-10 Marek Polacek <polacek@redhat.com>
16105
16106 * locale/programs/localedef.h (show_archive_content): Add noreturn
16107 attribute.
16108
16109 2012-01-09 Ulrich Drepper <drepper@gmail.com>
16110
16111 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
16112
16113 2012-01-08 Ulrich Drepper <drepper@gmail.com>
16114
16115 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
16116
16117 * io/Makefile (headers): Add bits/poll2.h.
16118
16119 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
16120
16121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
16122 typo #include statement.
16123
16124 2012-01-08 Ulrich Drepper <drepper@gmail.com>
16125
16126 * include/sys/cdefs.h: Define __attribute_alloc_size.
16127 * catgets/gencat.c: Add alloc_size attribute and apply consistently
16128 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
16129 * elf/pldd.c: Likewise.
16130 * iconv/iconv_charmap.c: Likewise.
16131 * iconv/iconvconfig.c: Likewise.
16132 * iconv/strtab.c: Likewise.
16133 * locale/programs/locale.c: Likewise.
16134 * locale/programs/localedef.h: Likewise.
16135 * locale/programs/simple-hash.c: Likewise.
16136 * nscd/nscd.h: Likewise.
16137 * nss/makedb.c: Likewise.
16138 * sysdeps/generic/ldconfig.h: Likewise.
16139 * locale/programs/localedef.c: Remove xmalloc prototype.
16140 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
16141
16142 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16143
16144 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
16145 appropriate.
16146
16147 2012-01-08 Ulrich Drepper <drepper@gmail.com>
16148
16149 * math/Makefile (tests): Add tst-CMPLX.
16150 * math/tst-CMPLX.c: New file.
16151
16152 * math/complex.h (CMPLXL): Fix typo.
16153
16154 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
16155 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
16156 GLIBC_2.16.
16157 * debug/tst-chk1.c: Add poll and ppoll tests.
16158 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
16159 * include/sys/poll.h: Add hidden proto for ppoll.
16160 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
16161 * sysdeps/mach/hurd/ppoll.c: Likewise.
16162 * io/ppoll.c: Likewise.
16163 * debug/poll_chk.c: New file.
16164 * debug/ppoll_chk.c: New file.
16165 * include/bits/poll2.h: New file.
16166 * io/bits/poll2.h: New file.
16167
16168 [BZ #1350]
16169 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
16170
16171 * configure.in: static is always set to yes. Remove.
16172 * config.make.in: Don't set build-static.
16173 * Makeconfig: Remove use of build-static.
16174 * dlfcn/Makefile: Likewise.
16175 * elf/Makefile: Likewise.
16176 * math/Makefile: Likewise.
16177 * misc/Makefile: Likewise.
16178 * nptl/Makefile: Likewise.
16179 * sysdeps/mach/hurd/Makefile: Likewise.
16180
16181 * configure.in: PWD_P is not used anymore.
16182 * config.make.in: Remove PWD_P entry.
16183
16184 * configure.in: Remove last remnants of RANLIB.
16185 No need to check for signed size_t anymore.
16186 Don't set libc_commonpagesize and libc_relro_required here for Alpha
16187 and IA-64.
16188 Remove __builtin_expect test because we require at least gcc 3.4.
16189 * aclocal.m4: Likewise.
16190
16191 * wcsmbs/mbrtoc16.c: Implement using towc function.
16192 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
16193 * wcsmbs/wcsmbsload.c: Likewise.
16194 * iconv/gconv_simple.c: Likewise.
16195 * iconv/gconv_int.h: Likewise.
16196 * iconv/gconv_builtin.h: Likewise.
16197 * iconv/iconv_prog.c: Remove CHAR16 handling.
16198
16199 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
16200
16201 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
16202
16203 * configure.in: Remove --with-elf and --enable-bounded options.
16204 Dont set base_machine for ia64. More non-ELF conditions removed.
16205 Remove testing and setting of leading underscore information.
16206 * config.make.in (build-bounded): Set to no.
16207 * config.h.in: Remove NO_UNDERSCORES entry.
16208 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
16209 them.
16210 * csu/start.c: Remove !NO_UNDERSCORE code.
16211 * locale/localeinfo.h: Likewise.
16212 * sysdeps/generic/machine-gmon.h: Likewise.
16213 * sysdeps/generic/sysdep.h: Likewise.
16214 * sysdeps/i386/sysdep.h: Likewise.
16215 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
16216 * sysdeps/mach/sysdep.h: Likewise.
16217 * sysdeps/s390/s390-32/sysdep.h: Likewise.
16218 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16219 * sysdeps/sh/sysdep.h: Likewise.
16220 * sysdeps/sparc/sparc32/alloca.S: Likewise.
16221 * sysdeps/unix/i386/sysdep.S: Likewise.
16222 * sysdeps/unix/sparc/start.c: Likewise.
16223 * sysdeps/unix/sparc/sysdep.S: Likewise.
16224 * sysdeps/unix/sparc/sysdep.h: Likewise.
16225 * sysdeps/unix/start.c: Likewise.
16226 * sysdeps/unix/x86_64/sysdep.S: Likewise.
16227 * sysdeps/x86_64/sysdep.h: Likewise.
16228
16229 2012-01-07 Ulrich Drepper <drepper@gmail.com>
16230
16231 [BZ #13553]
16232 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
16233 for non-gcc.
16234 * argp/argp-fmtstream.h: Use const instead __const.
16235 * argp/argp.h: Likewise.
16236 * assert/assert.h: Likewise.
16237 * bits/fenv.h: Likewise.
16238 * bits/sched.h: Likewise.
16239 * bits/sigset.h: Likewise.
16240 * bits/sigthread.h: Likewise.
16241 * catgets/nl_types.h: Likewise.
16242 * conform/data/pthread.h-data: Likewise.
16243 * crypt/crypt-private.h: Likewise.
16244 * crypt/crypt.h: Likewise.
16245 * crypt/crypt_util.c: Likewise.
16246 * ctype/ctype.h: Likewise.
16247 * debug/execinfo.h: Likewise.
16248 * debug/mbsnrtowcs_chk.c: Likewise.
16249 * debug/mbsrtowcs_chk.c: Likewise.
16250 * debug/wcsnrtombs_chk.c: Likewise.
16251 * debug/wcsrtombs_chk.c: Likewise.
16252 * debug/wcstombs_chk.c: Likewise.
16253 * dirent/dirent.h: Likewise.
16254 * dlfcn/dlfcn.h: Likewise.
16255 * elf/neededtest4.c: Likewise.
16256 * grp/grp.h: Likewise.
16257 * gshadow/gshadow.h: Likewise.
16258 * iconv/gconv.h: Likewise.
16259 * iconv/gconv_int.h: Likewise.
16260 * iconv/gconv_simple.c: Likewise.
16261 * iconv/iconv.h: Likewise.
16262 * iconv/loop.c: Likewise.
16263 * iconv/skeleton.c: Likewise.
16264 * include/aio.h: Likewise.
16265 * include/aliases.h: Likewise.
16266 * include/argz.h: Likewise.
16267 * include/arpa/inet.h: Likewise.
16268 * include/assert.h: Likewise.
16269 * include/dirent.h: Likewise.
16270 * include/dlfcn.h: Likewise.
16271 * include/execinfo.h: Likewise.
16272 * include/fcntl.h: Likewise.
16273 * include/fenv.h: Likewise.
16274 * include/glob.h: Likewise.
16275 * include/grp.h: Likewise.
16276 * include/libintl.h: Likewise.
16277 * include/mntent.h: Likewise.
16278 * include/netdb.h: Likewise.
16279 * include/pwd.h: Likewise.
16280 * include/rpc/netdb.h: Likewise.
16281 * include/sched.h: Likewise.
16282 * include/search.h: Likewise.
16283 * include/shadow.h: Likewise.
16284 * include/signal.h: Likewise.
16285 * include/stdio.h: Likewise.
16286 * include/stdlib.h: Likewise.
16287 * include/string.h: Likewise.
16288 * include/sys/socket.h: Likewise.
16289 * include/sys/stat.h: Likewise.
16290 * include/sys/statfs.h: Likewise.
16291 * include/sys/statvfs.h: Likewise.
16292 * include/sys/syslog.h: Likewise.
16293 * include/sys/time.h: Likewise.
16294 * include/sys/uio.h: Likewise.
16295 * include/time.h: Likewise.
16296 * include/unistd.h: Likewise.
16297 * include/utmp.h: Likewise.
16298 * include/wchar.h: Likewise.
16299 * include/wctype.h: Likewise.
16300 * inet/aliases.h: Likewise.
16301 * inet/arpa/inet.h: Likewise.
16302 * inet/netinet/ether.h: Likewise.
16303 * inet/netinet/in.h: Likewise.
16304 * intl/libintl.h: Likewise.
16305 * io/bits/fcntl2.h: Likewise.
16306 * io/fcntl.h: Likewise.
16307 * io/ftw.h: Likewise.
16308 * io/sys/poll.h: Likewise.
16309 * io/sys/stat.h: Likewise.
16310 * io/sys/statfs.h: Likewise.
16311 * io/sys/statvfs.h: Likewise.
16312 * io/utime.h: Likewise.
16313 * libio/bits/stdio.h: Likewise.
16314 * libio/bits/stdio2.h: Likewise.
16315 * libio/libio.h: Likewise.
16316 * libio/libioP.h: Likewise.
16317 * libio/stdio.h: Likewise.
16318 * locale/lc-ctype.c: Likewise.
16319 * locale/locale.h: Likewise.
16320 * login/utmp.h: Likewise.
16321 * malloc/arena.c: Likewise.
16322 * malloc/malloc.c: Likewise.
16323 * malloc/malloc.h: Likewise.
16324 * malloc/mcheck.c: Likewise.
16325 * malloc/mtrace.c: Likewise.
16326 * math/bits/mathcalls.h: Likewise.
16327 * math/fenv.h: Likewise.
16328 * math/math_private.h: Likewise.
16329 * misc/bits/error.h: Likewise.
16330 * misc/bits/syslog.h: Likewise.
16331 * misc/err.h: Likewise.
16332 * misc/error.h: Likewise.
16333 * misc/fstab.h: Likewise.
16334 * misc/mntent.h: Likewise.
16335 * misc/regexp.h: Likewise.
16336 * misc/search.h: Likewise.
16337 * misc/sgtty.h: Likewise.
16338 * misc/sys/mman.h: Likewise.
16339 * misc/sys/syslog.h: Likewise.
16340 * misc/sys/uio.h: Likewise.
16341 * misc/sys/xattr.h: Likewise.
16342 * misc/ttyent.h: Likewise.
16343 * nis/rpcsvc/ypclnt.h: Likewise.
16344 * nss/nss.h: Likewise.
16345 * posix/bits/unistd.h: Likewise.
16346 * posix/fnmatch.h: Likewise.
16347 * posix/glob.h: Likewise.
16348 * posix/sched.h: Likewise.
16349 * posix/spawn.h: Likewise.
16350 * posix/sys/wait.h: Likewise.
16351 * posix/unistd.h: Likewise.
16352 * posix/wordexp.h: Likewise.
16353 * pwd/pwd.h: Likewise.
16354 * resolv/netdb.h: Likewise.
16355 * resource/sys/resource.h: Likewise.
16356 * rt/aio.h: Likewise.
16357 * rt/bits/mqueue2.h: Likewise.
16358 * rt/mqueue.h: Likewise.
16359 * shadow/shadow.h: Likewise.
16360 * signal/signal.h: Likewise.
16361 * socket/send.c: Likewise.
16362 * socket/sendto.c: Likewise.
16363 * socket/sys/socket.h: Likewise.
16364 * stdio-common/printf.h: Likewise.
16365 * stdlib/bits/stdlib.h: Likewise.
16366 * stdlib/fmtmsg.h: Likewise.
16367 * stdlib/monetary.h: Likewise.
16368 * stdlib/stdlib.h: Likewise.
16369 * stdlib/ucontext.h: Likewise.
16370 * streams/stropts.h: Likewise.
16371 * string/argz.h: Likewise.
16372 * string/bits/string2.h: Likewise.
16373 * string/string.h: Likewise.
16374 * string/strings.h: Likewise.
16375 * sunrpc/rpc/auth.h: Likewise.
16376 * sunrpc/rpc/auth_des.h: Likewise.
16377 * sunrpc/rpc/clnt.h: Likewise.
16378 * sunrpc/rpc/netdb.h: Likewise.
16379 * sunrpc/rpc/pmap_clnt.h: Likewise.
16380 * sunrpc/rpc/xdr.h: Likewise.
16381 * sysdeps/generic/inttypes.h: Likewise.
16382 * sysdeps/generic/net/if.h: Likewise.
16383 * sysdeps/generic/sys/swap.h: Likewise.
16384 * sysdeps/gnu/net/if.h: Likewise.
16385 * sysdeps/gnu/utmpx.h: Likewise.
16386 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
16387 * sysdeps/i386/i486/bits/string.h: Likewise.
16388 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
16389 * sysdeps/s390/bits/string.h: Likewise.
16390 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
16391 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
16392 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
16393 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
16394 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
16395 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
16396 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
16397 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
16398 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
16399 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
16400 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
16401 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
16402 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
16403 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
16404 * sysdeps/unix/sysv/linux/readv.c: Likewise.
16405 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
16406 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
16407 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16408 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
16409 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
16410 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
16411 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
16412 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
16413 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
16414 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
16415 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
16416 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
16417 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16418 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
16419 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
16420 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
16421 * sysvipc/sys/ipc.h: Likewise.
16422 * sysvipc/sys/msg.h: Likewise.
16423 * sysvipc/sys/sem.h: Likewise.
16424 * sysvipc/sys/shm.h: Likewise.
16425 * termios/termios.h: Likewise.
16426 * time/sys/time.h: Likewise.
16427 * time/time.h: Likewise.
16428 * wcsmbs/bits/wchar2.h: Likewise.
16429 * wcsmbs/uchar.h: Likewise.
16430 * wcsmbs/wchar.h: Likewise.
16431 * wctype/wctype.h: Likewise.
16432
16433 [BZ #13551]
16434 * Makeconfig: Remove all but ELF support including AIX support.
16435 * Makerules: Likewise.
16436 * config.h.in: Likewise.
16437 * config.make.in: Likewise.
16438 * configure: Likewise.
16439 * configure.in: Likewise.
16440 * csu/Makefile: Likewise.
16441 * csu/version.c: Likewise.
16442 * debug/Makefile: Likewise.
16443 * dlfcn/Makefile: Likewise.
16444 * elf/Makefile: Likewise.
16445 * extra-lib.mk: Likewise.
16446 * iconv/Makefile: Likewise.
16447 * include/libc-symbols.h: Likewise.
16448 * include/shlib-compat.h: Likewise.
16449 * resolv/Makefile: Likewise.
16450 * resolv/res_libc.c: Likewise.
16451 * rt/Makefile: Likewise.
16452 * sysdeps/i386/asm-syntax.h: Likewise.
16453 * sysdeps/i386/sysdep.h: Likewise.
16454 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
16455 * sysdeps/mach/sysdep.h: Likewise.
16456 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
16457 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
16458 * sysdeps/s390/asm-syntax.h: Likewise.
16459 * sysdeps/s390/s390-32/sysdep.h: Likewise.
16460 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16461 * sysdeps/sh/sysdep.h: Likewise.
16462 * sysdeps/unix/sparc/sysdep.h: Likewise.
16463 * sysdeps/wordsize-32/divdi3.c: Likewise.
16464 * sysdeps/x86_64/sysdep.h: Likewise.
16465
16466 * argp/Versions: Remove _argp_unlock_xxx.
16467
16468 [BZ #13559]
16469 * abilist/ld.abilist: Update. Adjust for removal of tls option.
16470 * abilist/libBrokenLocale.abilist: Likewise.
16471 * abilist/libanl.abilist: Likewise.
16472 * abilist/libc.abilist: Likewise.
16473 * abilist/libcrypt.abilist: Likewise.
16474 * abilist/libdl.abilist: Likewise.
16475 * abilist/libm.abilist: Likewise.
16476 * abilist/libnsl.abilist: Likewise.
16477 * abilist/libpthread.abilist: Likewise.
16478 * abilist/libresolv.abilist: Likewise.
16479 * abilist/librt.abilist: Likewise.
16480 * abilist/libthread_db.abilist: Likewise.
16481 * abilist/libutil.abilist: Likewise.
16482 * abilist/libnss_db.abilist: New file.
16483
16484 * scripts/abilist.awk: Add support for indirect functions.
16485
16486 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
16487
16488 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
16489
16490 * shlib-versions: Remove entries for ports architectures.
16491
16492 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
16493 files in ports.
16494 * elf/stackguard-macros.h: Remove support for IA-64.
16495 * elf/tst-auditmod1.c: Likewise.
16496 * sysdeps/generic/ldsodefs.h: Likewise.
16497
16498 * sysdeps/unix/sysv/linux/configure.in: Ports should define
16499 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
16500 configure files.
16501
16502 [BZ #13552]
16503 * configure.in: Remove --enable-omitfp support.
16504 * FAQ.in: Adjust.
16505 * config.make.in: Likewise.
16506 * Makeconfig: Likewise.
16507 * manual/install.texi: Likewise.
16508
16509 In case anyone cares, the IA-64 architecture could move to ports.
16510 * sysdeps/ia64/*: Removed.
16511 * sysdeps/unix/sysv/linux/ia64/*: Removed.
16512 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
16513
16514 [BZ #13555]
16515 * configure.in: Remove entries for unsupported architectures.
16516
16517 [BZ #13533]
16518 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
16519 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
16520 routines.
16521 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
16522 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
16523 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
16524 fall back to using wcrtomb.
16525 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
16526 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
16527 renaming.
16528 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
16529 * wcsmbs/tst-c16c32-1.c: New file.
16530
16531 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
16532 local variable.
16533
16534 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
16535
16536 * elf/tst-unique3.cc: Add explicit declaration of gets.
16537 * elf/tst-unique3lib.cc: Likewise.
16538 * elf/tst-unique3lib2.cc: Likewise.
16539 * elf/tst-unique4.cc: Likewise.
16540
16541 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
16542
16543 2012-01-06 Joseph Myers <joseph@codesourcery.com>
16544
16545 [BZ #13566]
16546 * assert/assert.h (static_assert): Don't define for C++.
16547 * libio/stdio.h (gets): Do declare for C++ <= C++11.
16548 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
16549
16550 2012-01-03 Ulrich Drepper <drepper@gmail.com>
16551
16552 * iconv/loop.c (single loop): Fix assertion in storing of
16553 remaining bytes.
16554
16555 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
16556
16557 2012-01-01 Ulrich Drepper <drepper@gmail.com>
16558
16559 * posix/getconf.c: Update copyright year.
16560 * nss/getent.c: Likewise.
16561 * nss/makedb.c: Likewise.
16562 * iconv/iconvconfig.c: Likewise.
16563 * iconv/iconv_prog.c: Likewise.
16564 * elf/ldconfig.c: Likewise.
16565 * elf/pldd.c: Likewise.
16566 * elf/sotruss.ksh: Likewise.
16567 * catgets/gencat.c: Likewise.
16568 * csu/version.c: Likewise.
16569 * elf/ldd.bash.in: Likewise.
16570 * elf/sprof.c (print_version): Likewise.
16571 * locale/programs/locale.c: Likewise.
16572 * locale/programs/localedef.c: Likewise.
16573 * login/programs/pt_chown.c: Likewise.
16574 * nscd/nscd.c (print_version): Likewise.
16575 * debug/xtrace.sh: Likewise.
16576 * malloc/memusage.sh: Likewise.
16577 * malloc/mtrace.pl: Likewise.
16578 * debug/catchsegv.sh: Likewise.
16579
16580 2011-12-30 Jakub Jelinek <jakub@redhat.com>
16581
16582 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
16583 pure attribute.
16584
16585 2011-12-24 Ulrich Drepper <drepper@gmail.com>
16586
16587 [BZ #13533]
16588 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
16589 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
16590 transformations.
16591 * iconv/gconv_int.h: Likewise.
16592 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
16593 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
16594 from libc for GLIBC_2.16.
16595 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
16596 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
16597 * wcsmbs/uchar.h: Really define mbstate_t.
16598 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
16599 * wcsmbs/c16rtomb.c: New file.
16600 * wcsmbs/mbrtoc16.c: New file.
16601 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
16602 for C/POSIX locale.
16603 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
16604 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
16605
16606 * wcsmbs/wchar.h: Add missing __restrict.
16607
16608 2011-12-23 Ulrich Drepper <drepper@gmail.com>
16609
16610 [BZ #13532]
16611 * time/Makefile (routines): Add timespec_get.
16612 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
16613 * time/time.h: Define TIME_UTC and declare timespec_get. Define
16614 timespec for ISO C11.
16615 * time/timespec_get.c: New file.
16616 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
16617 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
16618
16619 [BZ #13531]
16620 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
16621 * stdlib/stdlib.h: Declare aligned_alloc.
16622 * Versions.def: Add GLIBC_2.16 for libc.
16623 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
16624
16625 [BZ 13527]
16626 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
16627 ISO C11.
16628
16629 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
16630 code.
16631
16632 [BZ #13528]
16633 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
16634
16635 [BZ #13529]
16636 * assert/assert.h (static_assert): Define.
16637
16638 * version.h: Update for 2.16 development version.
16639
16640 [BZ #13526]
16641 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
16642 _ISOC11_SOURCE.
16643
16644 * version.h (RELEASE): Bump for 2.15 release.
16645 * include/features.h (__GLIBC_MINOR__): Bump to 15.
16646
16647 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
16648 Patch by Marek Polacek <mpolacek@redhat.com>.
16649
16650 * bits/byteswap.h: Protect long long constants with __extension__.
16651 * sysdeps/i386/bits/byteswap.h: Likewise.
16652 * sysdeps/ia64/bits/byteswap.h: Likewise.
16653 * sysdeps/s390/bits/byteswap.h: Likewise.
16654 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16655
16656 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16657
16658 [BZ #13540]
16659 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
16660 destination buffer.
16661 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
16662
16663 2011-12-23 Marek Polacek <polacek@redhat.com>
16664
16665 * elf/dl-addr.c (determine_info): Add inline keyword.
16666 * elf/tst-auditmod4b.c (check_avx): Likewise.
16667 * elf/tst-auditmod6b.c (check_avx): Likewise.
16668 * elf/tst-auditmod6c.c (check_avx): Likewise.
16669 * elf/tst-auditmod7b.c (check_avx): Likewise.
16670
16671 2011-12-23 Ulrich Drepper <drepper@gmail.com>
16672
16673 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
16674 !__SSE_MATH__.
16675
16676 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16677
16678 [BZ #13540]
16679 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
16680 processing for last bytes.
16681
16682 2011-08-06 Bruno Haible <bruno@clisp.org>
16683
16684 [BZ #13061]
16685 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
16686 U+0385, not to U+1FEE.
16687
16688 [BZ #13062]
16689 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
16690 entry for U+00A5 U+0301.
16691
16692 2011-12-22 Ulrich Drepper <drepper@gmail.com>
16693
16694 [BZ #13166]
16695 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
16696 buffer for the output is too small.
16697
16698 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
16699 optimization.
16700
16701 [BZ #13185]
16702 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
16703 SSE flags if possible.
16704
16705 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16706
16707 [BZ #13540]
16708 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
16709 processing for last bytes.
16710
16711 2011-12-22 Joseph Myers <joseph@codesourcery.com>
16712
16713 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
16714 (syscall-list-default-options, syscall-list-default-condition)
16715 (syscall-list-includes): Define.
16716 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
16717 list of ABIs and options and #if conditions for each ABI. Do not
16718 handle common syscalls between ABIs specially.
16719 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
16720 Remove.
16721 (syscall-list-variants, syscall-list-32bit-options)
16722 (syscall-list-32bit-condition, syscall-list-64bit-options)
16723 (syscall-list-64bit-condition): Define.
16724 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
16725 (syscall-list-variants, syscall-list-32bit-options)
16726 (syscall-list-32bit-condition, syscall-list-64bit-options)
16727 (syscall-list-64bit-condition): Define.
16728 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
16729 Remove.
16730 (syscall-list-variants, syscall-list-32bit-options)
16731 (syscall-list-32bit-condition, syscall-list-64bit-options)
16732 (syscall-list-64bit-condition): Define.
16733 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
16734 Remove.
16735 (syscall-list-variants, syscall-list-32bit-options)
16736 (syscall-list-32bit-condition, syscall-list-64bit-options)
16737 (syscall-list-64bit-condition): Define.
16738
16739 2011-12-22 Ulrich Drepper <drepper@gmail.com>
16740
16741 * locale/iso-639.def: Add brx entry.
16742
16743 [BZ #13328]
16744 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
16745 Proposed by Mariusz_Cukr <marcukr@op.pl>.
16746
16747 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
16748 __feraiseexcept_renamed.
16749
16750 2011-12-21 Ulrich Drepper <drepper@gmail.com>
16751
16752 [BZ #13538]
16753 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
16754 EPOLLET with unsigned values.
16755 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16756 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
16757
16758 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
16759 to large cancellation.
16760 * math/s_cacoshf.c: Likewise.
16761 * math/s_cacoshl.c: Likewise.
16762
16763 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
16764
16765 [BZ #13305]
16766 [BZ #12786]
16767 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
16768 * math/s_cacoshf.c: Likewise.
16769 * math/s_cacoshl.c: Likewise.
16770
16771 2011-12-21 Ulrich Drepper <drepper@gmail.com>
16772
16773 [BZ #13439]
16774 * iconv/gconv.h: Define __GCONV_SWAP.
16775 * iconvdata/unicode.c: The swap bit must be stored in __flags.
16776 * iconvdata/utf-16.c: Likewise.
16777 * iconvdata/utf-32.c: Likewise.
16778
16779 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
16780
16781 [BZ #13524]
16782 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
16783 numerator after shifting it by one limb.
16784
16785 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
16786
16787 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
16788 under [__USE_EXTERN_INLINES].
16789
16790 2011-12-17 Ulrich Drepper <drepper@gmail.com>
16791
16792 [BZ #13446]
16793 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
16794
16795 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16796
16797 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
16798 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
16799 optimized code.
16800 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
16801 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
16802 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
16803 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
16804 for strncasecmp/strncasecmp_l compilation.
16805 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
16806 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
16807
16808 2011-12-08 Marek Polacek <mpolacek@redhat.com>
16809
16810 [BZ #13484]
16811 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
16812 of __asm__.
16813
16814 2011-12-17 Ulrich Drepper <drepper@gmail.com>
16815
16816 [BZ #13506]
16817 * time/tzfile.c (__tzfile_read): Check values from file header.
16818
16819 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
16820
16821 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
16822 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
16823 * powerpc/powerpc32/dl-start.S: Likewise.
16824 * powerpc/powerpc32/elf/start.S: Likewise.
16825 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
16826 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
16827 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
16828 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
16829 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
16830 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
16831 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
16832 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
16833 * powerpc/powerpc32/fpu/s_round.S: Likewise.
16834 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
16835 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
16836 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
16837 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
16838 * powerpc/powerpc32/memset.S: Likewise.
16839 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
16840 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
16841 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
16842 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
16843 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
16844 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
16845 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
16846 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
16847 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
16848 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
16849 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
16850 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
16851 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
16852
16853 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16854
16855 * math/libm-test.inc: Added more nearbyint tests.
16856 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
16857 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
16858 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
16859 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
16860
16861 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
16862
16863 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
16864 FD_CLOEXEC.
16865
16866 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16867
16868 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
16869 Add wcscpy-ssse3 wcscpy-c.
16870 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
16871 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
16872 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
16873 * sysdeps/x86_64/wcschr.S: New file.
16874 * sysdeps/x86_64/wcsrchr.S: New file.
16875 * string/test-strcmp.c: Remove checking of wcscmp function for
16876 wrong alignments.
16877 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
16878 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
16879 wcsrchr-sse2 wcsrchr-c.
16880 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
16881 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
16882 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
16883 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
16884 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
16885 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
16886 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
16887 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
16888 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
16889 * wcsmbc/wcschr.c (WCSCHR): New macro.
16890
16891 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16892
16893 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
16894 * wcsmbs/test-wcsrchr.c: New file.
16895 * string/test-strrchr.c: Add wcsrchr support.
16896 (WIDE): New macro.
16897 * wcsmbs/test-wcscpy.c: New file.
16898 * string/test-strcpy.c: Add wcscpy support.
16899 (WIDE): New macro.
16900
16901 2011-12-10 Ulrich Drepper <drepper@gmail.com>
16902
16903 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
16904 the inner loop.
16905
16906 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
16907
16908 [BZ #13472]
16909 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
16910
16911 2011-12-04 Ulrich Drepper <drepper@gmail.com>
16912
16913 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
16914 Minor optimizations.
16915
16916 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
16917 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
16918 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
16919
16920 2011-12-03 Ulrich Drepper <drepper@gmail.com>
16921
16922 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
16923 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
16924 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
16925 for gcc to avoid warnings.
16926 * inet/Makefile (tests): Add tst-checks.
16927 * inet/tst-checks.c: New file.
16928
16929 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
16930 warning.
16931
16932 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
16933 __wmemcmp_sse2.
16934
16935 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
16936 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
16937
16938 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
16939
16940 2011-12-02 Ulrich Drepper <drepper@gmail.com>
16941
16942 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
16943 problem.
16944
16945 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
16946
16947 2011-11-29 Joseph Myers <joseph@codesourcery.com>
16948
16949 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
16950 conditional on GCC version.
16951 (__arch_compare_and_exchange_val_8_acq)
16952 (__arch_compare_and_exchange_val_16_acq)
16953 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
16954 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
16955 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
16956
16957 2011-12-02 Joseph Myers <joseph@codesourcery.com>
16958
16959 * sysdeps/sh/backtrace.c: New file.
16960
16961 2011-12-02 Andreas Schwab <schwab@redhat.com>
16962
16963 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
16964 parenthesis.
16965
16966 2011-12-01 Andreas Schwab <schwab@redhat.com>
16967
16968 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
16969 falling back to utime.
16970
16971 2011-11-30 Andreas Schwab <schwab@redhat.com>
16972
16973 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
16974 expectations for float.
16975
16976 2011-11-29 Andreas Schwab <schwab@redhat.com>
16977
16978 * locale/weight.h (findidx): Add parameter len.
16979 * locale/weightwc.h (findidx): Likewise.
16980 * posix/fnmatch_loop.c (FCT): Adjust caller.
16981 * posix/regcomp.c (build_equiv_class): Likewise.
16982 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
16983 * posix/regexec.c (check_node_accept_bytes): Likewise.
16984 * string/strcoll_l.c (STRCOLL): Likewise.
16985 * string/strxfrm_l.c (STRXFRM): Likewise.
16986
16987 2011-11-17 Ulrich Drepper <drepper@gmail.com>
16988
16989 * Makefile.in: Remove CVSOPT handling.
16990 * configure.in: Remove use of AC_REVISION.
16991 * iconvdata/Makefile (distribute): No need to filter out CVS.
16992 * scripts/list-sources.sh: Remove CVS, subversion and monotone
16993 handling.
16994
16995 2011-11-16 Andreas Schwab <schwab@redhat.com>
16996
16997 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
16998 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
16999 [USE_AS_STRNCASECMP_L]: Likewise.
17000 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
17001 NO_TLS_DIRECT_SEG_REFS.
17002 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
17003 Fix argument offsets for non-PIC.
17004 [USE_AS_STRNCASECMP_L]: Likewise.
17005 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
17006 NO_TLS_DIRECT_SEG_REFS.
17007
17008 2011-11-15 Ulrich Drepper <drepper@gmail.com>
17009
17010 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
17011 O_CLOEXEC.
17012 * locale/loadlocale.c (_nl_load_locale): Likewise.
17013
17014 2011-11-15 Andreas Schwab <schwab@redhat.com>
17015
17016 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
17017 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
17018 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
17019 (SYSCALL_GETTIME): Set errno on error.
17020
17021 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
17022 count references to noai6ai_cached.
17023
17024 2011-11-15 Ulrich Drepper <drepper@gmail.com>
17025
17026 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
17027
17028 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
17029 FD_CLOEXEC for /proc/self/maps.
17030
17031 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
17032 FD_CLOEXEC for /proc/meminfo.
17033
17034 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
17035 gai.conf.
17036
17037 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
17038 FD_CLOEXEC for given file.
17039
17040 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
17041
17042 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
17043 FD_CLOEXEC for /etc/hosts.
17044 (_gethtent): Likewise.
17045
17046 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
17047
17048 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
17049 cancellation and set FD_CLOEXEC for /etc/netgroup.
17050
17051 * nss/nss_files/files-key.c (search): Don't allow cancellation when
17052 reading /etc/publickey.
17053
17054 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
17055 allow cancellation when reading /etc/group.
17056
17057 * nss/nss_files/files-alias.c (internal_setent): Don't allow
17058 cancellation.
17059 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
17060
17061 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
17062 when using data file.
17063
17064 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
17065
17066 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
17067 (write_nis_obj): Use "c" and "e" in fopen.
17068
17069 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
17070
17071 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
17072
17073 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
17074
17075 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
17076
17077 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
17078 locale.alias.
17079
17080 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
17081
17082 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
17083
17084 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
17085
17086 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
17087 file parsing and set FD_CLOEXEC.
17088
17089 2011-11-14 Ulrich Drepper <drepper@gmail.com>
17090
17091 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
17092
17093 2011-11-14 Andreas Schwab <schwab@redhat.com>
17094
17095 * malloc/arena.c (arena_get2): Don't call reused_arena when
17096 _int_new_arena failed.
17097
17098 2011-11-14 Ulrich Drepper <drepper@gmail.com>
17099
17100 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
17101 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
17102 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
17103 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17104 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17105 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
17106 to compile strcasecmp and strncasecmp.
17107 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
17108 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
17109
17110 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
17111
17112 2011-11-13 Ulrich Drepper <drepper@gmail.com>
17113
17114 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
17115 locale-defines.sym to gen-as-const-headers.
17116 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
17117 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
17118 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
17119 to compile strcasecmp and strncasecmp.
17120 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
17121 strcasecmp_l and strncasecmp_l.
17122 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
17123 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
17124 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
17125 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
17126 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
17127 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
17128 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
17129 * sysdeps/i386/i686/multiarch/strncase.S: New file.
17130 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
17131 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
17132 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
17133
17134 2011-11-12 Ulrich Drepper <drepper@gmail.com>
17135
17136 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
17137 result of SYSDEP_GETTIME_CPU to retval.
17138 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
17139 parameter list to macro. Remove trailing semicolon. Adjust users.
17140
17141 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
17142 variable.
17143
17144 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
17145 mantissa words.
17146 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
17147
17148 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
17149 from unused variable.
17150
17151 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
17152 DWARF definitions.
17153 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
17154 for assembling.
17155
17156 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
17157 over namespaces.
17158
17159 * sunrpc/rpc_prot.c (rejected): Fix case value.
17160
17161 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
17162 unsigned long long int to avoid warnings in shift.
17163
17164 * posix/regex_internal.c (re_string_reconstruct): Actually use result
17165 of use of trans.
17166 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
17167 variable tmp.
17168
17169 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
17170 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
17171 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
17172
17173 * nis/nis_table.c (nis_list): Use variable of correct type for
17174 result of __follow_path call.
17175
17176 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17177
17178 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
17179 of math functions ceil, trunc, floor, round, and sqrt, when
17180 avaliable on the platform.
17181 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
17182 name clash.
17183 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17184 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
17185 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
17186
17187 2011-10-30 Marek Polacek <mpolacek@redhat.com>
17188
17189 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
17190 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
17191
17192 2011-11-11 Roland McGrath <roland@hack.frob.com>
17193
17194 * include/unistd.h: Fix __readlink return type.
17195 Reported by Chris Metcalf <cmetcalf@tilera.com>.
17196
17197 2011-11-11 Ulrich Drepper <drepper@gmail.com>
17198
17199 * stdlib/ucontext.h: Undo last change for makecontext.
17200
17201 2011-11-11 Andreas Schwab <schwab@redhat.com>
17202
17203 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
17204
17205 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
17206 * setjmp/setjmp.h: Mark functions as non-leaf.
17207 * setjmp/bits/setjmp2.h: Likewise.
17208 * stdlib/ucontext.h: Likewise.
17209
17210 2011-11-10 Andreas Schwab <schwab@redhat.com>
17211
17212 * malloc/arena.c (_int_new_arena): Don't increment narenas.
17213 (reused_arena): Don't check arena limit.
17214 (arena_get2): Atomically check arena limit.
17215
17216 2011-11-08 Ulrich Drepper <drepper@gmail.com>
17217
17218 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
17219 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
17220
17221 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
17222 instructions.
17223
17224 2011-11-07 Andreas Schwab <schwab@redhat.com>
17225
17226 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
17227 handler when locking.
17228
17229 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
17230 Fix size of allocated buffer.
17231
17232 2011-11-04 Andreas Schwab <schwab@redhat.com>
17233
17234 [BZ #10103]
17235 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
17236 declarations for long double functions.
17237 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
17238
17239 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
17240
17241 2011-11-03 Andreas Schwab <schwab@redhat.com>
17242
17243 * nscd/nscd.c (main): Don't start AVC thread until credentials are
17244 installed.
17245
17246 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
17247 is disabled.
17248
17249 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
17250
17251 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
17252
17253 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
17254
17255 * include/alloca.h (stackinfo_alloca_round): Define.
17256 (extend_alloca): Use it.
17257 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
17258 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
17259 here.
17260
17261 * scripts/check-local-headers.sh: Ignore libaudit.h.
17262
17263 * nscd/Makefile (extra-objs): Make recursively expanded.
17264
17265 2011-11-01 Ulrich Drepper <drepper@gmail.com>
17266
17267 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
17268 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
17269
17270 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
17271 * posix/tst-rfc3484-2.c: Likewise.
17272 * posix/tst-rfc3484-3.c: Likewise.
17273
17274 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
17275 process_vm_writev.
17276 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
17277 process_vm_writev.
17278 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
17279 process_vm_writev from libc using GLIBC_2.15 version.
17280
17281 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
17282
17283 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
17284
17285 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
17286 stack usage.
17287
17288 2011-10-31 Ulrich Drepper <drepper@gmail.com>
17289
17290 [BZ #13367]
17291 * nss/getent.c (initgroups_keys): Show error message in case no group
17292 names are given.
17293
17294 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
17295 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
17296 __bump_nl_timestamp.
17297 * nscd/connections (nscd_init): When host database is served open
17298 netlink socket and request notification about configuration changes.
17299 (main_loop_poll): Track netlink file descriptor and bump timestamp
17300 in case data becomes available.
17301 (main_loop_epoll): Likewise.
17302 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
17303 (database_pers_head): Add extra_data fileds.
17304 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
17305 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
17306 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
17307 Adjust caller.
17308 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
17309 in6ai data, call __free_in6ai.
17310 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
17311 Add -DHAVE_NETLINK.
17312 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
17313 interface information. Reuse previous data if netlink timestamp
17314 is not changed.
17315 (__bump_nl_timestamp): New function.
17316 (__free_in6ai): New function.
17317
17318 2011-10-30 Ulrich Drepper <drepper@gmail.com>
17319
17320 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
17321 close_not_cancel_no_status here.
17322 (__check_pf): Reorganize code a bit to not call close twice if OOM.
17323
17324 2011-10-29 Ulrich Drepper <drepper@gmail.com>
17325
17326 [BZ #13276]
17327 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
17328 return value.
17329
17330 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
17331 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
17332 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
17333
17334 2011-07-03 Andreas Jaeger <aj@suse.de>
17335
17336 [BZ #10709]
17337 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
17338 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
17339 * math/libm-test.inc (sin_test): Add test case.
17340
17341 2011-10-29 Ulrich Drepper <drepper@gmail.com>
17342
17343 [BZ #13337]
17344 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
17345 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
17346
17347 * elf/chroot_canon.c (chroot_canon): Cleanups.
17348
17349 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
17350
17351 [BZ #13335]
17352 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
17353 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
17354
17355 * string/test-strchr.c: Make usable for strchrnul testing.
17356 * string/test-strchrnul.c: New file.
17357 * string/Makefile (strop-tests): Add strchrnul.
17358
17359 * po/it.po: Update from translation team.
17360 * po/es.po: Likewise.
17361
17362 2011-10-28 Ulrich Drepper <drepper@gmail.com>
17363
17364 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
17365 the three constants needed as parameters. Drop the others.
17366 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
17367 __m128i_strloadu_tolower.
17368 Create and initialize variable zero and use it in all the places
17369 where _mm_setzero_si128 was used.
17370
17371 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
17372 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
17373 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
17374 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
17375 anymore.
17376 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
17377 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
17378 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
17379 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
17380 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
17381 __mpranred, __mptan.
17382 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
17383 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
17384 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
17385 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
17386 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
17387 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
17388 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
17389 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
17390 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
17391
17392 2011-10-28 Andreas Schwab <schwab@redhat.com>
17393
17394 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
17395 redefine if SHARED.
17396 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
17397
17398 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
17399 wide char related routines to wcsmbs subdir.
17400
17401 2011-10-27 Andreas Schwab <schwab@redhat.com>
17402
17403 [BZ #13344]
17404 * misc/sys/cdefs.h (__THROWNL): Define.
17405 * posix/unistd.h: Use __THREADNL instead of __THREAD
17406 for memory synchronization functions.
17407
17408 2011-10-26 Roland McGrath <roland@hack.frob.com>
17409
17410 [BZ #13349]
17411 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
17412 doesn't exist.
17413 * manual/stdio.texi (Obstack Streams): Node removed.
17414
17415 2011-10-26 Andreas Schwab <schwab@redhat.com>
17416
17417 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
17418 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17419 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17420
17421 * math/math_private.h (math_force_eval): Allow non-addressable
17422 arguments.
17423 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
17424
17425 2011-10-25 Ulrich Drepper <drepper@gmail.com>
17426
17427 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
17428 file is not needed.
17429
17430 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
17431 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
17432 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17433 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17434 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17435 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17436 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
17437 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
17438 Add AVX variants.
17439 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
17440 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
17441 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
17442 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
17443 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
17444 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
17445 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
17446 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
17447 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
17448 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
17449 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
17450 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
17451 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
17452 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
17453 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
17454 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
17455 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
17456 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
17457 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
17458
17459 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
17460 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
17461
17462 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
17463 place. Use VEX encoding when compiling for AVX.
17464
17465 2011-10-25 Andreas Schwab <schwab@redhat.com>
17466
17467 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
17468 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
17469
17470 * string/test-strchr.c (do_test): Don't generate NUL bytes.
17471
17472 2011-10-25 Ulrich Drepper <drepper@gmail.com>
17473
17474 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
17475 useless if() expression.
17476 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17477 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17478 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17479 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17480 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17481 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17482 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17483 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17484 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17485 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17486 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17487 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17488 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17489 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17490 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17491 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17492 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17493 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17494 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
17495
17496 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
17497
17498 2011-10-25 Andreas Schwab <schwab@redhat.com>
17499
17500 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
17501 condition.
17502 * elf/dl-fini.c (_dl_sort_fini): Likewise.
17503
17504 2011-10-25 Ulrich Drepper <drepper@gmail.com>
17505
17506 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
17507 .text section. Avoid duplicate constants.
17508 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
17509 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17510 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17511 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17512 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17513 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17514 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17515 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17516 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
17517 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
17518 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
17519 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
17520 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
17521 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
17522 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
17523 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
17524 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
17525 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
17526 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17527 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17528 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
17529 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
17530 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17531 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
17532 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
17533 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
17534 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
17535 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
17536 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
17537 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
17538 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
17539 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
17540 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
17541 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
17542 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
17543 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
17544 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
17545 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
17546 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
17547 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
17548 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
17549 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
17550 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
17551 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
17552 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
17553
17554 2011-10-24 Ulrich Drepper <drepper@gmail.com>
17555
17556 * sysdeps/x86_64/dla.h: Move to ...
17557 * sysdeps/x86_64/fpu/dla.h: ...here.
17558 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
17559 situations. Use __builtin_fma only for gcc 4.6 and up.
17560
17561 * config.make.in: Add have-mfma4 entry.
17562 * configure.in: Substitute libc_cv_cc_fma4.
17563 * math/Makefile (dbl-only-routines): Add sincostab.
17564 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
17565 Use __sincostab not sincos.
17566 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
17567 name is a macro.
17568 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17569 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17570 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17571 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
17572 using __copysign.
17573 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
17574 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
17575 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
17576 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
17577 and __inv.
17578 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
17579 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
17580 __copysign.
17581 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
17582 define aliases when function name is a macro.
17583 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
17584 sysdeps/ieee754/dbl-64/sincos.tbl.
17585 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
17586 fma4-enabled routines.
17587 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
17588 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
17589 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
17590 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
17591 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
17592 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
17593 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
17594 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
17595 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
17596 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
17597 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
17598 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
17599 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
17600 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
17601 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
17602 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
17603 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
17604 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
17605 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
17606 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
17607 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
17608 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
17609 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
17610 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
17611 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
17612 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
17613 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
17614 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
17615 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
17616 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
17617
17618 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
17619 rename.
17620 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17621 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17622 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17623 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17624 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17625 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17626 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17627 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17628
17629 2011-10-24 Andreas Schwab <schwab@redhat.com>
17630
17631 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
17632
17633 2011-10-23 Ulrich Drepper <drepper@gmail.com>
17634
17635 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
17636
17637 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
17638 prediction.
17639 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
17640
17641 * string/strnlen.c: Don't define STRNLEN, reverse logic.
17642 Remove unused variable magic_bits.
17643 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
17644
17645 * string/strnlen.c: Define and use STRNLEN macro.
17646 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
17647 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
17648 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
17649 * wcsmbs/wcslen.c: Define and use WCSLEN.
17650 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
17651 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
17652 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
17653 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
17654 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
17655 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
17656 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
17657
17658 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17659
17660 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17661 strnlen-sse2-no-bsf.
17662 Rename strlen-no-bsf to strlen-sse2-no-bsf.
17663 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
17664 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
17665 Add strnlen support.
17666 (USE_AS_STRNLEN): New macro.
17667 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
17668 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
17669 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
17670 * sysdeps/x86_64/wcslen.S: New file.
17671
17672 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
17673
17674 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
17675 XMM-moves are used for copying on small sizes.
17676
17677 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17678
17679 * wcsmbs/Makefile (strop-tests): Add wcschr.
17680 * wcsmbs/test-wcschr.c: New file.
17681 * string/test-strchr.c: Update.
17682 Add wcschr support.
17683 (WIDE): New macro.
17684
17685 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17686
17687 * wcsmbs/Makefile (strop-tests): Add wcslen.
17688 * wcsmbs/test-wcslen.c: New file.
17689 * string/test-strlen.c: Update.
17690 Add wcslen support.
17691 (WIDE): New macro.
17692
17693 2011-10-23 Ulrich Drepper <drepper@gmail.com>
17694
17695 * po/it.po: Update from translation team.
17696
17697 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17698
17699 * sysdeps/x86_64/wcscmp.S: Update.
17700 Fix wrong comparison semantics.
17701 wcscmp shall use signed comparison not unsigned.
17702 Don't use substraction to avoid overflow bug.
17703 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
17704 * wcsmbc/wcscmp.c: Likewise.
17705 * string/test-strcmp.c: Likewise.
17706 Add new tests to check cases with negative values.
17707
17708 2011-10-23 Ulrich Drepper <drepper@gmail.com>
17709
17710 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
17711 * sysdeps/x86_64/dla.h: ...here. New file.
17712 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
17713 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17714 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17715 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17716 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17717 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17718 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17719 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17720 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17721
17722 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
17723
17724 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
17725 __ynl_finite aliases.
17726
17727 2011-10-22 Ulrich Drepper <drepper@gmail.com>
17728
17729 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17730
17731 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
17732 define DLA_FMA.
17733 [DLA_FMA] (EMULV): Use DLA_FMA.
17734 [DLA_FMA] (MUL12): Use EMULV.
17735 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
17736 that are not needed.
17737 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17738 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17739 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17740 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17741 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17742 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17743 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17744
17745 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
17746
17747 * math/s_nan.c: Undef __nan.
17748 * math/s_nanf.c: Undef __nanf.
17749 * math/s_nanl.c: Undef __nanl.
17750 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
17751 "math_private.h".
17752
17753 2011-10-22 Ulrich Drepper <drepper@gmail.com>
17754
17755 * math/s_catan.c: Add branch predictions.
17756 * math/s_catanf.c: Likewise.
17757 * math/s_catanh.c: Likewise.
17758 * math/s_catanhf.c: Likewise.
17759 * math/s_catanhl.c: Likewise.
17760 * math/s_catanl.c: Likewise.
17761 * math/s_cexp.c: Likewise.
17762 * math/s_cexpf.c: Likewise.
17763 * math/s_cexpl.c: Likewise.
17764 * math/s_clog.c: Likewise.
17765 * math/s_clog10.c: Likewise.
17766 * math/s_clog10f.c: Likewise.
17767 * math/s_clog10l.c: Likewise.
17768 * math/s_clogf.c: Likewise.
17769 * math/s_clogl.c: Likewise.
17770 * math/s_csqrt.c: Likewise.
17771 * math/s_csqrtf.c: Likewise.
17772 * math/s_csqrtl.c: Likewise.
17773 * math/s_ctanf.c: Likewise.
17774 * math/s_ctanh.c: Likewise.
17775 * math/s_ctanhf.c: Likewise.
17776 * math/s_ctanhl.c: Likewise.
17777 * math/s_ctanl.c: Likewise.
17778
17779 * math/math_private.h: Define __nan, __nanf, __nanl.
17780 * math/s_cacosh.c: Include <math_private.h>.
17781 * math/s_cacoshl.c: Likewise.
17782 * math/s_casinh.c: Likewise.
17783 * math/s_casinhf.c: Likewise.
17784 * math/s_casinhl.c: Likewise.
17785 * math/s_ccos.c: Rely entire on ccosh.
17786 * math/s_ccosf.c: Rely entire on ccoshf.
17787 * math/s_ccosl.c: Rely entirely on ccoshl.
17788 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
17789 Remove tests for FE_INVALID.
17790 * math/s_ccoshf.c: Likewise.
17791 * math/s_ccoshl.c: Likewise.
17792 * math/s_csin.c: Likewise.
17793 * math/s_csinf.c: Likewise.
17794 * math/s_csinh.c Likewise.
17795 * math/s_csinhf.c: Likewise.
17796 * math/s_csinhl.c: Likewise.
17797 * math/s_csinl.c: Likewise.
17798 * math/s_ctan.c: Likewise.
17799 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
17800 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
17801 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
17802
17803 2011-10-21 Ulrich Drepper <drepper@gmail.com>
17804
17805 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
17806 compilation problems.
17807
17808 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
17809 __builtin_expect.
17810
17811 2011-10-20 Ulrich Drepper <drepper@gmail.com>
17812
17813 * sysdeps/i386/configure.in: Test for -mfma4 option.
17814 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
17815 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
17816 COMMON_CPUID_INDEX_80000001.
17817 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
17818 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
17819 use it if FMA3 is not supported.
17820 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
17821
17822 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
17823 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
17824
17825 2011-10-20 Andreas Schwab <schwab@redhat.com>
17826
17827 [BZ #12892]
17828 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
17829 it would create a cycle with a link time dependency.
17830
17831 2011-10-19 Ulrich Drepper <drepper@gmail.com>
17832
17833 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
17834 instruction.
17835 * string/Makefile (strop-tests): Add rawmemchr.
17836 * string/test-rawmemchr.c: New file.
17837
17838 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
17839 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
17840 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
17841 when compiling str{,n}casecmp and when AVX is available. Hook up
17842 new optimized code in initializers.
17843
17844 2011-10-19 Andreas Schwab <schwab@redhat.com>
17845
17846 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
17847 __feraiseexcept instead of feraiseexcept.
17848
17849 2011-10-18 Ulrich Drepper <drepper@gmail.com>
17850
17851 * math/math_private.h: Define defaults for libc_fetestexcept and
17852 libc_feupdateenv.
17853 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
17854 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
17855 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
17856 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17857 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
17858 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
17859 libc_fetestexcept and libc_feupdateenv.
17860
17861 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
17862 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
17863 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
17864 * sysdeps/x86_64/fpu/math_private.h: Define special version of
17865 libc_feholdexcept_setround.
17866
17867 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
17868 Add s_nearbyint-c and s_nearbyintf-c.
17869 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
17870 nearbyintf inlines.
17871 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
17872 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
17873 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
17874 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
17875
17876 * math/math_private.h: Define defaults for libc_fegetround,
17877 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
17878 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
17879 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
17880 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
17881 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
17882 standard functions.
17883 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17884 Remove comments and hacks for old compiler versions.
17885 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
17886 libc_fegetround, libc_fesetround, libc_feholdexcept, and
17887 libc_feholdexceptl.
17888
17889 2011-10-18 Andreas Schwab <schwab@redhat.com>
17890
17891 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
17892 (__feraiseexcept_renamed): Add __NTH.
17893 (feraiseexcept): Add __NTH. Rename local variables to fix
17894 namespace violations.
17895
17896 2011-10-17 Ulrich Drepper <drepper@gmail.com>
17897
17898 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
17899
17900 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
17901
17902 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
17903 recently added interfaces.
17904 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
17905
17906 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
17907 about macro parameter expansion.
17908
17909 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
17910 __NO_MATH_INLINES is defined. Cleanups.
17911
17912 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
17913 and __floorf is target has SSE4.1.
17914 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
17915 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
17916 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
17917 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
17918
17919 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
17920 name.
17921 (floorf): Likewise.
17922
17923 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
17924
17925 2011-10-17 Andreas Schwab <schwab@redhat.com>
17926
17927 * misc/sys/cdefs.h: Fix last change.
17928
17929 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
17930 database lookup.
17931
17932 2011-10-16 Ulrich Drepper <drepper@gmail.com>
17933
17934 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
17935
17936 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
17937 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17938 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
17939 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17940 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17941 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
17942 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17943 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17944 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
17945 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
17946 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
17947 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
17948 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
17949 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
17950 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
17951 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
17952 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
17953 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
17954 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
17955 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
17956 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
17957 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
17958
17959 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
17960 ceil, ceilf, floor, floorf.
17961
17962 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
17963 Perform IRELATIVE relocations last.
17964
17965 * elf/do-rel.h: Add another parameter nrelative, replacing the
17966 local variable with the same name. Change name of the function
17967 to end in Rel or Rela (uppercase).
17968 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
17969 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
17970 elf_dynamic_do_##reloc function.
17971
17972 2011-10-15 Ulrich Drepper <drepper@gmail.com>
17973
17974 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
17975 is sufficient, at least on modern CPUs.
17976
17977 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
17978
17979 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
17980 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
17981
17982 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
17983 __expl_finite.
17984 * math/bits/math-finite.h: Add entries for exp.
17985 * math/e_expl.c: Add __*_finite alias.
17986 * sysdeps/i386/fpu/e_exp.S: Likewise.
17987 * sysdeps/i386/fpu/e_expf.S: Likewise.
17988 * sysdeps/i386/fpu/e_expl.c: Likewise.
17989 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17990 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17991 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17992 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17993 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
17994 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
17995 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
17996
17997 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
17998 is sufficient, at least on modern CPUs.
17999
18000 * ctype/ctype-info.c (__ctype_init): Define.
18001 * include/ctype.h (__ctype_init): Declare.
18002 (__ctype_b_loc): The variable is always initialized.
18003 (__ctype_toupper_loc): Likewise.
18004 (__ctype_tolower_loc): Likewise.
18005 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
18006 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
18007
18008 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
18009
18010 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
18011
18012 * configure.in: Also look in $cxxmachine/include for C++ system
18013 headers.
18014
18015 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18016
18017 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
18018 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
18019 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
18020 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
18021 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
18022 (USE_AS_WMEMCMP): New macro.
18023 Fixing indents.
18024 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
18025 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
18026 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
18027 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
18028 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18029 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
18030 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
18031 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
18032 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
18033 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
18034 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
18035 (USE_AS_WMEMCMP): New macro.
18036 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
18037 * sysdeps/string/test-memcmp.c: Update.
18038 Fix simple_wmemcmp.
18039 Add new tests.
18040 * wcsmbs/wmemcmp.c: Update.
18041 (WMEMCMP): New macro.
18042 Fix overflow bug.
18043
18044 2011-10-12 Andreas Jaeger <aj@suse.de>
18045
18046 [BZ #13268]
18047 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
18048
18049 2011-10-15 Ulrich Drepper <drepper@gmail.com>
18050
18051 * libio/iofwide.c (do_length): Avoid warning.
18052
18053 * ctype/ctype.h (__isctype_f): Add missing __THROW.
18054
18055 2011-10-14 Ulrich Drepper <drepper@gmail.com>
18056
18057 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
18058
18059 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
18060 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
18061 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
18062 * sysdeps/i386/i686/fpu/e_log.S: New file.
18063 * sysdeps/i386/i686/fpu/e_logf.S: New file.
18064 * sysdeps/i386/i686/fpu/e_logl.S: New file.
18065
18066 * ctype/ctype.h: Add support for inlined isXXX functions when
18067 compiling C++ code.
18068
18069 2011-10-14 Andreas Schwab <schwab@redhat.com>
18070
18071 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18072
18073 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
18074
18075 2011-10-13 Roland McGrath <roland@hack.frob.com>
18076
18077 [BZ #13291]
18078 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
18079
18080 2011-10-13 Andreas Schwab <schwab@redhat.com>
18081
18082 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
18083 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
18084 feraiseexcept.
18085
18086 * sysdeps/x86_64/memrchr.S: Check for zero size.
18087
18088 * string/stratcliff.c: Add memrchr tests.
18089
18090 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18091
18092 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18093 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
18094 rawmemchr-sse2 rawmemchr-sse2-bsf.
18095 * sysdeps/i386/i686/multiarch/memchr.S: New file.
18096 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
18097 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
18098 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
18099 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
18100 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
18101 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
18102 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
18103 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
18104 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
18105 * string/memrchr.c (MEMRCHR): New macro.
18106
18107 2011-10-12 Ulrich Drepper <drepper@gmail.com>
18108
18109 Add integration with gcc's -ffinite-math-only and optimize wrapper
18110 functions in libm.
18111 * Versions.def: Define GLIBC_2.15 version for libm.
18112 * math/Makefile (headers): Add bits/math-finite.h.
18113 * math/bits/math-finite.h: New file.
18114 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
18115 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
18116 * math/e_acoshl.c: Add __*_finite alias.
18117 * math/e_acosl.c: Likewise.
18118 * math/e_asinl.c: Likewise.
18119 * math/e_atan2l.c: Likewise.
18120 * math/e_atanhl.c: Likewise.
18121 * math/e_coshl.c: Likewise.
18122 * math/e_exp10.c: Likewise.
18123 * math/e_exp10f.c: Likewise.
18124 * math/e_exp10l.c: Likewise.
18125 * math/e_exp2l.c: Likewise.
18126 * math/e_fmodl.c: Likewise.
18127 * math/e_gammal_r.c: Likewise.
18128 * math/e_hypotl.c: Likewise.
18129 * math/e_j0l.c: Likewise.
18130 * math/e_j1l.c: Likewise.
18131 * math/e_jnl.c: Likewise.
18132 * math/e_lgammal_r.c: Likewise.
18133 * math/e_log10l.c: Likewise.
18134 * math/e_log2l.c: Likewise.
18135 * math/e_logl.c: Likewise.
18136 * math/e_powl.c: Likewise.
18137 * math/e_sinhl.c: Likewise.
18138 * math/e_sqrtl.c: Likewise.
18139 * math/e_scalb.c: Completely rewritten and optimized.
18140 * math/e_scalbf.c: Likewise.
18141 * math/e_scalbl.c: Likewise.
18142 * math/w_acos.c: Likewise.
18143 * math/w_acosf.c: Likewise.
18144 * math/w_acosl.c: Likewise.
18145 * math/w_acosh.c: Likewise.
18146 * math/w_acoshf.c: Likewise.
18147 * math/w_acoshl.c: Likewise.
18148 * math/w_asin.c: Likewise.
18149 * math/w_asinf.c: Likewise.
18150 * math/w_asinl.c: Likewise.
18151 * math/w_atan2.c: Likewise.
18152 * math/w_atan2f.c: Likewise.
18153 * math/w_atan2l.c: Likewise.
18154 * math/w_atanh.c: Likewise.
18155 * math/w_atanhf.c: Likewise.
18156 * math/w_atanhl.c: Likewise.
18157 * math/w_exp10.c: Likewise.
18158 * math/w_exp10f.c: Likewise.
18159 * math/w_exp10l.c: Likewise.
18160 * math/w_fmod.c: Likewise.
18161 * math/w_fmodf.c: Likewise.
18162 * math/w_fmodl.c: Likewise.
18163 * math/w_j0.c: Likewise.
18164 * math/w_j0f.c: Likewise.
18165 * math/w_j0l.c: Likewise.
18166 * math/w_j1.c: Likewise.
18167 * math/w_j1f.c: Likewise.
18168 * math/w_j1l.c: Likewise.
18169 * math/w_jn.c: Likewise.
18170 * math/w_jnf.c: Likewise.
18171 * math/w_log.c: Likewise.
18172 * math/w_logf.c: Likewise.
18173 * math/w_logl.c: Likewise.
18174 * math/w_log10.c: Likewise.
18175 * math/w_log10f.c: Likewise.
18176 * math/w_log10l.c: Likewise.
18177 * math/w_log2.c: Likewise.
18178 * math/w_log2f.c: Likewise.
18179 * math/w_log2l.c: Likewise.
18180 * math/w_pow.c: Likewise.
18181 * math/w_powf.c: Likewise.
18182 * math/w_powl.c: Likewise.
18183 * math/w_remainder.c: Likewise.
18184 * math/w_remainderf.c: Likewise.
18185 * math/w_remainderl.c: Likewise.
18186 * math/w_scalb.c: Likewise.
18187 * math/w_scalbf.c: Likewise.
18188 * math/w_scalbl.c: Likewise.
18189 * math/w_sqrt.c: Likewise.
18190 * math/w_sqrtf.c: Likewise.
18191 * math/w_sqrtl.c: Likewise.
18192 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
18193 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
18194 used.
18195 * math/math_private.h: Declare __kernel_standard_f.
18196 * math/w_cosh.c: Remove cruft and optimize a bit.
18197 * math/w_coshf.c: Likewise.
18198 * math/w_coshl.c: Likewise.
18199 * math/w_exp2.c: Likewise.
18200 * math/w_exp2f.c: Likewise.
18201 * math/w_exp2l.c: Likewise.
18202 * math/w_hypot.c: Likewise.
18203 * math/w_hypotf.c: Likewise.
18204 * math/w_hypotl.c: Likewise.
18205 * math/w_lgamma.c: Likewise.
18206 * math/w_lgamma_r.c: Likewise.
18207 * math/w_lgammaf.c: Likewise.
18208 * math/w_lgammaf_r.c: Likewise.
18209 * math/w_lgammal.c: Likewise.
18210 * math/w_lgammal_r.c: Likewise.
18211 * math/w_sinh.c: Likewise.
18212 * math/w_sinhf.c: Likewise.
18213 * math/w_sinhl.c: Likewise.
18214 * math/w_tgamma.c: Likewise.
18215 * math/w_tgammaf.c: Likewise.
18216 * math/w_tgammal.c: Likewise.
18217 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18218 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18219 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
18220 Minor optimizations. Pretty printing. Remove cruft.
18221 * sysdeps/i386/fpu/e_acosf.S: Likewise.
18222 * sysdeps/i386/fpu/e_acosh.S: Likewise.
18223 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
18224 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
18225 * sysdeps/i386/fpu/e_acosl.c: Likewise.
18226 * sysdeps/i386/fpu/e_asin.S: Likewise.
18227 * sysdeps/i386/fpu/e_asinf.S: Likewise.
18228 * sysdeps/i386/fpu/e_atan2.S: Likewise.
18229 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
18230 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
18231 * sysdeps/i386/fpu/e_atanh.S: Likewise.
18232 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
18233 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
18234 * sysdeps/i386/fpu/e_exp10.S: Likewise.
18235 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
18236 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
18237 * sysdeps/i386/fpu/e_exp2.S: Likewise.
18238 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
18239 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
18240 * sysdeps/i386/fpu/e_fmod.S: Likewise.
18241 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
18242 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
18243 * sysdeps/i386/fpu/e_hypot.S: Likewise.
18244 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
18245 * sysdeps/i386/fpu/e_log.S: Likewise.
18246 * sysdeps/i386/fpu/e_log10.S: Likewise.
18247 * sysdeps/i386/fpu/e_log10f.S: Likewise.
18248 * sysdeps/i386/fpu/e_log10l.S: Likewise.
18249 * sysdeps/i386/fpu/e_log2.S: Likewise.
18250 * sysdeps/i386/fpu/e_log2f.S: Likewise.
18251 * sysdeps/i386/fpu/e_log2l.S: Likewise.
18252 * sysdeps/i386/fpu/e_logf.S: Likewise.
18253 * sysdeps/i386/fpu/e_logl.S: Likewise.
18254 * sysdeps/i386/fpu/e_pow.S: Likewise.
18255 * sysdeps/i386/fpu/e_powf.S: Likewise.
18256 * sysdeps/i386/fpu/e_powl.S: Likewise.
18257 * sysdeps/i386/fpu/e_remainder.S: Likewise.
18258 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
18259 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
18260 * sysdeps/i386/fpu/e_scalb.S: Likewise.
18261 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
18262 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
18263 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
18264 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
18265 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
18266 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18267 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18268 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18269 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18270 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18271 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18272 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
18273 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18274 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18275 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18276 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18277 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
18278 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18279 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18280 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18281 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18282 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18283 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18284 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18285 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18286 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18287 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
18288 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18289 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18290 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
18291 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
18292 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
18293 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
18294 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
18295 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
18296 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18297 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18298 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18299 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
18300 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
18301 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
18302 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
18303 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
18304 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
18305 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
18306 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
18307 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
18308 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
18309 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
18310 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18311 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
18312 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
18313 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
18314 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
18315 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
18316 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
18317 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
18318 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18319 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18320 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
18321 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
18322 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
18323 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
18324 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
18325 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
18326 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
18327 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
18328 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18329 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18330 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
18331 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
18332 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
18333 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
18334 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
18335 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
18336 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
18337 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
18338 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
18339 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
18340 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
18341 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18342 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
18343 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
18344 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18345 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
18346 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18347 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
18348 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
18349 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18350 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18351 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18352 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18353 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
18354 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18355 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
18356 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18357 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18358 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18359 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
18360 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18361 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
18362 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
18363 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
18364 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
18365 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
18366 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
18367 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
18368 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
18369 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
18370 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
18371 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
18372 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
18373 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18374 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
18375 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
18376 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
18377 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
18378 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
18379 (__isnanf): Likewise.
18380 (__isinf_ns): Likewise.
18381 (__isinf_nsf): Likewise.
18382 (__finite): Likewise.
18383 (__finitef): Likewise.
18384 (__ieee754_sqrt): Define as macro.
18385 (__ieee754_sqrtf): Define as macro.
18386 (__ieee754_sqrtl): Define as macro.
18387 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
18388 inlined copy.
18389 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
18390 __FINITE_MATH_ONLY__ consistent.
18391 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
18392
18393 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
18394
18395 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
18396 of rawmemchr.
18397
18398 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
18399
18400 2011-10-09 Ulrich Drepper <drepper@gmail.com>
18401
18402 * po/ja.po: Update from translation team.
18403
18404 2011-10-08 Roland McGrath <roland@hack.frob.com>
18405
18406 * locale/programs/locarchive.c (prepare_address_space): New function.
18407 (create_archive, enlarge_archive, open_archive): Use it.
18408
18409 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
18410 inside [SHARED], where it is used.
18411
18412 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
18413
18414 * nss/getent.c (netgroup_keys): Remove unused variable.
18415 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
18416
18417 2011-10-08 Ulrich Drepper <drepper@gmail.com>
18418
18419 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
18420 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
18421 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
18422 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
18423 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
18424 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
18425 * math/Makefile (libm-calls): Add s_isinf_ns.
18426 * math/divtc3.c: Use __isinf_nsl instead of isinf.
18427 * math/multc3.c: Likewise.
18428 * math/s_casin.c: Likewise.
18429 * math/s_casinf.c: Likewise.
18430 * math/s_casinl.c: Likewise.
18431 * math/s_ccos.c: Likewise.
18432 * math/s_ccosf.c: Likewise.
18433 * math/s_ccosl.c: Likewise.
18434 * math/s_ctan.c: Likewise.
18435 * math/s_ctanf.c: Likewise.
18436 * math/s_ctanh.c: Likewise.
18437 * math/s_ctanhf.c: Likewise.
18438 * math/s_ctanhl.c: Likewise.
18439 * math/s_ctanl.c: Likewise.
18440 * math/w_fmod.c: Likewise.
18441 * math/w_fmodf.c: Likewise.
18442 * math/w_fmodl.c: Likewise.
18443 * math/w_remainder.c: Likewise.
18444 * math/w_remainderf.c: Likewise.
18445 * math/w_remainderl.c: Likewise.
18446 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
18447 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
18448 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
18449 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
18450 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
18451 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
18452 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
18453 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
18454
18455 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
18456 of the number.
18457 * stdio-common/printf_fphex.c: Likewise.
18458 * stdio-common/printf_size.c: Likewise.
18459
18460 * math/e_exp10.c: Include math_private.h using <...> not "...".
18461 * math/e_exp10f.c: Likewise.
18462 * math/e_exp10l.c: Likewise.
18463 * math/e_exp2l.c: Likewise.
18464 * math/e_j0l.c: Likewise.
18465 * math/e_j1l.c: Likewise.
18466 * math/e_jnl.c: Likewise.
18467 * math/e_lgammal_r.c: Likewise.
18468 * math/e_rem_pio2l.c: Likewise.
18469 * math/e_scalb.c: Likewise.
18470 * math/e_scalbf.c: Likewise.
18471 * math/e_scalbl.c: Likewise.
18472 * math/k_cosl.c: Likewise.
18473 * math/k_sinl.c: Likewise.
18474 * math/k_tanl.c: Likewise.
18475 * math/s_cacoshf.c: Likewise.
18476 * math/s_catan.c: Likewise.
18477 * math/s_catanf.c: Likewise.
18478 * math/s_catanh.c: Likewise.
18479 * math/s_catanhf.c: Likewise.
18480 * math/s_catanhl.c: Likewise.
18481 * math/s_catanl.c: Likewise.
18482 * math/s_ccosh.c: Likewise.
18483 * math/s_ccoshf.c: Likewise.
18484 * math/s_ccoshl.c: Likewise.
18485 * math/s_cexp.c: Likewise.
18486 * math/s_cexpf.c: Likewise.
18487 * math/s_cexpl.c: Likewise.
18488 * math/s_clog.c: Likewise.
18489 * math/s_clog10.c: Likewise.
18490 * math/s_clog10f.c: Likewise.
18491 * math/s_clog10l.c: Likewise.
18492 * math/s_clogf.c: Likewise.
18493 * math/s_clogl.c: Likewise.
18494 * math/s_csin.c: Likewise.
18495 * math/s_csinf.c: Likewise.
18496 * math/s_csinh.c: Likewise.
18497 * math/s_csinhf.c: Likewise.
18498 * math/s_csinhl.c: Likewise.
18499 * math/s_csinl.c: Likewise.
18500 * math/s_csqrt.c: Likewise.
18501 * math/s_csqrtf.c: Likewise.
18502 * math/s_csqrtl.c: Likewise.
18503 * math/s_ctan.c: Likewise.
18504 * math/s_ctanf.c: Likewise.
18505 * math/s_ctanh.c: Likewise.
18506 * math/s_ctanhf.c: Likewise.
18507 * math/s_ctanhl.c: Likewise.
18508 * math/s_ctanl.c: Likewise.
18509 * math/s_ldexp.c: Likewise.
18510 * math/s_ldexpf.c: Likewise.
18511 * math/s_ldexpl.c: Likewise.
18512 * math/s_significand.c: Likewise.
18513 * math/s_significandf.c: Likewise.
18514 * math/s_significandl.c: Likewise.
18515 * math/w_acos.c: Likewise.
18516 * math/w_acosf.c: Likewise.
18517 * math/w_acosh.c: Likewise.
18518 * math/w_acoshf.c: Likewise.
18519 * math/w_acoshl.c: Likewise.
18520 * math/w_acosl.c: Likewise.
18521 * math/w_asin.c: Likewise.
18522 * math/w_asinf.c: Likewise.
18523 * math/w_asinl.c: Likewise.
18524 * math/w_atan2.c: Likewise.
18525 * math/w_atan2f.c: Likewise.
18526 * math/w_atan2l.c: Likewise.
18527 * math/w_atanh.c: Likewise.
18528 * math/w_atanhf.c: Likewise.
18529 * math/w_atanhl.c: Likewise.
18530 * math/w_cosh.c: Likewise.
18531 * math/w_coshf.c: Likewise.
18532 * math/w_coshl.c: Likewise.
18533 * math/w_dremf.c: Likewise.
18534 * math/w_exp10.c: Likewise.
18535 * math/w_exp10f.c: Likewise.
18536 * math/w_exp10l.c: Likewise.
18537 * math/w_exp2.c: Likewise.
18538 * math/w_exp2f.c: Likewise.
18539 * math/w_fmod.c: Likewise.
18540 * math/w_fmodf.c: Likewise.
18541 * math/w_fmodl.c: Likewise.
18542 * math/w_hypot.c: Likewise.
18543 * math/w_hypotf.c: Likewise.
18544 * math/w_hypotl.c: Likewise.
18545 * math/w_j0.c: Likewise.
18546 * math/w_j0f.c: Likewise.
18547 * math/w_j0l.c: Likewise.
18548 * math/w_j1.c: Likewise.
18549 * math/w_j1f.c: Likewise.
18550 * math/w_j1l.c: Likewise.
18551 * math/w_jn.c: Likewise.
18552 * math/w_jnf.c: Likewise.
18553 * math/w_jnl.c: Likewise.
18554 * math/w_lgamma.c: Likewise.
18555 * math/w_lgamma_r.c: Likewise.
18556 * math/w_lgammaf.c: Likewise.
18557 * math/w_lgammaf_r.c: Likewise.
18558 * math/w_lgammal.c: Likewise.
18559 * math/w_lgammal_r.c: Likewise.
18560 * math/w_log.c: Likewise.
18561 * math/w_log10.c: Likewise.
18562 * math/w_log10f.c: Likewise.
18563 * math/w_log10l.c: Likewise.
18564 * math/w_log2.c: Likewise.
18565 * math/w_log2f.c: Likewise.
18566 * math/w_log2l.c: Likewise.
18567 * math/w_logf.c: Likewise.
18568 * math/w_logl.c: Likewise.
18569 * math/w_pow.c: Likewise.
18570 * math/w_powf.c: Likewise.
18571 * math/w_powl.c: Likewise.
18572 * math/w_remainder.c: Likewise.
18573 * math/w_remainderf.c: Likewise.
18574 * math/w_remainderl.c: Likewise.
18575 * math/w_scalb.c: Likewise.
18576 * math/w_scalbf.c: Likewise.
18577 * math/w_scalbl.c: Likewise.
18578 * math/w_sinh.c: Likewise.
18579 * math/w_sinhf.c: Likewise.
18580 * math/w_sinhl.c: Likewise.
18581 * math/w_sqrt.c: Likewise.
18582 * math/w_sqrtf.c: Likewise.
18583 * math/w_sqrtl.c: Likewise.
18584 * math/w_tgamma.c: Likewise.
18585 * math/w_tgammaf.c: Likewise.
18586 * math/w_tgammal.c: Likewise.
18587
18588 * po/ja.po: Update from translation team.
18589
18590 2011-09-29 Andreas Jaeger <aj@suse.de>
18591
18592 [BZ #13179]
18593 * sunrpc/netname.c (netname2host): Fix logic.
18594
18595 [BZ #6779]
18596 [BZ #6783]
18597 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
18598 correctly.
18599 * math/w_remainder.c (__remainder): Likewise.
18600 * math/w_remainderf.c (__remainderf): Likewise.
18601 * math/libm-test.inc (remainder_test): Add test cases.
18602
18603 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18604
18605 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
18606 sdiv_qrnnd.
18607
18608 2011-10-07 Ulrich Drepper <drepper@gmail.com>
18609
18610 * string/test-memcmp.c: Avoid unncessary #defines.
18611 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
18612
18613 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18614
18615 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
18616 Use new sse2 version for core i3 - i7 as it's faster
18617 than sse42 version.
18618 (bit_Prefer_PMINUB_for_stringop): New.
18619 * sysdeps/x86_64/rawmemchr.S: Update.
18620 Replace with faster SSE2 version.
18621 * sysdeps/x86_64/memrchr.S: New file.
18622 * sysdeps/x86_64/memchr.S: Update.
18623 Replace with faster SSE2 version.
18624
18625 2011-09-12 Marek Polacek <mpolacek@redhat.com>
18626
18627 * elf/dl-load.c (lose): Add cast to avoid warning.
18628
18629 2011-10-07 Ulrich Drepper <drepper@gmail.com>
18630
18631 * po/ca.po: Update from translation team.
18632
18633 * inet/getnetgrent_r.c: Hook up nscd.
18634 * nscd/Makefile (routines): Add nscd_netgroup.
18635 (nscd-modules): Add netgroupcache.
18636 (CFLAGS-netgroupcache.c): Define.
18637 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
18638 (cache_search): Add const to second parameter.
18639 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
18640 INNETGR.
18641 (dbs): Add netgrdb entry.
18642 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
18643 (verify_persistent_db): Handle netgrdb.
18644 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
18645 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
18646 GETFDNETGR.
18647 (netgroup_response_header): Define.
18648 (innetgroup_response_header): Define.
18649 (datahead): Add netgroup_response_header and innetgroup_response_header
18650 elements.
18651 * nscd/nscd.conf: Add entries for netgroup cache.
18652 * nscd/nscd.h (dbtype): Add netgrdb.
18653 (_PATH_NSCD_NETGROUP_DB): Define.
18654 (netgroup_iov_disabled): Declare.
18655 (xmalloc, xcalloc, xrealloc): Move declarations here.
18656 (cache_search): Adjust prototype.
18657 Add netgroup-related prototypes.
18658 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
18659 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
18660 (__nscd_innetgr): Declare.
18661 * nscd/selinux.c (perms): Use access_vector_t as element type and
18662 add netgroup-related initializers.
18663 * nscd/netgroupcache.c: New file.
18664 * nscd/nscd_netgroup.c: New file.
18665 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
18666 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
18667 For four parameters use innetgr.
18668 * nss/nss_files/files-init.c: Add definition and callback for netgr.
18669 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
18670 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
18671 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
18672
18673 * nscd/connections.c (register_traced_file): Don't register file
18674 for disabled databases.
18675
18676 2011-10-06 Ulrich Drepper <drepper@gmail.com>
18677
18678 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
18679
18680 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
18681 from tree and freeing node.
18682
18683 2011-09-25 Jiri Olsa <jolsa@redhat.com>
18684
18685 * nss/nsswitch.c (__nss_database_lookup): Handle
18686 nss_parse_service_list out of memory case.
18687
18688 2011-09-15 Jiri Olsa <jolsa@redhat.com>
18689
18690 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
18691 out of memory case.
18692
18693 2011-10-04 Andreas Schwab <schwab@redhat.com>
18694
18695 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
18696 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
18697 pass it down.
18698 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
18699 elf_machine_rela, elf_machine_lazy_rel.
18700 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
18701 (ELF_DYNAMIC_DO_REL): Likewise.
18702 (ELF_DYNAMIC_DO_RELA): Likewise.
18703 (ELF_DYNAMIC_RELOCATE): Likewise.
18704 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
18705 to ELF_DYNAMIC_DO_REL.
18706 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
18707 (dl_main): In trace mode always set __RTLD_NOIFUNC.
18708 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
18709 elf_machine_rela.
18710 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
18711 skip_ifunc, don't call ifunc function if non-zero.
18712 (elf_machine_rela): Likewise.
18713 (elf_machine_lazy_rel): Likewise.
18714 (elf_machine_lazy_rela): Likewise.
18715 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
18716 (elf_machine_lazy_rel): Likewise.
18717 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
18718 Likewise.
18719 (elf_machine_lazy_rel): Likewise.
18720 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18721 Likewise.
18722 (elf_machine_lazy_rel): Likewise.
18723 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
18724 (elf_machine_lazy_rel): Likewise.
18725 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
18726 (elf_machine_lazy_rel): Likewise.
18727 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18728 (elf_machine_lazy_rel): Likewise.
18729 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
18730 (elf_machine_lazy_rel): Likewise.
18731 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
18732 (elf_machine_lazy_rel): Likewise.
18733 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
18734 (elf_machine_lazy_rel): Likewise.
18735
18736 2011-09-28 Ulrich Drepper <drepper@gmail.com>
18737
18738 * nss/nss_files/files-init.c (_nss_files_init): Use static
18739 initialization for all the *_traced_file variables.
18740
18741 2011-09-28 Andreas Schwab <schwab@redhat.com>
18742
18743 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18744
18745 2011-09-27 Roland McGrath <roland@hack.frob.com>
18746
18747 [BZ #13226]
18748 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
18749
18750 2011-09-27 Andreas Schwab <schwab@redhat.com>
18751
18752 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
18753 Reread the line before reparsing it.
18754
18755 2011-09-26 Andreas Schwab <schwab@redhat.com>
18756
18757 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
18758
18759 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
18760 Maxim Kuvyrkov <maxim@codesourcery.com>
18761 Joseph Myers <joseph@codesourcery.com>
18762
18763 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
18764 if needed for __stack_chk_guard.
18765
18766 2011-09-19 Roland McGrath <roland@hack.frob.com>
18767
18768 * sysdeps/posix/spawni.c (script_execute): Always define it.
18769 It will be optimized away if unused.
18770 (maybe_script_execute): New function.
18771 (__spawni): Call it.
18772
18773 * Makerules: Don't include tls.make.
18774 (config-tls): Always set to thread.
18775 * tls.make.c: File removed.
18776
18777 2011-09-19 Mike Frysinger <vapier@gentoo.org>
18778
18779 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
18780 * config.make.in (CPPFLAGS-config): New substituted variable.
18781
18782 2011-09-15 Ulrich Drepper <drepper@gmail.com>
18783
18784 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
18785
18786 [BZ #13192]
18787 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
18788 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
18789
18790 2011-09-15 Roland McGrath <roland@hack.frob.com>
18791
18792 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
18793 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
18794 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
18795 (CALL_FAIL): Likewise.
18796 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
18797 (CALL_FAIL): Macro removed.
18798 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
18799
18800 2011-09-15 Ulrich Drepper <drepper@gmail.com>
18801
18802 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
18803 for __FINITE_MATH_ONLY__ == 1.
18804
18805 2011-09-15 Andreas Schwab <schwab@redhat.com>
18806
18807 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
18808 __ieee754_sqrt instead of sqrt.
18809 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
18810 __ieee754_sqrtf instead of sqrtf.
18811 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
18812 __floorf instead of floorf.
18813 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
18814 __floorf, __truncf instead of floorf, truncf.
18815
18816 2011-09-14 Ulrich Drepper <drepper@gmail.com>
18817
18818 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
18819
18820 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
18821 __extern_always_inline.
18822 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
18823 32-bit.
18824
18825 2011-09-14 Andreas Schwab <schwab@redhat.com>
18826
18827 * elf/rtld.c (dl_main): Also relocate in dependency order when
18828 doing symbol dependency testing.
18829
18830 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
18831
18832 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18833 Always define `refsym'.
18834
18835 2011-09-13 Andreas Schwab <schwab@redhat.com>
18836
18837 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
18838 (__FD_ELT): Renamed from __FDELT.
18839 * misc/bits/select2.h (__FD_ELT): Likewise.
18840 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
18841 __FD_MASK instead of __FDELT, __FDMASK.
18842 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
18843 Likewise.
18844 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
18845 Likewise.
18846
18847 * elf/Makefile (gen-ldd): Fix pattern.
18848
18849 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
18850 (init_tls): Likewise.
18851
18852 2011-09-12 Ulrich Drepper <drepper@gmail.com>
18853
18854 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
18855
18856 2011-09-12 Andreas Schwab <schwab@redhat.com>
18857
18858 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
18859 `struct cmsghdr *' instead of `void *'.
18860 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
18861 Likewise.
18862
18863 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
18864
18865 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
18866 if non-absolute.
18867 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
18868 ldd_rewrite_script.
18869
18870 2011-09-11 Ulrich Drepper <drepper@gmail.com>
18871
18872 * configure.in: Remove --with-tls option.
18873 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
18874 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
18875 out in case it is missing.
18876 * sysdeps/ia64/elf/configure.in: Likewise.
18877 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
18878 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
18879 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
18880 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
18881 * sysdeps/sh/elf/configure.in: Likewise.
18882 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
18883 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
18884 * sysdeps/x86_64/elf/configure.in: Likewise.
18885 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
18886 * sysdeps/mach/hurd/tls.h: Likewise.
18887
18888 [BZ #13067]
18889 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
18890
18891 [BZ #13090]
18892 * configure.in: Fix use of AC_INIT.
18893
18894 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
18895
18896 2011-09-10 Ulrich Drepper <drepper@gmail.com>
18897
18898 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
18899 __set_errno.
18900 * malloc/hooks.c: Likewise.
18901
18902 [BZ #11929]
18903 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
18904 variables statically.
18905 (narenas): Initialize.
18906 (list_lock): Initialize.
18907 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
18908 initializtion of main_arena and list_lock. Small cleanups.
18909 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
18910 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
18911 Add initializers to main_arena and mp_.
18912 (malloc_state): Remove pagesize member. Change all users to use
18913 GLRO(dl_pagesize).
18914
18915 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
18916 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
18917 is always initialized.
18918
18919 * malloc/malloc.c: Removed unused configurations and dead code.
18920 * malloc/arena.c: Likewise.
18921 * malloc/hooks.c: Likewise.
18922 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
18923
18924 * include/tls.h: Removed. USE___THREAD must always be defined.
18925 * bits/libc-tsd.h: Don't handle !USE___THREAD.
18926 * elf/dl-libc.c: Likewise.
18927 * elf/dl-tsd.c: Likewise.
18928 * include/errno.h: Likewise.
18929 * include/netdb.h: Likewise.
18930 * include/resolv.h: Likewise.
18931 * inet/herrno-loc.c: Likewise.
18932 * inet/herrno.c: Likewise.
18933 * malloc/arena.c: Likewise.
18934 * malloc/hooks.c: Likewise.
18935 * malloc/malloc.c: Likewise.
18936 * resolv/res-state.c: Likewise.
18937 * resolv/res_libc.c: Likewise.
18938 * sysdeps/i386/dl-machine.h: Likewise.
18939 * sysdeps/ia64/dl-machine.h: Likewise.
18940 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
18941 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
18942 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
18943 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
18944 * sysdeps/sh/dl-machine.h: Likewise.
18945 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
18946 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
18947 * sysdeps/unix/i386/sysdep.S: Likewise.
18948 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
18949 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
18950 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
18951 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18952 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
18953 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18954 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
18955 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18956 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18957 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18958 * sysdeps/unix/x86_64/sysdep.S: Likewise.
18959 * sysdeps/x86_64/dl-machine.h: Likewise.
18960 * tls.make.c: Likewise.
18961
18962 * configure.in: Remove --with-__thread option. Make tests for
18963 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
18964 tls_model attribute fail if no support is available. Remove
18965 USE_IN_LIBIO.
18966 * Makeconfig: Adjust for dropped configure option. All features are
18967 now mandatory.
18968 * Makerules: Likewise.
18969 * Versions.def: Likewise.
18970 * argp/argp-fmtstream.c: Likewise.
18971 * argp/argp-fmtstream.h: Likewise.
18972 * argp/argp-help.c: Likewise.
18973 * assert/assert.c: Likewise.
18974 * config.h.in: Likewise.
18975 * config.make.in: Likewise.
18976 * configure: Likewise.
18977 * configure.in: Likewise.
18978 * csu/Versions: Likewise.
18979 * csu/init.c: Likewise.
18980 * elf/tst-audit2.c: Likewise.
18981 * elf/tst-tls10.c: Likewise.
18982 * elf/tst-tls10.h: Likewise.
18983 * elf/tst-tls11.c: Likewise.
18984 * elf/tst-tls12.c: Likewise.
18985 * elf/tst-tls14.c: Likewise.
18986 * elf/tst-tlsmod11.c: Likewise.
18987 * elf/tst-tlsmod12.c: Likewise.
18988 * elf/tst-tlsmod13.c: Likewise.
18989 * elf/tst-tlsmod13a.c: Likewise.
18990 * elf/tst-tlsmod14a.c: Likewise.
18991 * elf/tst-tlsmod15b.c: Likewise.
18992 * elf/tst-tlsmod16a.c: Likewise.
18993 * elf/tst-tlsmod16b.c: Likewise.
18994 * elf/tst-tlsmod7.c: Likewise.
18995 * elf/tst-tlsmod8.c: Likewise.
18996 * elf/tst-tlsmod9.c: Likewise.
18997 * gmon/gmon.c: Likewise.
18998 * grp/fgetgrent_r.c: Likewise.
18999 * grp/putgrent.c: Likewise.
19000 * hurd/fopenport.c: Likewise.
19001 * include/libc-symbols.h: Likewise.
19002 * include/tls.h: Likewise.
19003 * intl/gettextP.h: Likewise.
19004 * intl/loadinfo.h: Likewise.
19005 * locale/global-locale.c: Likewise.
19006 * locale/localeinfo.h: Likewise.
19007 * mach/devstream.c: Likewise.
19008 * malloc/arena.c: Likewise.
19009 * malloc/set-freeres.c: Likewise.
19010 * misc/err.c: Likewise.
19011 * misc/getttyent.c: Likewise.
19012 * misc/mntent_r.c: Likewise.
19013 * posix/getopt.c: Likewise.
19014 * posix/wordexp.c: Likewise.
19015 * pwd/fgetpwent_r.c: Likewise.
19016 * resolv/Versions: Likewise.
19017 * resolv/res_hconf.c: Likewise.
19018 * shadow/fgetspent_r.c: Likewise.
19019 * shadow/putspent.c: Likewise.
19020 * stdio-common/printf_fphex.c: Likewise.
19021 * stdio-common/tmpfile.c: Likewise.
19022 * stdlib/abort.c: Likewise.
19023 * stdlib/fmtmsg.c: Likewise.
19024 * sunrpc/auth_unix.c: Likewise.
19025 * sunrpc/clnt_perr.c: Likewise.
19026 * sunrpc/clnt_tcp.c: Likewise.
19027 * sunrpc/clnt_udp.c: Likewise.
19028 * sunrpc/clnt_unix.c: Likewise.
19029 * sunrpc/openchild.c: Likewise.
19030 * sunrpc/svc_simple.c: Likewise.
19031 * sunrpc/svc_tcp.c: Likewise.
19032 * sunrpc/svc_udp.c: Likewise.
19033 * sunrpc/svc_unix.c: Likewise.
19034 * sunrpc/xdr.c: Likewise.
19035 * sunrpc/xdr_array.c: Likewise.
19036 * sunrpc/xdr_rec.c: Likewise.
19037 * sunrpc/xdr_ref.c: Likewise.
19038 * sunrpc/xdr_stdio.c: Likewise.
19039
19040 2011-09-09 Ulrich Drepper <drepper@gmail.com>
19041
19042 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19043
19044 2011-07-03 Andreas Jaeger <aj@suse.de>
19045
19046 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
19047 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
19048 regenerate with gen-libm-tests.pl.
19049
19050 2010-05-12 Petr Baudis <pasky@suse.cz>
19051
19052 [BZ #11589]
19053 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
19054 around j0() zero points by switching to j1().
19055 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
19056 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
19057 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
19058 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
19059
19060 2011-09-09 Ulrich Drepper <drepper@gmail.com>
19061
19062 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
19063 instead of 0.
19064 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
19065 instead of 0. .
19066 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19067 Patch in part by Pavel Roskin <proski@gnu.org>.
19068
19069 [BZ #13138]
19070 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
19071 realloc.
19072 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
19073 Free memory block if necessary.
19074
19075 [BZ #12847]
19076 * libio/genops.c (INTDEF): For string streams the _lock pointer can
19077 be NULL. Don't lock in this case.
19078
19079 2011-09-09 Roland McGrath <roland@hack.frob.com>
19080
19081 * elf/elf.h (ELFOSABI_GNU): New macro.
19082 (ELFOSABI_LINUX): Define to that.
19083
19084 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
19085
19086 * string/strncat.c (strncat): Undef the symbol in case it has been
19087 defined in bits/string.h.
19088
19089 2011-09-09 Ulrich Drepper <drepper@gmail.com>
19090
19091 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
19092
19093 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
19094 link map.
19095
19096 2011-08-17 Andreas Jaeger <aj@suse.de>
19097
19098 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
19099
19100 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
19101 Ian Lance Taylor <iant@google.com>
19102
19103 * math/libm-test.inc (lround_test): New testcase.
19104 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
19105
19106 2011-09-08 Ulrich Drepper <drepper@gmail.com>
19107
19108 * Makefile: Remove support for automatic cvs check-ins.
19109 * Makerules: Likewise.
19110 * config.make.in: Likewise.
19111 * configure.in: Likewise.
19112 * intl/Makefile: Likewise.
19113 * locale/Makefile: Likewise.
19114 * po/Makefile: Likewise.
19115 * posix/Makefile: Likewise.
19116 * sysdeps/gnu/Makefile: Likewise.
19117 * sysdeps/mach/hurd/Makefile: Likewise.
19118 * sysdeps/sparc/sparc32/Makefile: Likewise.
19119
19120 [BZ #13118]
19121 * posix/Makefile (bug-regex32-ENV): Define.
19122 Patch by John Stanley <jpsinthemix@verizon.net>.
19123
19124 * misc/Makefile (headers): Add bits/select2.h.
19125 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
19126 * misc/bits/select2.h: New file.
19127 * include/bits/select2.h: New file.
19128 * debug/Makefile (routines): Add fdelt_chk.
19129 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
19130 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
19131 FD_ISSET.
19132 * debug/fdelt_chk.c: New file.
19133
19134 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
19135 * wcsmbs/test-wmemcmp.c: Likewise.
19136 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
19137 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
19138
19139 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19140
19141 * string/Makefile (strop-tests): Add memcmp.
19142 * string/test-wmemcmp.c: New file.
19143 * string/test-memcmp.c: Add wmemcmp support.
19144
19145 2011-09-08 Roland McGrath <roland@hack.frob.com>
19146
19147 [BZ #13153]
19148 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
19149 2011-07-19 change.
19150
19151 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
19152 garbage value in a __mach_port_mod_refs call in the cases of the
19153 task-self and thread-self ports.
19154
19155 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
19156
19157 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
19158
19159 2011-09-08 Andreas Schwab <schwab@redhat.com>
19160
19161 * elf/dl-load.c (lose): Check for non-null L.
19162
19163 2011-09-07 Ulrich Drepper <drepper@gmail.com>
19164
19165 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
19166
19167 * elf/dl-libc.c (dlerror_run): Pass back error code from
19168 dl_catch_error.
19169
19170 [BZ #13123]
19171 * elf/dl-load.c (lose): Free l_origin if it is valid.
19172
19173 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
19174 names.
19175 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
19176 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
19177 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
19178 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
19179 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
19180 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
19181
19182 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19183
19184 * sysdeps/powerpc/fpu/e_hypot.c: New file.
19185 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
19186 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
19187 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
19188 * sysdeps/powerpc/fpu/k_cosf.c: New file.
19189 * sysdeps/powerpc/fpu/k_sinf.c: New file.
19190 * sysdeps/powerpc/fpu/s_cosf.c: New file.
19191 * sysdeps/powerpc/fpu/s_sinf.c: New file.
19192 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
19193 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
19194
19195 2011-08-15 Alan Modra <amodra@gmail.com>
19196
19197 [BZ #13092]
19198 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
19199 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
19200 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
19201 ppc_mcount to static-only-routines.
19202 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
19203 __mcount_internal.
19204 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
19205 __mcount_internal with usual JUMPTARGET. Remove useless nop.
19206
19207 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
19208
19209 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
19210 for finite and infinity parameters.
19211
19212 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
19213
19214 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
19215 and add nop instructions for throughput optimization.
19216 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19217
19218 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
19219
19220 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
19221 aligned copy for power7 with vector-scalar instructions.
19222 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
19223
19224 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
19225
19226 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
19227 AVX check.
19228
19229 2011-09-07 Andreas Schwab <schwab@redhat.com>
19230
19231 [BZ #13144]
19232 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
19233 last change.
19234
19235 2011-09-07 Ulrich Drepper <drepper@gmail.com>
19236
19237 * sysdeps/unix/sysv/linux/x86_64/init-first.c
19238 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
19239 syscall wrapper around clock_gettime in __vdso_clock_gettime.
19240 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
19241 clock_gettime.
19242
19243 2011-09-06 Ulrich Drepper <drepper@gmail.com>
19244
19245 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
19246 Forgot to demangle the pointer.
19247
19248 * sysdeps/i386/sysdep.h: Define atom_text_section.
19249 * sysdeps/x86_64/sysdep.h: Likewise.
19250 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
19251 section with atom_text_section.
19252 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
19253 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
19254 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
19255 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
19256 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
19257
19258 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
19259 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
19260 already be defined. Change to take two parameters and don't assign
19261 result to variable. Adjust all users.
19262 Define INTERNAL_GETTIME if not already defined.
19263 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
19264 call.
19265 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
19266 HAVE_CLOCK_GETTIME_VSYSCALL.
19267 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
19268
19269 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
19270 gettimeofday vsyscall, just use time.
19271
19272 2011-09-06 Andreas Schwab <schwab@redhat.com>
19273
19274 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
19275 <errno.h>.
19276
19277 2011-09-06 Ulrich Drepper <drepper@gmail.com>
19278
19279 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
19280 syscall on x86-64.
19281 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
19282 syscall.
19283 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
19284 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
19285 syscall if possible.
19286
19287 2011-09-05 Ulrich Drepper <drepper@gmail.com>
19288
19289 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
19290 e_ident. Don't pass to find_mapsXX.
19291 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
19292
19293 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19294
19295 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19296 strchr-sse2-no-bsf strrchr-sse2-no-bsf
19297 * sysdeps/x86_64/multiarch/strchr.S: Update.
19298 Check bit_slow_BSF bit.
19299 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19300 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
19301 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
19302
19303 2011-09-05 Ulrich Drepper <drepper@gmail.com>
19304
19305 [BZ #13134]
19306 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
19307 before glibc 2.15.
19308 (tryshell): Define.
19309 (__spawni): Change last parameter to be flag. Test
19310 SPAWN_XFLAGS_USE_PATH flag to use path or not.
19311 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
19312 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
19313 * posix/spawni.c: Likewise.
19314 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
19315 * posix/spawnp.c: Likewise. Change normal version to use
19316 SPAWN_XFLAGS_USE_PATH.
19317 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
19318 SPAWN_XFLAGS_TRY_SHELL.
19319
19320 [BZ #13150]
19321 * posix/glob.h: Remove gcc 1.x support.
19322
19323 [BZ #13068]
19324 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
19325
19326 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19327
19328 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19329 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
19330 strrchr-sse2-bsf
19331 * sysdeps/i386/i686/multiarch/strchr.S: New file.
19332 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
19333 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
19334 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
19335 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
19336 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
19337
19338 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19339
19340 * sysdeps/x86_64/wcscmp.S: New file.
19341
19342 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
19343 wcscmp-c wcscmp-sse2
19344 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
19345 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
19346 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
19347 * wcsmbs/wcscmp.c: Allow renaming.
19348
19349 2011-09-05 David S. Miller <davem@davemloft.net>
19350
19351 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
19352 stack slot, rather than the struct return pointer slot.
19353 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
19354 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
19355 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
19356 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
19357
19358 2011-09-05 Ulrich Drepper <drepper@gmail.com>
19359
19360 * po/ja.po: Update from translation team.
19361
19362 [BZ #13144]
19363 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
19364 kernel in 64-bit binaries.
19365
19366 2011-09-01 David S. Miller <davem@davemloft.net>
19367
19368 * elf/elf.h (HWCAP_SPARC_*): Move to..
19369 * sysdeps/sparc/sysdep.h: this new file and add new values.
19370 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
19371 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
19372 _DL_HWCAP_COUNT to 24.
19373 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
19374 entries.
19375 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
19376 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
19377 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
19378 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
19379 instead of magic constants.
19380 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19381
19382 2011-08-31 David S. Miller <davem@davemloft.net>
19383
19384 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
19385 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
19386 Reimplement to do errno handling inline.
19387 (SYSCALL_ERROR_HANDLER): New macro.
19388 (__SYSCALL_STRING): Do not do errno handling in asm.
19389 (__CLONE_SYSCALL_STRING): Delete.
19390 (__INTERNAL_SYSCALL_STRING): Delete.
19391 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
19392 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
19393 (PSEUDO): Reimplement to do errno handling inline.
19394 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
19395 (SYSCALL_ERROR_HANDLER): New macro.
19396 (__SYSCALL_STRING): Do not do errno handling in asm.
19397 (__CLONE_SYSCALL_STRING): Delete.
19398 (__INTERNAL_SYSCALL_STRING): Delete.
19399 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
19400 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
19401 i386.
19402 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
19403 (inline_syscall*): Add 'err' argument.
19404 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
19405 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
19406 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
19407 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
19408
19409 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
19410 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
19411
19412 2011-08-30 Andreas Schwab <schwab@redhat.com>
19413
19414 * elf/rtld.c (dl_main): Relocate objects in dependency order.
19415
19416 2011-08-29 Jiri Olsa <jolsa@redhat.com>
19417
19418 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
19419 directive.
19420
19421 2011-08-24 David S. Miller <davem@davemloft.net>
19422
19423 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
19424
19425 2011-08-24 Andreas Schwab <schwab@redhat.com>
19426
19427 * elf/Makefile: Add rules to build and run unload8 test.
19428 * elf/unload8.c: New file.
19429 * elf/unload8mod1.c: New file.
19430 * elf/unload8mod1x.c: New file.
19431 * elf/unload8mod2.c: New file.
19432 * elf/unload8mod3.c: New file.
19433
19434 * elf/dl-close.c (_dl_close_worker): Reset private search list if
19435 it wasn't used.
19436
19437 2011-08-23 David S. Miller <davem@davemloft.net>
19438
19439 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
19440 subtract stack bias.
19441 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
19442 %sp not %fp in calculations.
19443 (_JMPBUF_UNWINDS_ADJ): Likewise.
19444
19445 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
19446 (aio_suspend): Call it to force an exception region around the
19447 AIO_MISC_WAIT() invocation.
19448
19449 2011-08-23 Andreas Schwab <schwab@redhat.com>
19450
19451 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
19452 backslash.
19453
19454 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
19455
19456 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
19457 protection macro.
19458 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
19459 and <dl-machine.h>.
19460 (Elf64_FuncDesc): Remove.
19461
19462 2011-08-22 David S. Miller <davem@davemloft.net>
19463
19464 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
19465 sigaltstack check, add missing cfi directives.
19466 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
19467 missing cfi directives, and sigaltstack handling.
19468
19469 2011-08-16 Andreas Schwab <schwab@redhat.com>
19470
19471 [BZ #11724]
19472 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
19473 object is seen twice.
19474 * elf/dl-fini.c (_dl_sort_fini): Likewise.
19475
19476 * elf/Makefile (distribute): Add tst-initorder2.c.
19477 (tests): Add tst-initorder2.
19478 (modules-names): Add tst-initorder2a tst-initorder2b
19479 tst-initorder2c tst-initorder2d. Add rules to build them.
19480 ($(objpfx)tst-initorder2.out): New rule.
19481 * elf/tst-initorder2.c: New file.
19482 * elf/tst-initorder2.exp: New file.
19483
19484 2011-08-22 Andreas Schwab <schwab@redhat.com>
19485
19486 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
19487
19488 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
19489 dependencies back to end of function.
19490
19491 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
19492 $(elfobjdir)/ld.so.
19493
19494 2011-08-21 Ulrich Drepper <drepper@gmail.com>
19495
19496 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
19497 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
19498 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
19499 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
19500 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
19501 of __vdso_gettimeofday.
19502 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
19503 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
19504 attribute_hidden.
19505 (_libc_vdso_platform_setup): Remove initialization of
19506 __vdso_gettimeofday and __vdso_time.
19507
19508 2011-08-20 Ulrich Drepper <drepper@gmail.com>
19509
19510 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
19511 and fgetc_unlocked.
19512 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
19513 getc_unlocked.
19514
19515 * elf/dl-open.c (add_to_global): Report additions to the global scope
19516 for LD_DEBUG=scopes.
19517 (dl_open_worker): Also print scope of newly loaded dependencies.
19518 (_dl_show_scope): Indicate if there is no scope.
19519
19520 [BZ #13114]
19521 * stdio-common/Makefile (tests): Add bug24.
19522 * stdio-common/bug24.c: New file.
19523
19524 2011-08-19 Andreas Jaeger <aj@suse.de>
19525
19526 [BZ #13114]
19527 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
19528 non-existant file when using close-on-exec mode.
19529
19530 2011-08-20 Ulrich Drepper <drepper@gmail.com>
19531
19532 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
19533 the very first instruction.
19534
19535 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
19536 the CFI state in the end.
19537 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
19538 inclusion of dl-trampoline.h.
19539 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
19540
19541 2011-08-19 Andreas Schwab <schwab@redhat.com>
19542
19543 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
19544 expectations for long double.
19545
19546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
19547 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
19548
19549 2011-08-14 David S. Miller <davem@davemloft.net>
19550
19551 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
19552 artificual limit depends upon the system page size.
19553
19554 2011-08-17 Ulrich Drepper <drepper@gmail.com>
19555
19556 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
19557 * resolv/Makefile: Define CFLAGS-libresolv.
19558
19559 2011-08-17 Andreas Schwab <schwab@redhat.com>
19560
19561 * nss/makedb.c (compute_tables): Make variables used in nested
19562 function static.
19563
19564 2011-08-17 Ulrich Drepper <drepper@gmail.com>
19565
19566 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
19567 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
19568 if buffer was too small.
19569
19570 * elf/pldd.c (main): Attach to all threads in the process.
19571 Rewrite /proc handling to use *at functions.
19572
19573 2011-08-16 Ulrich Drepper <drepper@gmail.com>
19574
19575 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
19576 specifies first scope to show.
19577 (dl_open_worker): Update callers. Move printing scope of new
19578 object to before the relocation.
19579 * elf/rtld.c (dl_main): Update _dl_show_scope call.
19580 * sysdeps/generic/ldsodefs.h: Update declaration.
19581
19582 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
19583 string for the scope number.
19584
19585 2011-08-14 Ulrich Drepper <drepper@gmail.com>
19586
19587 * nscd/servicescache.c (cache_addserv): Make sure written is always
19588 initialized.
19589
19590 2011-08-14 Roland McGrath <roland@hack.frob.com>
19591
19592 * sysdeps/i386/i486/bits/atomic.h
19593 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
19594 statement expression, so as to suppress "set but not used" warning.
19595 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
19596
19597 * string/strncat.c (STRNCAT): Use prototype definition.
19598
19599 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
19600 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
19601 -Iprograms here.
19602 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
19603 (localedef-modules): Add localedef.
19604 (locale-modules): Add locale.
19605
19606 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
19607 * elf/rtld.c (dl_main): Invert order of assignment in last change,
19608 to avoid a warning.
19609
19610 2011-08-14 David S. Miller <davem@davemloft.net>
19611
19612 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
19613 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
19614
19615 2011-08-13 Ulrich Drepper <drepper@gmail.com>
19616
19617 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
19618 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
19619 * elf/rtld.c (dl_main): Set l_name of vDSO.
19620 Call _dl_show_scope when DL_DEBUG_SCOPES.
19621 (process_dl_debug): Recognize scopes flag and also set it for all.
19622 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
19623 Declare _dl_show_scope.
19624
19625 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
19626 (do_dlopen): Pass caller_dlopen to dl_open.
19627 (__libc_dlopen_mode): Initialize caller_dlopen.
19628
19629 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
19630 of libc. Make tolower call locale-independent. Optimize a bit by
19631 using isdigit instead of isalnum.
19632 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
19633
19634 2011-08-12 Ulrich Drepper <drepper@gmail.com>
19635
19636 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
19637 was a dependency or dynamically loaded.
19638
19639 2011-08-11 Ulrich Drepper <drepper@gmail.com>
19640
19641 * intl/l10nflist.c: Allow architecture-specific pop function.
19642 * sysdeps/x86_64/l10nflist.c: New file.
19643
19644 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
19645 classification.
19646
19647 2011-08-10 Andreas Schwab <schwab@redhat.com>
19648
19649 * include/dirent.h: Add libc_hidden_proto for scandirat and
19650 scandirat64. Don't declare __scandirat64.
19651 * dirent/scandirat.c: Add libc_hidden_def.
19652 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
19653 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
19654
19655 2011-08-10 David S. Miller <davem@davemloft.net>
19656
19657 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
19658 enum.
19659 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19660 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19661 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19662
19663 2011-08-09 Ulrich Drepper <drepper@gmail.com>
19664
19665 * Versions.def [libc]: Add GLIBC_2.15.
19666 * dirent/Makefile (routines): Add scandirat and scandirat64.
19667 * dirent/Versions [libc]: Export scandirat and scandirat64 for
19668 GLIBC_2.15.
19669 * dirent/dirent.h: Declare scandirat and scandirat64.
19670 * dirent/scandirat.c: New file.
19671 * dirent/scandirat64.c: New file.
19672 * sysdeps/wordsize-64/scandirat.c: New file.
19673 * sysdeps/wordsize-64/scandirat64.c: New file.
19674 * dirent/opendir.c: Define opendirat.
19675 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
19676 using scandirat.
19677 * dirent/scandir64.c: Adjust for scandir.c change.
19678 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
19679 __scandirat64, and __scandir_cancel_handler.
19680 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
19681 additional parameter and use openat instead of open (outside of ld.so).
19682 Add new __opendir as wrapper around __opendirat.
19683 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
19684 here without requiring old scandirat implementation.
19685
19686 2011-08-08 Ulrich Drepper <drepper@gmail.com>
19687
19688 * dirent/scandir.c (cancel_handler): Renamed to
19689 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
19690 defined. Adjust users.
19691 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
19692 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
19693
19694 2011-08-04 Ulrich Drepper <drepper@gmail.com>
19695
19696 * string/test-string.h (IMPL): Use __STRING to expand name and then
19697 stringify it.
19698
19699 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
19700 of cleanups.
19701
19702 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19703
19704 * string/Makefile: Update.
19705 (strop-tests): Append strncat.
19706 * string/test-wcscmp.c: New file.
19707 New comprehensive test for wcscmp.
19708 * string/test-strcmp.c: Update.
19709 (WIDE): New define.
19710
19711 2011-07-22 Andreas Schwab <schwab@redhat.com>
19712
19713 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
19714 line.
19715
19716 2011-07-26 Andreas Schwab <schwab@redhat.com>
19717
19718 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
19719 encoding to ACE if AI_IDN.
19720
19721 2011-08-01 Jakub Jelinek <jakub@redhat.com>
19722
19723 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
19724 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
19725
19726 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19727
19728 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
19729 Fix overflow bug in strncat.
19730 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
19731
19732 * string/test-strncat.c: Update.
19733 Add new tests for checking overflow bugs.
19734
19735 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19736
19737 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19738 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
19739 * sysdeps/i386/i686/multiarch/strcat.S: New file.
19740 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
19741 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
19742 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
19743 * sysdeps/i386/i686/multiarch/strncat.S: New file.
19744 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
19745 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
19746
19747 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
19748 (USE_AS_STRCAT): Define.
19749 Add strcat and strncat support.
19750 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
19751
19752 2011-07-25 Andreas Schwab <schwab@redhat.com>
19753
19754 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
19755 __n bigger than INT_MAX+1.
19756 (__strncmp_g): Likewise.
19757
19758 2011-07-23 Ulrich Drepper <drepper@gmail.com>
19759
19760 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
19761 * libio/stido.h: Likewise.
19762
19763 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
19764 (AF_NFC): Define.
19765 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
19766 (AF_NFC): Define.
19767
19768 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
19769 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19770 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19771 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
19772 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19773
19774 [BZ #13021]
19775 * scripts/test-installation.pl: Don't expect libnss_test1 to be
19776 installed.
19777
19778 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
19779 typo.
19780 (_dl_x86_64_save_sse): Likewise.
19781
19782 2011-07-22 Ulrich Drepper <drepper@gmail.com>
19783
19784 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
19785 OSXSAVE.
19786 (_dl_x86_64_save_sse): Likewise.
19787
19788 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
19789
19790 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
19791
19792 2011-07-21 Andreas Schwab <schwab@redhat.com>
19793
19794 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
19795 change.
19796 (_dl_x86_64_save_sse): Use correct AVX check.
19797
19798 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19799
19800 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
19801 bug in strncpy/strncat.
19802 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
19803
19804 2011-07-21 Ulrich Drepper <drepper@gmail.com>
19805
19806 * string/tester.c (test_strcat): Add tests for different alignments
19807 of source and destination.
19808 (test_strncat): Likewise.
19809
19810 2011-07-20 Ulrich Drepper <drepper@gmail.com>
19811
19812 [BZ #12852]
19813 * posix/glob.c (glob): Check passed in values before using them in
19814 expressions to avoid some overflows.
19815 (glob_in_dir): Likewise.
19816
19817 [BZ #13007]
19818 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
19819 check for AVX enablement so that we don't crash with old kernels and
19820 new hardware.
19821 * elf/tst-audit4.c: Add same checks here.
19822 * elf/tst-audit6.c: Likewise.
19823
19824 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
19825
19826 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
19827
19828 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
19829
19830 2011-07-20 Ulrich Drepper <drepper@gmail.com>
19831
19832 * po/cs.po: Update from translation team.
19833 * po/bg.po: Likewise.
19834
19835 2011-07-12 Marek Polacek <mpolacek@redhat.com>
19836
19837 * misc/sys/cdefs.h: Add support for const attribute.
19838 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
19839 to gnu_dev_{major,minor,makedev} functions.
19840
19841 2011-07-20 Marek Polacek <mpolacek@redhat.com>
19842
19843 * intl/dcigettext.c (get_output_charset): Add missing bracket.
19844
19845 2011-07-20 Andreas Schwab <schwab@redhat.com>
19846
19847 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
19848 strlen results.
19849
19850 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19851
19852 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
19853 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
19854 register in order to avoid conflicts with the soft frame pointer
19855 being held in r11 when necessary.
19856 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
19857 (INTERNAL_VSYSCALL_NCS): Likewise.
19858
19859 2011-07-14 Marek Polacek <mpolacek@redhat.com>
19860
19861 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
19862 * elf/dl-fini.c (_dl_fini): Adjust caller.
19863 * elf/dl-close.c (_dl_close_worker): Likewise.
19864 * sysdeps/generic/ldsodefs.h: Adjust declaration.
19865
19866 2011-07-15 Marek Polacek <mpolacek@redhat.com>
19867
19868 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
19869 "aux_cache->nlibs < 0".
19870
19871 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
19872 in the reload-count case.
19873
19874 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19875
19876 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19877 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
19878 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
19879 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
19880 * sysdeps/x86_64/multiarch/strcat.S: New file.
19881 * sysdeps/x86_64/multiarch/strncat.S: New file.
19882 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
19883 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
19884 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
19885 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
19886 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
19887 (USE_AS_STRCAT): Define.
19888 Add strcat and strncat support.
19889 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
19890 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
19891 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
19892 * string/strncat.c: Update.
19893 (USE_AS_STRNCAT): Define.
19894 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19895 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
19896 and i7.
19897 * sysdeps/x86_64/multiarch/init-arch.h
19898 (bit_Prefer_PMINUB_for_stringop): New.
19899 (index_Prefer_PMINUB_for_stringop): Likewise.
19900 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
19901 bit_Prefer_PMINUB_for_stringop.
19902
19903 2011-07-19 Ulrich Drepper <drepper@gmail.com>
19904
19905 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
19906 buffer64.
19907 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
19908 of casting of buffer.
19909 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
19910 buffer32 and buffer64.
19911 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
19912 writes instead of casting of buffer.
19913 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
19914 buffer32.
19915 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
19916 casting of buffer.
19917
19918 2011-07-19 Andreas Schwab <schwab@redhat.com>
19919
19920 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
19921
19922 2011-07-19 Ulrich Drepper <drepper@gmail.com>
19923
19924 * nscd/nscd.c (termination_handler): Don't do anything for a database
19925 if it has not yet been initialized.
19926
19927 2011-07-18 Ulrich Drepper <drepper@gmail.com>
19928
19929 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
19930
19931 2011-07-15 Marek Polacek <mpolacek@redhat.com>
19932
19933 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
19934
19935 2011-07-18 Ulrich Drepper <drepper@gmail.com>
19936
19937 * po/nl.po: Update from translation team.
19938 * po/sv.po: Likewise.
19939
19940 2011-07-16 Roland McGrath <roland@hack.frob.com>
19941
19942 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
19943 now disallowed by GCC.
19944
19945 * configure.in (use-default-link): Default to yes if a test -shared
19946 link meets our qualifications.
19947 * configure: Regenerated.
19948
19949 * config.make.in (output-format): New variable.
19950 * configure.in: Check for ld --print-output-format support.
19951 * configure: Regenerated.
19952 * Makerules ($(common-objpfx)format.lds)
19953 [$(output-format) != unknown]: Just use $(output-format),
19954 instead of the linker-script munging.
19955
19956 2011-07-14 Roland McGrath <roland@hack.frob.com>
19957
19958 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
19959 of $(common-objpfx)shlib.lds.
19960 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
19961
19962 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
19963 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
19964
19965 * configure.in (-z relro check): Adjust test code to add a large
19966 writable data section after it.
19967 * configure: Regenerated.
19968
19969 2011-07-11 Roland McGrath <roland@hack.frob.com>
19970
19971 * configure.in (-z relro check): Fix test code to make the variable
19972 truly const.
19973 * configure: Regenerated.
19974
19975 2011-07-11 Ulrich Drepper <drepper@gmail.com>
19976
19977 * nscd/nscd.h (struct traced_file): Define.
19978 (struct database_dyn): Remove inotify_descr, reset_res, and filename
19979 elements. Add traced_files.
19980 (inotify_fd): Declare.
19981 (register_traced_file): Declare.
19982 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
19983 (inotify_fd): Export.
19984 (resolv_conf_descr): Remove.
19985 (nscd_init): Move inotify descriptor creation to main.
19986 Don't register files for notification here.
19987 (register_traced_file): New function.
19988 (invalidate_cache): Don't use reset_res to determine whether to call
19989 res_init, go through the list of registered files.
19990 (main_loop_poll): The inotify descriptors are now stored in the
19991 structures for the traced files.
19992 (main_loop_epoll): Likewise
19993 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
19994 to __nss_disable_nscd.
19995 * nscd/cache.c (prune_cache): There is no single inotify descriptor
19996 for a database anymore. Check the records for all the registered
19997 files instead.
19998 * nss/Makefile (libnss_files-routines): Add files-init.
19999 (libnss_db-routines): Add db-init.
20000 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
20001 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
20002 * nss/nss_db/db-init.c: New file.
20003 * nss/nss_files/files-init.c: New file.
20004 * nss/nsswitch.c (nss_load_library): New function. Broken out of
20005 __nss_lookup_function.
20006 (__nss_lookup_function): Call nss_load_library.
20007 (nss_load_all_libraries): New function.
20008 (__nss_disable_nscd): Take parameter with callback function for files
20009 to register. Set is_nscd. Load all the DSOs for the NSS modules
20010 used for the cached services.
20011 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
20012 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
20013 options for features to all the files in nscd.
20014
20015 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
20016
20017 2011-07-10 Roland McGrath <roland@hack.frob.com>
20018
20019 * csu/elf-init.c (__libc_csu_init): Comment typo.
20020
20021 2011-07-09 Ulrich Drepper <drepper@gmail.com>
20022
20023 * po/pl.po: Update from translation team.
20024 * po/ja.po: Likewise.
20025 * po/ru.po: Likewise.
20026 * po/ko.po: Likewise.
20027 * po/fr.po: Likewise.
20028
20029 2011-07-09 Roland McGrath <roland@hack.frob.com>
20030
20031 * configure.in (.ctors/.dtors header and trailer check):
20032 Use an empirical test on a built program.
20033 * configure: Regenerated.
20034
20035 * configure.in (-z relro check): Use an empirical test on a built DSO.
20036 Detect, but do not require, on ia64.
20037 * configure: Regenerated.
20038
20039 * configure.in (READELF): Find it with AC_CHECK_TOOL.
20040 Update tests that use readelf to use $READELF instead.
20041 * configure: Regenerated.
20042
20043 2011-07-08 Ulrich Drepper <drepper@gmail.com>
20044
20045 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
20046 if the result is not used.
20047
20048 2011-07-05 Andreas Jaeger <aj@suse.de>
20049
20050 [BZ#9696]
20051 * stdlib/tst-strtod.c: Add testcase.
20052
20053 2011-07-07 Ulrich Drepper <drepper@gmail.com>
20054
20055 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
20056 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
20057 The latter has a higher limit. Take additional parameter to pass to
20058 the new function.
20059 (__pathconf): Pass file to __statfs_link_max.
20060 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
20061 __statfs_link_max.
20062 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
20063 __statfs_link_max.
20064
20065 [BZ #12868]
20066 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
20067 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20068 Handle Lustre.
20069 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
20070 (__statfs_filesize_max): Likewise.
20071 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
20072
20073 2011-07-05 Andreas Jaeger <aj@suse.de>
20074
20075 * resolv/res_comp.c (dn_skipname): Remove unused variable.
20076
20077 2011-07-06 Marek Polacek <mpolacek@redhat.com>
20078
20079 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
20080 `status' variable.
20081 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
20082 Likewise.
20083
20084 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
20085
20086 * Makefile (strop-tests): Add strncat.
20087 * string/test-strncat.c: New file.
20088
20089 2011-06-30 Marek Polacek <mpolacek@redhat.com>
20090
20091 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
20092
20093 2011-06-21 Andreas Jaeger <aj@suse.de>
20094
20095 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
20096 Copy rule from iconvdata/Makefile.
20097
20098 2011-07-06 Ulrich Drepper <drepper@gmail.com>
20099
20100 [BZ #12922]
20101 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
20102 but no long options are defined, just return 'W'.
20103
20104 2011-06-22 Marek Polacek <mpolacek@redhat.com>
20105
20106 [BZ #9696]
20107 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
20108
20109 2011-07-06 Ulrich Drepper <drepper@gmail.com>
20110
20111 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
20112 netgroups to read.
20113 (innetgr): Likewise.
20114
20115 2011-07-05 Roland McGrath <roland@hack.frob.com>
20116
20117 * config.make.in (install_root): Default to $(DESTDIR).
20118
20119 2011-07-05 Ulrich Drepper <drepper@gmail.com>
20120
20121 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
20122
20123 2011-07-02 Roland McGrath <roland@hack.frob.com>
20124
20125 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
20126
20127 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
20128 containing directory rather than embedding absolute directory names.
20129
20130 * scripts/check-local-headers.sh: Rewritten using awk.
20131 Match by word, not by line. Print error messages for matches.
20132 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
20133
20134 * Makerules [shlib-lds-flags empty]:
20135 ($(common-objpfx)libc_pic.opts): New target.
20136 ($(common-objpfx)libc_pic.os.clean): New target.
20137 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
20138
20139 * config.make.in (OBJCOPY): New variable.
20140 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
20141 * configure: Regenerated.
20142
20143 * config.make.in (use-default-link): New variable.
20144 * configure.in (use_default_link): Grok --with-default-link to set it.
20145 * configure: Regenerated.
20146 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
20147 (shlib-lds, shlib-lds-flags): Define to empty.
20148
20149 * Makerules (shlib-lds): New variable.
20150 (shlib-lds-flags): New variable.
20151 (build-shlib, build-moduile, build-module-asneeded): Use it.
20152 ($(common-objpfx)libc.so): Use $(shlib-lds).
20153 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
20154 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
20155
20156 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
20157 DT_FLAGS/DT_FLAGS_1 with zero flags.
20158
20159 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
20160 linker script munging.
20161
20162 2011-07-02 Ulrich Drepper <drepper@gmail.com>
20163
20164 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
20165 as 128-bit value.
20166 * crypt/sha512.c (sha512_process_block): Perform total addition using
20167 128-bit if possible.
20168 (__sha512_finish_ctx): Likewise.
20169 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
20170 as 64-bit value.
20171 * crypt/sha256.c (SWAP64): Define.
20172 (sha256_process_block): Perform total addition using 64-bit if
20173 possible.
20174 (__sha256_finish_ctx): Likewise.
20175
20176 2011-07-01 Ulrich Drepper <drepper@gmail.com>
20177
20178 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
20179 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20180 * nscd/hstcache.c (cache_addhst): Likewise.
20181 * nscd/grpcache.c (cache_addgr): Likewise.
20182 * nscd/aicache.c (addhstaiX): Likewise
20183 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
20184
20185 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
20186
20187 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
20188 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20189 * nscd/hstcache.c (cache_addhst): Likewise.
20190 * nscd/grpcache.c (cache_addgr): Likewise.
20191 * nscd/aicache.c (addhstaiX): Likewise
20192
20193 2011-07-01 Andreas Schwab <schwab@redhat.com>
20194
20195 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
20196 domain only when needed.
20197
20198 2011-06-30 Andreas Schwab <schwab@redhat.com>
20199
20200 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
20201 is always restored.
20202
20203 2011-06-29 Ulrich Drepper <drepper@gmail.com>
20204
20205 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
20206 are re-adding the entry.
20207 * nscd/servicescache.c (cache_addserv): Likewise.
20208
20209 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
20210
20211 * sysdeps/generic/dl-irel.h: fix protection against multiple
20212 inclusions.
20213 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
20214
20215 2011-06-28 Ulrich Drepper <drepper@gmail.com>
20216
20217 [BZ #12935]
20218 * malloc/memusage.sh: Fix quoting in message.
20219 * debug/xtrace.sh: Likewise.
20220
20221 * configure.in: Remove support for --experimental-malloc option, make
20222 it the default.
20223 * config.make.in: Likewise.
20224 * malloc/Makefile: Likewise.
20225
20226 2011-06-27 Andreas Schwab <schwab@redhat.com>
20227
20228 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
20229 two-byte characters.
20230
20231 2011-06-27 Roland McGrath <roland@hack.frob.com>
20232
20233 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
20234 AC_CACHE_CHECK invocation.
20235 * configure: Regenerated.
20236
20237 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
20238
20239 2011-06-27 Ulrich Drepper <drepper@gmail.com>
20240
20241 [BZ #12350]
20242 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
20243 bit from old_res_options.
20244
20245 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
20246
20247 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
20248 value type for setfct.
20249
20250 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
20251
20252 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
20253 __gettimeofday instead of gettimeofday.
20254
20255 2011-06-26 Ulrich Drepper <drepper@gmail.com>
20256
20257 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
20258
20259 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
20260
20261 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
20262
20263 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
20264 info.
20265
20266 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
20267
20268 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20269 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
20270 strcpy-sse2-unaligned strncpy-sse2-unaligned
20271 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
20272 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
20273 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
20274 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
20275 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
20276 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
20277 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
20278 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
20279 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
20280 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
20281 (STRCPY): Support SSE2 and SSSE3 versions.
20282
20283 2011-06-24 Ulrich Drepper <drepper@gmail.com>
20284
20285 [BZ #12874]
20286 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
20287 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
20288 kernels which artificially limit size of requests.
20289
20290 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
20291
20292 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20293 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
20294 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
20295 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
20296 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
20297 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
20298 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
20299 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
20300 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
20301 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
20302 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
20303 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
20304 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
20305 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
20306 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
20307 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20308 Enable unaligned load optimization for Intel Core i3, i5 and i7
20309 processors.
20310 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
20311 Define.
20312 (index_Fast_Unaligned_Load): Define.
20313 (HAS_FAST_UNALIGNED_LOAD): Define.
20314
20315 2011-06-23 Marek Polacek <mpolacek@redhat.com>
20316
20317 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
20318
20319 2011-06-22 Ulrich Drepper <drepper@gmail.com>
20320
20321 [BZ #12907]
20322 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
20323 until it is clear that the information is realy needed.
20324 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
20325
20326 2011-06-22 Andreas Schwab <schwab@redhat.com>
20327
20328 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
20329
20330 2011-06-22 Ulrich Drepper <drepper@gmail.com>
20331
20332 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
20333 /sys/devices/system/cpu/online if it is usable.
20334
20335 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
20336 reading the information from the /proc filesystem to once a second.
20337
20338 2011-06-21 Andreas Jaeger <aj@suse.de>
20339
20340 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
20341 NULL after inclusion of kernel headers.
20342
20343 2011-06-21 Ulrich Drepper <drepper@gmail.com>
20344
20345 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
20346 calls to internal_setent.
20347
20348 [BZ #12885]
20349 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
20350 addresses using gethostbyname4_r ignore IPv4 addresses.
20351
20352 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
20353 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
20354
20355 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
20356
20357 2011-06-20 David S. Miller <davem@davemloft.net>
20358
20359 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
20360 inclusions.
20361 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
20362
20363 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
20364 (elf_irel): Use it.
20365 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
20366 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
20367 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
20368 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
20369 * sysdeps/x86_64/dl-irel.h: Likewise.
20370
20371 * elf/dl-runtime.c: Use elf_ifunc_invoke.
20372 * elf/dl-sym.c: Likewise.
20373
20374 2011-06-15 Ulrich Drepper <drepper@gmail.com>
20375
20376 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
20377 need to dereference resplen2.
20378
20379 2011-06-14 Andreas Schwab <schwab@redhat.com>
20380
20381 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
20382
20383 2011-06-15 Ulrich Drepper <drepper@gmail.com>
20384
20385 * Makeconfig: Define vardbdir and inst_vardbdir.
20386 * nss/Makefile: Add rules to install db-Makefile.
20387
20388 * nss/nss_db/db-XXX.c: Cleanup.
20389
20390 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
20391 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
20392 GLIBC_PRIVATE.
20393 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
20394 * nss/makedb.c: Implement -g option to specify that value strings
20395 are generated and should not be added to table iterated over for
20396 get*ent calls.
20397 * nss/nss_db/db-initgroups.c: New file.
20398
20399 * nss/getent.c: Add support for initgroups lookups through getgrouplist
20400 interface.
20401
20402 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
20403 (internal_getgrouplist): Adjust to name change.
20404 Update use_initgroups_entry if this is not the first call.
20405 * nss/databases.def: Add initgroups entry.
20406
20407 * nss/makedb.c (compute_tables): Check result of multiple hash table
20408 sizes to minimize maximum chain length.
20409
20410 2011-06-14 Ulrich Drepper <drepper@gmail.com>
20411
20412 * Versions.def: Add entry for libnss_db.
20413 * shlib-versions: Likewise.
20414 * nss/Makefile: Add rules to build libnss_db.
20415 * nss/Versions: Add libnss_db information. Organize libnss_files
20416 entries better.
20417 * nss/db-Makefile: Add gshadow support. Change rules for the new
20418 makedb progra. Some minor improvements to generate smaller files.
20419 * nss/nss_db/nss_db.h: Move NSS database header data structures to
20420 here from...
20421 * nss/makedb.c: ...here.
20422 Improve database format to be smaller and require less memory at
20423 runtime.
20424 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
20425 db anymore.
20426 * nss/nss_db/db-netgrp.c: Likewise.
20427 * nss/nss_db/db-open.c: Likewise.
20428 * nss/nss_files/flies-XXX.x: Adjust comments.
20429 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
20430 * nss/nss_files/files-grp.c: Likewise.
20431 * nss/nss_files/files-hosts.c: Likewise.
20432 * nss/nss_files/files-network.c: Likewise.
20433 * nss/nss_files/files-proto.c: Likewise.
20434 * nss/nss_files/files-pwd.c: Likewise.
20435 * nss/nss_files/files-rpc.c: Likewise.
20436 * nss/nss_files/files-service.c: Likewise.
20437 * nss/nss_files/files-sgrp.c: Likewise.
20438 * nss/nss_files/files-spwd.c: Likewise.
20439 * nss/nss_db/db-alias.c: Removed.
20440 * nss/nss_db/dummy-db.h: Removed.
20441
20442 2011-06-02 Ulrich Drepper <drepper@gmail.com>
20443
20444 * nss/makedb.c: Rewritten to not use database library.
20445 * nss/Makefile: Update to build new makedb program.
20446
20447 2011-06-14 Andreas Jaeger <aj@suse.de>
20448
20449 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
20450 memset declaration.
20451
20452 2011-06-10 Andreas Schwab <schwab@redhat.com>
20453
20454 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
20455 tmpbuf.
20456
20457 2011-06-10 Roland McGrath <roland@hack.frob.com>
20458
20459 * Makerules (shlib.lds): Fail if the linker script comes out empty.
20460 * elf/Makefile ($(objpfx)ld.so): Likewise.
20461
20462 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
20463 Don't list ld.so twice in dependencies.
20464
20465 * posix/bug-regex31.c: Include <stdlib.h>.
20466
20467 * nscd/hstcache.c (cache_addhst): Remove unused variable.
20468
20469 * nis/nss_compat/compat-spwd.c
20470 (getspent_next_nss_netgr): Remove unused variable.
20471 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
20472
20473 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
20474 nonmembers" output to use the right array.
20475
20476 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
20477
20478 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
20479
20480 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
20481 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
20482 * catgets/gencat.c (read_input_file): Likewise.
20483 * locale/programs/locarchive.c (enlarge_archive): Likewise.
20484
20485 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
20486 variable definition inside #if's controlling its use.
20487
20488 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
20489
20490 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
20491
20492 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
20493
20494 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
20495 unreachable code.
20496
20497 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
20498
20499 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
20500 * configure: Regenerated.
20501
20502 * Makerules: Revert last change.
20503 * elf/Makefile: Likewise.
20504
20505 2011-06-09 Roland McGrath <roland@hack.frob.com>
20506
20507 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
20508 * elf/Makefile ($(objpfx)librtld.os): Likewise.
20509 (reloc-link): Likewise.
20510
20511 2011-06-09 Ulrich Drepper <drepper@gmail.com>
20512
20513 * elf/Makefile: Add rules to build pldd.
20514 * elf/pldd.c: New file.
20515 * elf/pldd-xx.c: New file.
20516
20517 2011-06-07 Ulrich Drepper <drepper@gmail.com>
20518
20519 * version.h: Update for 2.15 development version.
20520
20521 2011-06-07 David S. Miller <davem@davemloft.net>
20522
20523 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
20524 ifuncs.
20525 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
20526 elf_machine_lazy_rel): Likewise.
20527 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
20528 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
20529 elf_machine_lazy_rel): Likewise.
20530 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
20531 dl_hwcap via passed in argument.
20532 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
20533 Likewise.
20534
20535 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20536
20537 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
20538
20539 2011-06-06 Roland McGrath <roland@hack.frob.com>
20540
20541 [BZ #12849]
20542 * manual/fdl-1.1.texi: New file, verbatim from:
20543 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
20544 * manual/lgpl-2.1.texi: New file, verbatim from:
20545 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
20546 * manual/Makefile (licenses): New variable, list those new file names.
20547 (texis): Use it.
20548 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
20549
20550 * manual/fdl.texi: File removed.
20551 * manual/lesser.texi: File removed.
20552 * manual/libc.texinfo (Copying, Documentation License):
20553 Use new @include file names, put @appendix directive before @include.
20554
20555 2011-06-04 Jakub Jelinek <jakub@redhat.com>
20556
20557 [BZ #12841]
20558 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
20559 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
20560 (mq_open): Add __NTH.
20561
20562 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
20563
20564 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20565 Assume Intel Core i3/i5/i7 processor if AVX is available.
20566
20567 2011-05-31 Ulrich Drepper <drepper@gmail.com>
20568
20569 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
20570 typo.
20571
20572 2011-05-31 Andreas Schwab <schwab@redhat.com>
20573
20574 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
20575 memory. Use alloca_account. Fix memory leak when retrying.
20576
20577 2011-05-31 Ulrich Drepper <drepper@gmail.com>
20578
20579 * version.h (RELEASE): Bump for 2.14 release.
20580 * include/features.h (__GLIBC_MINOR__): Bump to 14.
20581
20582 * config.make.in (RANLIB): Remove entry.
20583
20584 2011-05-30 Ulrich Drepper <drepper@gmail.com>
20585
20586 * po/Makefile (po-sed-cmd): Add ksh to extensions.
20587 (libc.pot): Work around missing support for .ksh extension in xgettext.
20588
20589 [BZ #12684]
20590 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
20591 if both request failed.
20592 (send_dg): In case of server errors clear resplen or *resplen2.
20593
20594 [BZ #12454]
20595 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
20596 when there are multiple maps.
20597 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
20598 (_dl_fini): Remove test here.
20599
20600 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
20601
20602 2011-05-29 Ulrich Drepper <drepper@gmail.com>
20603
20604 [BZ #12350]
20605 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
20606 bit from old_res_options.
20607 (gaih_inet): Likewise.
20608
20609 [BZ #11099]
20610 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
20611 as signed.
20612
20613 * resolv/res_init.c (res_setoptions): Make the code more compact.
20614
20615 [BZ #11558]
20616 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
20617 set RES_USEVC.
20618
20619 [BZ #11634]
20620 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
20621
20622 * malloc/malloc.h: Mark malloc hook variables as deprecated.
20623
20624 [BZ #11781]
20625 * malloc/malloc.h: Declare malloc hook variables as volatile.
20626
20627 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
20628 in last patch.
20629
20630 [BZ #11799]
20631 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
20632 raise in the comment.
20633 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
20634 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20635 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
20636
20637 2011-05-28 Ulrich Drepper <drepper@gmail.com>
20638
20639 [BZ #12811]
20640 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
20641 grow the buffers more if it already has to be sufficient.
20642 (build_wcs_upper_buffer): Likewise.
20643 * posix/regexec.c (check_matching): Likewise.
20644 (clean_state_log_if_needed): Likewise.
20645 (extend_buffers): Don't enlarge buffers beyond size of the input
20646 buffer.
20647 Patches mostly by Emil Wojak <emil@wojak.eu>.
20648 * posix/bug-regex32.c: New file.
20649 * posix/Makefile (tests): Add bug-regex32.
20650
20651 * locale/findlocale.c (_nl_find_locale): Return right away if
20652 _nl_explode_name failed.
20653 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
20654
20655 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
20656
20657 * debug/xtrace.sh: Unify messages.
20658 * malloc/memusage.sh: Likewise.
20659
20660 [BZ #12813]
20661 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
20662 time symbol from vDSO. Substitute with vsyscall if not available.
20663 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
20664 __vdso_time.
20665
20666 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
20667 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
20668 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
20669 Add sendmmsg and internal_sendmmsg.
20670 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
20671 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
20672 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
20673
20674 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
20675 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
20676 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
20677
20678 2011-05-27 Ulrich Drepper <drepper@gmail.com>
20679
20680 [BZ #12813]
20681 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
20682 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
20683 available.
20684 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
20685 __vdso_getcpu.
20686
20687 [BZ #12814]
20688 * iconvdata/Makefile (tests): Add bug-iconv9.
20689 * iconvdata/bug-iconv9.c: New file.
20690
20691 2011-05-27 Andreas Schwab <schwab@redhat.com>
20692
20693 [BZ #12814]
20694 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
20695
20696 2011-05-25 Jakub Jelinek <jakub@redhat.com>
20697
20698 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
20699 (struct user_regs_struct): Change intcs field back to cs.
20700
20701 2011-05-25 Ulrich Drepper <drepper@gmail.com>
20702
20703 * po/ja.po: Update from translation team.
20704
20705 2011-05-23 Ulrich Drepper <drepper@gmail.com>
20706
20707 [BZ #12795]
20708 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
20709 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
20710
20711 2011-05-20 Andreas Schwab <schwab@redhat.com>
20712
20713 * stdlib/longlong.h: Update from GCC.
20714
20715 2011-05-23 Andreas Schwab <schwab@redhat.com>
20716
20717 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
20718 parameter name.
20719 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
20720 Add parameter name.
20721 (__sysconf): Pass it down.
20722
20723 2011-05-22 Ulrich Drepper <drepper@gmail.com>
20724
20725 [BZ #12671]
20726 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
20727 some situations.
20728 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
20729 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
20730 add in in __libc_use_alloca calls. Adjust callers.
20731 (glob): Use malloc in some situations.
20732
20733 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
20734 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
20735 pltexit.
20736
20737 2011-05-21 Ulrich Drepper <drepper@gmail.com>
20738
20739 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
20740 and CLOCK_BOOTTIME_ALARM.
20741
20742 [BZ #12782]
20743 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
20744 is returned.
20745
20746 * string/_strerror.c (__strerror_r): Print negative errors as signed
20747 numbers.
20748
20749 [BZ #12777]
20750 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
20751 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
20752 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
20753
20754 * configure.in: Fix typo in redirection and correct removal of test
20755 files in two cases.
20756
20757 [BZ #12788]
20758 * locale/setlocale.c (new_composite_name): Fix test to check for
20759 identical name of all categories.
20760
20761 [BZ #12792]
20762 * libio/filedoalloc.c (local_isatty): New function.
20763 (_IO_file_doallocate): Use local_isatty.
20764 * stdio-common/perror.c (perror): In case a new stream is used
20765 forward the stream error.
20766 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
20767 error flag.
20768
20769 2011-05-20 Ulrich Drepper <drepper@gmail.com>
20770
20771 [BZ #11869]
20772 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
20773 alloca.
20774 * include/alloca.h (extend_alloca_account): Define.
20775
20776 [BZ #11857]
20777 * posix/regex.h: Fix comments with documentation of user-accessible
20778 fields after compilation and describe correct free'ing of pattern
20779 after re_compile_pattern.
20780 Patch by Reuben Thomas <rrt@sc3d.org>.
20781
20782 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
20783
20784 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
20785 and -mno-altivec to prevent the compiler from using Altivec and/or
20786 VSX instructions when the corresponding registers are not available.
20787
20788 2011-05-19 Andreas Schwab <schwab@redhat.com>
20789
20790 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
20791
20792 2011-05-19 Ulrich Drepper <drepper@gmail.com>
20793
20794 * libio/freopen.c (freopen): Use __dup2, not dup2.
20795 * libio/freopen64.c (freopen64): Likewise.
20796
20797 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
20798
20799 [BZ #12775]
20800 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
20801 * math/Makefile (tests): Add test-powl.
20802 (CFLAGS-test-powl.c): Define.
20803 * math/test-powl.c: New file.
20804
20805 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
20806
20807 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
20808
20809 2011-05-17 Ulrich Drepper <drepper@gmail.com>
20810
20811 [BZ #11837]
20812 * iconvdata/gb18030.c: Update to GB18020-2005.
20813
20814 2011-05-16 Ulrich Drepper <drepper@gmail.com>
20815
20816 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
20817 RE_SYNTAX_POSIX_AWK): Update to match recent development.
20818 Patch by Aharon Robbins <arnold@skeeve.com>.
20819
20820 [BZ #11892]
20821 * stdlib/putenv.c (putenv): Don't always create copy of the variable
20822 on the stack.
20823
20824 [BZ #11895]
20825 * misc/pselect.c (__pselect): Handle timeout value errors hidden
20826 through underflows.
20827
20828 [BZ #12766]
20829 * misc/error.c (error_at_line): Ensure file_name and old_file_name
20830 point to strings before performing equality test for error_one_per_line
20831 mode.
20832
20833 [BZ #11697]
20834 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
20835
20836 [BZ #11820]
20837 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
20838 (struct user_fpregs_struct): Avoid __uint*_t types.
20839
20840 [BZ #6420]
20841 * malloc/mtrace.c (tr_where): Add additional parameter to point to
20842 symbol info. Use it instead of calling _dl_addr locally.
20843 (lock_and_info): New function.
20844 (tr_freehook): Call lock_and_info and pass symbol info as additional
20845 parameter to tr_where.
20846 (tr_mallochook): Likewise.
20847 (tr_reallochook): Likewise.
20848 (tr_memalignhook): Likewise.
20849
20850 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
20851 used and couldn't be at all thread-safe.
20852
20853 2011-05-15 Ulrich Drepper <drepper@gmail.com>
20854
20855 * libio/freopen.c (freopen): Don't close old file descriptor
20856 before the new one is opened. Instead dup the new file descriptor
20857 to the old one after the new stream is created.
20858 * libio/freopen64.c (freopen64): Likewise.
20859 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
20860 * libio/fileops.c (_IO_new_file_close_it): Handle new
20861 _IO_FLAGS2_NOCLOSE flag.
20862 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
20863 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
20864 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
20865 _IO_FLAGS2_NOCLOSE flag.
20866 * include/unistd.h: Add hidden_proto for dup3.
20867 Define __have_dup3.
20868 * io/dup3.c: Define hidden symbol.
20869 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
20870
20871 [BZ #7101]
20872 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
20873 when an incomplete long option is used.
20874 * posix/tst-getopt_long1.c: New file.
20875 * posix/Makefile (tests): Add tst-getopt_long1.
20876
20877 [BZ #10138]
20878 * scripts/config.guess: Update from autoconf-2.68.
20879 * scripts/config.sub: Likewise.
20880
20881 [BZ #10157]
20882 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
20883 tests into ...
20884 (has_cpuclock): ...this. New function.
20885 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
20886 macro here based on has_cpuclock code.
20887
20888 [BZ #10149]
20889 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20890 First byte (not low byte) is now always NUL.
20891 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
20892
20893 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20894 Use non-cancelable interfaces.
20895
20896 [BZ #9809]
20897 * locale/iso-639.def: Add entry for Sorani.
20898
20899 [BZ #11901]
20900 * include/stdlib.h: Move include protection to the right place.
20901 Define abort_msg_s. Declare __abort_msg with it.
20902 * stdlib/abort.c (__abort_msg): Adjust type.
20903 * assert/assert.c (__assert_fail_base): New function. Majority
20904 of code from __assert_fail. Allocate memory for __abort_msg with
20905 mmap.
20906 (__assert_fail): Now call __assert_fail_base.
20907 * assert/assert-perr.c: Remove bulk of implementation. Use
20908 __assert_fail_base.
20909 * include/assert.hL Declare __assert_fail_base.
20910 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
20911 mmap.
20912 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
20913
20914 2011-05-14 Ulrich Drepper <drepper@gmail.com>
20915
20916 [BZ #11952]
20917 [BZ #12453]
20918 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
20919 until all modules are registered in the DTV.
20920 * elf/Makefile: Add rules to build and run tst-tls19.
20921 * elf/tst-tls19.c: New file.
20922 * elf/tst-tls19mod1.c: New file.
20923 * elf/tst-tls19mod2.c: New file.
20924 * elf/tst-tls19mod3.c: New file.
20925 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
20926
20927 [BZ #12083]
20928 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
20929 correctly.
20930
20931 [BZ #12601]
20932 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
20933 two-byte sequence errors.
20934 * iconvdata/Makefile (tests): Add bug-iconv8.
20935 * iconvdata/bug-iconv8.c: New file.
20936
20937 [BZ #12626]
20938 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
20939 buf2 definition.
20940
20941 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
20942
20943 [BZ #12432]
20944 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
20945 (dummy_getcfa): New function.
20946 (init): Get _Unwind_GetCFA address, use dummy if not found.
20947 (backtrace_helper): In recursion check, also check whether CFA changes.
20948 (__backtrace): Completely initialize arg.
20949
20950 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
20951 storing incomplete byte sequence in state object. Avoid testing for
20952 guaranteed too small input if we know there is enough data available.
20953
20954 2011-05-11 Andreas Schwab <schwab@redhat.com>
20955
20956 * Makeconfig (+link-pie): Indent.
20957 * Rules (binaries-pie): Define if $(have-fpie) and
20958 $(build-shared).
20959 (binaries-shared): Also filter out $(binaries-pie).
20960 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
20961 * nscd/Makefile (others-pie): Add nscd.
20962 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
20963 ($(objpfx)nscd): Remove command override.
20964 * login/Makefile (others-pie): Add pt_chown.
20965 ($(objpfx)pt_chown): Remove command override.
20966 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
20967 remove command overrides.
20968
20969 2011-05-13 Ulrich Drepper <drepper@gmail.com>
20970
20971 * libio/tst_putwc.c: Fix error messages.
20972
20973 [BZ #12724]
20974 * libio/fileops.c (_IO_new_file_close_it): Always flush when
20975 currently writing and seek to current position when not.
20976 * libio/Makefile (tests): Add bug-fclose1.
20977 * libio/bug-fclose1.c: New file.
20978
20979 2011-05-12 Ulrich Drepper <drepper@gmail.com>
20980
20981 [BZ #12511]
20982 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
20983 don't set DF_1_NODELETE here.
20984 (do_lookup_x): When entering new entry test for copy relocation
20985 and if necessary set DF_1_NODELETE flag.
20986 * elf/tst-unique4.cc: New file.
20987 * elf/tst-unique4.h: New file.
20988 * elf/tst-unique4lib.cc: New file.
20989 * elf/Makefile: Add rules to build and run tst-unique4.
20990 Patch by Piotr Bury <pbury@goahead.com>.
20991
20992 2011-05-11 Ulrich Drepper <drepper@gmail.com>
20993
20994 [BZ #12052]
20995 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
20996
20997 [BZ #12625]
20998 * misc/mntent_r.c (addmntent): Flush the stream after the output
20999
21000 [BZ #12393]
21001 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
21002 (is_trusted_path_normalize): Skip initial colon. Append slash
21003 to empty buffer. Duplicate is_trusted_path code but allow
21004 constructed patch to be prefix.
21005 (is_dst): Allow $ORIGIN followed by /.
21006 (_dl_dst_substitute): Correct clearing of check_for_trusted.
21007 Correct testing of result of is_trusted_path_normalize
21008 (decompose_rpath): Fix warning.
21009
21010 2011-05-10 Ulrich Drepper <drepper@gmail.com>
21011
21012 [BZ #11257]
21013 * grp/initgroups.c (internal_getgrouplist): When we found the service
21014 list through the initgroups entry in nsswitch.conf do not always
21015 continue on a successful lookup. Don't always use the
21016 __nss_group_database value if it is set.
21017 * nss/nsswitch.conf (initgroups): Change action for successful db
21018 lookup to continue for compatibility.
21019
21020 2011-05-09 Ulrich Drepper <drepper@gmail.com>
21021
21022 [BZ #11532]
21023 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
21024 and CP774 modules.
21025 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
21026 and CP774 modules.
21027 * iconvdata/tst-tables.sh: Likewise.
21028 * iconvdata/cp770.c: New file.
21029 * iconvdata/cp771.c: New file.
21030 * iconvdata/cp772.c: New file.
21031 * iconvdata/cp773.c: New file.
21032 * iconvdata/cp774.c: New file.
21033 * iconvdata/testdata/CP770: New file.
21034 * iconvdata/testdata/CP770..UTF8: New file.
21035 * iconvdata/testdata/CP771: New file.
21036 * iconvdata/testdata/CP771..UTF8: New file.
21037 * iconvdata/testdata/CP772: New file.
21038 * iconvdata/testdata/CP772..UTF8: New file.
21039 * iconvdata/testdata/CP773: New file.
21040 * iconvdata/testdata/CP773..UTF8: New file.
21041 * iconvdata/testdata/CP774: New file.
21042 * iconvdata/testdata/CP774..UTF8: New file.
21043
21044 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
21045 END CHARMAP line.
21046 * iconvdata/gen-8bit-gap.sh: Likewise.
21047 * iconvdata/gen-8bit.sh: Likewise.
21048
21049 * locale/iso-639.def: Add ary entry.
21050
21051 [BZ #11258]
21052 * locale/C-translit.h.in: Add U20A1 transliteration.
21053
21054 [BZ #12178]
21055 * locale/iso-639.def: Add wae entry.
21056 Patch by Kevin Bortis <bortis@translate-wae.ch>.
21057
21058 [BZ #12545]
21059 * locale/programs/localedef.c (construct_output_path): Use ssize_t
21060 for n.
21061
21062 [BZ #12711]
21063 * locale/C-translit.h.in: Add entry for U20B9.
21064 Patch by pravin.d.s@gmail.com.
21065
21066 2011-05-08 Ulrich Drepper <drepper@gmail.com>
21067
21068 [BZ #12713]
21069 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
21070 ENAMETOOLONG use generic getcwd.
21071 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
21072 in rtld. Use *stat64.
21073 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
21074 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
21075 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
21076 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
21077 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
21078 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
21079 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
21080 __fstatat64 macros.
21081 * include/dirent.h: Add libc_hidden_proto for rewinddir.
21082 * dirent/rewinddir.c: Add libc_hidden_def.
21083 * sysdeps/mach/hurd/rewinddir.c: Likewise.
21084 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
21085
21086 * include/dirent.h (__alloc_dir): Add flags parameter.
21087 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
21088 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
21089 __alloc_dir.
21090 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
21091 from fdopendir if O_CLOEXEC is already set.
21092
21093 2011-03-15 Alan Modra <amodra@gmail.com>
21094
21095 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
21096 l_tls_firstbyte_offset non-zero. Save padding offset in
21097 l_tls_firstbyte_offset for later use.
21098 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
21099 freeing static tls block.
21100
21101 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
21102
21103 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
21104 where #ifdef was intended. The intent is to prevent ARG_MAX from
21105 being defined by the kernel headers.
21106
21107 2011-05-07 Ulrich Drepper <drepper@gmail.com>
21108
21109 [BZ #12734]
21110 * resolv/resolv.h: Define RES_NOTLDQUERY.
21111 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
21112 no-tld-query and set RES_NOTLDQUERY.
21113 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
21114 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
21115 modern BIND to search name as TLD unless forbidden.
21116
21117 2011-05-07 Petr Baudis <pasky@suse.cz>
21118 Ulrich Drepper <drepper@gmail.com>
21119
21120 [BZ #12393]
21121 * elf/dl-load.c (fillin_rpath): Move trusted path check...
21122 (is_trusted_path): ...to here.
21123 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
21124 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
21125 using is_trusted_path_normalize() in setuid scripts.
21126
21127 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
21128
21129 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
21130 __BEGIN/__END_DECLS.
21131
21132 2011-05-06 Ulrich Drepper <drepper@gmail.com>
21133
21134 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
21135 NSS_STATUS_NOTFOUND if no record was found.
21136
21137 2011-05-05 Andreas Schwab <schwab@redhat.com>
21138
21139 * sunrpc/Makefile (headers): Add rpc/netdb.h.
21140 (headers-not-in-tirpc): Remove rpc/netdb.h
21141 * resolv/netdb.h: Revert last change.
21142
21143 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
21144
21145 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
21146 circular dependency between libgcc.a and libc.a.
21147
21148 2011-05-05 Andreas Schwab <schwab@redhat.com>
21149
21150 * resolv/netdb.h: Don't include <rpc/netdb.h>.
21151 * nis/Makefile: Don't install rpcsvc/*.
21152 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
21153 instead of <rpc/types.h>.
21154 (MAXHOSTNAMELEN): Define.
21155
21156 2011-05-03 Andreas Schwab <schwab@redhat.com>
21157
21158 * elf/ldconfig.c (add_dir): Don't crash on empty path.
21159
21160 2011-04-28 Maciej Babinski <mbabinski@google.com>
21161
21162 [BZ #12714]
21163 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
21164 gethostbyname4_r when IPv6 results are possible.
21165
21166 2011-05-02 Ulrich Drepper <drepper@gmail.com>
21167
21168 [BZ #12723]
21169 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
21170 _PC_PIPE_BUF handling.
21171
21172 2011-04-30 Bruno Haible <bruno@clisp.org>
21173
21174 [BZ #12717]
21175 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
21176 * resolv/netdb.h (getnameinfo): Change type of flags parameter
21177 to 'int'.
21178 * inet/getnameinfo.c (getnameinfo): Likewise.
21179
21180 2011-04-29 Ulrich Drepper <drepper@gmail.com>
21181
21182 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
21183 to groups setting in database lookup.
21184 * nss/nsswitch.conf: Add initgroups entry.
21185
21186 2011-04-22 Ulrich Drepper <drepper@gmail.com>
21187
21188 [BZ #12685]
21189 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
21190 mode string.
21191 Patch by Eric Blake <eblake@redhat.com>.
21192
21193 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
21194
21195 * sunrpc/Makefile (need-export-routines): Add svc_run.
21196 (routines): Remove svc_run.
21197 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
21198 * sunrpc/clnt_perr.c (clnt_perrno): Export.
21199 * sunrpc/svc_run.c (svc_run): Likewise.
21200 * sunrpc/svc_udp.c (svcudp_create): Likewise.
21201
21202 2011-04-21 Ulrich Drepper <drepper@gmail.com>
21203
21204 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
21205 problem in reallocation in last patch.
21206
21207 2011-04-20 Ulrich Drepper <drepper@gmail.com>
21208
21209 * sunrpc/Makefile: Move inclusion of Rules.
21210
21211 2011-04-19 Ulrich Drepper <drepper@gmail.com>
21212
21213 * nss/nss_files/files-initgroups.c: New file.
21214 * nss/Makefile (libnss_files-routines): Add files-initgroups.
21215 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
21216 _nss_files_initgroups_dyn.
21217
21218 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
21219
21220 * elf/elf.h (R_ARM_IRELATIVE): Define.
21221
21222 2011-04-19 Ulrich Drepper <drepper@gmail.com>
21223
21224 * po/ru.po: Update from translation team.
21225
21226 2011-04-17 Ulrich Drepper <drepper@gmail.com>
21227
21228 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
21229 dependencies.
21230
21231 2011-02-06 Mike Frysinger <vapier@gentoo.org>
21232
21233 [BZ #12653]
21234 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
21235 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
21236 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
21237 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21238 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21239
21240 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
21241
21242 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
21243 differing bytes.
21244 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
21245 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
21246 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21247
21248 2011-04-17 Ulrich Drepper <drepper@gmail.com>
21249
21250 [BZ #12420]
21251 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
21252 storing it.
21253 * stdlib/bug-getcontext.c: New file.
21254 * stdlib/Makefile: Add rules to build and run bug-getcontext.
21255
21256 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21257
21258 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
21259 instructions into .machine "z9-109".
21260 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
21261 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
21262
21263 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21264
21265 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
21266 between environment variables and auxiliary vector.
21267
21268 2011-04-16 Ulrich Drepper <drepper@gmail.com>
21269
21270 * Makefile: Add rules to build linkobj/libc.so.
21271 * include/libc-symbols.h: Define libc_hidden_nolink.
21272 * include/rpc/auth.h: Mark functions which are to be hidden.
21273 * include/rpc/auth_des.h: Likewise.
21274 * include/rpc/auth_unix.h: Likewise.
21275 * include/rpc/clnt.h: Likewise.
21276 * include/rpc/des_crypt.h: Likewise.
21277 * include/rpc/key_prot.h: Likewise.
21278 * include/rpc/pmap_clnt.h: Likewise.
21279 * include/rpc/pmap_prot.h: Likewise.
21280 * include/rpc/pmap_rmt.h: Likewise.
21281 * include/rpc/rpc_msg.h: Likewise.
21282 * include/rpc/svc.h: Likewise.
21283 * include/rpc/svc_auth.h: Likewise.
21284 * include/rpc/xdr.h: Likewise.
21285 * nis/Makefile: Link all DSOs against linkobj/libc.so.
21286 * nss/Makefile: Likewise.
21287 * sunrpc/Makefile: Don't install headers. Build library with normal
21288 entry points. Don't build rpcinfo. Link RPC tests appropriately.
21289 * sunrpc/auth_des.c: Hide exported symbols by default, export some
21290 for the compat linking library. Remove use of INTDEF/INTUSE.
21291 * sunrpc/auth_none.c: Likewise.
21292 * sunrpc/auth_unix.c: Likewise.
21293 * sunrpc/authdes_prot.c: Likewise.
21294 * sunrpc/authuxprot.c: Likewise.
21295 * sunrpc/clnt_gen.c: Likewise.
21296 * sunrpc/clnt_perr.c: Likewise.
21297 * sunrpc/clnt_raw.c: Likewise.
21298 * sunrpc/clnt_simp.c: Likewise.
21299 * sunrpc/clnt_tcp.c: Likewise.
21300 * sunrpc/clnt_udp.c: Likewise.
21301 * sunrpc/clnt_unix.c: Likewise.
21302 * sunrpc/des_crypt.c: Likewise.
21303 * sunrpc/des_soft.c: Likewise.
21304 * sunrpc/get_myaddr.c: Likewise.
21305 * sunrpc/key_call.c: Likewise.
21306 * sunrpc/key_prot.c: Likewise.
21307 * sunrpc/netname.c: Likewise.
21308 * sunrpc/pm_getmaps.c: Likewise.
21309 * sunrpc/pm_getport.c: Likewise.
21310 * sunrpc/pmap_clnt.c: Likewise.
21311 * sunrpc/pmap_prot.c: Likewise.
21312 * sunrpc/pmap_prot2.c: Likewise.
21313 * sunrpc/pmap_rmt.c: Likewise.
21314 * sunrpc/publickey.c: Likewise.
21315 * sunrpc/rpc_cmsg.c: Likewise.
21316 * sunrpc/rpc_common.c: Likewise.
21317 * sunrpc/rpc_dtable.c: Likewise.
21318 * sunrpc/rpc_prot.c: Likewise.
21319 * sunrpc/rpc_thread.c: Likewise.
21320 * sunrpc/rtime.c: Likewise.
21321 * sunrpc/svc.c: Likewise.
21322 * sunrpc/svc_auth.c: Likewise.
21323 * sunrpc/svc_authux.c: Likewise.
21324 * sunrpc/svc_raw.c: Likewise.
21325 * sunrpc/svc_run.c: Likewise.
21326 * sunrpc/svc_simple.c: Likewise.
21327 * sunrpc/svc_tcp.c: Likewise.
21328 * sunrpc/svc_udp.c: Likewise.
21329 * sunrpc/svc_unix.c: Likewise.
21330 * sunrpc/svcauth_des.c: Likewise.
21331 * sunrpc/xcrypt.c: Likewise.
21332 * sunrpc/xdr.c: Likewise.
21333 * sunrpc/xdr_array.c: Likewise.
21334 * sunrpc/xdr_float.c: Likewise.
21335 * sunrpc/xdr_intXX_t.c: Likewise.
21336 * sunrpc/xdr_mem.c: Likewise.
21337 * sunrpc/xdr_rec.c: Likewise.
21338 * sunrpc/xdr_ref.c: Likewise.
21339 * sunrpc/xdr_sizeof.c: Likewise.
21340 * sunrpc/xdr_stdio.c: Likewise.
21341
21342 2011-04-10 Ulrich Drepper <drepper@gmail.com>
21343
21344 [BZ #12650]
21345 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
21346 * sysdeps/ia64/dl-tls.h: Likewise.
21347 * sysdeps/powerpc/dl-tls.h: Likewise.
21348 * sysdeps/s390/dl-tls.h: Likewise.
21349 * sysdeps/sh/dl-tls.h: Likewise.
21350 * sysdeps/sparc/dl-tls.h: Likewise.
21351 * sysdeps/x86_64/dl-tls.h: Likewise.
21352 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
21353
21354 2011-03-14 Andreas Schwab <schwab@redhat.com>
21355
21356 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
21357 rpath element also skip the following colon.
21358 (expand_dynamic_string_token): Add is_path parameter and pass
21359 down to DL_DST_REQUIRED and _dl_dst_substitute.
21360 (decompose_rpath): Call expand_dynamic_string_token with
21361 non-zero is_path. Ignore empty rpaths.
21362 (_dl_map_object_from_fd): Call expand_dynamic_string_token
21363 with zero is_path.
21364
21365 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
21366
21367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
21368 Make cancelable.
21369
21370 2011-04-09 Ulrich Drepper <drepper@gmail.com>
21371
21372 [BZ #12655]
21373 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
21374 Patch by Filipe David Manana <fdmanana@apache.org>.
21375
21376 2011-04-07 Andreas Schwab <schwab@redhat.com>
21377
21378 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
21379 Maintain aligned stack.
21380 (CHECK_RSP): Remove unused macro.
21381
21382 2011-04-03 Ulrich Drepper <drepper@gmail.com>
21383
21384 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
21385 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
21386
21387 2011-04-02 Ulrich Drepper <drepper@gmail.com>
21388
21389 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
21390
21391 * include/features.h: Mention __USE_XOPEN2K8 in comment.
21392
21393 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
21394
21395 [BZ #12518]
21396 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
21397 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
21398 * sysdeps/x86_64/memmove.c: New file.
21399 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
21400 (memcpy): Renamed to ...
21401 (__new_memcpy): This.
21402 (memcpy): Provide GLIBC_2_14 memcpy.
21403 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
21404 (memcpy): Provide GLIBC_2_2_5 memcpy.
21405
21406 2011-04-01 Ulrich Drepper <drepper@gmail.com>
21407
21408 [BZ #12631]
21409 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
21410
21411 2011-03-30 Andreas Schwab <schwab@redhat.com>
21412
21413 * misc/syncfs.c: New file.
21414 * misc/Makefile (routines): Add syncfs.
21415 * posix/unistd.h: Declare syncfs.
21416 * sysdeps/unix/syscalls.list: Add syncfs.
21417
21418 2011-04-01 Andreas Schwab <schwab@redhat.com>
21419
21420 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
21421 open_by_handle_at.
21422 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
21423 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21424 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21425 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21426 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21427 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
21428 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21429
21430 2011-04-01 Ulrich Drepper <drepper@gmail.com>
21431
21432 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
21433 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21434 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
21435 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21436 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21437 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21438 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21439
21440 * io/Makefile: Compile fallocate.c, fallocate64.c, and
21441 sync_file_range.c with -fexceptions.
21442 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
21443 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
21444 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
21445 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
21446 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
21447 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
21448 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
21449 sync_file_range as cancellation point
21450 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
21451 now a wrapper around __call_sync_file_range with cancellation handling.
21452 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
21453 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
21454 function name to __call_sync_file_range.
21455 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
21456 Add call_sync_file_range.
21457
21458 2011-04-01 Andreas Schwab <schwab@redhat.com>
21459
21460 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21461 bits/timex.h.
21462
21463 2011-04-01 Ulrich Drepper <drepper@gmail.com>
21464
21465 * iconv/iconv.h: Fix typo in comment.
21466 * io/fcntl.h: Likewise.
21467 * libio/stdio.h: Likewise.
21468 * posix/spawn.h: Likewise.
21469 * posix/unistd.h: Likewise.
21470 * stdlib/stdlib.h: Likewise.
21471 * time/time.h: Likewise.
21472 * wcsmbs/wchar.h: Likewise.
21473
21474 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
21475 open_by_handle): Add.
21476 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
21477 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
21478 Augment a few comments.
21479 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21480 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21481 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21482 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21483 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21484 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
21485 open_by_handle.
21486
21487 * io/fcntl.h (AT_EMPTY_PATH): Define.
21488
21489 2011-03-30 Ulrich Drepper <drepper@gmail.com>
21490
21491 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
21492 * sysdeps/unix/sysv/linux/bits/time.h: New file.
21493 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
21494 to...
21495 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
21496 * Versions.def: Add GLIBC_2.14.
21497 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
21498 Export.
21499
21500 2011-03-22 Ulrich Drepper <drepper@gmail.com>
21501
21502 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
21503 round counter.
21504 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
21505
21506 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
21507
21508 [BZ #12597]
21509 * string/test-strncmp.c (do_page_test): New function.
21510 (check2): Likewise.
21511 (test_main): Call check2.
21512 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
21513
21514 2011-03-20 Ulrich Drepper <drepper@gmail.com>
21515
21516 [BZ #12587]
21517 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
21518 Handle cache information in CPU leaf 4.
21519 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
21520
21521 2011-03-18 Ulrich Drepper <drepper@gmail.com>
21522
21523 [BZ #12583]
21524 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
21525 character representation.
21526 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
21527
21528 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
21529
21530 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
21531 END(__isnan) to END(__isnanf) to match function entry point/label
21532 EALIGN(__isnanf,...).
21533
21534 2011-03-10 Jakub Jelinek <jakub@redhat.com>
21535
21536 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
21537
21538 2011-03-10 Ulrich Drepper <drepper@gmail.com>
21539
21540 [BZ #12510]
21541 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
21542 copy from the symbol referenced in the relocation to initialize the
21543 used variable.
21544 Patch by Piotr Bury <pbury@goahead.com>.
21545 * elf/Makefile: Add rules to build and tst-unique3.
21546 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
21547 * elf/tst-unique3.cc: New file.
21548 * elf/tst-unique3.h: New file.
21549 * elf/tst-unique3lib.cc: New file.
21550 * elf/tst-unique3lib2.cc: New file.
21551
21552 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
21553
21554 2011-03-10 Mike Frysinger <vapier@gentoo.org>
21555
21556 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
21557 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
21558 to _start.
21559
21560 2011-03-06 Ulrich Drepper <drepper@gmail.com>
21561
21562 * elf/dl-load.c (_dl_map_object): If we are looking for the first
21563 to-be-loaded object along a path to loader is ld.so.
21564
21565 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
21566 Ulrich Drepper <drepper@gmail.com>
21567
21568 * sysdeps/x86_64/memset.S: After aligning destination, code
21569 branches to different locations depending on the value of
21570 misalignment, when multiarch is enabled. Fix this.
21571
21572 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
21573
21574 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
21575 Set _x86_64_preferred_memory_instruction for AMD processsors.
21576 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21577 Set bit_Prefer_SSE_for_memop for AMD processors.
21578
21579 2011-03-04 Ulrich Drepper <drepper@gmail.com>
21580
21581 * libio/fmemopen.c (fmemopen): Optimize a bit.
21582
21583 2011-03-03 Andreas Schwab <schwab@redhat.com>
21584
21585 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
21586
21587 2011-03-03 Roland McGrath <roland@redhat.com>
21588
21589 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
21590
21591 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
21592
21593 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
21594 __bzero_ultra1 instead of __memset_ultra1.
21595
21596 2011-02-23 Andreas Schwab <schwab@redhat.com>
21597 Ulrich Drepper <drepper@gmail.com>
21598
21599 [BZ #12509]
21600 * include/link.h (struct link_map): Add l_orig_initfini.
21601 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
21602 returning unsuccessfully.
21603 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
21604 close of a file loaded at startup, restore the original l_initfini
21605 list.
21606 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
21607 list, store the pointer.
21608 * elf/Makefile ($(objpfx)noload-mem): New rule.
21609 (noload-ENV): Define.
21610 (tests): Add $(objpfx)noload-mem.
21611 * elf/noload.c: Include <memcheck.h>.
21612 (main): Call mtrace. Close all opened handles.
21613
21614 2011-02-17 Andreas Schwab <schwab@redhat.com>
21615
21616 [BZ #12454]
21617 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
21618 dependencies are missing.
21619
21620 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
21621
21622 Fix __if_freereq crash: Unlike the generic version which uses free,
21623 Hurd needs munmap.
21624 * sysdeps/mach/hurd/ifreq.h: New file.
21625
21626 2011-01-27 Petr Baudis <pasky@suse.cz>
21627 Ulrich Drepper <drepper@gmail.com>
21628
21629 [BZ 12445]#
21630 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
21631 to extend_alloca().
21632 * stdio-common/bug23.c: New file.
21633 * stdio-common/Makefile (tests): Add bug23.
21634
21635 2010-09-28 Andreas Schwab <schwab@redhat.com>
21636 Ulrich Drepper <drepper@gmail.com>
21637
21638 [BZ #12489]
21639 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
21640 before performing relro protection. At old place add assertion
21641 to make sure nothing changed.
21642
21643 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
21644 Glauber de Oliveira Costa <glommer@gmail.com>
21645
21646 * elf/elf.h: Add new ARM TLS relocs.
21647
21648 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
21649
21650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
21651 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
21652 cast from r3.
21653 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
21654 'tests' variable.
21655 * sysdeps/wordsize-64/tst-writev.c: New file.
21656
21657 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
21658
21659 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
21660 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
21661 insns in _dl_start to prevent a TOC reference before relocs are
21662 resolved.
21663
21664 2011-02-15 Ulrich Drepper <drepper@gmail.com>
21665
21666 [BZ #12469]
21667 * Makeconfig: Remove RANLIB definition.
21668 * Makerules: Don't use RANLIB.
21669 * aclocal.m4: Remove ranlib test.
21670 * configure.in: No need to check for ranlib.
21671 * elf/rtld-Rules: Don't use RANLIB.
21672
21673 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
21674
21675 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
21676 protection macro.
21677 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
21678 inclusion protection macro.
21679
21680 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
21681 SIGRTMIN and SIGRTMAX and print information in that case only when
21682 SIGRTMIN is defined.
21683
21684 2011-02-11 Jakub Jelinek <jakub@redhat.com>
21685
21686 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
21687 arginfo fn returning -1.
21688
21689 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
21690 and thousands string is zero terminated.
21691
21692 2011-02-03 Andreas Schwab <schwab@redhat.com>
21693
21694 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
21695 sysdeps/unix/sysv/linux/bits/socket.h.
21696
21697 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
21698
21699 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
21700 (__CPU_COUNT): Remove old macros.
21701 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
21702 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
21703 (__CPU_ALLOC, __CPU_FREE): Add macros.
21704 (__sched_cpualloc, __sched_cpufree): Add declarations.
21705
21706 2011-02-05 Ulrich Drepper <drepper@gmail.com>
21707
21708 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
21709 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
21710 * nscd/aicache.c (addhstaiX): Return timeout of added value.
21711 (readdhstai): Return value of addhstaiX call.
21712 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
21713 (addgrbyX): Return value returned by cache_addgr.
21714 (readdgrbyname): Return value returned by addgrbyX.
21715 (readdgrbygid): Likewise.
21716 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
21717 (addpwbyX): Return value returned by cache_addpw.
21718 (readdpwbyname): Return value returned by addhstbyX.
21719 (readdpwbyuid): Likewise.
21720 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
21721 (addservbyX): Return value returned by cache_addserv.
21722 (readdservbyname): Return value returned by addservbyX:
21723 (readdservbyport): Likewise.
21724 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
21725 (addhstbyX): Return value returned by cache_addhst.
21726 (readdhstbyname): Return value returned by addhstbyX.
21727 (readdhstbyaddr): Likewise.
21728 (readdhstbynamev6): Likewise.
21729 (readdhstbyaddrv6): Likewise.
21730 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
21731 (readdinitgroups): Return value returned by addinitgroupsX.
21732 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
21733 (prune_cache): Keep track of timeout value of re-added entries.
21734 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
21735 * nscd/nscd.h: Adjust prototypes of readd* functions.
21736
21737 2011-02-04 Roland McGrath <roland@redhat.com>
21738
21739 * nis/nis_server.c (nis_servstate): Use the right name for 0.
21740 (nis_stats): Likewise.
21741 * nis/nis_modify.c (nis_modify): Likewise.
21742 * nis/nis_remove.c (nis_remove): Likewise.
21743 * nis/nis_add.c (nis_add): Likewise.
21744
21745 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
21746
21747 * posix/fnmatch_loop.c: Add some consts.
21748
21749 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
21750
21751 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
21752
21753 [BZ #12460]
21754 * config.make.in (config-cflags-novzeroupper): Define.
21755 * configure.in: Substitute libc_cv_cc_novzeroupper.
21756 * elf/Makefile (AVX-CFLAGS): Define.
21757 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
21758 (CFLAGS-tst-auditmod4a.c): Likewise.
21759 (CFLAGS-tst-auditmod4b.c): Likewise.
21760 (CFLAGS-tst-auditmod6b.c): Likewise.
21761 (CFLAGS-tst-auditmod6c.c): Likewise.
21762 (CFLAGS-tst-auditmod7b.c): Likewise.
21763 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
21764
21765 2011-02-02 Ulrich Drepper <drepper@gmail.com>
21766
21767 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
21768 function to the callback.
21769 Patch partly by Jiri Olsa <jolsa@redhat.com>.
21770
21771 2011-02-02 Andreas Schwab <schwab@redhat.com>
21772
21773 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
21774 of errno.
21775
21776 2011-01-19 Ulrich Drepper <drepper@gmail.com>
21777
21778 [BZ #11724]
21779 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
21780 of constructors.
21781 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
21782 of destructors.
21783 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
21784
21785 [BZ #11724]
21786 * elf/Makefile: Add rules to build and run new test.
21787 * elf/tst-initorder.c: New file.
21788 * elf/tst-initorder.exp: New file.
21789 * elf/tst-initordera1.c: New file.
21790 * elf/tst-initordera2.c: New file.
21791 * elf/tst-initordera3.c: New file.
21792 * elf/tst-initordera4.c: New file.
21793 * elf/tst-initorderb1.c: New file.
21794 * elf/tst-initorderb2.c: New file.
21795 * elf/tst-order-a1.c: New file.
21796 * elf/tst-order-a2.c: New file.
21797 * elf/tst-order-a3.c: New file.
21798 * elf/tst-order-a4.c: New file.
21799 * elf/tst-order-b1.c: New file.
21800 * elf/tst-order-b2.c: New file.
21801 * elf/tst-order-main.c: New file.
21802 New test case by George Gensure <werkt0@gmail.com>.
21803
21804 2010-10-01 Andreas Schwab <schwab@redhat.com>
21805
21806 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
21807 decoding ACE if AI_CANONIDN.
21808
21809 2011-01-18 Ulrich Drepper <drepper@gmail.com>
21810
21811 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
21812
21813 2011-01-17 Ulrich Drepper <drepper@gmail.com>
21814
21815 * version.h (RELEASE): Bump for 2.13 release.
21816 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
21817
21818 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
21819
21820 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
21821 MADV_NOHUGEPAGE.
21822 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
21823 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
21824 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21825 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
21826 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21827 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
21828
21829 * posix/getconf.c: Update copyright year.
21830 * catgets/gencat.c: Likewise.
21831 * csu/version.c: Likewise.
21832 * debug/catchsegv.sh: Likewise.
21833 * debug/xtrace.sh: Likewise.
21834 * elf/ldconfig.c: Likewise.
21835 * elf/ldd.bash.in: Likewise.
21836 * elf/sprof.c (print_version): Likewise.
21837 * iconv/iconv_prog.c: Likewise.
21838 * iconv/iconvconfig.c: Likewise.
21839 * locale/programs/locale.c: Likewise.
21840 * locale/programs/localedef.c: Likewise.
21841 * malloc/memusage.sh: Likewise.
21842 * malloc/mtrace.pl: Likewise.
21843 * nscd/nscd.c (print_version): Likewise.
21844 * nss/getent.c: Likewise.
21845
21846 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
21847 PF_CAIF, and PF_ALG.
21848 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21849
21850 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
21851
21852 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
21853 (modules-names): Use them.
21854 (ifunc-test-modules, ifunc-pie-tests): Define.
21855 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
21856 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
21857 (test-extras): Likewise.
21858 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
21859 $(compile-command.c).
21860 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
21861 (all-built-dso): Define.
21862 (check-textrel.out, check-execstack.out): Depend on it.
21863
21864 * configure.in: Don't override --enable-multi-arch.
21865
21866 2011-01-15 Ulrich Drepper <drepper@gmail.com>
21867
21868 [BZ #6812]
21869 * nscd/hstcache.c (tryagain): Define.
21870 (cache_addhst): Return tryagain not notfound for temporary errors.
21871 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
21872 failed.
21873
21874 2011-01-14 Ulrich Drepper <drepper@gmail.com>
21875
21876 [BZ #10563]
21877 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
21878 to make the syscall.
21879 * sysdeps/unix/sysv/linux/setgroups.c: New file.
21880
21881 [BZ #12378]
21882 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
21883 and fall back to matching as normal character if the string ends before
21884 the matching ']' is found. This is what POSIX requires.
21885 * posix/testfnm.c: Adjust test result.
21886 * posix/globtest.sh: Adjust test result. Add new test.
21887 * posix/tst-fnmatch.input: Likewise.
21888 * posix/tst-fnmatch2.c: Add new test.
21889
21890 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
21891
21892 * elf/Makefile (check-execstack): Revert last change. Depend on
21893 check-execstack.h.
21894 (check-execstack.h): New target.
21895 (generated): Add check-execstack.h.
21896 * elf/check-execstack.c: Include "check-execstack.h".
21897 (main): Revert last change.
21898 (handle_file): Return zero if GNU_STACK is absent and
21899 DEFAULT_STACK_PERMS doesn't include PF_X.
21900
21901 2011-01-13 Ulrich Drepper <drepper@gmail.com>
21902
21903 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
21904 in child fails because the descriptor is already closed.
21905 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
21906 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
21907 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
21908
21909 [BZ #12397]
21910 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
21911 syscall.
21912
21913 [BZ #10484]
21914 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
21915 temporary buffer used to handle multi lookups locally.
21916 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
21917
21918 2011-01-12 Ulrich Drepper <drepper@gmail.com>
21919
21920 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
21921 loader is ld.so.
21922
21923 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
21924
21925 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
21926 alignment for SSE2.
21927
21928 2011-01-12 Ulrich Drepper <drepper@gmail.com>
21929
21930 [BZ #12394]
21931 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
21932 characters. When rounding increased number of integer digits recompute
21933 number of groups.
21934 * stdio-common/tst-grouping.c: New file.
21935 * stdio-common/Makefile: Add rules to build and run tst-grouping.
21936
21937 2011-01-09 Ulrich Drepper <drepper@gmail.com>
21938
21939 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
21940 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
21941
21942 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
21943 void.
21944 * bits/select.h: Likewise.
21945
21946 2011-01-08 Ulrich Drepper <drepper@gmail.com>
21947
21948 * po/ja.po: Update from translation team.
21949
21950 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
21951
21952 [BZ #11155]
21953 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
21954 implementation just like for lxstat, fxstatat, et al.
21955
21956 2010-12-27 Jim Meyering <meyering@redhat.com>
21957
21958 [BZ #12348]
21959 * posix/regexec.c (build_trtable): Return failure indication upon
21960 calloc failure. Otherwise, re_search_internal could infloop on OOM.
21961
21962 2010-12-25 Ulrich Drepper <drepper@gmail.com>
21963
21964 [BZ #12201]
21965 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
21966 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
21967 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
21968 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
21969
21970 [BZ #12207]
21971 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
21972
21973 [BZ #12204]
21974 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
21975 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
21976
21977 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
21978
21979 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
21980 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
21981 script has SORT_BY_INIT_PRIORITY.
21982 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
21983 NO_CTORS_DTORS_SECTIONS is defined.
21984 * elf/soinit.c: Likewise.
21985 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
21986 NO_CTORS_DTORS_SECTIONS is defined.
21987 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
21988 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
21989 * sysdeps/sh/init-first.c: Likewise.
21990 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
21991
21992 2010-12-24 Ulrich Drepper <drepper@gmail.com>
21993
21994 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
21995 always use the slow path.
21996
21997 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
21998
21999 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
22000 similar rule which adds the sysdep directories to the header search in
22001 order to pick up the correct platform stackinfo.h.
22002 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
22003 perform test if it is, otherwise return successfully without testing.
22004 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
22005 DEFAULT_STACK_PERMS define in stackinfo.h.
22006 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
22007 defined in stackinfo.h.
22008 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
22009 DEFAULT_STACK_PERMS defined in stackinfo.h.
22010 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
22011 * sysdeps/ia64/stackinfo.h: Likewise.
22012 * sysdeps/s390/stackinfo.h: Likewise.
22013 * sysdeps/sh/stackinfo.h: Likewise.
22014 * sysdeps/sparc/stackinfo.h: Likewise.
22015 * sysdeps/x86_64/stackinfo.h: Likewise.
22016 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
22017 PF_X for powerpc64. Retain PF_X for powerpc32.
22018
22019 2010-12-19 Ulrich Drepper <drepper@gmail.com>
22020
22021 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
22022 accurately.
22023 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
22024 GETDENTS_64BIT_ALIGNED.
22025
22026 2010-12-14 Ulrich Drepper <dreper@gmail.com>
22027
22028 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
22029
22030 2010-12-10 Andreas Schwab <schwab@redhat.com>
22031
22032 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
22033 _GNU_SOURCE.
22034
22035 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
22036 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
22037 Remove __restrict.
22038 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
22039 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
22040
22041 2010-12-09 Ulrich Drepper <drepper@gmail.com>
22042
22043 [BZ #11655]
22044 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
22045 are initialized.
22046
22047 2010-12-09 Jakub Jelinek <jakub@redhat.com>
22048
22049 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
22050
22051 2010-12-03 Ulrich Drepper <drepper@gmail.com>
22052
22053 * po/it.po: Update from translation team.
22054
22055 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
22056
22057 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
22058 unused codes.
22059
22060 2010-11-30 Ulrich Drepper <drepper@gmail.com>
22061
22062 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
22063
22064 2010-11-24 Andreas Schwab <schwab@redhat.com>
22065
22066 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
22067 specially.
22068 (gaih_getanswer_slice): Likewise.
22069
22070 2010-10-20 Jakub Jelinek <jakub@redhat.com>
22071
22072 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
22073
22074 2010-05-31 Petr Baudis <pasky@suse.cz>
22075
22076 [BZ #11149]
22077 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
22078 silently even in the chroot mode.
22079
22080 2010-11-22 Ulrich Drepper <drepper@gmail.com>
22081
22082 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
22083 last patch a bit. Pretty printing
22084
22085 2010-05-31 Petr Baudis <pasky@suse.cz>
22086
22087 [BZ #10085]
22088 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
22089 initialization of skip_initgroups_dyn.
22090
22091 2010-11-19 Ulrich Drepper <drepper@gmail.com>
22092
22093 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
22094 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
22095
22096 2010-11-16 Ulrich Drepper <drepper@gmail.com>
22097
22098 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
22099
22100 2010-11-11 Andreas Schwab <schwab@redhat.com>
22101
22102 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
22103 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
22104 (tst-fnmatch-ENV): Set MALLOC_TRACE.
22105 ($(objpfx)tst-fnmatch-mem): New rule.
22106 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
22107 * posix/tst-fnmatch.c (main): Call mtrace.
22108
22109 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
22110
22111 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22112 Support Intel processor model 6 and model 0x2c.
22113
22114 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
22115
22116 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
22117 signed comparison.
22118
22119 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
22120
22121 [BZ #12205]
22122 * string/test-strncasecmp.c (check_result): New function.
22123 (do_one_test): Use it.
22124 (check1): New function.
22125 (test_main): Use it.
22126 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
22127 Support strcasecmp and strncasecmp.
22128
22129 2010-11-08 Ulrich Drepper <drepper@gmail.com>
22130
22131 [BZ #12194]
22132 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
22133 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22134
22135 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
22136
22137 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
22138 IFUNC support.
22139 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22140 memset-x86-64.
22141 * sysdeps/x86_64/multiarch/bzero.S: New file.
22142 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
22143 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
22144 * sysdeps/x86_64/multiarch/memset.S: New file.
22145 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
22146 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22147 Set bit_Prefer_SSE_for_memop for Intel processors.
22148 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
22149 Define.
22150 (index_Prefer_SSE_for_memop): Define.
22151 (HAS_PREFER_SSE_FOR_MEMOP): Define.
22152
22153 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
22154
22155 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
22156 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
22157
22158 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
22159
22160 [BZ #12191]
22161 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
22162 (__x86_64_raw_data_cache_size_half): Likewise.
22163 (__x86_64_raw_shared_cache_size): Likewise.
22164 (__x86_64_raw_shared_cache_size_half): Likewise.
22165
22166 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
22167 (__x86_64_raw_data_cache_size_half): Likewise.
22168 (__x86_64_raw_shared_cache_size): Likewise.
22169 (__x86_64_raw_shared_cache_size_half): Likewise.
22170 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
22171 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
22172 and __x86_64_raw_shared_cache_size_half. Round
22173 __x86_64_data_cache_size_half, __x86_64_data_cache_size
22174 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
22175 to multiple of 256 bytes.
22176
22177 2010-11-03 Ulrich Drepper <drepper@gmail.com>
22178
22179 [BZ #12167]
22180 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
22181 of inacessible symlinks. Verify result of symlink before returning it.
22182 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
22183 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
22184
22185 2010-10-28 Erich Ritz <erichritz@gmail.com>
22186
22187 * math/math.h (isinf): Fix typo in comment.
22188
22189 2010-11-01 Ulrich Drepper <drepper@gmail.com>
22190
22191 * po/da.po: Update from translation team.
22192
22193 2010-10-26 Ulrich Drepper <drepper@gmail.com>
22194
22195 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
22196 is added to the list.
22197
22198 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22199 Ulrich Drepper <drepper@gmail.com>
22200
22201 * elf/dl-object.c (_dl_new_object): Don't append the new object to
22202 the global list here. Move code to...
22203 (_dl_add_to_namespace_list): ...here. New function.
22204 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
22205 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
22206 * elf/dl-load.c (lose): Don't remove the element from the list.
22207 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
22208 (_dl_map_object): Likewise.
22209
22210 2010-10-25 Ulrich Drepper <drepper@gmail.com>
22211
22212 [BZ #12159]
22213 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
22214 into all bytes of SSE register.
22215 Patch by Richard Li <richardpku@gmail.com>.
22216
22217 2010-10-24 Ulrich Drepper <drepper@gmail.com>
22218
22219 [BZ #12140]
22220 * malloc/malloc.c (_int_free): Fill correct number of bytes when
22221 perturbing.
22222
22223 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
22224
22225 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
22226 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
22227 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
22228 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
22229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
22230 submachine.
22231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
22232
22233 2010-10-22 Andreas Schwab <schwab@redhat.com>
22234
22235 * include/dlfcn.h (__RTLD_SECURE): Define.
22236 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
22237 mode & __RTLD_SECURE instead.
22238 (open_path): Rename preloaded parameter to secure.
22239 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
22240 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
22241 * elf/dl-deps.c (openaux): Likewise.
22242 * elf/rtld.c (struct map_args): Remove is_preloaded.
22243 (map_doit): Don't use it.
22244 (dl_main): Likewise.
22245 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
22246 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
22247
22248 2010-09-09 Andreas Schwab <schwab@redhat.com>
22249
22250 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
22251 (sysd-rules-targets): Remove duplicates.
22252 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
22253 rtld-%.$o dependency.
22254
22255 2010-10-18 Andreas Schwab <schwab@redhat.com>
22256
22257 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
22258 _dl_map_object do it.
22259
22260 2010-10-19 Ulrich Drepper <drepper@gmail.com>
22261
22262 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
22263 fast fma builtins, define the macros in the C99 standard.
22264 (FP_FAST_FMAF): Likewise.
22265 (FP_FAST_FMAL): Likewise.
22266 * sysdeps/x86_64/bits/mathdef.h: Likewise.
22267
22268 * bits/mathdef.h: Update copyright year.
22269 * sysdeps/powerpc/bits/mathdef.h: Likewise.
22270
22271 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
22272
22273 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
22274 builtins, define the macros in the C99 standard.
22275 (FP_FAST_FMAF): Likewise.
22276 (FP_FAST_FMAL): Likewise.
22277 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
22278 multiply/add.
22279 (FP_FAST_FMAF): Likewise.
22280
22281 2010-10-15 Jakub Jelinek <jakub@redhat.com>
22282
22283 [BZ #3268]
22284 * math/libm-test.inc (fma_test): Some new testcases.
22285 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
22286 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
22287 y and infinite z. Do multiplication by C already in long double.
22288 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
22289 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
22290 y and infinite z. Do bitwise or of inexact bit into u.d.
22291 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
22292 * sysdeps/i386/fpu/s_fmaf.S: Removed.
22293 * sysdeps/i386/fpu/s_fma.S: Removed.
22294 * sysdeps/i386/fpu/s_fmal.S: Removed.
22295
22296 2010-10-16 Jakub Jelinek <jakub@redhat.com>
22297
22298 [BZ #3268]
22299 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
22300 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
22301 computation is not scheduled after fetestexcept. Fix value
22302 of minimum denormal long double.
22303
22304 2010-10-14 Jakub Jelinek <jakub@redhat.com>
22305
22306 [BZ #3268]
22307 * math/libm-test.inc (fma_test): Add some more tests.
22308 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
22309 correctly.
22310
22311 2010-10-15 Andreas Schwab <schwab@redhat.com>
22312
22313 * scripts/data/localplt-s390-linux-gnu.data: New file.
22314 * scripts/data/localplt-s390x-linux-gnu.data: New file.
22315
22316 2010-10-13 Jakub Jelinek <jakub@redhat.com>
22317
22318 [BZ #3268]
22319 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
22320 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
22321 instead of dbl-64.
22322 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
22323 inlines.
22324 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
22325 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
22326 if one of x and y is very large and the other is subnormal.
22327 * sysdeps/s390/fpu/s_fmaf.c: New file.
22328 * sysdeps/s390/fpu/s_fma.c: New file.
22329 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
22330 * sysdeps/powerpc/fpu/s_fma.S: New file.
22331 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
22332 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
22333 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
22334
22335 2010-10-12 Jakub Jelinek <jakub@redhat.com>
22336
22337 [BZ #3268]
22338 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
22339 fma tests.
22340 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
22341 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
22342 * sysdeps/i386/i686/multiarch/s_fma.c: Include
22343 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
22344 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
22345 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
22346 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
22347
22348 2010-10-12 Ulrich Drepper <drepper@redhat.com>
22349
22350 [BZ #12078]
22351 * posix/regcomp.c (parse_branch): One more memory leak plugged.
22352 * posix/bug-regex31.input: Add test case.
22353
22354 2010-10-11 Ulrich Drepper <drepper@gmail.com>
22355
22356 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
22357 * posix/bug-regex31.input: New file.
22358
22359 [BZ #12078]
22360 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
22361 (parse_sub_exp): Fix last change, use postorder.
22362
22363 * posix/bug-regex31.c: New file.
22364 * posix/Makefile: Add rules to build and run bug-regex31.
22365
22366 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
22367
22368 [BZ #12078]
22369 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
22370
22371 [BZ #12108]
22372 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
22373 to have entries in sys_siglist.
22374
22375 [BZ #12093]
22376 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
22377 be NULL.
22378
22379 2010-10-07 Jakub Jelinek <jakub@redhat.com>
22380
22381 [BZ #3268]
22382 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
22383 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
22384 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
22385 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
22386 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
22387 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
22388 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
22389 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
22390 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
22391 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
22392 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
22393 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
22394 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
22395 * math/ftestexcept.c (fetestexcept): Likewise.
22396 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
22397 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
22398 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
22399 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
22400 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
22401 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
22402 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22403
22404 2010-10-11 Ulrich Drepper <drepper@gmail.com>
22405
22406 [BZ #12107]
22407 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
22408 newline.
22409
22410 2010-10-06 Ulrich Drepper <drepper@gmail.com>
22411
22412 * string/bug-strstr1.c: New file.
22413 * string/Makefile: Add rules to build and run bug-strstr1.
22414
22415 2010-10-05 Eric Blake <eblake@redhat.com>
22416
22417 [BZ #12092]
22418 * string/str-two-way.h (two_way_long_needle): Always clear memory
22419 when skipping input due to the shift table.
22420
22421 2010-10-03 Ulrich Drepper <drepper@gmail.com>
22422
22423 [BZ #12005]
22424 * malloc/mcheck.c: Handle large requests.
22425
22426 [BZ #12077]
22427 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
22428 for strncmp and strncasecmp.
22429 * string/stratcliff.c: Add tests for strcmp and strncmp.
22430 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
22431
22432 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22433
22434 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
22435 __set_fpscr.
22436
22437 2010-09-30 Andreas Jaeger <aj@suse.de>
22438
22439 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
22440 (CGROUP_SUPER_MAGIC): Define.
22441 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22442 Handle btrfs and cgroup file systems.
22443 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
22444 Likewise.
22445
22446 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
22447
22448 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
22449 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
22450
22451 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22452
22453 [BZ #12067]
22454 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
22455 trying to locate the ELF header.
22456
22457 2010-09-27 Andreas Schwab <schwab@redhat.com>
22458
22459 [BZ #11611]
22460 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
22461 Mask out sign-bit copies when constructing f_fsid.
22462
22463 2010-09-24 Petr Baudis <pasky@suse.cz>
22464
22465 * debug/stack_chk_fail_local.c: Add missing licence exception.
22466 * debug/warning-nop.c: Likewise.
22467
22468 2010-09-15 Joseph Myers <joseph@codesourcery.com>
22469
22470 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
22471 implementing getdents64 using getdents syscall, set d_type if
22472 __ASSUME_GETDENTS32_D_TYPE.
22473
22474 2010-09-16 Andreas Schwab <schwab@redhat.com>
22475
22476 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
22477 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
22478
22479 2010-09-21 Ulrich Drepper <drepper@redhat.com>
22480
22481 [BZ #12037]
22482 * posix/unistd.h: Undo change of feature selection for ftruncate from
22483 2010-01-11.
22484
22485 2010-09-20 Ulrich Drepper <drepper@redhat.com>
22486
22487 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
22488 detection.
22489
22490 2010-09-20 Andreas Schwab <schwab@redhat.com>
22491
22492 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
22493 fanotify_mark.
22494 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
22495
22496 2010-09-14 Andreas Schwab <schwab@redhat.com>
22497
22498 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
22499 variables after CHECK_SP call.
22500 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
22501
22502 2010-09-13 Andreas Schwab <schwab@redhat.com>
22503 Ulrich Drepper <drepper@redhat.com>
22504
22505 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
22506 re-relocationg ld.so.
22507 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
22508 _dl_init_paths call.
22509 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
22510 here anymore.
22511
22512 2010-09-14 Ulrich Drepper <drepper@redhat.com>
22513
22514 * resolv/res_init.c (__res_vinit): Count the default server we added.
22515
22516 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
22517 Ulrich Drepper <drepper@redhat.com>
22518
22519 [BZ #11968]
22520 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
22521 (____longjmp_chk): Use %ebx for saving value across system call.
22522 Add unwind info.
22523
22524 2010-09-06 Andreas Schwab <schwab@redhat.com>
22525
22526 * manual/Makefile: Don't mix pattern rules with normal rules.
22527
22528 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
22529
22530 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
22531 operation.
22532 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
22533 * libio/iofopncook.c (_IO_cookie_init): Likewise.
22534 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
22535 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
22536 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22537 Likewise.
22538
22539 2010-09-04 Ulrich Drepper <drepper@redhat.com>
22540
22541 [BZ #11979]
22542 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
22543 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
22544
22545 2010-09-02 Ulrich Drepper <drepper@redhat.com>
22546
22547 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
22548 * sysdeps/x86_64/addmul_1.S: Likewise.
22549 * sysdeps/x86_64/lshift.S: Likewise.
22550 * sysdeps/x86_64/mul_1.S: Likewise.
22551 * sysdeps/x86_64/rshift.S: Likewise.
22552 * sysdeps/x86_64/sub_n.S: Likewise.
22553 * sysdeps/x86_64/submul_1.S: Likewise.
22554
22555 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
22556
22557 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
22558 Define __sched_param instead of SCHED_* and sched_param when
22559 <bits/sched.h> is included with __need_schedparam defined.
22560 * bits/sched.h [__need_schedparam]
22561 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
22562 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
22563 (__defined_schedparam): Define to 1.
22564 (__sched_param): New structure, identical to sched_param.
22565 (__need_schedparam): Undefine.
22566
22567 2010-08-31 Mike Frysinger <vapier@gentoo.org>
22568
22569 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
22570 (epoll_create1): Declare.
22571
22572 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
22573
22574 2010-08-31 Andreas Schwab <schwab@redhat.com>
22575
22576 [BZ #7066]
22577 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
22578 shifting retval into place.
22579
22580 2010-09-01 Ulrich Drepper <drepper@redhat.com>
22581
22582 * nis/rpcsvc/nis.h: Update copyright notice.
22583 * nis/rpcsvc/nis.x: Likewise.
22584 * nis/rpcsvc/nis_callback.h: Likewise.
22585 * nis/rpcsvc/nis_callback.x: Likewise.
22586 * nis/rpcsvc/nis_object.x: Likewise.
22587 * nis/rpcsvc/nis_tags.h: Likewise.
22588 * nis/rpcsvc/yp.h: Likewise.
22589 * nis/rpcsvc/yp.x: Likewise.
22590 * nis/rpcsvc/ypupd.h: Likewise.
22591 * nis/yp_xdr.c: Likewise.
22592 * nis/ypupdate_xdr.c: Likewise.
22593
22594 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
22595 mainly the body of pmap_getport. Add parameters to specify timeouts.
22596 (pmap_getport): Use __libc_rpc_getport.
22597 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
22598 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
22599 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
22600
22601 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
22602
22603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
22604 fanotify_mark.
22605
22606 2010-08-27 Roland McGrath <roland@redhat.com>
22607
22608 * sysdeps/i386/i686/multiarch/Makefile
22609 (CFLAGS-varshift.c): New variable.
22610
22611 2010-08-27 Ulrich Drepper <drepper@redhat.com>
22612
22613 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
22614 * sysdeps/i386/i686/multiarch/varshift.c: New file.
22615
22616 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
22617
22618 * sysdeps/x86_64/strlen.S: Minimal code improvement.
22619
22620 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
22621
22622 * sysdeps/x86_64/strlen.S: Unroll the loop.
22623 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22624 strlen-sse2 strlen-sse2-bsf.
22625 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
22626 __strlen_no_bsf if bit_Slow_BSF is set.
22627 (__strlen_sse42): Removed.
22628 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
22629 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
22630
22631 2010-08-25 Roland McGrath <roland@redhat.com>
22632
22633 * sysdeps/x86_64/multiarch/varshift.S: File removed.
22634 * sysdeps/x86_64/multiarch/varshift.c: New file.
22635 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
22636 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
22637 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
22638 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
22639
22640 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
22641
22642 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22643 strlen-sse2 strlen-sse2-bsf.
22644 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
22645 __strlen_sse2_bsf if bit_Slow_BSF is unset.
22646 (__strlen_sse2): Removed.
22647 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
22648 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
22649 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
22650 bit_Slow_BSF for Atom.
22651 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
22652 (index_Slow_BSF): Define.
22653 (HAS_SLOW_BSF): Define.
22654
22655 2010-08-25 Ulrich Drepper <drepper@redhat.com>
22656
22657 [BZ #10851]
22658 * resolv/res_init.c (__res_vinit): When no server address at all
22659 is given default to loopback.
22660
22661 2010-08-24 Roland McGrath <roland@redhat.com>
22662
22663 * configure.in: Remove config-name.h generation.
22664 * configure: Regenerated.
22665 * config-name.in: File removed.
22666 * scripts/config-uname.sh: New file.
22667 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
22668 ($(objdir)config-name.h): New target.
22669
22670 * sunrpc/rpc_parse.h: Avoid nested comment.
22671
22672 2010-08-24 Richard Henderson <rth@redhat.com>
22673 Ulrich Drepper <drepper@redhat.com>
22674 H.J. Lu <hongjiu.lu@intel.com>
22675
22676 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
22677 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
22678 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
22679 Replace _mm_srli_si128 with __m128i_shift_right. Replace
22680 _mm_alignr_epi8 with _mm_loadu_si128.
22681 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
22682 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
22683 (__m128i_shift_right): Removed.
22684 * sysdeps/i386/i686/multiarch/varshift.h: New file.
22685 * sysdeps/i386/i686/multiarch/varshift.S: New file.
22686 * sysdeps/x86_64/multiarch/varshift.h: New file.
22687 * sysdeps/x86_64/multiarch/varshift.S: New file.
22688
22689 2010-08-21 Mike Frysinger <vapier@gentoo.org>
22690
22691 * configure.in: Move assembler checks to before sysdep dir checking.
22692
22693 2010-08-20 Petr Baudis <pasky@suse.cz>
22694
22695 * LICENSES: Sync the sunrpc license.
22696
22697 2010-08-19 Ulrich Drepper <drepper@redhat.com>
22698
22699 * sunrpc/auth_des.c: Update copyright notice once again.
22700 * sunrpc/auth_none.c: Likewise.
22701 * sunrpc/auth_unix.c: Likewise.
22702 * sunrpc/authdes_prot.c: Likewise.
22703 * sunrpc/authuxprot.c: Likewise.
22704 * sunrpc/bindrsvprt.c: Likewise.
22705 * sunrpc/clnt_gen.c: Likewise.
22706 * sunrpc/clnt_perr.c: Likewise.
22707 * sunrpc/clnt_raw.c: Likewise.
22708 * sunrpc/clnt_simp.c: Likewise.
22709 * sunrpc/clnt_tcp.c: Likewise.
22710 * sunrpc/clnt_udp.c: Likewise.
22711 * sunrpc/clnt_unix.c: Likewise.
22712 * sunrpc/des_crypt.c: Likewise.
22713 * sunrpc/des_soft.c: Likewise.
22714 * sunrpc/get_myaddr.c: Likewise.
22715 * sunrpc/getrpcport.c: Likewise.
22716 * sunrpc/key_call.c: Likewise.
22717 * sunrpc/key_prot.c: Likewise.
22718 * sunrpc/openchild.c: Likewise.
22719 * sunrpc/pm_getmaps.c: Likewise.
22720 * sunrpc/pm_getport.c: Likewise.
22721 * sunrpc/pmap_clnt.c: Likewise.
22722 * sunrpc/pmap_prot.c: Likewise.
22723 * sunrpc/pmap_prot2.c: Likewise.
22724 * sunrpc/pmap_rmt.c: Likewise.
22725 * sunrpc/rpc/auth.h: Likewise.
22726 * sunrpc/rpc/auth_unix.h: Likewise.
22727 * sunrpc/rpc/clnt.h: Likewise.
22728 * sunrpc/rpc/des_crypt.h: Likewise.
22729 * sunrpc/rpc/key_prot.h: Likewise.
22730 * sunrpc/rpc/netdb.h: Likewise.
22731 * sunrpc/rpc/pmap_clnt.h: Likewise.
22732 * sunrpc/rpc/pmap_prot.h: Likewise.
22733 * sunrpc/rpc/pmap_rmt.h: Likewise.
22734 * sunrpc/rpc/rpc.h: Likewise.
22735 * sunrpc/rpc/rpc_des.h: Likewise.
22736 * sunrpc/rpc/rpc_msg.h: Likewise.
22737 * sunrpc/rpc/svc.h: Likewise.
22738 * sunrpc/rpc/svc_auth.h: Likewise.
22739 * sunrpc/rpc/types.h: Likewise.
22740 * sunrpc/rpc/xdr.h: Likewise.
22741 * sunrpc/rpc_clntout.c: Likewise.
22742 * sunrpc/rpc_cmsg.c: Likewise.
22743 * sunrpc/rpc_common.c: Likewise.
22744 * sunrpc/rpc_cout.c: Likewise.
22745 * sunrpc/rpc_dtable.c: Likewise.
22746 * sunrpc/rpc_hout.c: Likewise.
22747 * sunrpc/rpc_main.c: Likewise.
22748 * sunrpc/rpc_parse.c: Likewise.
22749 * sunrpc/rpc_parse.h: Likewise.
22750 * sunrpc/rpc_prot.c: Likewise.
22751 * sunrpc/rpc_sample.c: Likewise.
22752 * sunrpc/rpc_scan.c: Likewise.
22753 * sunrpc/rpc_scan.h: Likewise.
22754 * sunrpc/rpc_svcout.c: Likewise.
22755 * sunrpc/rpc_tblout.c: Likewise.
22756 * sunrpc/rpc_util.c: Likewise.
22757 * sunrpc/rpc_util.h: Likewise.
22758 * sunrpc/rpcinfo.c: Likewise.
22759 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
22760 * sunrpc/rpcsvc/key_prot.x: Likewise.
22761 * sunrpc/rpcsvc/klm_prot.x: Likewise.
22762 * sunrpc/rpcsvc/mount.x: Likewise.
22763 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
22764 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
22765 * sunrpc/rpcsvc/rex.x: Likewise.
22766 * sunrpc/rpcsvc/rstat.x: Likewise.
22767 * sunrpc/rpcsvc/rusers.x: Likewise.
22768 * sunrpc/rpcsvc/sm_inter.x: Likewise.
22769 * sunrpc/rpcsvc/spray.x: Likewise.
22770 * sunrpc/rpcsvc/yppasswd.x: Likewise.
22771 * sunrpc/rtime.c: Likewise.
22772 * sunrpc/svc.c: Likewise.
22773 * sunrpc/svc_auth.c: Likewise.
22774 * sunrpc/svc_authux.c: Likewise.
22775 * sunrpc/svc_raw.c: Likewise.
22776 * sunrpc/svc_run.c: Likewise.
22777 * sunrpc/svc_simple.c: Likewise.
22778 * sunrpc/svc_tcp.c: Likewise.
22779 * sunrpc/svc_udp.c: Likewise.
22780 * sunrpc/svc_unix.c: Likewise.
22781 * sunrpc/svcauth_des.c: Likewise.
22782 * sunrpc/xcrypt.c: Likewise.
22783 * sunrpc/xdr.c: Likewise.
22784 * sunrpc/xdr_array.c: Likewise.
22785 * sunrpc/xdr_float.c: Likewise.
22786 * sunrpc/xdr_mem.c: Likewise.
22787 * sunrpc/xdr_rec.c: Likewise.
22788 * sunrpc/xdr_ref.c: Likewise.
22789 * sunrpc/xdr_sizeof.c: Likewise.
22790 * sunrpc/xdr_stdio.c: Likewise.
22791
22792 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
22793 handling.
22794
22795 2010-08-19 Andreas Schwab <schwab@redhat.com>
22796
22797 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
22798
22799 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
22800
22801 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
22802 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
22803 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
22804 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
22805 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
22806 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
22807 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
22808 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
22809 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
22810 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
22811 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
22812 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
22813 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
22814 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
22815
22816 2010-07-26 Anton Blanchard <anton@samba.org>
22817
22818 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
22819 * malloc/arena.c (heap_trim): Likewise.
22820
22821 2010-08-16 Ulrich Drepper <drepper@redhat.com>
22822
22823 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
22824 here. Not...
22825 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
22826 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
22827
22828 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
22829
22830 * sysdeps/i386/elf/Makefile: New file.
22831
22832 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
22833
22834 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
22835 from fanotify_init.
22836 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
22837 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
22838
22839 2010-08-15 Ulrich Drepper <drepper@redhat.com>
22840
22841 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
22842 of strncasecmp_l.
22843 * sysdeps/multiarch/strcmp.S: Likewise.
22844
22845 2010-08-14 Ulrich Drepper <drepper@redhat.com>
22846
22847 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
22848 strncase_l-nonascii.
22849 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
22850 Add strncase_l-ssse3.
22851 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
22852 * sysdeps/x86_64/strcmp.S: Likewise.
22853 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
22854 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
22855 * sysdeps/x86_64/strncase.S: New file.
22856 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
22857 * sysdeps/x86_64/strncase_l.S: New file.
22858 * string/Makefile (strop-tests): Add strncasecmp.
22859 * string/test-strncasecmp.c: New file.
22860
22861 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
22862 warning.
22863
22864 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
22865 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
22866
22867 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
22868
22869 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
22870
22871 2010-08-12 Ulrich Drepper <drepper@redhat.com>
22872
22873 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
22874 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
22875 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
22876
22877 2010-05-01 Alan Modra <amodra@gmail.com>
22878
22879 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
22880 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
22881 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
22882 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
22883 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
22884 tidying. Don't tail-call __sigjmp_save for static lib.
22885 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
22886 save location.
22887 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
22888 (CALL_MCOUNT): Add eh info, and nop after bl.
22889 (TAIL_CALL_SYSCALL_ERROR): New macro.
22890 (PSEUDO_RET): Use it.
22891 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
22892 Correct save location of integer regs and cr.
22893 (_dl_profile_resolve): Correct cr save location. Delete nops
22894 after bl when SHARED. Reduce cfi size a little by better
22895 placement of cfi directives.
22896 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
22897 make a stack frame. Instead use parm save area as a temp.
22898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
22899 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
22900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
22901 Don't make a stack frame for parent, use parm save area.
22902 Increase child stack frame to 112 bytes. Don't save unused reg,
22903 and adjust reg usage. Set up cfi on error recovery and
22904 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
22905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22906 (__makecontext): Add dummy nop after jump to exit.
22907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
22908 Use correct parm save area and cr save, reduce stack frame.
22909 Correct cfi for possible PSEUDO_RET frame setup.
22910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
22911 Branch to local label emitted by PSEUDO_RET rather than
22912 __syscall_error.
22913
22914 2010-08-12 Andreas Schwab <schwab@redhat.com>
22915
22916 [BZ #11904]
22917 * locale/programs/locale.c (print_assignment): New function.
22918 (show_locale_vars): Use it.
22919
22920 2010-08-11 Ulrich Drepper <drepper@redhat.com>
22921
22922 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
22923 field.
22924 (struct statfs64): Likewise.
22925 (_STATFS_F_FLAGS): Define.
22926 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
22927 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22928 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
22929 (ST_VALID): Define locally.
22930 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
22931 __statvfs_getflags, use the provided value.
22932 * sysdeps/unix/sysv/linux/kernel-features.h: Define
22933 __ASSUME_STATFS_F_FLAGS.
22934
22935 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
22936
22937 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
22938 Add sys/fanotify.h.
22939 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
22940 fanotify_mask for GLIBC_2.13.
22941 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
22942 fanotify_init and fanotify_mark.
22943 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
22944 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
22945
22946 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
22947 Add prlimit.
22948 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
22949 prlimit64 for GLIBC_2.13.
22950 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
22951 prlimit64.
22952 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
22953 syscall.
22954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
22955 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
22956 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
22957 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
22958 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
22959 add prlimit alias.
22960 * sysdeps/unix/sysv/linux/prlimit.c: New file.
22961
22962 [BZ #11903]
22963 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
22964 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
22965
22966 * nss/Makefile: Add rules to build and run tst-nss-test1.
22967 * shlib-versions: Add entry for libnss_test1.
22968 * nss/nss_test1.c: New file.
22969 * nss/tst-nss-test1.c: New file.
22970
22971 * nss/nsswitch.c (__nss_database_custom): Define new variable.
22972 (__nss_configure_lookup): Set appropriate entry in
22973 __nss_configure_lookup to true.
22974 * nss/nsswitch.h: Define enum with indeces of databases in
22975 databases and __nss_database_custom arrays. Declare
22976 __nss_database_custom.
22977 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
22978 to avoid using nscd when custom rules are installed.
22979 * nss/getXXbyYY_r.c: Likewise.
22980 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
22981
22982 * nss/nss_files/files-parse.c: Whitespace fixes.
22983
22984 2010-08-09 Ulrich Drepper <drepper@redhat.com>
22985
22986 [BZ #11883]
22987 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
22988 * posix/fnmatch_loop.c: Likewise.
22989
22990 2010-07-17 Andi Kleen <ak@linux.intel.com>
22991
22992 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
22993 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
22994 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
22995 * Versions.def [GLIBC_2.13]: Add.
22996
22997 2010-08-06 Ulrich Drepper <drepper@redhat.com>
22998
22999 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
23000 Also fail if tpwd after pwuid call is NULL.
23001
23002 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
23003
23004 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
23005 when converting to ms.
23006
23007 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
23008
23009 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
23010 EOPNOTSUPP errors with ENOTTY.
23011 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
23012 EOPNOTSUPP errors with ENOTTY.
23013
23014 2010-07-31 Ulrich Drepper <drepper@redhat.com>
23015
23016 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
23017 Add strcasecmp_l-ssse3.
23018 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
23019 strcasecmp.
23020 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
23021 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
23022 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
23023
23024 2010-07-30 Ulrich Drepper <drepper@redhat.com>
23025
23026 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
23027
23028 * string/Makefile (strop-tests): Add strcasecmp.
23029 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
23030 strcasecmp_l-nonascii.
23031 (gen-as-const-headers): Add locale-defines.sym.
23032 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
23033 * sysdeps/x86_64/strcasecmp.S: New file.
23034 * sysdeps/x86_64/strcasecmp_l.S: New file.
23035 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
23036 * sysdeps/x86_64/locale-defines.sym: New file.
23037 * string/test-strcasecmp.c: New file.
23038
23039 * string/test-strcasestr.c: Test both ends of the range of characters.
23040 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
23041
23042 2010-07-29 Roland McGrath <roland@redhat.com>
23043
23044 [BZ #11856]
23045 * manual/locale.texi (Yes-or-No Questions): Fix example code.
23046
23047 2010-07-27 Ulrich Drepper <drepper@redhat.com>
23048
23049 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
23050 for ld.so.
23051
23052 2010-07-27 Andreas Schwab <schwab@redhat.com>
23053
23054 * manual/memory.texi (Malloc Tunable Parameters): Document
23055 M_PERTURB.
23056
23057 2010-07-26 Roland McGrath <roland@redhat.com>
23058
23059 [BZ #11840]
23060 * configure.in (-fgnu89-inline check): Set and substitute
23061 gnu89_inline, not libc_cv_gnu89_inline.
23062 * configure: Regenerated.
23063 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
23064
23065 2010-07-26 Ulrich Drepper <drepper@redhat.com>
23066
23067 * string/test-strnlen.c: New file.
23068 * string/Makefile (strop-tests): Add strnlen.
23069 * string/tester.c (test_strnlen): Add a few more test cases.
23070 * string/tst-strlen.c: Better error reporting.
23071
23072 * sysdeps/x86_64/strnlen.S: New file.
23073
23074 2010-07-24 Ulrich Drepper <drepper@redhat.com>
23075
23076 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
23077 lower-latency instructions.
23078
23079 2010-07-23 Ulrich Drepper <drepper@redhat.com>
23080
23081 * string/test-strcasestr.c: New file.
23082 * string/test-strstr.c: New file.
23083 * string/Makefile (strop-tests): Add strstr and strcasestr.
23084 * string/str-two-way.h: Don't undefine MAX.
23085 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
23086
23087 2010-07-21 Andreas Schwab <schwab@redhat.com>
23088
23089 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23090 strcasestr-nonascii.
23091 (CFLAGS-strcasestr-nonascii.c): Define.
23092 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
23093 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
23094 Remove unused attribute.
23095
23096 2010-07-20 Roland McGrath <roland@redhat.com>
23097
23098 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
23099 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
23100 ld.so.cache was broken. With it, there is no way to disable dsocaps
23101 like LD_HWCAP_MASK can disable hwcaps.
23102
23103 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
23104
23105 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
23106
23107 2010-07-16 Ulrich Drepper <drepper@redhat.com>
23108
23109 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
23110 call in strcasestr.
23111 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
23112 __strcasestr_sse42_nonascii.
23113 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
23114 strcasestr-nonascii.c.
23115 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
23116
23117 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
23118
23119 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
23120 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
23121 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
23122 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
23123
23124 2010-07-09 Ulrich Drepper <drepper@redhat.com>
23125
23126 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
23127 fcntl.
23128
23129 2010-07-06 Andreas Schwab <schwab@redhat.com>
23130
23131 [BZ #11577]
23132 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
23133 dl_signal_cerror.
23134
23135 2010-07-06 Ulrich Drepper <drepper@redhat.com>
23136
23137 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
23138 _PC_PIPE_BUF using F_GETPIPE_SZ.
23139
23140 2010-07-05 Roland McGrath <roland@redhat.com>
23141
23142 * manual/arith.texi (Rounding Functions): Fix rint description
23143 implicit in round description.
23144
23145 2010-07-02 Ulrich Drepper <drepper@redhat.com>
23146
23147 * elf/Makefile: Fix linking for a few tests to make recent linker
23148 happy.
23149
23150 2010-06-30 Andreas Schwab <schwab@redhat.com>
23151
23152 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
23153 $(common-objpfx)libc_nonshared.a.
23154
23155 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
23156
23157 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
23158 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
23159 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
23160 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
23161 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
23162 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
23163 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
23164 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
23165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
23166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
23167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
23168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
23169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
23170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
23171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
23172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
23173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
23174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
23175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
23176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
23177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
23178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
23179 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
23180 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
23181 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
23182 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
23183 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
23184 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
23185 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
23186 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
23187 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
23188 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
23189 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
23190 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
23191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
23192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
23193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
23194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
23195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
23196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
23197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
23198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
23199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
23200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
23201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
23202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
23203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
23204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
23205
23206 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
23207
23208 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
23209 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
23210 * string/memmove.c (memmove): Renamed to ...
23211 (MEMMOVE): ...this. Default to memmove.
23212 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
23213 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
23214 (END_CHK): Define.
23215 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23216 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
23217 mempcpy-ssse3-back memmove-ssse3-back.
23218 * sysdeps/x86_64/multiarch/bcopy.S: New file .
23219 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
23220 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
23221 * sysdeps/x86_64/multiarch/memcpy.S: New file.
23222 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
23223 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
23224 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
23225 * sysdeps/x86_64/multiarch/memmove.c: New file.
23226 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
23227 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
23228 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
23229 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
23230 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
23231 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
23232 Define.
23233 (index_Fast_Copy_Backward): Define.
23234 (HAS_ARCH_FEATURE): Define.
23235 (HAS_FAST_REP_STRING): Define.
23236 (HAS_FAST_COPY_BACKWARD): Define.
23237
23238 2010-06-21 Andreas Schwab <schwab@redhat.com>
23239
23240 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
23241 Restore proper fallback handling.
23242
23243 2010-06-19 Ulrich Drepper <drepper@redhat.com>
23244
23245 [BZ #11701]
23246 * posix/group_member.c (__group_member): Correct checking loop.
23247
23248 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
23249 OOM in getpwuid_r correctly. Return error number when the caller
23250 should return, otherwise -1.
23251 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
23252 call returning > 0 value.
23253 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
23254
23255 2010-06-07 Andreas Schwab <schwab@redhat.com>
23256
23257 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
23258 libc_nonshared.a from targets in modules-names.
23259
23260 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
23261
23262 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
23263 requires it.
23264
23265 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
23266
23267 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
23268 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
23269 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
23270 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
23271
23272 2010-06-02 Andreas Schwab <schwab@redhat.com>
23273
23274 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
23275
23276 2010-06-14 Ulrich Drepper <drepper@redhat.com>
23277
23278 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
23279 and F_GETPIPE_SZ.
23280 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
23281 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23282 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23283 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23284 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23285 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
23286
23287 2010-06-14 Roland McGrath <roland@redhat.com>
23288
23289 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
23290
23291 2010-06-07 Jakub Jelinek <jakub@redhat.com>
23292
23293 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
23294 __REDIRECT followed by __THROW.
23295 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
23296 * posix/getopt.h (getopt): Likewise.
23297
23298 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
23299
23300 * hurd/lookup-at.c (__file_name_lookup_at): Accept
23301 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
23302 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
23303 in AT_FLAGS.
23304 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
23305 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
23306
23307 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
23308
23309 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
23310
23311 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
23312
23313 [BZ #11640]
23314 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23315 Properly check family and model.
23316
23317 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
23318
23319 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
23320
23321 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
23322
23323 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
23324
23325 2010-05-21 Ulrich Drepper <drepper@redhat.com>
23326
23327 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
23328 symbol reference.
23329
23330 2010-05-19 Andreas Schwab <schwab@redhat.com>
23331
23332 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
23333 symbol reference.
23334
23335 2010-05-21 Andreas Schwab <schwab@redhat.com>
23336
23337 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
23338 and internal_recvmmsg.
23339 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
23340 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
23341 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
23342 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
23343
23344 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
23345 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
23346 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
23347
23348 2010-05-20 Andreas Schwab <schwab@redhat.com>
23349
23350 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
23351
23352 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
23353
23354 POWER7 optimizations.
23355 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
23356 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
23357
23358 2010-05-19 Ulrich Drepper <drepper@redhat.com>
23359
23360 * version.h: Update for 2.13 development version.
23361
23362 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
23363
23364 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
23365 exceptions. Return 0.
23366
23367 2010-05-07 Roland McGrath <roland@redhat.com>
23368
23369 * elf/ldconfig.c (main): Add a const.
23370
23371 2010-05-06 Ulrich Drepper <drepper@redhat.com>
23372
23373 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
23374 (args_options): Add no-idn option.
23375 (ahosts_keys_int): Add idn_flags to ai_flags.
23376 (parse_option): Handle 'i' option to clear idn_flags.
23377
23378 * malloc/malloc.c (_int_free): Possible race in the most recently
23379 added check. Only act on the data if no current modification
23380 happened.
23381
23382 See ChangeLog.17 for earlier changes.