]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Fix reads for sizes larger than INT_MAX in AF_INET lookup
[thirdparty/glibc.git] / ChangeLog
CommitLineData
977f4b31
SP
12013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2
3 [BZ #16071]
4 * nss/nss_files/files-XXX.c (get_contents_ret): New
5 enumerator.
6 (get_contents): New function.
7 (internal_getent): Use it. Expand size of LINEBUFLEN.
8
cb8a6dbd
MF
92013-10-30 Mike Frysinger <vapier@gentoo.org>
10
11 * configure.in: Moved to ...
12 * configure.ac: ... here. Change reference to configure.in
13 to configure.ac.
14 * sysdeps/arm/preconfigure.ac: ... here.
15 configure.in to configure.ac.
16 * sysdeps/gnu/configure.in: Moved to ...
17 * sysdeps/gnu/configure.ac: ... here.
18 * sysdeps/i386/configure.in: Moved to ...
19 * sysdeps/i386/configure.ac: ... here.
20 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
21 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
22 * sysdeps/mach/configure.in: Moved to ...
23 * sysdeps/mach/configure.ac: ... here.
24 * sysdeps/mach/hurd/configure.in: Moved to ...
25 * sysdeps/mach/hurd/configure.ac: ... here.
26 * sysdeps/powerpc/configure.in: Moved to ...
27 * sysdeps/powerpc/configure.ac: ... here.
28 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
29 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
30 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
31 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
32 * sysdeps/s390/s390-32/configure.in: Moved to ...
33 * sysdeps/s390/s390-32/configure.ac: ... here.
34 * sysdeps/s390/s390-64/configure.in: Moved to ...
35 * sysdeps/s390/s390-64/configure.ac: ... here.
36 * sysdeps/sh/configure.in: Moved to ...
37 * sysdeps/sh/configure.ac: ... here.
38 * sysdeps/sparc/configure.in: Moved to ...
39 * sysdeps/sparc/configure.ac: ... here.
40 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
41 * sysdeps/unix/sysv/linux/configure.ac: ... here.
42 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
43 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
44 * sysdeps/x86_64/configure.in: Moved to ...
45 * sysdeps/x86_64/configure.ac: ... here.
46 * sysdeps/x86_64/preconfigure.in: Moved to ...
47 * sysdeps/x86_64/preconfigure.ac: ... here.
48 * aclocal.m4: Change reference to configure.in to configure.ac.
49 * config.h.in: Likewise.
50 * manual/install.texi: Likewise.
51 * manual/maint.texi: Likewise.
52 * Makefile: Likewise.
53 * malloc/Makefile: Likewise.
54 * nscd/Makefile: Likewise.
55 * Makeconfig: Change reference to configure.in and
56 preconfigure.in to configure.ac and preconfigure.ac
57 respectively.
58 * INSTALL: Regenerated.
59 * configure: Likewise.
60 * sysdeps/gnu/configure: Likewise.
61 * sysdeps/i386/configure: Likewise.
62 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
63 * sysdeps/mach/configure: Likewise.
64 * sysdeps/mach/hurd/configure: Likewise.
65 * sysdeps/powerpc/configure: Likewise.
66 * sysdeps/powerpc/powerpc32/configure: Likewise.
67 * sysdeps/powerpc/powerpc64/configure: Likewise.
68 * sysdeps/s390/s390-32/configure: Likewise.
69 * sysdeps/s390/s390-64/configure: Likewise.
70 * sysdeps/sh/configure: Likewise.
71 * sysdeps/sparc/configure: Likewise.
72 * sysdeps/unix/sysv/linux/configure: Likewise.
73 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
74 * sysdeps/x86_64/configure: Likewise.
75 * sysdeps/x86_64/preconfigure: Likewise.
76
36a4953a
AS
772013-10-29 Andreas Schwab <schwab@suse.de>
78
79 * stdio-common/Makefile (tst-swscanf-ENV): Define.
80
c79a1204
SP
812013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
82
dfa1b402
SP
83 * benchtests/pow-inputs: Add new inputs.
84
54f73d9c
SP
85 * benchtests/exp-inputs: Add new inputs.
86
c79a1204
SP
87 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
88 conditional check for return value.
89 (__cos32): Likewise.
90
67beb545 912013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
92
93 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
94 to provide a boost for large inputs with word alignment.
95 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
96 implementation based on optimized PPC64 strcpy.
97 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
98 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
99 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
100 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
101
151659f6
OB
1022013-10-25 Ondřej Bílka <neleai@seznam.cz>
103
482a077e 104 [BZ #2801]
151659f6
OB
105 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
106
10b0f26b
OB
1072013-10-25 Ondřej Bílka <neleai@seznam.cz>
108
109 [BZ #14876]
110 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
111 * time/tst-strptime.c (day_tests): Add testcase.
112
ca42d35e
OB
1132013-10-25 Ondřej Bílka <neleai@seznam.cz>
114
482a077e 115 [BZ #14029]
ca42d35e
OB
116 * manual/pattern.texi: Acknowledge that fnmatch can fail.
117
52e6d801
FB
1182013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
119
120 [BZ #16074]
121 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
122 MAP_FAILED on error.
123
7cbcdb36
SP
1242013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
125
126 [BZ #16072]
127 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
128 heap for large requests.
129
894f3f10
AM
1302013-10-25 Aurelien Jarno <aurelien@aurel32.net>
131
132 [BZ #9954]
133 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
134 result if the result has no associated interface.
135 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
136 interface for all 127.X.Y.Z addresses.
137
b85545a6
CL
1382013-10-24 Chris Leonard <cjl@sugarlabs.org>
139
140 * locale/iso-639.def: Add Ligurian (lij)
141
d1f23d46
OB
1422013-10-21 Ondřej Bílka <neleai@seznam.cz>
143
144 [BZ #15825]
145 * sunrpc/rpc_main.c: Document rpcgen -5.
146
4db5b08f
MS
1472013-10-19 Michael Stahl <mstahl@redhat.com>
148
149 * elf/rtld.c (do_preload): Print the reason why preloading failed.
150
a471e96a
OB
1512013-10-19 Ondřej Bílka <neleai@seznam.cz>
152
d1f23d46 153 [BZ #10278]
a471e96a
OB
154 * posix/glob.c: Match only directories when trailing slash is present.
155 * posix/tst-gnuglob.c (my_opendir): Do not open files.
156 (main): Add testcase.
157
45c30c61
OB
1582013-10-19 Ondřej Bílka <neleai@seznam.cz>
159
160 [BZ #15670]
161 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
162
484c12fb
CD
1632013-10-18 Carlos O'Donell <carlos@redhat.com>
164
3d7dc513
CD
165 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
166 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
167 AUTH_DES and cindex for FIPS 140-2.
168 (DES Encryption): Add cindex FIPS 46-3.
169
484c12fb
CD
170 * locale/locarchive.h (struct locarhandle): Add fname.
171 * locale/programs/localedef.c (main): Pass ARGV[remaining]
172 if an optional argument was specified to --list-archive,
173 otherwise NULL.
174 * locale/programs/locarchive.c (show_archive_content): Take new
175 argument fname and pass it via ah.fname to open_archive.
176 * locale/programs/localedef.h: Update decl.
177 (open_archive): If AH->fname is non-null, open that file
178 rather than the default file name, and don't ignore ENOENT.
179 (create_archive): Set AH.fname to NULL.
180 (delete_locales_from_archive): Likewise.
181 (add_locales_to_archive): Likewise.
182 * locale/programs/locfile.c (write_all_categories): Likewise.
183
3c8325fb
JM
1842013-10-18 Joseph Myers <joseph@codesourcery.com>
185 Aldy Hernandez <aldyh@redhat.com>
186
187 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
188 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
189 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
190 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
191 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
192 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
193 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
194 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
195 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
196 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
197 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
198 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
199 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
200 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
201 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
202 Likewise.
203 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
204 Likewise.
205 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
206 Likewise.
207 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
208 Likewise.
209 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
210 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
211 Likewise.
212 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
213 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
214 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
215 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
216 Likewise.
217 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
218 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
219 * sysdeps/powerpc/preconfigure: Likewise.
220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
221 Likewise.
222 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
223 Replace contents of file by #include of <fenv_libc.h>.
224 * sysdeps/powerpc/soft-fp/sfp-machine.h
225 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
226 and <sys/prctl.h>.
227 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
228 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
229 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
230 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
231 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
232 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
233 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
234 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
235 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
236 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
237 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
238 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
240 Allow copysignl PLT reference to be missing.
241
5abe0682
RS
2422013-10-18 Richard Sandiford <richard@codesourcery.com>
243 Joseph Myers <joseph@codesourcery.com
244
245 [BZ #15948]
246 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
247 single character.
248 (add_to_tablewc): Assert sequence of wide characters is nonempty.
249
c7738d08
SP
2502013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
251
252 * elf/tst-tls-dlinfo.c: Don't include tls.h.
253 * elf/tst-tls1.c: Likewise.
254 * elf/tst-tls10.h: Likewise.
255 * elf/tst-tls14.c: Likewise.
256 * elf/tst-tls2.c: Likewise.
257 * elf/tst-tls3.c: Likewise.
258 * elf/tst-tls4.c: Likewise.
259 * elf/tst-tls5.c: Likewise.
260 * elf/tst-tls6.c: Likewise.
261 * elf/tst-tls7.c: Likewise.
262 * elf/tst-tls8.c: Likewise.
263 * elf/tst-tls9.c: Likewise.
264 * elf/tst-tlsmod1.c: Likewise.
265 * elf/tst-tlsmod13.c: Likewise.
266 * elf/tst-tlsmod13a.c: Likewise.
267 * elf/tst-tlsmod14a.c: Likewise.
268 * elf/tst-tlsmod16a.c: Likewise.
269 * elf/tst-tlsmod16b.c: Likewise.
270 * elf/tst-tlsmod2.c: Likewise.
271 * elf/tst-tlsmod3.c: Likewise.
272 * elf/tst-tlsmod4.c: Likewise.
273 * elf/tst-tlsmod5.c: Likewise.
274 * elf/tst-tlsmod6.c: Likewise.
275
0bfcf2c7
OB
2762013-10-18 Ondřej Bílka <neleai@seznam.cz>
277
278 [BZ #12486]
279 * malloc/malloc.c: remove checks for statistics.
280
264aad1e
OB
2812013-10-17 Ondřej Bílka <neleai@seznam.cz>
282
283 [BZ #15277]
284 * inet/inet_net.c (inet_network): Detect additional invalid strings.
285 * inet/tst-network.c: Add testcase.
286
b957ced8
AS
2872013-10-17 Andreas Schwab <schwab@suse.de>
288
289 [BZ #15218]
290 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
291 to determine canonical name.
292
c5d5d574
OB
2932013-10-17 Ondřej Bílka <neleai@seznam.cz>
294
295 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
296 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
297 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
298 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
299 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
300 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
301 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
302 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
303 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
304 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
305 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
306 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
307 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
308 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
309 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
310 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
311 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
312 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
313 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
314 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
315 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
316 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
317 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
318 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
319 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
320 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
321 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
322 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
323 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
324 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
325 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
326 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
327 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
328 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
329 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
330 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
331 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
332 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
333 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
334 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
335 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
336 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
337 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
338 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
339 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
340 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
341 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
342 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
343 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
344 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
345 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
346 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
347 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
348 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
349 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
350 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
351 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
352 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
353
e5c2c2d0
JM
3542013-10-17 Joseph Myers <joseph@codesourcery.com>
355
356 [BZ #16041]
357 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
358 make result into a quiet NaN.
359
51ca9e29
JM
3602013-10-16 Joseph Myers <joseph@codesourcery.com>
361
362 * soft-fp/adddf3.c: Fix horizontal whitespace.
363 * soft-fp/addsf3.c: Likewise.
364 * soft-fp/addtf3.c: Likewise.
365 * soft-fp/divdf3.c: Likewise.
366 * soft-fp/divsf3.c: Likewise.
367 * soft-fp/divtf3.c: Likewise.
368 * soft-fp/double.h: Likewise.
369 * soft-fp/eqdf2.c: Likewise.
370 * soft-fp/eqsf2.c: Likewise.
371 * soft-fp/eqtf2.c: Likewise.
372 * soft-fp/extenddftf2.c: Likewise.
373 * soft-fp/extended.h: Likewise.
374 * soft-fp/extendsfdf2.c: Likewise.
375 * soft-fp/extendsftf2.c: Likewise.
376 * soft-fp/extendxftf2.c: Likewise.
377 * soft-fp/fixdfdi.c: Likewise.
378 * soft-fp/fixdfsi.c: Likewise.
379 * soft-fp/fixdfti.c: Likewise.
380 * soft-fp/fixsfdi.c: Likewise.
381 * soft-fp/fixsfsi.c: Likewise.
382 * soft-fp/fixsfti.c: Likewise.
383 * soft-fp/fixtfdi.c: Likewise.
384 * soft-fp/fixtfsi.c: Likewise.
385 * soft-fp/fixtfti.c: Likewise.
386 * soft-fp/fixunsdfdi.c: Likewise.
387 * soft-fp/fixunsdfsi.c: Likewise.
388 * soft-fp/fixunsdfti.c: Likewise.
389 * soft-fp/fixunssfdi.c: Likewise.
390 * soft-fp/fixunssfsi.c: Likewise.
391 * soft-fp/fixunssfti.c: Likewise.
392 * soft-fp/fixunstfdi.c: Likewise.
393 * soft-fp/fixunstfsi.c: Likewise.
394 * soft-fp/fixunstfti.c: Likewise.
395 * soft-fp/floatdidf.c: Likewise.
396 * soft-fp/floatdisf.c: Likewise.
397 * soft-fp/floatditf.c: Likewise.
398 * soft-fp/floatsidf.c: Likewise.
399 * soft-fp/floatsisf.c: Likewise.
400 * soft-fp/floatsitf.c: Likewise.
401 * soft-fp/floattidf.c: Likewise.
402 * soft-fp/floattisf.c: Likewise.
403 * soft-fp/floattitf.c: Likewise.
404 * soft-fp/floatundidf.c: Likewise.
405 * soft-fp/floatundisf.c: Likewise.
406 * soft-fp/floatunditf.c: Likewise.
407 * soft-fp/floatunsidf.c: Likewise.
408 * soft-fp/floatunsisf.c: Likewise.
409 * soft-fp/floatunsitf.c: Likewise.
410 * soft-fp/floatuntidf.c: Likewise.
411 * soft-fp/floatuntisf.c: Likewise.
412 * soft-fp/floatuntitf.c: Likewise.
413 * soft-fp/fmadf4.c: Likewise.
414 * soft-fp/fmasf4.c: Likewise.
415 * soft-fp/fmatf4.c: Likewise.
416 * soft-fp/gedf2.c: Likewise.
417 * soft-fp/gesf2.c: Likewise.
418 * soft-fp/getf2.c: Likewise.
419 * soft-fp/ledf2.c: Likewise.
420 * soft-fp/lesf2.c: Likewise.
421 * soft-fp/letf2.c: Likewise.
422 * soft-fp/muldf3.c: Likewise.
423 * soft-fp/mulsf3.c: Likewise.
424 * soft-fp/multf3.c: Likewise.
425 * soft-fp/negdf2.c: Likewise.
426 * soft-fp/negsf2.c: Likewise.
427 * soft-fp/negtf2.c: Likewise.
428 * soft-fp/op-1.h: Likewise.
429 * soft-fp/op-2.h: Likewise.
430 * soft-fp/op-4.h: Likewise.
431 * soft-fp/op-8.h: Likewise.
432 * soft-fp/op-common.h: Likewise.
433 * soft-fp/quad.h: Likewise.
434 * soft-fp/single.h: Likewise.
435 * soft-fp/soft-fp.h: Likewise.
436 * soft-fp/sqrtdf2.c: Likewise.
437 * soft-fp/sqrtsf2.c: Likewise.
438 * soft-fp/sqrttf2.c: Likewise.
439 * soft-fp/subdf3.c: Likewise.
440 * soft-fp/subsf3.c: Likewise.
441 * soft-fp/subtf3.c: Likewise.
442 * soft-fp/truncdfsf2.c: Likewise.
443 * soft-fp/trunctfdf2.c: Likewise.
444 * soft-fp/trunctfsf2.c: Likewise.
445 * soft-fp/trunctfxf2.c: Likewise.
446 * soft-fp/unorddf2.c: Likewise.
447 * soft-fp/unordsf2.c: Likewise.
448 * soft-fp/unordtf2.c: Likewise.
449
9ebb0332
JM
4502013-10-15 Joseph Myers <joseph@codesourcery.com>
451
452 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
453 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
454
4b1a6d8b
OB
4552013-10-15 Ondřej Bílka <neleai@seznam.cz>
456
457 * elf/dl-libc.c: Clear initfini list after freeing.
458
1e145589
JM
4592013-10-14 Joseph Myers <joseph@codesourcery.com>
460
461 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
462 * soft-fp/addsf3.c: Likewise.
463 * soft-fp/addtf3.c: Likewise.
464 * soft-fp/divdf3.c: Likewise.
465 * soft-fp/divsf3.c: Likewise.
466 * soft-fp/divtf3.c: Likewise.
467 * soft-fp/double.h: Likewise.
468 * soft-fp/eqdf2.c: Likewise.
469 * soft-fp/eqsf2.c: Likewise.
470 * soft-fp/eqtf2.c: Likewise.
471 * soft-fp/extenddftf2.c: Likewise.
472 * soft-fp/extended.h: Likewise.
473 * soft-fp/extendsfdf2.c: Likewise.
474 * soft-fp/extendsftf2.c: Likewise.
475 * soft-fp/extendxftf2.c: Likewise.
476 * soft-fp/fixdfdi.c: Likewise.
477 * soft-fp/fixdfsi.c: Likewise.
478 * soft-fp/fixdfti.c: Likewise.
479 * soft-fp/fixsfdi.c: Likewise.
480 * soft-fp/fixsfsi.c: Likewise.
481 * soft-fp/fixsfti.c: Likewise.
482 * soft-fp/fixtfdi.c: Likewise.
483 * soft-fp/fixtfsi.c: Likewise.
484 * soft-fp/fixtfti.c: Likewise.
485 * soft-fp/fixunsdfdi.c: Likewise.
486 * soft-fp/fixunsdfsi.c: Likewise.
487 * soft-fp/fixunsdfti.c: Likewise.
488 * soft-fp/fixunssfdi.c: Likewise.
489 * soft-fp/fixunssfsi.c: Likewise.
490 * soft-fp/fixunssfti.c: Likewise.
491 * soft-fp/fixunstfdi.c: Likewise.
492 * soft-fp/fixunstfsi.c: Likewise.
493 * soft-fp/fixunstfti.c: Likewise.
494 * soft-fp/floatdidf.c: Likewise.
495 * soft-fp/floatdisf.c: Likewise.
496 * soft-fp/floatditf.c: Likewise.
497 * soft-fp/floatsidf.c: Likewise.
498 * soft-fp/floatsisf.c: Likewise.
499 * soft-fp/floatsitf.c: Likewise.
500 * soft-fp/floattidf.c: Likewise.
501 * soft-fp/floattisf.c: Likewise.
502 * soft-fp/floattitf.c: Likewise.
503 * soft-fp/floatundidf.c: Likewise.
504 * soft-fp/floatundisf.c: Likewise.
505 * soft-fp/floatunsidf.c: Likewise.
506 * soft-fp/floatunsisf.c: Likewise.
507 * soft-fp/floatuntidf.c: Likewise.
508 * soft-fp/floatuntisf.c: Likewise.
509 * soft-fp/floatuntitf.c: Likewise.
510 * soft-fp/fmadf4.c: Likewise.
511 * soft-fp/fmasf4.c: Likewise.
512 * soft-fp/fmatf4.c: Likewise.
513 * soft-fp/gedf2.c: Likewise.
514 * soft-fp/gesf2.c: Likewise.
515 * soft-fp/getf2.c: Likewise.
516 * soft-fp/ledf2.c: Likewise.
517 * soft-fp/lesf2.c: Likewise.
518 * soft-fp/letf2.c: Likewise.
519 * soft-fp/muldf3.c: Likewise.
520 * soft-fp/mulsf3.c: Likewise.
521 * soft-fp/multf3.c: Likewise.
522 * soft-fp/negdf2.c: Likewise.
523 * soft-fp/negsf2.c: Likewise.
524 * soft-fp/negtf2.c: Likewise.
525 * soft-fp/op-1.h: Likewise.
526 * soft-fp/op-2.h: Likewise.
527 * soft-fp/op-4.h: Likewise.
528 * soft-fp/op-8.h: Likewise.
529 * soft-fp/op-common.h: Likewise.
530 * soft-fp/quad.h: Likewise.
531 * soft-fp/single.h: Likewise.
532 * soft-fp/soft-fp.h: Likewise.
533 * soft-fp/sqrtdf2.c: Likewise.
534 * soft-fp/sqrtsf2.c: Likewise.
535 * soft-fp/sqrttf2.c: Likewise.
536 * soft-fp/subdf3.c: Likewise.
537 * soft-fp/subsf3.c: Likewise.
538 * soft-fp/subtf3.c: Likewise.
539 * soft-fp/truncdfsf2.c: Likewise.
540 * soft-fp/trunctfdf2.c: Likewise.
541 * soft-fp/trunctfsf2.c: Likewise.
542 * soft-fp/trunctfxf2.c: Likewise.
543 * soft-fp/unorddf2.c: Likewise.
544 * soft-fp/unordsf2.c: Likewise.
545 * soft-fp/unordtf2.c: Likewise.
546
17c48a60
OB
5472013-10-14 Ondřej Bílka <neleai@seznam.cz>
548
549 [BZ #15672]
550 * misc/error.c (error_tail): Fix possible buffer overflow.
551
cabba934
OB
5522013-10-14 Aurelien Jarno <aurelien@aurel32.net>
553
554 [BZ #13028]
555 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
556 address.
557
94bf958a
PM
5582013-10-14 P. J. McDermott <pj@pehjota.net>
559
560 [BZ #832]
561 * elf/ldd.bash.in (try_trace): New function. Delete previous code
562 testing pipefail option.
563
71b4dea7
JM
5642013-10-12 Joseph Myers <joseph@codesourcery.com>
565
566 * soft-fp/double.h: Indent preprocessor directives inside #if.
567 * soft-fp/extended.h: Likewise.
568 * soft-fp/op-2.h: Likewise.
569 * soft-fp/op-4.h: Likewise.
570 * soft-fp/op-common.h: Likewise.
571 * soft-fp/quad.h: Likewise.
572 * soft-fp/single.h: Likewise.
573 * soft-fp/soft-fp.h: Likewise.
574
55602758
YC
5752013-10-12 Yuri Chornoivan <yurchor@ukr.net>
576
577 * iconv/iconv_prog.c: Fix typos.
578 * stdio-common/psiginfo-data.h: Likewise.
579
9cd83302
RT
5802013-10-12 Reuben Thomas <rrt@sc3d.org>
581
582 [BZ #15764]
583 * locale/setlocale.c: Fix typo.
584
99fd9f47
JM
5852013-10-12 Joseph Myers <joseph@codesourcery.com>
586
b7ea74f0
JM
587 [BZ #16036]
588 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
589 signaling NaN arguments.
590 * soft-fp/unordsf2.c (__unordsf2): Likewise.
591 * soft-fp/unordtf2.c (__unordtf2): Likewise.
592
8a509447
JM
593 [BZ #14910]
594 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
595 unordered operands.
596 * soft-fp/gesf2.c (__gesf2): Likewise.
597 * soft-fp/getf2.c (__getf2): Likewise.
598 * soft-fp/ledf2.c (__ledf2): Likewise.
599 * soft-fp/lesf2.c (__lesf2): Likewise.
600 * soft-fp/letf2.c (__letf2): Likewise.
601
98998e9f
JM
602 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
603 * soft-fp/eqsf2.c (__eqsf2): Likewise.
604 * soft-fp/eqtf2.c (__eqtf2): Likewise.
605 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
606 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
607 * soft-fp/fixdfti.c (__fixdfti): Likewise.
608 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
609 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
610 * soft-fp/fixsfti.c (__fixsfti): Likewise.
611 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
612 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
613 * soft-fp/fixtfti.c (__fixtfti): Likewise.
614 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
615 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
616 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
617 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
618 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
619 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
620 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
621 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
622 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
623 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
624 * soft-fp/floatdisf.c (__floatdisf): Likewise.
625 * soft-fp/floatsisf.c (__floatsisf): Likewise.
626 * soft-fp/floattidf.c (__floattidf): Likewise.
627 * soft-fp/floattisf.c (__floattisf): Likewise.
628 * soft-fp/floattitf.c (__floattitf): Likewise.
629 * soft-fp/floatundidf.c (__floatundidf): Likewise.
630 * soft-fp/floatundisf.c (__floatundisf): Likewise.
631 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
632 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
633 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
634 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
635 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
636 * soft-fp/gesf2.c (__gesf2): Likewise.
637 * soft-fp/getf2.c (__getf2): Likewise.
638 * soft-fp/ledf2.c (__ledf2): Likewise.
639 * soft-fp/lesf2.c (__lesf2): Likewise.
640 * soft-fp/letf2.c (__letf2): Likewise.
641
8edc4a11
JM
642 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
643 Undefine and redefine.
644 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
645 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
646 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
647 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
648 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
649 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
650 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
651 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
652 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
653 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
654 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
655 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
656 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
657 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
658 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
659
8399acaf
JM
660 [BZ #16032]
661 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
662 without decrementing exponent if mantissa >= that for the
663 denominator, not >.
664 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
665 denominator, not >. Decrement exponent in < case instead of
666 incrementing in >= case.
667 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
668 without decrementing exponent if mantissa >= that for the
669 denominator, not >.
670
99fd9f47
JM
671 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
672 computing saturated result for unsigned overflow.
673
10e1cf6b
SP
6742013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
675 Jeff Law <law@redhat.com>
676
677 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
678 (atan2Mp): Add systemtap probe marker.
679 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
680 (__ieee754_log): Add systemtap probe marker.
681 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
682 (atanMp): Add systemtap probe marker.
683 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
684 (tanMp): Add systemtap probe marker.
685 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
686 (__slowexp): Add systemtap probe marker.
687 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
688 (__slowpow): Add systemtap probe marker.
689 * manual/probes.texi: Document probes.
690
3d110c7c
EB
6912013-10-11 Eric Biggers <ebiggers3@gmail.com>
692
693 [BZ #15362]
694 * libio/fileops.c (_IO_new_file_write): Return count of bytes
695 written.
696 (_IO_new_file_xsputn): Don't return EOF if nothing has been
697 written.
698 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
699 written to buffer but not flushed.
700 * libio/iofwrite_u.c: Likewise.
701 * libio/iopadn.c: Return bytes returned even if EOF was
702 encountered.
703 * libio/iowpadn.c: Likewise.
704 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
705 if _IO_padn does not write the whole buffer.
706 [!COMPILE_WPRINTF] (PAD): Likewise.
707
75b4202a
DM
7082013-10-10 David S. Miller <davem@davemloft.net>
709
710 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
711 directory block.
712
6c6352e6
JM
7132013-10-10 Joseph Myers <joseph@codesourcery.com>
714
33b853c3
JM
715 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
716 instead of FSF address.
717 * soft-fp/fixdfti.c: Likewise.
718 * soft-fp/fixsfti.c: Likewise.
719 * soft-fp/fixtfti.c: Likewise.
720 * soft-fp/fixunsdfti.c: Likewise.
721 * soft-fp/fixunssfti.c: Likewise.
722 * soft-fp/fixunstfti.c: Likewise.
723 * soft-fp/floattidf.c: Likewise.
724 * soft-fp/floattisf.c: Likewise.
725 * soft-fp/floattitf.c: Likewise.
726 * soft-fp/floatuntidf.c: Likewise.
727 * soft-fp/floatuntisf.c: Likewise.
728 * soft-fp/floatuntitf.c: Likewise.
729 * soft-fp/trunctfxf2.c: Likewise.
730
6c6352e6
JM
731 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
732 * soft-fp/fixdfti.c: Likewise.
733 * soft-fp/fixsfti.c: Likewise.
734 * soft-fp/fixtfti.c: Likewise.
735 * soft-fp/fixunsdfti.c: Likewise.
736 * soft-fp/fixunssfti.c: Likewise.
737 * soft-fp/fixunstfti.c: Likewise.
738 * soft-fp/floattidf.c: Likewise.
739 * soft-fp/floattisf.c: Likewise.
740 * soft-fp/floattitf.c: Likewise.
741 * soft-fp/floatuntidf.c: Likewise.
742 * soft-fp/floatuntisf.c: Likewise.
743 * soft-fp/floatuntitf.c: Likewise.
744 * soft-fp/trunctfxf2.c: Likewise.
745
3bf78b71
DM
7462013-10-10 David S. Miller <davem@davemloft.net>
747
748 * sysdeps/sparc/fpu/libm-test-ulps: Update.
749
6f10289e
JM
7502013-10-10 Joseph Myers <joseph@codsourcery.com>
751
bd878fc0
JM
752 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
753 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
754 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
755 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
756 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
757 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
758 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
759
6f10289e
JM
760 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
761 for NaNs before doing comparisons on argument.
762 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
763 Likewise.
764
321e2684
WN
7652013-10-10 Will Newton <will.newton@linaro.org>
766
767 * malloc/hooks.c (memalign_check): Ensure the value of bytes
768 passed to _int_memalign does not overflow.
769
40fefba1
TR
7702013-10-10 Torvald Riegel <triegel@redhat.com>
771
772 * scripts/bench.pl: Add include-sources directive.
773 * benchtests/README: Update documentation.
774
2ae21ed2
JM
7752013-10-10 Joseph Myers <joseph@codesourcery.com>
776
dcc2dd3f
JM
777 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
778 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
779 instead of FP_INIT_ROUNDMODE.
780 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
781 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
782
2ae21ed2
JM
783 [BZ #16034]
784 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
785 copy class of input value.
786 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
787 not handle exceptions.
788 * soft-fp/negsf2.c (__negsf2): Likewise.
789 * soft-fp/negtf2.c (__negtf2): Likewise.
790 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
791
cb8f9562
JM
7922013-10-09 Joseph Myers <joseph@codesourcery.com>
793
794 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
795 semicolon. From Linux kernel.
796
5b60c59d
AB
7972013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
798
799 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
800
b86835ca
YC
8012013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
802
803 [BZ #156]
804 * manual/socket.texi: Added statement about buffer
805 for gethostbyname2_r.
806
e7044ea7
OB
8072013-10-08 Ondřej Bílka <neleai@seznam.cz>
808
809 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
810 Use .p2align directive instead, throughout.
811 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
812 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
813 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
814 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
815 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
816 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
817 * sysdeps/x86_64/strchr.S: Likewise.
818 * sysdeps/x86_64/strrchr.S: Likewise.
819
09544cbc
SP
8202013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
821
88576635
SP
822 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
823
e7b2d1dd
SP
824 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
825
09544cbc
SP
826 * sysdeps/generic/math_private.h (__mpsin1): Remove
827 declaration.
828 (__mpcos1): Likewise.
829 (__mpsin): New argument __range_reduce.
830 (__mpcos): Likewise.
831 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
832 (slow): Use __mpsin and __mpcos.
833 (slow1): Likewise.
834 (slow2): Likewise.
835 (sloww): Likewise.
836 (sloww1): Likewise.
837 (sloww2): Likewise.
838 (bsloww): Likewise.
839 (bsloww1): Likewise.
840 (bsloww2): Likewise.
841 (cslow2): Likewise.
842 (csloww): Likewise.
843 (csloww1): Likewise.
844 (csloww2): Likewise.
845 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
846 range_reduce. Merge in __mpsin1.
847 (__mpcos): Likewise.
848 (__mpsin1): Remove.
849 (__mpcos1): Likewise.
850
7602d070
JM
8512013-10-07 Joseph Myers <joseph@codesourcery.com>
852
853 * locale/loadlocale.c (_nl_intern_locale_data): Use
854 LOCFILE_ALIGNED_P.
855 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
856 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
857 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
858 obstack data is appropriately aligned.
859 (obstack_int32_grow_fast): Likewise.
860 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
861 * locale/programs/locfile.c (add_locale_uint32): Likewise.
862 (add_locale_uint32_array): Likewise.
863
a357259b
SP
8642013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
865
866 * benchtests/Makefile: Remove ARGLIST and RET variables.
867 ($(objpfx)bench-%.c): Pass only function name to the script.
868 * benchtests/README: Update documentation.
869 * benchtests/acos-inputs: Add new directives.
870 * benchtests/acosh-inputs: Likewise.
871 * benchtests/asin-inputs: Likewise.
872 * benchtests/asinh-inputs: Likewise.
873 * benchtests/atan-inputs: Likewise.
874 * benchtests/atanh-inputs: Likewise.
875 * benchtests/cos-inputs: Likewise.
876 * benchtests/cosh-inputs: Likewise.
877 * benchtests/exp-inputs: Likewise.
878 * benchtests/log-inputs: Likewise.
879 * benchtests/pow-inputs: Likewise.
880 * benchtests/rint-inputs: Likewise.
881 * benchtests/sin-inputs: Likewise.
882 * benchtests/sinh-inputs: Likewise.
883 * benchtests/tan-inputs: Likewise.
884 * benchtests/tanh-inputs: Likewise.
885 * scripts/bench.pl: Add support for new directives.
886
9ec1b13d
AM
8872013-10-07 Alan Modra <amodra@gmail.com>
888
889 * README: Fix careless merge.
890
8b7d57cd
AM
8912013-10-05 Alan Modra <amodra@gmail.com>
892
893 * NEWS: Mention powerpc64le support and bugs fixed.
894 * README: Both big-endian and little-endian powerpc64 supported.
895
7b7bab13
ST
8962013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
897
898 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
899 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
900 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
901 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
902
d39baad1
RA
9032013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
904
905 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
906 match prototype.
907
cd78f7e7
JM
9082013-10-04 Joseph Myers <joseph@codesourcery.com>
909
29d73d86
JM
910 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
911 Move -mhard-float appending from
912 ports/sysdeps/powerpc/powerpc32/Makefile.
913 [$(with-fp) = yes] (ASFLAGS): Likewise.
914 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
915 * sysdeps/powerpc/nofpu: Move directory from
916 ports/sysdeps/powerpc/nofpu.
917 * sysdeps/powerpc/soft-fp: Move directory from
918 ports/sysdeps/powerpc/soft-fp.
919 * sysdeps/powerpc/powerpc32/405: Move directory from
920 ports/sysdeps/powerpc/powerpc32/405.
921 * sysdeps/powerpc/powerpc32/440: Move directory from
922 ports/sysdeps/powerpc/powerpc32/440.
923 * sysdeps/powerpc/powerpc32/464: Move directory from
924 ports/sysdeps/powerpc/powerpc32/464.
925 * sysdeps/powerpc/powerpc32/476: Move directory from
926 ports/sysdeps/powerpc/powerpc32/476.
927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
928 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
930 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
932 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
934 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
936 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
937 * README: Update for powerpc-*-linux-gnu software floating point
938 support in libc.
939
e246b347
JM
940 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
941 case to powerpc/powerpc32*.
942 * sysdeps/unix/sysv/linux/configure: Regenerated.
943
89c2003e
JM
944 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
945 (_FPU_MASK_OM): Define as 0x04.
946 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
947 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
948 0x00c10080.
949 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
950 0x0000003c.
951 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
952
cd78f7e7
JM
953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
954 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
955 getcontext_e500.
956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
957 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
958 setcontext_e500.
959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
960 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
961 and setcontext_e500.
962
c755294d
CL
9632013-10-04 Chris Leonard <cjl@sugarlabs,.org>
964
965 * locale/iso-3166.def: Update iso-1366.def and related occurrences
966
e16d221c
SP
9672013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
968
969 * manual/threads.texi (Default Thread Attributes): Fix typo.
970
215c7d43
WN
9712013-10-04 Will Newton <will.newton@linaro.org>
972
973 * malloc/Makefile: Add tst-memalign.
974 * malloc/tst-memalign.c: New file.
975
27d0461b
WN
976 * malloc/tst-posix_memalign.c: Add comments.
977 (do_test): Add comments and call free on all potentially
978 allocated pointers. Add space after cast.
979
1bc92709
WN
980 * malloc/tst-pvalloc.c: Add comments.
981 (do_test): Add comments and call free on all potentially
982 allocated pointers. Remove duplicate check for NULL pointer.
983 Add space after cast.
984
66a9be9d
WN
985 * malloc/tst-valloc.c: Add comments.
986 (do_test): Add comments and call free on all potentially
987 allocated pointers. Remove duplicate check for NULL pointer.
988 Add space after cast.
989
4cb81307
AM
9902013-10-04 Alan Modra <amodra@gmail.com>
991
992 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
993 Use stdint types in rather than __attribute__((mode())).
994 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
995
f8e3e9f3
AM
9962013-10-04 Alan Modra <amodra@gmail.com>
997
998 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
999 Correct handling of unaligned relocs for little-endian.
1000 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1001
8f9ebb08
AM
10022013-10-04 Alan Modra <amodra@gmail.com>
1003
1004 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
1005 * configure: Regenerate.
1006 * nptl/shlib-versions: Powerpc*le starts at 2.18.
1007 * shlib-versions: Likewise.
1008
0edf96c2
AM
10092013-10-04 Alan Modra <amodra@gmail.com>
1010
1011 * string/tester.c (test_memrchr): Increment reported test cycle.
1012
e0f7a380
AM
10132013-10-04 Alan Modra <amodra@gmail.com>
1014
1015 * string/test-memcpy.c (do_one_test): When reporting errors, print
1016 string address and don't overrun end of string.
1017
466b0393
AM
10182013-10-04 Alan Modra <amodra@gmail.com>
1019
1020 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
1021 insrdi. Make better use of reg selection to speed exit slightly.
1022 Schedule entry path a little better. Remove useless "are we done"
1023 checks on entry to main loop. Handle wrapping around zero address.
1024 Correct main loop count. Handle single left-over word from main
1025 loop inline rather than by using loop_small. Remove extra word
1026 case in loop_small caused by wrong loop count. Add little-endian
1027 support.
1028 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
1029 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
1030 cache hint.
1031 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
1032 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
1033 support. Avoid rlwimi.
1034 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
1035
3be87c77
AM
10362013-10-04 Alan Modra <amodra@gmail.com>
1037
1038 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 1039 insrdi. Formatting.
3be87c77
AM
1040 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
1041 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1042 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
1043 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
1044 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
1045 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
1046
759cfef3
AM
10472013-10-04 Alan Modra <amodra@gmail.com>
1048
1049 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
1050 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1051 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
1052 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
1053 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
1054 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1055 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1056 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
1057 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
1058 use of regs. Use power7 mtocrf. Tidy function tails.
1059
fe6e95d7
AM
10602013-10-04 Alan Modra <amodra@gmail.com>
1061
1062 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
1063 Formatting. Consistently use rXXX register defines or rN defines.
1064 Use early exit labels that avoid restoring unused non-volatile regs.
1065 Make cr field use more consistent with rWORDn compares. Rename
1066 regs used as shift registers for unaligned loop, using rN defines
1067 for short lifetime/multiple use regs.
1068 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1069 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
1070 addi 1,1,64 to pop stack frame. Simplify return value code.
1071 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1072
664318c3
AM
10732013-10-04 Alan Modra <amodra@gmail.com>
1074
1075 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
1076 support. Correct typos, formatting. Optimize tail. Use insrdi
1077 rather than rlwimi.
1078 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
1079 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
1080 little-endian support. Correct typos.
1081 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
1082 rather than rlwimi.
1083 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
1084 in loop and entry code to keep "and." results.
1085 (strchr): Add little-endian support. Comment. Move cntlzd
1086 earlier in tail.
1087 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
1088
43b84013
AM
10892013-10-04 Alan Modra <amodra@gmail.com>
1090
1091 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
1092 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
1093 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
1094 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
1095
8a7413f9
AM
10962013-10-04 Alan Modra <amodra@gmail.com>
1097
1098 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
1099 (rTMP): Define as r11.
1100 (strcmp): Add little-endian support. Optimise tail.
1101 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
1102 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1103 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
1104 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
1105 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
1106 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
1107 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
1108
33ee81de
AM
11092013-10-04 Alan Modra <amodra@gmail.com>
1110
1111 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
1112 little-endian support. Remove unnecessary "are we done" tests.
1113 Handle "s" wrapping around zero and extremely large "size".
1114 Correct main loop count. Handle single left-over word from main
1115 loop inline rather than by using small_loop. Correct comments.
1116 Delete "zero" tail, use "end_max" instead.
1117 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
1118
db9b4570
AM
11192013-10-04 Alan Modra <amodra@gmail.com>
1120
1121 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
1122 support. Don't branch over align.
1123 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
1124 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
1125 support. Rearrange tmp reg use to suit. Comment.
1126 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
1127
f7c399cf
AM
11282013-10-04 Alan Modra <amodra@gmail.com>
1129
1130 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
1131
0b2c2ace
AM
11322013-10-04 Alan Modra <amodra@gmail.com>
1133
1134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
1135 conditional form of branch and link when obtaining pc.
1136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
1137
02f04a6c
AM
11382013-10-04 Alan Modra <amodra@gmail.com>
1139
1140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
1141 HIWORD/LOWORD.
1142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
1143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
1144
9b874b2f
AM
11452013-10-04 Alan Modra <amodra@gmail.com>
1146
1147 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
1148 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
1149 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
1150 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
1151 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
1152 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
1153 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
1154 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
1155 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
1156 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
1157
be1e5d31
AB
11582013-10-04 Anton Blanchard <anton@au1.ibm.com>
1159 Alistair Popple <alistair@ozlabs.au.ibm.com>
1160 Alan Modra <amodra@gmail.com>
1161
1162 [BZ #15723]
1163 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
1164 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
1165 _dl_hwcap access for little-endian.
1166 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
1167 destroy vmx regs when saving unaligned.
1168 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
1169 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
1170 destroy vmx regs when saving unaligned.
1171
fef13a78
AM
11722013-10-04 Alan Modra <amodra@gmail.com>
1173
1174 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
1175 Don't use a union to pack hi/low value.
1176
76a66d51
AB
11772013-10-04 Anton Blanchard <anton@au1.ibm.com>
1178
1179 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
1180 for little-endian.
1181 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1182 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
1183 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
1184 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
1185 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
1186
6a31fe7f
AM
11872013-10-04 Alan Modra <amodra@gmail.com>
1188
1189 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
1190 constants to usual value for .cst8 section, and remove redundant
1191 high address load.
1192 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
1193 constant for 0x1p52. Load little-endian words of double from
1194 correct stack offsets.
1195
7b88401f
AM
11962013-10-04 Alan Modra <amodra@gmail.com>
1197
1198 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
1199 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
1200 words of double from correct stack offsets.
1201 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
1202 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
1203 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
1204 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
1205 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
1206 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
1207 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
1208 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
1209 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
1210 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
1211 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
1212 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
1213 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
1214 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
1215 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
1216 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
1217 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
1218
9c008155
AM
12192013-10-04 Alan Modra <amodra@gmail.com>
1220
1221 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
1222 64-bit int/double union.
1223 (_FPU_SETCW): Likewise.
1224 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
1225 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
1226
da13146d
AM
12272013-10-04 Alan Modra <amodra@gmail.com>
1228
1229 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
1230 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
1231
603e8410
AM
12322013-10-04 Alan Modra <amodra@gmail.com>
1233
1234 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
1235 use vector int constants.
1236 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
1237
4a28b3ca
AB
12382013-10-04 Anton Blanchard <anton@au1.ibm.com>
1239
1240 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
1241 array with long long.
1242 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
1243 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
1244 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
1245 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
1246 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
1247 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
1248 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
1249 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
1250 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
1251 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
1252 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
1253 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
1254 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
1255
2ca85d2b
AB
12562013-10-04 Anton Blanchard <anton@au1.ibm.com>
1257
1258 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
1259 (__signbit): Likewise. Correct for little-endian.
1260 (__signbitl): Call __signbit.
1261 (lrint): Correct for little-endian.
1262 (lrintf): Call lrint.
1263
62a728ae
AM
12642013-10-04 Alan Modra <amodra@gmail.com>
1265
1266 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
1267 union 32-bit int array member with 64-bit int array.
1268 (t515, tm256): Double rather than long double.
1269 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
1270
32c301df
AM
12712013-10-04 Alan Modra <amodra@gmail.com>
1272
1273 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
1274 Delete.
1275 (IEEE854_LONG_DOUBLE_BIAS): Delete.
1276 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
1277 version of math_ldbl.h.
1278
650ef4bd
AM
12792013-10-04 Alan Modra <amodra@gmail.com>
1280
1281 [BZ #15734], [BZ #15735]
1282 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
1283 all uses of ieee875 long double macros and unions. Simplify test
1284 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
1285 ldbl_extract_mantissa value for ix,iy exponents. Properly
1286 normalize after ldbl_extract_mantissa, and don't add hidden bit
1287 already handled. Don't treat low word of ieee854 mantissa like
1288 low word of IBM long double and mask off bit when testing for
1289 zero.
1290 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
1291 all uses of ieee875 long double macros and unions. Simplify tests
1292 for 0.0L and inf. Correct double adjustment of k. Delete dead code
1293 adjusting ha,hb. Simplify code setting kld. Delete two600 and
1294 two1022, instead use their values. Recognise that tests for large
1295 "a" and small "b" are mutually exclusive. Rename vars. Comment.
1296 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
1297 Rewrite all uses of ieee875 long double macros and unions. Simplify
1298 test for 0.0L and nan. Correct negation.
1299 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
1300 ieee875 long double macros and unions. Correct output for large
1301 magnitude x. Correct absolute value calculation.
1302 (__erfcl): Likewise.
1303 * math/libm-test.inc: Add tests for errors discovered in IBM long
1304 double versions of fmodl, remainderl, erfl and erfcl.
1305
765714ca
AM
13062013-10-04 Alan Modra <amodra@gmail.com>
1307
1308 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
1309 all uses of ieee854 long double macros and unions. Simplify tests
1310 for long doubles that are fully specified by the high double.
1311 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
1312 Likewise.
1313 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
1314 Remove dead code too.
1315 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
1316 (__ieee754_ynl): Likewise.
1317 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
1318 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
1319 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
1320 Remove dead code too.
1321 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
1322 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
1323 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
1324 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
1325 Simplify.
1326 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
1327 Simplify.
1328 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
1329 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
1330 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
1331 Comment on variable precision.
1332 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
1333 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
1334 Likewise.
1335 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1336 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
1337 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
1338 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
1339 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
1340
4ebd120c
AM
13412013-10-04 Alan Modra <amodra@gmail.com>
1342
1343 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
1344 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
1345 all uses of ieee854 long double macros and unions.
1346 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
1347 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
1348 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
1349 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
1350 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
1351 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
1352 Likewise.
1353 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
1354 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
1355 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
1356 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
1357 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
1358 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
1359 Simplify sign and nan test too.
1360 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
1361 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
1362 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
1363 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
1364 Likewise.
1365 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
1366 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
1367 Likewise.
1368 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1369 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
1370 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
1371 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
1372 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
1373 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
1374
1b6adf88
AM
13752013-10-04 Alan Modra <amodra@gmail.com>
1376
1377 * stdio-common/printf_size.c (__printf_size): Don't use
1378 union ieee854_long_double in fpnum union.
1379 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
1380 signbit macro to retrieve sign from long double.
1381 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
1382 retrieve sign from long double.
1383 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
1384 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
1385 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
1386 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
1387 * math/test-misc.c (main): Don't use union ieee854_long_double.
1388
4cf69995
AM
13892013-10-04 Alan Modra <amodra@gmail.com>
1390
1391 [BZ #15680]
1392 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
1393 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
1394 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
1395 calculation. Remove unnecessary test for denormal exponent.
1396 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
1397 Correct handling of denormals. Avoid undefined shift behaviour.
1398 Correct normalisation of low mantissa when low double is denormal.
1399 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
1400 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
1401 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
1402 Correct normalisation of low mantissa. Test for overflow of high
1403 mantissa and normalise.
1404 (ldbl_nearbyint): Use more readable constant for two52.
1405 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
1406 (__mpn_construct_long_double): Fix test for overflow of high
1407 mantissa and correct normalisation. Avoid undefined shift.
1408
9605ca6c
AM
14092013-10-04 Alan Modra <amodra@gmail.com>
1410
1411 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
1412 (union ibm_extended_long_double): Define as an array of ieee754_double.
1413 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
1414 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
1415 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
1416 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
1417 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1418 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
1419 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
1420 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
1421 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
1422 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
1423 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
1424
975569d0
JM
14252013-10-03 Joseph Myers <joseph@codesourcery.com>
1426
d3d23756
JM
1427 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
1428 page size instead of calling getpagesize.
1429
975569d0
JM
1430 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
1431 (LOCFILE_ALIGN_MASK): Likewise.
1432 (LOCFILE_ALIGN_UP): Likewise.
1433 (LOCFILE_ALIGNED_P): Likewise.
1434 * locale/programs/ld-collate.c (collate_output): Use the new
1435 macros instead of __alignof__ (int32_t).
1436 * locale/weight.h (findidx): Likewise.
1437
b1fe1f2b
OB
14382013-10-03 Ondřej Bílka <neleai@seznam.cz>
1439
1440 [BZ #431]
1441 * manual/string.texi: Fix strncat and wcsncat.
1442
5f855e35
BM
14432013-10-03 Brooks Moses <bmoses@google.com>
1444
1445 [BZ #15915]
1446 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
1447 * Makerules: ...here, and adjust associated comments.
1448
3cef6009
WN
14492013-10-02 Will Newton <will.newton@linaro.org>
1450
1451 * malloc/Makefile: Add tst-pvalloc.
1452 * malloc/tst-pvalloc.c: New file.
1453
7815420b
WN
14542013-10-02 Will Newton <will.newton@linaro.org>
1455
1456 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
1457 improve test coverage.
1458
4868b204
WN
14592013-10-02 Will Newton <will.newton@linaro.org>
1460
1461 * malloc/Makefile: Add tst-posix_memalign.
1462 * malloc/tst-posix_memalign.c: New file.
1463
29c793b3
EB
14642013-10-01 Eric Blake <eblake@redhat.com>
1465
1466 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
1467 Use __THROWNL rather than __THROW on static functions.
1468
fd967522
PM
14692013-09-30 Petr Machata <pmachata@redhat.com>
1470
1471 * elf/elf.h (R_AARCH64_ABS16): New macro.
1472 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
1473 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
1474 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
1475 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
1476 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
1477 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
1478 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
1479 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
1480 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
1481 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
1482 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
1483 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
1484 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
1485 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
1486 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
1487 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
1488 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
1489 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
1490 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
1491 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
1492 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
1493 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
1494 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
1495 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
1496 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
1497 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
1498 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
1499 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
1500 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
1501 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
1502 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
1503 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
1504 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
1505 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
1506 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
1507 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
1508 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
1509 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
1510 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
1511 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
1512 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
1513 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
1514 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
1515 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
1516 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
1517 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
1518 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
1519 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
1520 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
1521 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
1522 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
1523 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
1524 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
1525 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
1526 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
1527 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
1528 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
1529 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
1530 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
1531 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
1532 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
1533 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
1534 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
1535 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
1536 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
1537 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
1538 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
1539 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
1540 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
1541 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
1542 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
1543 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
1544 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
1545 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
1546 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
1547 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
1548 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
1549 (R_AARCH64_TLSDESC_LDR): Likewise.
1550 (R_AARCH64_TLSDESC_ADD): Likewise.
1551 (R_AARCH64_TLSDESC_CALL): Likewise.
1552
b2179107
AS
15532013-09-30 Andreas Schwab <schwab@suse.de>
1554
1555 [BZ #15048]
1556 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
1557 the nss database lookup.
1558 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1559 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1560
47f28d0a
MF
15612013-09-28 Mike Frysinger <vapier@gentoo.org>
1562
1563 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
1564
15652013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
1566
1567 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
1568 ${Bash-specific parameter/pattern/string} parameter expansion.
1569 * sysdeps/unix/make-syscalls.sh: Likewise.
1570
f4518a17
KK
15712013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1572
1573 * sysdeps/sh/stackguard-macros.h: New file.
1574
dc1a95c7
OB
15752013-09-26 Ondřej Bílka <neleai@seznam.cz>
1576
1577 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
1578 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
1579 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
1580 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
1581 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
1582 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
1583
5ebbff8f
AZ
15842013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1585
1586 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
1587 Fix thread ID register.
1588
4fd2cf9f
JM
15892013-09-25 Joseph Myers <joseph@codesourcery.com>
1590
1591 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
1592 [POSIX || UNIX98]: Require rather than permitting all symbols from
1593 <time.h>.
1594 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
1595 element of struct sched_param.
1596 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
1597 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
1598 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
1599 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
1600 constant.
1601
12c22bc4
OL
16022013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
1603
1604 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
1605 argument calculation.
1606
a03d8ea7
JM
16072013-09-24 Joseph Myers <joseph@codesourcery.com>
1608
1609 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
1610 Expect macro.
1611 [POSIX] (pthread_attr_t): Do not require type.
1612 [POSIX] (pthread_cond_t): Likewise.
1613 [POSIX] (pthread_condattr_t): Likewise.
1614 [POSIX] (pthread_key_t): Likewise.
1615 [POSIX] (pthread_mutex_t): Likewise.
1616 [POSIX] (pthread_mutexattr_t): Likewise.
1617 [POSIX] (pthread_once_t): Likewise.
1618 [POSIX] (pthread_t): Likewise.
1619 [POSIX-based standards] (pthread_atfork): Expect function.
1620
6055173a
JM
16212013-09-24 Joseph Myers <joseph@codesourcery.com>
1622 Richard Sandiford <richard@codesourcery.com>
1623
1624 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
1625 (swap_endianness_p): New extern variable.
1626 (set_big_endian): New inline function.
1627 (maybe_swap_uint32): Likewise.
1628 (maybe_swap_uint32_array): Likewise.
1629 (maybe_swap_uint32_obstack): Likewise.
1630 * locale/programs/locfile.c: Include <stdbool.h>.
1631 (swap_endianness_p): New variable.
1632 (add_locale_uint32): Call maybe_swap_uint32.
1633 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
1634 (write_locale_data): Call maybe_swap_uint32_array.
1635 * locale/programs/ld-collate.c (obstack_int32_grow): Call
1636 maybe_swap_uint32.
1637 (obstack_int32_grow_fast): Likewise.
1638 (output_weightwc): Call maybe_swap_uint32_obstack.
1639 (collate_output): Likewise.
1640 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
1641 (OPT_LITTLE_ENDIAN): Likewise.
1642 (options): Add --little-endian and --big-endian options.
1643 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
1644 * locale/programs/locarchive.c: Include "locfile.h".
1645 (GET): New macro.
1646 (SET): Likewise.
1647 (INC): Likewise.
1648 (create_archive): Use the new macros to access fields of
1649 structures directly mapped from or written to locale archives.
1650 (oldlocrecentcmp): Likewise.
1651 (enlarge_archive): Likewise.
1652 (insert_name): Likewise.
1653 (add_alias): Likewise.
1654 (add_locale): Likewise.
1655 (delete_locales_from_archive): Likewise.
1656 (show_archive_content): Likewise.
1657 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
1658 locale data.
1659
39bf0bb4
RM
16602013-09-24 Roland McGrath <roland@hack.frob.com>
1661
1662 * manual/freemanuals.texi: Updated from (newly) canonical copy at
1663 http://www.gnu.org/doc/freemanuals.texi.
1664 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
1665
f02eed10
WN
16662013-09-24 Will Newton <will.newton@linaro.org>
1667
1668 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
1669 macro.
1670
a3a6c312
JM
16712013-09-23 Joseph Myers <joseph@codesourcery.com>
1672
1673 * locale/hashval.h (compute_hashval): Interpret bytes of key as
1674 unsigned char.
1675
107375ac
MR
16762013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
1677
1678 * manual/threads.texi (POSIX Threads): Fix a typo.
1679
141f3a77
SP
16802013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
1681
303e567a
SP
1682 [BZ #14547]
1683 * string/tst-strcoll-overflow.c: New test case.
1684 * string/Makefile (xtests): Add tst-strcoll-overflow.
1685 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
1686 cache if string sizes may cause integer overflow.
1687
141f3a77
SP
1688 [BZ #14547]
1689 * string/strcoll_l.c (coll_seq): New members rule, idx,
1690 save_idx and back_us.
1691 (get_next_seq_nocache): New function.
1692 (do_compare_nocache): New function.
1693 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
1694 when malloc fails.
1695
c61b4d41
CD
16962013-09-23 Carlos O'Donell <carlos@redhat.com>
1697
0b1f8e35
CD
1698 [BZ #15754]
1699 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
1700 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
1701 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
1702
c61b4d41
CD
1703 [BZ #15754]
1704 * elf/Makefile (tests): Add tst-ptrguard1.
1705 (tests-static): Add tst-ptrguard1-static.
1706 (tst-ptrguard1-ARGS): Define.
1707 (tst-ptrguard1-static-ARGS): Define.
1708 * elf/tst-ptrguard1.c: New file.
1709 * elf/tst-ptrguard1-static.c: New file.
1710 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
1711 * sysdeps/i386/stackguard-macros.h: Likewise.
1712 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
1713 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
1714 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
1715 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
1716 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
1717 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
1718
17192013-09-23 Hector Marco <hecmargi@upv.es>
1720 Ismael Ripoll <iripoll@disca.upv.es>
1721 Carlos O'Donell <carlos@redhat.com>
1722
1723 [BZ #15754]
1724 * sysdeps/generic/stackguard-macros.h: Define
1725 __pointer_chk_guard_local and POINTER_CHK_GUARD.
1726 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
1727 Define __pointer_chk_guard_local.
1728 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
1729 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
1730
f5f4e7b4
VV
17312013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
1732
1733 [BZ #15859]
1734 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
1735
5bb43a43
AS
17362013-09-20 Andreas Schwab <schwab@linux-m68k.org>
1737
1738 * include/string.h (__ffs): Declare as hidden.
1739 * string/ffs.c (__ffs): Define as hidden.
1740 * sysdeps/i386/ffs.c (__ffs): Likewise.
1741 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
1742 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
1743 * sysdeps/s390/ffs.c (__ffs): Likewise.
1744 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
1745
3ea5be54
AO
17462013-09-20 Alexandre Oliva <aoliva@redhat.com>
1747
ffb89e53
AO
1748 * NEWS: Mention malloc probes.
1749
322dea08
AO
1750 * malloc/arena.c (new_heap): New memory_heap_new probe.
1751 (grow_heap): New memory_heap_more probe.
1752 (shrink_heap): New memory_heap_less probe.
1753 (heap_trim): New memory_heap_free probe.
1754 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
1755 (systrim): New memory_sbrk_less probe.
1756 * manual/probes.texi: Document them.
1757
655673f3
AO
1758 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
1759 * manual/probes.texi: Document it.
1760
35fed6f1
AO
1761 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
1762 (__libc_realloc): Add memory_realloc_retry probe.
1763 (__libc_memalign): Add memory_memalign_retry probe.
1764 (__libc_valloc): Add memory_valloc_retry probe.
1765 (__libc_pvalloc): Add memory_pvalloc_retry probe.
1766 (__libc_calloc): Add memory_calloc_retry probe.
1767 * manual/probes.texi: Document them.
1768
6999d38c
AO
1769 * malloc/arena.c (get_free_list): Add probe
1770 memory_arena_reuse_free_list.
1771 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
1772 and memory_arena_reuse.
1773 (arena_get2) [!PER_THREAD]: Likewise.
1774 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
1775 memory_arena_reuse_realloc.
1776 * manual/probes.texi: Document them.
1777
0653427f
AO
1778 * malloc/malloc.c (__libc_free): Add
1779 memory_mallopt_free_dyn_thresholds probe.
1780 (__libc_mallopt): Add multiple memory_mallopt probes.
1781 * manual/probes.texi: Document them.
1782
3ea5be54
AO
1783 * malloc/malloc.c: Include stap-probe.h.
1784 (__libc_mallopt): Add memory_mallopt probe.
1785 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
1786 * manual/probes.texi: New.
1787 * manual/Makefile (chapters): Add probes.
1788 * manual/threads.texi: Set next node.
1789
e35696c3 17902013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 1791
e35696c3
CL
1792 [BZ #15963, #13985]
1793 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
1794 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
1795 Add `Chinese' to `nan' entry name.
1796
4aafb73c
SP
17972013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1798
1799 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
1800 (POLYNOMIAL): Likewise.
1801 (TAYLOR_SINCOS): Likewise.
1802 (TAYLOR_SLOW): Likewise.
1803 (__sin): Use TAYLOR_SINCOS.
1804 (__cos): Likewise.
1805 (slow): Use TAYLOR_SLOW.
1806 (sloww): Likewise.
1807 (bsloww): Likewise.
1808 (csloww): Likewise.
1809
d84f25c7
LD
18102013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1811
1812 * stdlib/strtod_l.c: Fix buffer overrun.
1813
5eea0404
SP
18142013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1815
7849ff93
SP
1816 * benchtests/Makefile (bench): Add sincos.
1817 * benchtests/bench-sincos.c: New file.
1818
cfa3c886
SP
1819 * math/libm-test.inc (cos_test_data): New test inputs.
1820 (sin_test_data): Likewise.
1821
b348e1e3
SP
1822 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
1823 macro.
1824 (__sin): Use it.
1825 (__cos): Likewise.
1826 (slow1): Likewise.
1827 (slow2): Likewise.
1828 (sloww1): Likewise.
1829 (sloww2): Likewise.
1830 (bsloww1): Likewise.
1831 (bsloww2): Likewise.
1832 (cslow2): Likewise.
1833 (csloww1): Likewise.
1834 (csloww2): Likewise.
1835
6cce25f8
SP
1836 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
1837 function.
1838 (__sin): Use it.
1839 (__cos): Likewise.
1840
5eea0404
SP
1841 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
1842 gotos.
1843 (__cos): Likewise.
1844
9c21573c
MR
18452013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
1846
1847 * config.h.in (HAVE_MIPS_NAN2008): New macro.
1848 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
1849 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
1850 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
1851 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
1852 * elf/cache.c (print_entry): Handle the new cache flags.
1853
24d22e65
JM
18542013-09-18 Joseph Myers <joseph@codesourcery.com>
1855 Aldy Hernandez <aldyh@redhat.com>
1856
1857 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
1858 Change condition to [_SOFT_FLOAT].
1859 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
1860 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
1861 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
1862 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
1863 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
1864 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
1865 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
1866 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
1867 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
1868 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
1869 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
1870 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
1871 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
1872 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
1873 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
1874 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
1875 declaration.
1876
d13ef066
JM
18772013-09-18 Joseph Myers <joseph@codesourcery.com>
1878
2e071de0
JM
1879 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
1880 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
1881 (__longjmp): Use LOAD_GP to load saved GPRs.
1882 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
1883 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
1884 (__sigsetjmp): Use SAVE_GP to save GPRs.
1885
d13ef066
JM
1886 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
1887 Do not append -msoft-float.
1888 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
1889
97a0650b
SP
18902013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1891
1892 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
1893
11ca09e9
JM
18942013-09-17 Joseph Myers <joseph@codesourcery.com>
1895
1896 [BZ #15966]
1897 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
1898 (_FPU_GETCW): Use initial "__" on variable and field names but not
1899 on macro parameter name.
1900 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
1901 parentheses around reference to macro parameter.
1902
08ffcf34
RS
19032013-09-13 Richard Sandiford <richard@codesourcery.com>
1904
1905 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
1906 prototype.
1907 (ctype_startup): Use uint32_t in cast and sizeof for
1908 ctype->charnames.
1909
ae7080d3
JL
19102013-09-11 Jia Liu <proljc@gmail.com>
1911
1912 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
1913 __daddr_t_defined.
1914 [__FreeBSD__]: Likewise.
1915
5905e7b3
OB
19162013-09-11 Ondřej Bílka <neleai@seznam.cz>
1917
1918 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1919 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
1920 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
1921 (strchr): Remove __strchr_sse42 ifunc selection.
1922 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
1923 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
1924
b987c776
WN
19252013-09-11 Will Newton <will.newton@linaro.org>
1926
1927 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
1928 parameter to RES. Remove hardcoded 1000 value.
1929 * benchtests/bench-skeleton.c (main): Pass RES parameter
1930 to TIMING_INIT and multiply result by 1000.
1931
ddf985af
AZ
19322013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1933
1934 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1935
ffdd3181
AS
19362013-09-11 Andreas Schwab <schwab@suse.de>
1937
1938 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
1939 if not defined.
1940 (O_TMPFILE) [__USE_GNU]: Define.
1941 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
1942 Define.
1943
b73ed247
WN
19442013-09-11 Will Newton <will.newton@linaro.org>
1945
1946 [BZ #15857]
1947 * malloc/malloc.c (__libc_memalign): Check the value of bytes
1948 does not overflow.
1949
55e17aad
WN
19502013-09-11 Will Newton <will.newton@linaro.org>
1951
1952 [BZ #15856]
1953 * malloc/malloc.c (__libc_valloc): Check the value of bytes
1954 does not overflow.
1955
1159a193
WN
19562013-09-11 Will Newton <will.newton@linaro.org>
1957
1958 [BZ #15855]
1959 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
1960 does not overflow.
1961
5905e7b3 19622013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
1963
1964 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
1965 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1966 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1967 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1968 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1969
cdfc721b
AM
19702013-09-10 Allan McRae <allan@archlinux.org>
1971
aa04af00
AM
1972 [BZ #15748]
1973 * manual/arith.texi (Parsing of Floats): Clarify
1974 cross-reference.
1975
cdfc721b
AM
1976 [BZ #15849]
1977 * manual/install.texi (Running make install): Mention
1978 --enable-pt-chown.
1979 * INSTALL: Regenerated.
1980
95e7cf29
MR
19812013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1982
1983 * csu/init-first.c (_init): Remove the !SHARED condition around
1984 FPU control word initialization.
1985 * elf/dl-support.c (_dl_fpu_control): New variable.
1986 (_dl_aux_init) <AT_FPUCW>: Initialize it.
1987 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
1988 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
1989 * math/test-fpucw-static.c: New file.
1990 * math/test-fpucw-ieee.c: New file.
1991 * math/test-fpucw-ieee-static.c: New file.
1992 * math/Makefile (tests): Add `test-fpucw-ieee' and
1993 `$(tests-static)'.
1994 (tests-static): New variable.
1995 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
1996 dependency to...
1997 [($(build-shared),yes)]
1998 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
1999 ... this.
2000 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
2001 New dependency.
2002
83e43bf0
AM
20032013-09-09 Allan McRae <allan@archlinux.org>
2004
a9f5ce09
AM
2005 [BZ #15939]
2006 * manual/string.texi (Collation Functions): Fix typo in
2007 strcoll example.
2008 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
2009
34829bc2
AM
2010 [BZ #15893]
2011 * stdlib/isomac.c (get_null_defines): Fix memory leak.
2012
3932737d
AM
2013 [BZ #15892]
2014 * libio/memstream.c (open_memstream): Fix memory leak.
2015 * libio/wmemstream.c (open_wmemstream): Likewise.
2016
83e43bf0
AM
2017 [BZ #15895]
2018 * nscd/netgroupcache.c: Fix nesting of ifdefs.
2019
0c66b8e9
WN
20202013-09-09 Will Newton <will.newton@linaro.org>
2021
2022 * malloc/Makefile: Add tst-realloc to tests.
2023 * malloc/tst-realloc.c: New file.
2024
f6b00fd1
AM
20252013-09-09 Allan McRae <allan@archlinux.org>
2026
2027 [BZ #15844]
2028 * COPYING: Update from GNU website to fix FSF address.
2029 * COPYING.LIB: Likewise.
2030
eec55e16
DM
20312013-09-06 David S. Miller <davem@davemloft.net>
2032
2033 * po/zh_TW.po: Update Chinese (traditional) translation from
2034 translation project.
2035
1ecbb381
RS
20362013-09-06 Richard Sandiford <richard@codesourcery.com>
2037 Joseph Myers <joseph@codesourcery.com>
2038
2039 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
2040 "localeinfo.h".
2041 (obstack_chunk_alloc): New macro.
2042 (obstack_chunk_free): Likewise.
2043 (record_offset): New function.
2044 (init_locale_data): Likewise.
2045 (align_locale_data): Likewise.
2046 (add_locale_empty): Likewise.
2047 (add_locale_raw_data): Likewise.
2048 (add_locale_raw_obstack): Likewise.
2049 (add_locale_string): Likewise.
2050 (add_locale_wstring): Likewise.
2051 (add_locale_uint32): Likewise.
2052 (add_locale_uint32_array): Likewise.
2053 (add_locale_char): Likewise.
2054 (start_locale_structure): Likewise.
2055 (end_locale_structure): Likewise.
2056 (start_locale_prelude): Likewise.
2057 (end_locale_prelude): Likewise.
2058 (write_locale_data): Take locale_file structure rather than an
2059 iovec.
2060 * locale/programs/locfile.h: Include "obstack.h".
2061 (struct locale_file): Change to store locale file contents instead
2062 of header.
2063 (init_locale_data): New prototype.
2064 (align_locale_data): Likewise.
2065 (add_locale_empty): Likewise.
2066 (add_locale_raw_data): Likewise.
2067 (add_locale_raw_obstack): Likewise.
2068 (add_locale_string): Likewise.
2069 (add_locale_wstring): Likewise.
2070 (add_locale_uint32): Likewise.
2071 (add_locale_uint32_array): Likewise.
2072 (add_locale_char): Likewise.
2073 (start_locale_structure): Likewise.
2074 (end_locale_structure): Likewise.
2075 (start_locale_prelude): Likewise.
2076 (end_locale_prelude): Likewise.
2077 (write_locale_data): Update prototype.
2078 * locale/programs/3level.h (struct TABLE): Remove result field.
2079 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
2080 Use new locale_file interface.
2081 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
2082 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
2083 * locale/programs/ld-address.c (address_output): Use new
2084 locale_file interface.
2085 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
2086 NO_ADD_LOCALE.
2087 (collate_finish): Don't call collseq_table_finalize.
2088 (collate_output): Use new locale_file interface.
2089 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
2090 in file.
2091 (NO_FINALIZE): Change to NO_ADD_LOCALE.
2092 (TABLE): Move defines earlier in file.
2093 (ELEMENT): Likewise.
2094 (DEFAULT): Likewise.
2095 (wctrans_table_add): Move macro and inline function earlier in
2096 file.
2097 (struct wctype_table): Move type earlier in file.
2098 (add_locale_wctype_table): New static prototype.
2099 (struct locale_ctype_t): Use logical types instead of struct iovec
2100 pointers for members.
2101 (ctype_output): Use new locale_file interface.
2102 (wctype_table_finalize): Change to add_locale_wctype_table. Use
2103 new locale_file interface.
2104 (allocate_arrays): Update for use of new locale_file interface.
2105 * locale/programs/ld-identification.c (identification_output): Use
2106 new locale_file interface.
2107 * locale/programs/ld-measurement.c (measurement_output): Likewise.
2108 * locale/programs/ld-messages.c (messages_output): Likewise.
2109 * locale/programs/ld-monetary.c (monetary_output): Likewise.
2110 * locale/programs/ld-name.c (name_output): Likewise.
2111 * locale/programs/ld-numeric.c (numeric_output): Likewise.
2112 * locale/programs/ld-paper.c (paper_output): Likewise.
2113 * locale/programs/ld-telephone.c (telephone_output): Likewise.
2114 * locale/programs/ld-time.c (time_output): Likewise.
2115
e029e2e5
AZ
21162013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2117
2118 * benchtests/Makefile: Add memrchr benchmark.
2119 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
2120 benchmark as memrchr.
2121 * benchtests/bench-memrchr-ifunc.c: New file.
2122 * benchtests/bench-memrchr.c: New file.
2123
bbf6e8e4
WN
21242013-09-06 Will Newton <will.newton@linaro.org>
2125
2126 * benchtests/Makefile (string-bench): Add memcpy.
2127
6c82a2f8
CD
21282013-09-05 Carlos O'Donell <carlos@redhat.com>
2129 Cong Wang <amwang@redhat.com>
2130
2131 * sysdeps/unix/sysv/linux/bits/in.h
2132 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
2133 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
2134 before __USE_KERNEL_IPV6_DEFS uses.
2135 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
2136 IPPROTO_BEETPH.
2137 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
2138 sockaddr_in6, or ipv6_mreq.
2139
5430fc65
AZ
21402013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2141
2142 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
2143 memory access for final bytes in some large inputs.
2144 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
2145
4660856c
AZ
21462013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2147
2148 * string/test-memrchr.c: New file.
2149 * string/test-memrchr-ifunc.c: New file.
2150 * string/Makefile: Add new memrchr testcase.
2151
bb8ea713
MF
21522013-09-05 Mike Frysinger <vapier@gentoo.org>
2153
2154 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
2155 fanotify_init returns EPERM.
2156
b92a20b5
JM
21572013-09-04 Joseph Myers <joseph@codesourcery.com>
2158
2159 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
2160 errors.
2161 (top level): Treat second token from macro or constant entries for
2162 allowed headers as allowed.
2163 * include/complex.h: Condition internal declarations on
2164 [!_ISOMAC].
2165 * include/fenv.h: Condition include of <stdbool.h> and internal
2166 declarations on [!_ISOMAC].
7447ccd9
CL
2167
21682013-09-04 Chris Leonard <cjl@sugarlabs,.org>
2169
3e181dda 2170 [BZ #15923]
7447ccd9
CL
2171 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
2172
3f2e46a4
JM
21732013-09-04 Joseph Myers <joseph@codesourcery.com>
2174
2175 * configure.in (--enable-versioning): Remove configure option.
2176 (libc_cv_asm_symver_directive): Remove configure test.
2177 (libc_cv_ld_version_script_option): Likewise.
2178 (VERSIONING): Remove variable and AC_SUBST.
2179 (DO_VERSIONING): Remove AC_DEFINE.
2180 * configure: Regenerated.
2181 * config.h.in (DO_VERSIONING): Remove macro.
2182 * Makerules [$(versioning) = yes]: Change conditionals to
2183 [$(build-shared) = yes].
2184 * config.make.in (versioning): Remove variable.
2185 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
2186 [$(build-shared) = yes].
2187 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
2188 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
2189 * elf/Makefile [$(versioning) = yes]: Change conditionals to
2190 [$(build-shared) = yes].
2191 * extra-lib.mk [$(versioning) = yes]: Likewise.
2192 * hurd/Makefile [$(versioning) = yes]: Likewise.
2193 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
2194 [SHARED].
2195 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
2196 [SHARED].
2197 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
2198 [SHARED && !NO_HIDDEN].
2199 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
2200 [SHARED].
2201 [SHARED && DO_VERSIONING]: Likewise..
2202 * libio/Makefile [$(versioning) = yes]: Change conditionals to
2203 [$(build-shared) = yes].
2204 * manual/install.texi (--disable-versioning): Remove
2205 documentation.
2206 * INSTALL: Regenerated.
2207 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
2208 to [SHARED].
2209 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
2210 [$(build-shared) = yes].
2211 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
2212 * sysdeps/i386/i686/multiarch/strstr-c.c
2213 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
2214 [SHARED && !NO_HIDDEN].
2215 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
2216 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
2217 * sysdeps/powerpc/powerpc32/dl-machine.c
2218 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
2219 * sysdeps/powerpc/powerpc32/sysdep.h
2220 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
2221 to [SHARED && PIC && !NO_HIDDEN].
2222 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
2223 conditional to [SHARED].
2224
44558701
WN
22252013-09-04 Will Newton <will.newton@linaro.org>
2226
2227 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
2228 * benchtests/bench-string.h: Include bench-timing.h instead
2229 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
2230 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
2231 call to HP_TIMING_DIFF_INIT.
2232 * benchtests/bench-memccpy.c: Use bench-timing.h macros
2233 instead of hp-timing.h macros.
2234 * benchtests/bench-memchr.c: Likewise.
2235 * benchtests/bench-memcmp.c: Likewise.
2236 * benchtests/bench-memcpy.c: Likewise.
2237 * benchtests/bench-memmem.c: Likewise.
2238 * benchtests/bench-memmove.c: Likewise.
2239 * benchtests/bench-memset.c: Likewise.
2240 * benchtests/bench-rawmemchr.c: Likewise.
2241 * benchtests/bench-strcasecmp.c: Likewise.
2242 * benchtests/bench-strcasestr.c: Likewise.
2243 * benchtests/bench-strcat.c: Likewise.
2244 * benchtests/bench-strchr.c: Likewise.
2245 * benchtests/bench-strcmp.c: Likewise.
2246 * benchtests/bench-strcpy.c: Likewise.
2247 * benchtests/bench-strcpy_chk.c: Likewise.
2248 * benchtests/bench-strlen.c: Likewise.
2249 * benchtests/bench-strncasecmp.c: Likewise.
2250 * benchtests/bench-strncat.c: Likewise.
2251 * benchtests/bench-strncmp.c: Likewise.
2252 * benchtests/bench-strncpy.c: Likewise.
2253 * benchtests/bench-strnlen.c: Likewise.
2254 * benchtests/bench-strpbrk.c: Likewise.
2255 * benchtests/bench-strrchr.c: Likewise.
2256 * benchtests/bench-strspn.c: Likewise.
2257 * benchtests/bench-strstr.c: Likewise.
2258
cae16d66
WN
22592013-09-04 Will Newton <will.newton@linaro.org>
2260
2261 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
2262
ffa3cd7f
JM
22632013-09-03 Joseph Myers <joseph@codesourcery.com>
2264
2265 [BZ #15427]
2266 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
2267 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
2268 * math/libm-test.inc (lgamma_test_data): Add more tests.
2269 * sysdeps/i386/fpu/libm-test-ulps: Update.
2270 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2271
8f02859f
OB
22722013-09-03 Ondřej Bílka <neleai@seznam.cz>
2273
2274 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
2275 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2276 Add ifunc.
2277 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
2278 Add strcmp-sse2-unaligned
2279 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
2280
18d43716
MF
22812013-09-02 Mike Frysinger <vapier@gentoo.org>
2282
2283 * Versions.def (libc): Add GLIBC_2.19.
2284
ac444012
MF
22852013-09-02 Mike Frysinger <vapier@gentoo.org>
2286
2287 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
2288 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
2289
b7835e32
JM
22902013-09-02 Joseph Myers <joseph@codesourcery.com>
2291
2292 [BZ #14155]
2293 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
2294 intermediate calculations in recurrence.
2295 (__ieee754_ynf): Likewise.
2296 * math/libm-test.inc (jn_test_data): Do not allow spurious
2297 underflow exception. Add more tests.
2298 (yn_test_data): Add more tests.
2299 * sysdeps/i386/fpu/libm-test-ulps: Update.
2300 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2301
8220f4f0
OB
23022013-09-02 Ondřej Bílka <neleai@seznam.cz>
2303
2304 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
2305
f24a6d08
OB
23062013-08-30 Ondřej Bílka <neleai@seznam.cz>
2307
2308 * csu/init-first.c: Fix then/than typos.
2309 * locale/programs/ld-collate.c: Likewise.
2310 * locale/programs/linereader.h: Likewise.
2311 * manual/charset.texi: Likewise.
2312 * manual/filesys.texi: Likewise.
2313 * manual/stdio.texi: Likewise.
2314 * manual/string.texi: Likewise.
2315 * stdlib/fmtmsg.c: Likewise.
2316 * sysdeps/i386/stpncpy.S: Likewise.
2317 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2318 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
2319 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2320 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2321
382466e0
OB
23222013-08-30 Ondřej Bílka <neleai@seznam.cz>
2323
2324 * elf/dl-open.c: Fix typos.
2325 * iconvdata/gbbig5.c: Likewise.
2326 * iconvdata/iso-2022-jp.c: Likewise.
2327 * iconv/gconv_int.h: Likewise.
2328 * iconv/loop.c: Likewise.
2329 * nis/rpcsvc/nis.h: Likewise.
2330 * resolv/ns_name.c: Likewise.
2331 * stdio-common/vfscanf.c: Likewise.
2332 * streams/stropts.h: Likewise.
2333 * sunrpc/rpc_thread.c: Likewise.
2334 * sysdeps/i386/strpbrk.S: Likewise.
2335 * sysdeps/ieee754/k_standard.c: Likewise.
2336 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2337 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2338 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
2339 * sysdeps/mach/hurd/profil.c: Likewise.
2340 * sysdeps/s390/dl-procinfo.h: Likewise.
2341 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
2342 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
2343 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
2344 * sysdeps/x86_64/dl-trampoline.S: Likewise.
2345 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
2346
0186c6e9
OB
23472013-08-30 Ondřej Bílka <neleai@seznam.cz>
2348
2349 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
2350 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
2351
d4e16af1
OB
23522013-08-29 Ondřej Bílka <neleai@seznam.cz>
2353
2354 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
2355 aix specific files.
2356 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
2357 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
2358 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
2359 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
2360 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
2361 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
2362 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
2363 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
2364
88335980
TS
23652013-08-29 Thomas Schwinge <thomas@codesourcery.com>
2366 Roland McGrath <roland@hack.frob.com>
2367
2368 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
2369 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
2370
ed479b02
ST
23712013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
2372
2373 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
2374 __executable_start symbol instead of _start.
2375
f1cc4c86
TS
23762013-08-29 Thomas Schwinge <thomas@codesourcery.com>
2377
d821f07c
TS
2378 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
2379 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
2380 Move macros to...
2381 * sysdeps/gnu/ldsodefs.h: ... this new file.
2382
c54290cf
TS
2383 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
2384 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
2385 instead of ELFOSABI_LINUX.
2386
0007fc9b 2387 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
2388 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
2389 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
2390 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
2391 Likewise.
2392 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
2393 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
2394 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
2395 Likewise.
2396 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
2397 (ibm_extended_long_double): Add ieee_nan member.
2398 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
2399 (do_test): New function.
2400
f1cc4c86
TS
2401 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
2402 TEST_TRUNC.
2403 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
2404 functions, renamed from truncdfsf_test, trunctfsf_test,
2405 trunctfdf_test.
2406 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
2407 functions.
2408 (do_test): Run all these.
2409
6f65e668
OB
24102013-08-29 Ondřej Bílka <neleai@seznam.cz>
2411
2412 * argp/argp-help.c: Fix typos.
2413 * argp/argp-parse.c: Likewise.
2414 * debug/backtracesyms.c: Likewise.
2415 * elf/elf.h: Likewise.
2416 * malloc/malloc.c: Likewise.
2417 * nis/nis_print.c: Likewise.
2418 * resolv/res_comp.c: Likewise.
2419 * stdlib/stdlib.h: Likewise.
2420 * sunrpc/clnt_tcp.c: Likewise.
2421 * sunrpc/clnt_udp.c: Likewise.
2422 * sunrpc/clnt_unix.c: Likewise.
2423 * sysdeps/unix/bsd/ptsname.c: Likewise.
2424 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
2425 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
2426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
2427 Likewise.
2428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
2429 Likewise.
2430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
2431 Likewise.
6f65e668
OB
2432 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
2433
3a309239
SP
24342013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2435
2436 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
2437 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2438
3b813b29
MF
24392013-08-27 Mike Frysinger <vapier@gentoo.org>
2440
2441 [BZ #15897]
2442 * dlfcn/Makefile (tests): Add bug-dl-leaf.
2443 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
2444 ($(objpfx)bug-dl-leaf): New rule.
2445 ($(objpfx)bug-dl-leaf.so): Likewise.
2446 ($(objpfx)bug-dl-leaf.out): Likewise.
2447 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
2448 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
2449 * dlfcn/bug-dl-leaf.c: New test.
2450 * dlfcn/bug-dl-leaf-lib.c: Likewise.
2451 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
2452 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
2453 (dlclose): Likewise.
2454 (dlmopen): Likewise.
2455
8cc3269f
RM
24562013-08-27 Roland McGrath <roland@hack.frob.com>
2457
7f9d0034
RM
2458 * include/netdb.h [!_ISOMAC]:
2459 Don't include <tls.h>.
2460 (h_errno, __libc_h_errno): Move declaration and macros out of
2461 [_LIBC_REENTRANT].
2462
fb431262
RM
2463 * include/resolv.h [_RESOLV_H_]:
2464 Don't include <tls.h>.
2465 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
2466 * resolv/res_libc.c: Don't include <tls.h>.
2467 (_res): Use __attribute__ ((nocommon)) in place of
2468 __attribute__ ((section (".bss"))).
2469
bd81123a
RM
2470 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
2471 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
2472
c4e42566
RM
2473 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
2474
f890a59b
RM
2475 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
2476 only under [SIOCGIFCONF && SIOCGIFNETMASK].
2477
2478 * resolv/res_mkquery.c: Include <sys/time.h>.
2479
5d1f0a09
RM
2480 * inet/ifreq.c: Moved to ...
2481 * sysdeps/unix/ifreq.c: ... here.
2482 * inet/ifreq.c: New file, true stub version.
2483
6fcf28b3
RM
2484 * socket/sa_len.c: New file.
2485 * socket/Makefile (aux): Add it.
2486 * sysdeps/unix/sysv/linux/Makefile
2487 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
2488 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
2489 and #include <socket/sa_len.c>.
2490 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
2491 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
2492
e041fb8b
RM
2493 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
2494 * bits/socket.h: ... here.
2495
8cc3269f
RM
2496 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
2497 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
2498 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
2499
5d228a43
AS
25002013-08-27 Andreas Schwab <schwab@suse.de>
2501
45b8accc
AS
2502 [BZ #15736]
2503 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
2504 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
2505 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
2506 * string/test-strcasecmp.c (test_main): Run tests in several
2507 locales.
2508 * string/test-strncasecmp.c (test_main): Likewise.
2509
5d228a43
AS
2510 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
2511 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
2512 to __strcasecmp_nonascii and __strncasecmp_nonascii.
2513 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
2514 (__strncasecmp_ssse3) [PIC]: Likewise.
2515
59d112a4
RM
25162013-08-26 Roland McGrath <roland@hack.frob.com>
2517
53234cc3
RM
2518 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
2519
59d112a4
RM
2520 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
2521 instead of explicitly declaring xdecrypt.
2522 * nis/nss_nis/nis-publickey.c: Likewise.
2523
595aba70
SP
25242013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2525
2526 [BZ #15890]
2527 * nscd/aicache.c: Include res_hconf.h.
2528 (addhstaiX): Initialize res_hconf.
2529
ffabd393
AS
25302013-08-26 Andreas Schwab <schwab@suse.de>
2531
2532 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
2533 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
2534
e0a69f5c
SP
25352013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2536
2537 * nscd/aicache.c (addhstaiX): Fix indentation.
2538
8c12f01d
MF
25392013-08-25 Mike Frysinger <vapier@gentoo.org>
2540
2541 * configure.ac: Quote $build_pt_chown test.
2542 * configure: Regenerated.
2543
8fe89494
JM
25442013-08-23 Joseph Myers <joseph@codesourcery.com>
2545
2546 [BZ #15532]
2547 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
2548 * math/s_cexpf.c (__cexpf): Likewise.
2549 * math/s_cexpl.c (__cexpl): Likewise.
2550 * math/libm-test.inc (cexp_test_data): Correct expected return
2551 value for NaN + i0. Add another test.
2552
75b181d6
DM
25532013-08-22 David S. Miller <davem@davemloft.net>
2554
2555 * po/ca.po: Update Catalan translation from translation project.
936241e4 2556 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 2557
acd06bb1
JM
25582013-08-21 Joseph Myers <joseph@codesourcery.com>
2559
2560 [BZ #15797]
2561 * math/s_fdim.c (__fdim): Check for infinite arguments if result
2562 is infinite, not alongside NaN test.
2563 * math/s_fdimf.c (__fdimf): Likewise.
2564 * math/s_fdiml.c (__fdiml): Likewise.
2565 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
2566 errno is unchanged.
2567
c0c3f78a
OB
25682013-08-21 Ondřej Bílka <neleai@seznam.cz>
2569
2570 * argp/argp-help.c: Fix typos.
2571 * crypt/speeds.c: Likewise.
2572 * csu/check_fds.c: Likewise.
2573 * elf/dl-load.c: Likewise.
2574 * elf/dl-open.c: Likewise.
2575 * elf/reldep3.c: Likewise.
2576 * elf/reldep.c: Likewise.
2577 * elf/sprof.c: Likewise.
2578 * iconv/iconv_charmap.c: Likewise.
2579 * iconv/skeleton.c: Likewise.
2580 * iconv/strtab.c: Likewise.
2581 * io/lockf64.c: Likewise.
2582 * libio/libioP.h: Likewise.
2583 * resolv/gai_notify.c: Likewise.
2584 * resolv/ns_name.c: Likewise.
2585 * resolv/ns_samedomain.c: Likewise.
2586 * resolv/res_send.c: Likewise.
2587 * stdlib/random.c: Likewise.
2588 * sunrpc/rpc/xdr.h: Likewise.
2589 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
2590 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
2591 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
2592 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
2593 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
2594 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
2595 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
2596 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
2597 * sysdeps/mach/hurd/check_fds.c: Likewise.
2598 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
2599 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
2600 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2601 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
2602 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
2603 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
2604 * sysdeps/pthread/aio_notify.c: Likewise.
2605 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
2606 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
2607 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
2608 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
2609 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
2610
46ed1038
LD
26112013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2612
2613 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
2614 version if bit_Slow_SSE4_2 is set.
2615 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2616 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
2617
d400dcac
AZ
26182013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2619
2620 [BZ #15867]
2621 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
2622 trampoline stack frame information.
2623 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
2624 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
2625 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
2626 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
2627 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
2628 * sysdeps/unix/sysv/linux/powerpc/init-first.c
2629 (_libc_vdso_platform_setup): Initialize the signal trampolines.
2630 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
2631 sa_flags value.
2632 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
2633 interrupting a syscall and set with option SA_SIGINFO.
2634
42c8fdd8
JM
26352013-08-20 Joseph Myers <joseph@codesourcery.com>
2636
c980f2f4
JM
2637 [BZ #15531]
2638 * math/s_cproj.c (__cproj): Only return an infinity if one part of
2639 argument is infinite.
2640 * math/s_cprojf.c (__cprojf): Likewise.
2641 * math/s_cprojl.c (__cprojl): Likewise.
2642 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
2643 * math/libm-test.inc (cproj_test_data): Add more tests.
2644
0716c4fc
JM
2645 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
2646
42c8fdd8
JM
2647 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
2648 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
2649 size. Use __ffs to determine corresponding shift.
2650
b31469d0
JM
26512013-08-20 Joseph Myers <joseph@codesourcery.com>
2652 Roland McGrath <roland@hack.frob.com>
2653
2654 * Makefile (INSTALL): Remove trailing blank lines from output of
2655 makeinfo.
2656
4e39af6e
AK
26572013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2658
2659 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
2660 Align 32 bit compat elf_greg to 8 bytes.
2661
f315524e
AA
26622013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
2663
2664 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
2665
1326ba1a
SP
26662013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2667
2668 * string/strcoll_l.c (coll_seq): New structure.
2669 (get_next_seq_cached): New function.
2670 (get_next_seq): New function.
2671 (do_compare): New function.
2672 (STRCOLL): Use GNU style definition. Simplify implementation
2673 by using get_next_seq, get_next_seq_cached and do_compare.
2674
91ce4085
FW
26752013-08-16 Florian Weimer <fweimer@redhat.com>
2676
2677 [BZ #14699]
2678 CVE-2013-4237
2679 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
2680 member.
2681 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
2682 member.
2683 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
2684 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
2685 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
2686 conditional.
2687 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
2688 GETDENTS_64BIT_ALIGNED.
2689 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
2690 * manual/filesys.texi (Reading/Closing Directory): Document
2691 ENAMETOOLONG return value of readdir_r. Recommend readdir more
2692 strongly.
2693 * manual/conf.texi (Limits for Files): Add portability note to
2694 NAME_MAX, PATH_MAX.
2695 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
2696
ca0a6bc4
AS
26972013-08-13 Andreas Schwab <schwab@suse.de>
2698
2699 [BZ #15749]
2700 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
2701 of fabs.
2702 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
2703 LDBL_MAX_EXP >= 16384]: Add tests for it.
2704
6c1fd795
DM
27052013-08-12 David S. Miller <davem@davemloft.net>
2706
2707 * version.h (RELEASE): Set to "development".
2708 (VERSION): Set to "2.18.90".
2709 * NEWS: Add 2.19 section.
2710
31ad488d
DM
27112013-08-03 David S. Miller <davem@davemloft.net>
2712
2713 * po/ko.po: Update Korean translation from translation project.
2714
db24e684
DM
27152013-08-01 David S. Miller <davem@davemloft.net>
2716
2717 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
2718 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
2719 Bilka.
2720
f723285b
DM
27212013-07-30 David S. Miller <davem@davemloft.net>
2722
2723 * po/fr.po: Update French translation from translation project.
2724
3cbc52db
DM
27252013-07-28 David S. Miller <davem@davemloft.net>
2726
30bbc0cc
DM
2727 * po/cs.po: Update Czech translation from translation project.
2728
3cbc52db
DM
2729 * po/sv.po: Update Swedish translation from translation project.
2730
d492e6d0
DM
27312013-07-27 David S. Miller <davem@davemloft.net>
2732
f1a7f492
DM
2733 * po/eo.po: Update Esperanto translation from translation project.
2734
90e62a4a
DM
2735 * po/vi.po: Update Vietnamese translation from translation project.
2736
d492e6d0
DM
2737 * po/de.po: Update German translation from translation project.
2738
d4baa62d
DM
27392013-07-26 David S. Miller <davem@davemloft.net>
2740
641aa7b4
DM
2741 * po/bg.po: Update Bulgarian translation from translation project.
2742
d4baa62d
DM
2743 * po/nl.po: Update Dutch translation from translation project.
2744 * po/pl.po: Update Polish translation from translation project.
2745 * po/ru.po: Update Russian translation from translation project.
2746
61a9dcb9
DM
27472013-07-24 David S. Miller <davem@davemloft.net>
2748
2749 * po/libc.pot: Update.
2750
7b1f8b58
AZ
27512013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2752
2753 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
2754 variable page size.
2755 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
2756 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
2757 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
2758
a8fc7a03
AK
27592013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2760
2761 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
2762
e4608715
CD
27632013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2764 Andreas Schwab <schwab@suse.de>
2765 Roland McGrath <roland@hack.frob.com>
2766 Joseph Myers <joseph@codesourcery.com>
2767 Carlos O'Donell <carlos@redhat.com>
2768
2769 [BZ #15755]
2770 * config.h.in: Define HAVE_PT_CHOWN.
2771 * config.make.in (build-pt-chown): New variable.
2772 * configure.in (--enable-pt_chown): New configure option.
2773 * configure: Regenerate.
2774 * login/Makefile: Include Makeconfig. Build pt_chown only if
2775 build-pt-chown is enabled.
2776 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
2777 pt_chown to fix pty ownership.
2778 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
2779 CLOSE_ALL_FDS.
2780 * manual/install.texi (Configuring and compiling): Mention
2781 --enable-pt_chown. Add @findex for grantpt.
2782 * INSTALL: Regenerate.
2783
da2d62df
DM
27842013-07-20 David S. Miller <davem@davemloft.net>
2785
2786 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
2787 difference between 32-bit and 64-bit.
2788
d7e06450
CD
27892013-07-15 Carlos O'Donell <carlos@redhat.com>
2790
2791 [BZ #15711]
2792 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
2793 Avoid system header dependency with -ffreestanding.
2794 ($(objpfx)bits/syscall%d): Likewise.
2795
f959cfd7
DM
27962013-07-13 David S. Miller <davem@davemloft.net>
2797
2798 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
2799 underflows from atanl/atan2l due to bug 15319.
2800 (casinh_test_data): Likewise.
2801
c61f8513
DM
28022013-07-07 David S. Miller <davem@davemloft.net>
2803
2804 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
2805
72c90ed0
JA
28062013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
2807
2808 * sysdeps/i386/fpu/libm-test-ulps: Update.
2809 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2810
52dfbe13
SP
28112013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2812
2813 * configure.in (--enable-lock-elision): Fix message text.
2814 * INSTALL: Regenerate.
2815 * configure: Regenerate.
2816
3f169543
AZ
28172013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2818
2819 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2820
521c6785
AJ
28212013-07-03 Andreas Jaeger <aj@suse.de>
2822
2823 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
2824 define.
2825 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
2826 (ptrace_peeksiginfo_args): Add.
2827 (__ptrace_peeksiginfo_flags): Add.
2828 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
2829 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
2830 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
2831
d2cc15cb
AM
28322013-07-03 Allan McRae <allan@archlinux.org>
2833
2834 * sysdeps/i386/fpu/libm-test-ulps: Update.
2835
3aaeeca7
DM
28362013-07-02 David S. Miller <davem@davemloft.net>
2837
2838 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2839
5314ed1a
MT
28402013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
2841
2842 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2843
67338156
JM
28442013-07-02 Joseph Myers <joseph@codesourcery.com>
2845
2846 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
2847 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2848
1717da59
AK
28492013-07-02 Andi Kleen <ak@linux.intel.com>
2850
2851 * config.h.in (ENABLE_LOCK_ELISION): Add.
2852 * configure.in (--enable-lock-elision): Add option.
2853 * manual/install.texi: Document --enable lock elision.
2854 * configure: Regenerate
2855 * INSTALL: Regenerate.
2856
1c81621c
L
28572013-07-02 H.J. Lu <hongjiu.lu@intel.com>
2858
2859 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
2860 SSE4.2 strcasecmp for libc.a.
2861 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
2862
77f01ab5
JM
28632013-07-02 Joseph Myers <joseph@codesourcery.com>
2864
2865 [BZ #13304]
2866 * soft-fp/op-common.h (_FP_FMA): New macro.
2867 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
2868 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
2869 (_FP_MUL_MEAT_1_imm): ... here.
2870 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
2871 (_FP_MUL_MEAT_1_wide): ... here.
2872 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
2873 (_FP_MUL_MEAT_1_hard): ... here.
2874 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
2875 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
2876 (_FP_MUL_MEAT_2_wide): ... here.
2877 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
2878 (_FP_MUL_MEAT_2_wide_3mul): ... here.
2879 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
2880 (_FP_MUL_MEAT_2_gmp): ... here.
2881 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
2882 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
2883 (_FP_MUL_MEAT_4_wide): ... here.
2884 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
2885 (_FP_MUL_MEAT_4_gmp): ... here.
2886 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
2887 (_FP_WFRACBITS_DW_S): Likewise.
2888 (_FP_WFRACXBITS_DW_S): Likewise.
2889 (_FP_HIGHBIT_DW_S): Likewise.
2890 (FP_FMA_S): Likewise.
2891 (_FP_FRAC_HIGH_DW_S): Likewise.
2892 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
2893 (_FP_WFRACBITS_DW_D): Likewise.
2894 (_FP_WFRACXBITS_DW_D): Likewise.
2895 (_FP_HIGHBIT_DW_D): Likewise.
2896 (FP_FMA_D): Likewise.
2897 (_FP_FRAC_HIGH_DW_D): Likewise.
2898 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
2899 (_FP_WFRACBITS_DW_E): Likewise.
2900 (_FP_WFRACXBITS_DW_E): Likewise.
2901 (_FP_HIGHBIT_DW_E): Likewise.
2902 (FP_FMA_E): Likewise.
2903 (_FP_FRAC_HIGH_DW_E): Likewise.
2904 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
2905 (_FP_WFRACBITS_DW_Q): Likewise.
2906 (_FP_WFRACXBITS_DW_Q): Likewise.
2907 (_FP_HIGHBIT_DW_Q): Likewise.
2908 (FP_FMA_Q): Likewise.
2909 (_FP_FRAC_HIGH_DW_Q): Likewise.
2910 * soft-fp/fmasf4.c: New file.
2911 * soft-fp/fmadf4.c: Likewise.
2912 * soft-fp/fmatf4.c: Likewise.
2913
6308fd9a
LD
29142013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2915
2916 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
2917 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
2918 Silvermont.
2919 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
2920 macro.
2921 (index_Slow_SSE4_2): Likewise.
2922 (index_Prefer_PMINUB_for_stringop): Likewise.
2923 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
2924 bit_Slow_SSE4_2 is set.
2925 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2926 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
2927
89cd9569
RA
29282013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2929
2930 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
2931 rtld_global._dl_hwcap2.
2932 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
2933 POWER8.
2934 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
2935 POWER8 feature descriptions defined in _dl_hwcap2.
2936 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
2937 string handling for POWER8 feature bits.
2938 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
2939 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
2940 _dl_powerpc_cap_flags.
2941 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
2942 * sysdeps/powerpc/rtld-global-offsets.sym
2943 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
2944 _dl_hwcap2 in the rtld_global_ro structure.
2945
1ae8bfe0
RA
29462013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2947
2948 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
2949 hardware capabilities in support of AT_HWCAP2.
2950 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
2951 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
2952 GLRO(dl_hwcap2).
2953 (_dl_show_auxv): Add support for calling _dl_procinfo to display
2954 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
2955 explicitly the unknown a_type display mechanism is used.
2956 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
2957 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
2958 struct member.
2959 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
2960 to macro prototype for AT_HWCAP2 support.
2961 * sysdeps/i386/dl-procinfo.h: Likewise.
2962 * sysdeps/s390/dl-procinfo.h: Likewise.
2963 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
2964 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
2965 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
2966 return -1 for unknown a_type display fallback.
2967 * sysdeps/sparc/dl-procinfo.h: Likewise.
2968 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
2969 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
2970
8fbec010
JM
29712013-06-28 Joseph Myers <joseph@codesourcery.com>
2972
2973 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
2974 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
2975
0432680e
PY
29762013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
2977
2978 [BZ #12492]
2979 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
2980 mprotect making __stack_prot writable.
2981
ce61a2ad
NF
29822013-06-28 Nathan Froyd <froydnj@codesourcery.com>
2983 Joseph Myers <joseph@codesourcery.com>
2984
2985 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
2986 as being properly aligned.
2987
f91f1c0f
MR
29882013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
2989
3d0f5d0c
MR
2990 * dlfcn/modstatic5.c: New file.
2991 * dlfcn/tststatic5.c: New file.
2992 * dlfcn/Makefile (tests): Add tststatic5.
2993 (tests-static): Likewise.
2994 (modules-names): Add modstatic5.
2995 (tststatic5-ENV): New variable.
2996 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
2997
f91f1c0f
MR
2998 [BZ #15022]
2999 * elf/dl-support.c (_dl_main_map): New variable.
3000 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
3001 (_dl_nns, _dl_load_adds): Set to 1.
3002 (_dl_initial_searchlist): Refer to _dl_main_map.
3003 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
3004 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
3005 call to _dl_get_origin.
3006 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
3007 around call_map.
3008 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
3009 * dlfcn/modstatic3.c: New file.
3010 * dlfcn/tststatic3.c: New file.
3011 * dlfcn/tststatic4.c: New file.
3012 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
3013 (tests-static): Likewise.
3014 (modules-names): Add modstatic3.
3015 (tststatic3-ENV, tststatic4-ENV): New variables.
3016 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
3017 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
3018
cbe7d24b
JM
30192013-06-26 Joseph Myers <joseph@codesourcery.com>
3020
3021 * configure.in (CC): Require GCC version 4.4 or later.
3022 * configure: Regenerated.
3023 * manual/install.texi (Tools for Compilation): Update GCC version
3024 requirement.
3025 * INSTALL: Regenerated.
3026
11b8a0e1
LD
30272013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3028
3029 [BZ #15674]
bb5bb87c
L
3030 * string/test-memcmp.c (check2): New.
3031 (main): Call check2.
3032
11b8a0e1
LD
3033 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
3034
b0037103
MR
30352013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
3036
3037 [BZ #15022]
3038 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
3039 over to...
3040 (dl_open_worker) [!SHARED]: ... here.
3041
c18c701d
RA
30422013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3043
3044 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
3045
1d17fa5f
RH
30462013-06-25 Richard Henderson <rth@redhat.com>
3047
3048 * locale/programs/locarchive.c: Include <libc-internal.h>
3049
8fcb833a
JM
30502013-06-25 Joseph Myers <joseph@codesourcery.com>
3051
3052 * manual/texinfo.tex: Update to version 2013-06-21.17, with
3053 trailing whitespace removed.
3054
17db6e8d
MF
30552013-06-24 Mike Frysinger <vapier@gentoo.org>
3056
3057 [BZ #10283]
17db6e8d
MF
3058 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
3059 * locale/programs/locarchive.c: Include libc-mmap.h.
3060 (prepare_address_space): Take two new outputs (the mmap base and len).
3061 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
3062 values.
3063 (create_archive): Declare new mmap base and len values for
3064 prepare_address_space, and store the result in ah.
3065 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
3066 (enlarge_archive): If ah->mmap_base is not NULL, use that and
3067 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
3068 Declare new mmap base and len values for
3069 prepare_address_space, and store the result in new_ah.
3070 (open_archive): Declare new mmap base and len values for
3071 prepare_address_space, and store the result in ah.
3072 (close_archive): If ah->mmap_base is not NULL, use that and
3073 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
3074 * sysdeps/generic/libc-mmap.h: New file.
3075
d605071e
MF
30762013-06-24 Mike Frysinger <vapier@gentoo.org>
3077
3078 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
3079 (ALIGN_UP): Likewise.
3080 (PTR_ALIGN_DOWN): Likewise.
3081 (PTR_ALIGN_UP): Likewise.
3082
2f063a6e
RA
30832013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3084
3085 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
3086 entry mapped to PPC_PLATFORM_POWER8.
3087 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
3088 POWER8.
3089 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
3090 (_dl_string_platform): Add case for exporting platform position for
3091 POWER8.
3092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
3093 search path to sysdeps/powerpc/powerpc32/power8 directory.
3094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
3095 search path to sysdeps/powerpc/powerpc64/power8 directory.
3096 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
3097 power7 directories.
3098 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
3099 power7 directories.
3100
a31ee4b3
SP
31012013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3102
a74ca98f
SP
3103 * INSTALL: Regenerate.
3104
a31ee4b3
SP
3105 * nscd/connections.c (nscd_init): Fix comment.
3106
695c378f
JM
31072013-06-22 Joseph Myers <joseph@codesourcery.com>
3108
d8412221
JM
3109 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
3110
695c378f
JM
3111 [BZ #15667]
3112 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
3113 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
3114
d1d54715
MR
31152013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
3116
3117 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
3118 DL_DST_REQ_STATIC.
3119 (DL_DST_REQ_STATIC): Remove macro.
3120
8fdda7af
JM
31212013-06-21 Joseph Myers <joseph@codesourcery.com>
3122
3123 [BZ #7006]
3124 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
3125 with a shift of 0 bits.
3126
f3bc5e5a
MR
31272013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
3128
3129 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
3130 $(tststatic-ENV).
3131
be09e8c9
KK
31322013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3133
3134 [BZ #15655]
3135 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
3136
85c2e611
AZ
31372013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3138
3139 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
3140 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
3141 accepts -fno-tree-loop-distribute-patterns.
3142 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
3143 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
3144 recursive call.
3145 * string/memset.c (memset): Likewise.
3146 * string/test-memmove.c (simple_memmove): Disable loop transformation
3147 to library calls.
3148 * string/test-memset.c (simple_memset): Likewise.
3149 * benchtests/bench-memmove.c (simple_memmove): Likewise.
3150 * benchtests/bench-memset.c (simple_memset): Likewise.
3151 * configure: Regenerated.
3152
c91e0825
JM
31532013-06-20 Joseph Myers <joseph@codesourcery.com>
3154
b8c792af
JM
3155 * math/test-misc.c (main): Ignore fesetround failure when failures
3156 of subsequent rounding tests would be ignored.
3157
c91e0825
JM
3158 [BZ #15654]
3159 * math/fedisblxcpt.c (fedisableexcept): Return 0.
3160 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
3161 * math/fegetenv.c (__fegetenv): Return 0.
3162 * math/fegetexcept.c (fegetexcept): Return 0.
3163 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
3164 FE_TONEAREST.
3165 * math/feholdexcpt.c (feholdexcept): Return 0.
3166 * math/fesetenv.c (__fesetenv): Return 0.
3167 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
3168 argument FE_TONEAREST.
3169 * math/feupdateenv.c (__feupdateenv): Return 0.
3170 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
3171
bfcacbde
RM
31722013-06-18 Roland McGrath <roland@hack.frob.com>
3173
3174 * elf/rtld-Rules (rtld-compile-command.S): New variable.
3175 (rtld-compile-command.s, rtld-compile-command.c): New variables.
3176 ($(objpfx)rtld-%.os rules): Use them.
3177
e55a9b25
AZ
31782013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3179
3180 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
3181 fields.
3182
346d65b3
RM
31832013-06-17 Roland McGrath <roland@hack.frob.com>
3184
12086fb4
RM
3185 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
3186 length of target pattern, then descending length of dependency pattern.
3187 * configure.in (AWK): Require gawk 3.1.2 or newer.
3188 * manual/install.texi (Tools for Compilation): Say that we do.
3189 * configure: Regenerated.
3190
346d65b3
RM
3191 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
3192 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
3193 * scripts/sysd-rules.awk: ... this new script.
3194 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
3195 than a glob-style pattern.
3196
1a846317
JM
31972013-06-17 Joseph Myers <joseph@codesourcery.com>
3198
3199 * math/test-misc.c (main): Do not treat incorrectly rounded
3200 conversions as failure unless ROUNDING_TESTS passes.
3201
8fc75e6f
JM
32022013-06-15 Joseph Myers <joseph@codesourcery.com>
3203
3711a167
JM
3204 [BZ #15631]
3205 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
3206 restore exception state around main square root computation, then
3207 check for inexactness explicitly.
3208
8fc75e6f
JM
3209 * math/libm-test.inc (fma_test_data): Add another test.
3210
61dd6208
SP
32112013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3212
adf23d2c
SP
3213 * manual/threads.texi (Non-POSIX Extensions): New document
3214 node. Document pthread_getattr_default_np and
3215 pthread_setattr_default_np.
3216
61dd6208
SP
3217 * Versions.def (libpthread): Add GLIBC_2.18.
3218 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
3219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3220 Likewise.
3221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3222 Likewise.
3223 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3224 Likewise.
3225 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3226 Likewise.
3227 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
3228 Likewise.
3229 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
3230 Likewise.
3231 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
3232 Likewise.
3233 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
3234 Likewise.
3235 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
3236 Likewise.
3237
d086fc7b
LD
32382013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3239
3240 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3241 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
3242
747ef469
SP
32432013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3244 H.J. Lu <hjl.tools@gmail.com>
3245
3246 [BZ #15627]
3247 * sysdeps/x86_64/rtld-memset.c: Remove file.
3248 * sysdeps/x86_64/rtld-memset.S: New file.
3249
1b2feed2
JM
32502013-06-14 Joseph Myers <joseph@codesourcery.com>
3251
3252 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
3253 (test_in_one_mode): Take arguments for whether the rounding mode
3254 is supported for each floating-point type.
3255 (do_test): Pass new arguments to test_in_one_mode using
3256 ROUNDING_TESTS.
3257
a58ad3f8
RM
32582013-06-13 Roland McGrath <roland@hack.frob.com>
3259
3260 * posix/tst-waitid.c (do_test): Distinguish different instances of
3261 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
3262 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
3263 before entering the kernel for waitpid.
3264
c204ab28
SP
32652013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3266
3267 * NEWS: Fix note on clock function precision. Text by Roland
3268 McGrath.
3269
f4a29fba
RM
32702013-06-13 Roland McGrath <roland@hack.frob.com>
3271
3272 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
3273 it into place only when and if the sanity check passes.
3274
1f24b9ad
JM
32752013-06-13 Joseph Myers <joseph@codesourcery.com>
3276
3277 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
3278 output for whether conversion result is exact. Take argument
3279 indicating whether type is IBM long double.
3280 (round_for_all): Change need_exact field to ibm_ld.
3281 * stdlib/tst-strtod-round.c (struct exactness): New type.
3282 (struct test): Change bool ld_ok field to struct exactness exact.
3283 (TEST): Update all definitions for change to field.
3284 (tests): Regenerate array contents.
3285 (test_in_one_mode): Take pointer to new field instead of old ld_ok
3286 field value. Check for IBM long double here.
3287 (do_test): Update calls to test_in_one_mode.
3288
58206c68
SP
32892013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3290
3291 [BZ #12515]
3292 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
3293 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
3294
2d6f4c5b 32952013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
3296
3297 [BZ #15605]
3298 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
3299 generated by the compiler on loop optimizations.
3300 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
3301 general definitions.
3302
94f2c076
JM
33032013-06-12 Joseph Myers <joseph@codesourcery.com>
3304
3305 * math/bug-nextafter.c: Include <math-tests.h>.
3306 (main): Only test for exceptions if EXCEPTION_TESTS is true for
3307 the relevant type.
3308 * math/bug-nexttoward.c: Include <math-tests.h>.
3309 (main): Only test for exceptions if EXCEPTION_TESTS is true for
3310 the relevant type.
3311 * math/test-misc.c: Include <math-tests.h>.
3312 (main): Only test for exceptions if EXCEPTION_TESTS is true for
3313 the relevant type.
3314
e0e50a0a
AJ
33152013-06-12 Andreas Jaeger <aj@suse.de>
3316
3317 * po/ia.po: Update Interlingua translation from translation
3318 project.
3319
25061094
SP
33202013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3321
3322 * include/fenv.h: Include stdbool.h.
3323 (struct rm_ctx): New structure.
3324 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
3325 Define macro.
3326 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
3327 (SET_RESTORE_ROUNDF): Likewise.
3328 (SET_RESTORE_ROUNDL): Likewise.
3329 (SET_RESTORE_ROUND_NOEX): Likewise.
3330 (SET_RESTORE_ROUND_NOEXF): Likewise.
3331 (SET_RESTORE_ROUND_NOEXL): Likewise.
3332 (SET_RESTORE_ROUND_53BIT): Likewise.
3333 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
3334 (libc_feresetround_noexf_ctx): Likewise.
3335 (libc_feresetround_noexl_ctx): Likewise.
3336 (libc_feholdsetround_53bit_ctx): Likewise.
3337 (libc_feresetround_53bit_ctx): Likewise.
3338 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
3339 (libc_feholdexcept_setround_sse_ctx): New function.
3340 (libc_fesetenv_sse_ctx): Likewise.
3341 (libc_feupdateenv_sse_ctx): Likewise.
3342 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
3343 (libc_feholdexcept_setround_387_ctx): Likewise.
3344 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
3345 (libc_feholdsetround_387_prec_ctx): Likewise.
3346 (libc_feholdsetround_387_ctx): Likewise.
3347 (libc_feholdsetround_387_53bit_ctx): Likewise.
3348 (libc_feholdsetround_sse_ctx): Likewise.
3349 (libc_feresetround_sse_ctx): Likewise.
3350 (libc_feresetround_387_ctx): Likewise.
3351 (libc_feupdateenv_387_ctx): Likewise.
3352 (libc_feholdexcept_setroundf_ctx): Define macro.
3353 (libc_fesetenvf_ctx): Likewise.
3354 (libc_feupdateenvf_ctx): Likewise.
3355 (libc_feholdsetroundf_ctx): Likewise.
3356 (libc_feresetroundf_ctx): Likewise.
3357 (libc_feholdexcept_setround_ctx): Likewise.
3358 (libc_fesetenv_ctx): Likewise.
3359 (libc_feupdateenv_ctx): Likewise.
3360 (libc_feholdsetround_ctx): Likewise.
3361 (libc_feresetround_ctx): Likewise.
3362 (libc_feholdexcept_setroundl_ctx): Likewise.
3363 (libc_feupdateenvl_ctx): Likewise.
3364 (libc_feholdsetroundl_ctx): Likewise.
3365 (libc_feresetroundl_ctx): Likewise.
3366 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
3367 (libc_feresetround_53bit_ctx): Likewise.
3368
59b30555
SP
33692013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3370
3371 * locale/iso-639.def: Convert to UTF-8.
3372
f1d73d30
JM
33732013-06-11 Joseph Myers <joseph@codesourcery.com>
3374
3375 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
3376 (EXCEPTION_TESTS_double): Likewise.
3377 (EXCEPTION_TESTS_long_double): Likewise.
3378 (EXCEPTION_TESTS): Likewise.
3379 * math/libm-test.inc (test_exceptions): Only test exceptions if
3380 EXCEPTION_TESTS (FLOAT).
3381
94aca5e7
SP
33822013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3383
3384 * benchtests/Makefile (string-bench): Add strcpy_chk and
3385 stpcpy_chk.
3386 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
3387 * benchtests/bench-stpcpy_chk.c: New file.
3388 * benchtests/bench-strcpy_chk-ifunc.c: New file.
3389 * benchtests/bench-strcpy_chk.c: New file.
3390 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
3391 code.
3392 (do_test): Likewise.
3393
fac0c5f2
RA
33942013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3395
3396 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
3397 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
3398 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
3399 with tabs where appropriate.
3400 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
3401 dl-procinfo.h.
3402 [PPC_PLATFORM_PPC440]: Likewise.
3403 [PPC_PLATFORM_PPC464]: Likewise.
3404 [PPC_PLATFORM_PPC476]: Likewise.
3405 (_dl_string_platform): Add support for detecting ppc405, ppc440,
3406 ppc464, and ppc476 platform strings merging from ports/
3407 dl-procinfo.h.
3408
f22bc486
AS
34092013-06-11 Andreas Schwab <schwab@suse.de>
3410
3411 [BZ #14991]
3412 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
3413 (from_ucs4_idx): Regenerate.
3414 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
3415 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
3416 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
3417 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
3418 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
3419 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
3420 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
3421 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
3422 from FROM_LOOP and TO_LOOP specific macros.
3423 (BODY): Handle combining characters.
3424 * iconvdata/BIG5HKSCS.irreversible: Update.
3425 * iconvdata/BIG5HKSCS.precomposed: New file.
3426 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
3427 characters.
3428 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
3429
c1f75dc3
SP
34302013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3431
4eacded2
SP
3432 * include/sys/time.h: Fix indentation and add copyright header.
3433
fec799f8
SP
3434 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
3435 (do_test): Likewise.
3436 * string/test-memchr.c (do_one_test): Likewise.
3437 (do_test): Likewise.
3438 * string/test-memcmp.c (do_one_test): Likewise.
3439 (do_test): Likewise.
3440 * string/test-memcpy.c (do_one_test): Likewise.
3441 (do_test): Likewise.
3442 * string/test-memmem.c (do_one_test): Likewise.
3443 (do_test): Likewise.
3444 (do_random_tests): Likewise.
3445 * string/test-memmove.c (do_one_test): Likewise.
3446 (do_test): Likewise.
3447 * string/test-memset.c (do_one_test): Likewise.
3448 (do_test): Likewise.
3449 * string/test-rawmemchr.c (do_one_test): Likewise.
3450 (do_test): Likewise.
3451 * string/test-strcasecmp.c (do_one_test): Likewise.
3452 (do_test): Likewise.
3453 * string/test-strcasestr.c (do_one_test): Likewise.
3454 (do_test): Likewise.
3455 * string/test-strcat.c (do_one_test): Likewise.
3456 (do_test): Likewise.
3457 * string/test-strchr.c (do_one_test): Likewise.
3458 (do_test): Likewise.
3459 * string/test-strcmp.c (do_one_test): Likewise.
3460 (do_test): Likewise.
3461 * string/test-strcpy.c (do_one_test): Likewise.
3462 (do_test): Likewise.
3463 * string/test-string.h: Likewise.
3464 (test_init): Likewise.
3465 * string/test-strlen.c (do_one_test): Likewise.
3466 (do_test): Likewise.
3467 * string/test-strncasecmp.c (do_one_test): Likewise.
3468 (do_test): Likewise.
3469 * string/test-strncat.c (do_one_test): Likewise.
3470 (do_test): Likewise.
3471 * string/test-strncmp.c (do_one_test): Likewise.
3472 (do_test_limit): Likewise.
3473 (do_test): Likewise.
3474 * string/test-strncpy.c (do_one_test): Likewise.
3475 (do_test): Likewise.
3476 * string/test-strnlen.c (do_one_test): Likewise.
3477 (do_test): Likewise.
3478 * string/test-strpbrk.c (do_one_test): Likewise.
3479 (do_test): Likewise.
3480 * string/test-strrchr.c (do_one_test): Likewise.
3481 (do_test): Likewise.
3482 * string/test-strspn.c (do_one_test): Likewise.
3483 (do_test): Likewise.
3484 * string/test-strstr.c (do_one_test): Likewise.
3485 (do_test): Likewise.
3486
97020474
SP
3487 * benchtests/Makefile (string-bench): Add string benchmarks.
3488 * benchtests/bench-bcopy-ifunc.c: New file.
3489 * benchtests/bench-bcopy.c: New file.
3490 * benchtests/bench-bzero-ifunc.c: New file.
3491 * benchtests/bench-bzero.c: New file.
3492 * benchtests/bench-memccpy-ifunc.c: New file.
3493 * benchtests/bench-memccpy.c: New file.
3494 * benchtests/bench-memchr-ifunc.c: New file.
3495 * benchtests/bench-memchr.c: New file.
3496 * benchtests/bench-memcmp-ifunc.c: New file.
3497 * benchtests/bench-memcmp.c: New file.
3498 * benchtests/bench-memmem-ifunc.c: New file.
3499 * benchtests/bench-memmem.c: New file.
3500 * benchtests/bench-memmove-ifunc.c: New file.
3501 * benchtests/bench-memmove.c: New file.
3502 * benchtests/bench-mempcpy-ifunc.c: New file.
3503 * benchtests/bench-mempcpy.c: New file.
3504 * benchtests/bench-memset-ifunc.c: New file.
3505 * benchtests/bench-memset.c: New file.
3506 * benchtests/bench-rawmemchr-ifunc.c: New file.
3507 * benchtests/bench-rawmemchr.c: New file.
3508 * benchtests/bench-stpcpy-ifunc.c: New file.
3509 * benchtests/bench-stpcpy.c: New file.
3510 * benchtests/bench-stpncpy-ifunc.c: New file.
3511 * benchtests/bench-stpncpy.c: New file.
3512 * benchtests/bench-strcasecmp-ifunc.c: New file.
3513 * benchtests/bench-strcasecmp.c: New file.
3514 * benchtests/bench-strcasestr-ifunc.c: New file.
3515 * benchtests/bench-strcasestr.c: New file.
3516 * benchtests/bench-strcat-ifunc.c: New file.
3517 * benchtests/bench-strcat.c: New file.
3518 * benchtests/bench-strchr-ifunc.c: New file.
3519 * benchtests/bench-strchr.c: New file.
3520 * benchtests/bench-strchrnul-ifunc.c: New file.
3521 * benchtests/bench-strchrnul.c: New file.
3522 * benchtests/bench-strcmp-ifunc.c: New file.
3523 * benchtests/bench-strcmp.c: New file.
3524 * benchtests/bench-strcpy-ifunc.c: New file.
3525 * benchtests/bench-strcpy.c: New file.
3526 * benchtests/bench-strcspn-ifunc.c: New file.
3527 * benchtests/bench-strcspn.c: New file.
3528 * benchtests/bench-strlen-ifunc.c: New file.
3529 * benchtests/bench-strlen.c: New file.
3530 * benchtests/bench-strncasecmp-ifunc.c: New file.
3531 * benchtests/bench-strncasecmp.c: New file.
3532 * benchtests/bench-strncat-ifunc.c: New file.
3533 * benchtests/bench-strncat.c: New file.
3534 * benchtests/bench-strncmp-ifunc.c: New file.
3535 * benchtests/bench-strncmp.c: New file.
3536 * benchtests/bench-strncpy-ifunc.c: New file.
3537 * benchtests/bench-strncpy.c: New file.
3538 * benchtests/bench-strnlen-ifunc.c: New file.
3539 * benchtests/bench-strnlen.c: New file.
3540 * benchtests/bench-strpbrk-ifunc.c: New file.
3541 * benchtests/bench-strpbrk.c: New file.
3542 * benchtests/bench-strrchr-ifunc.c: New file.
3543 * benchtests/bench-strrchr.c: New file.
3544 * benchtests/bench-strspn-ifunc.c: New file.
3545 * benchtests/bench-strspn.c: New file.
3546 * benchtests/bench-strstr-ifunc.c: New file.
3547 * benchtests/bench-strstr.c: New file.
3548
c1f75dc3
SP
3549 * benchtests/Makefile: Disable parallel execution of targets.
3550 (string-bench): Add memcpy.
3551 (benchset): New variable to store a list of benchmark sets.
3552 (bench-func): Renamed from bench.
3553 (bench-set): New target.
3554 (bench): Depend on bench-func and bench-set.
3555 * benchtests/README: Add section on benchmark sets.
3556 * benchtests/bench-memcpy-ifunc.c: New file.
3557 * benchtests/bench-memcpy.c: New file.
3558 * benchtests/bench-string.h: New file.
3559
50fd745b
AS
35602013-06-11 Andreas Schwab <schwab@suse.de>
3561
3562 [BZ #15577]
3563 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
3564 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
3565 values in the triple.
3566 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
3567 terminator in the group key.
3568
3ee7e9fe
AJ
35692013-06-11 Andreas Jaeger <aj@suse.de>
3570
3571 * po/zh_TW.po: Update Chinese (traditional) translation from
3572 translation project.
3573
89fb6835
SP
35742013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3575
3576 * include/time.h (__clock_gettime): Add libc_hidden_proto.
3577 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
3578 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
3579 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
3580 (clock_getcpuclockid): Likewise.
3581 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
3582 Add weak_alias and libc_hidden_def.
3583 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
3584 * rt/clock_gettime.c (clock_gettime): Rename to
3585 __clock_gettime. Add weak_alias and libc_hidden_def.
3586 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
3587 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
3588 __clock_nanosleep. Add weak_alias and libc_hidden_def.
3589 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
3590 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
3591 Likewise.
3592 * rt/clock_settime.c (clock_settime): Rename to
3593 __clock_settime. Add weak_alias and libc_hidden_def.
3594 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
3595
0efa6f8b
JM
35962013-06-10 Joseph Myers <joseph@codesourcery.com>
3597
b8c61b4b
JM
3598 * mach/err_boot.sub: Remove trailing whitespace.
3599 * mach/err_ipc.sub: Likewise.
3600 * mach/err_mach.sub: Likewise.
3601
0efa6f8b
JM
3602 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
3603 (ROUNDING_TESTS_double): Likewise.
3604 (ROUNDING_TESTS_long_double): Likewise.
3605 (ROUNDING_TESTS): Likewise.
3606 * math/libm-test.inc: Include <math-tests.h>.
3607 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
3608 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
3609 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
3610 (IF_ROUND_INIT_FE_UPWARD): Likewise.
3611
50b818bf
SP
36122013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3613
3614 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
3615 of assigning.
3616
60d2f8f3
JM
36172013-06-08 Joseph Myers <joseph@codesourcery.com>
3618
4902d2c3
JM
3619 * sysdeps/gnu/errlist.awk: Do not generate space at end of
3620 otherwise empty TRANS lines.
3621 * sysdeps/gnu/errlist.c: Regenerated.
3622
60d2f8f3
JM
3623 * catgets/gencat.c (error_print): Use (void) in function
3624 definition.
3625 * crypt/crypt_util.c (__init_des): Likewise.
3626 * crypt/speeds.c (Stop): Likewise.
3627 (main): Likewise.
3628 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
3629 * inet/ruserpass.c (token): Likewise.
3630 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
3631 * intl/localealias.c (extend_alias_table): Likewise.
3632 * intl/plural-exp.c (init_germanic_plural): Likewise.
3633 * libio/fcloseall.c (__fcloseall): Likewise.
3634 * libio/genops.c (_IO_flush_all): Likewise.
3635 (_IO_flush_all_linebuffered): Likewise.
3636 (_IO_cleanup): Likewise.
3637 (_IO_iter_begin): Likewise.
3638 (_IO_iter_end): Likewise.
3639 (_IO_list_lock): Likewise.
3640 (_IO_list_unlock): Likewise.
3641 (_IO_list_resetlock): Likewise.
3642 * libio/getchar.c (getchar): Likewise.
3643 * libio/getchar_u.c (getchar_unlocked): Likewise.
3644 * libio/getwchar.c (getwchar): Likewise.
3645 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
3646 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
3647 * login/getpt.c (__getpt): Likewise.
3648 * login/tst-utmp.c (main): Likewise.
3649 * malloc/hooks.c (__malloc_check_init): Likewise.
3650 * malloc/malloc.c (__malloc_stats): Likewise.
3651 * malloc/mtrace.c (tr_break): Likewise.
3652 (mtrace): Likewise.
3653 (muntrace): Likewise.
3654 * misc/fstab.c (endfsent): Likewise.
3655 * misc/getclktck.c (__getclktck): Likewise.
3656 * misc/getdtsz.c (__getdtablesize): Likewise.
3657 * misc/gethostid.c (gethostid): Likewise.
3658 * misc/getpagesize.c (__getpagesize): Likewise.
3659 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
3660 (__get_nprocs): Likewise.
3661 (__get_phys_pages): Likewise.
3662 (__get_avphys_pages): Likewise.
3663 * misc/getttyent.c (getttyent): Likewise.
3664 (setttyent): Likewise.
3665 (endttyent): Likewise.
3666 * misc/getusershell.c (getusershell): Likewise.
3667 (endusershell): Likewise.
3668 (setusershell): Likewise.
3669 (initshells): Likewise.
3670 * misc/hsearch.c (__hdestroy): Likewise.
3671 * misc/sync.c (sync): Likewise.
3672 * misc/syslog.c (closelog_internal): Likewise.
3673 (closelog): Likewise.
3674 * misc/ttyslot.c (ttyslot): Likewise.
3675 * misc/vhangup.c (vhangup): Likewise.
3676 * posix/fork.c (__fork): Likewise.
3677 * posix/getegid.c (__getegid): Likewise.
3678 * posix/geteuid.c (__geteuid): Likewise.
3679 * posix/getgid.c (__getgid): Likewise.
3680 * posix/getpid.c (__getpid): Likewise.
3681 * posix/getppid.c (__getppid): Likewise.
3682 * posix/getuid.c (__getuid): Likewise.
3683 * posix/pause.c (pause): Likewise.
3684 * posix/setpgrp.c (setpgrp): Likewise.
3685 * posix/setsid.c (__setsid): Likewise.
3686 * posix/test-vfork.c (noop): Likewise.
3687 * resolv/gethnamaddr.c (_endhtent): Likewise.
3688 (_gethtent): Likewise.
3689 (ht_endhostent): Likewise.
3690 (gethostent): Likewise.
3691 (dns_service): Likewise.
3692 * stdlib/drand48.c (drand48): Likewise.
3693 * stdlib/lrand48.c (lrand48): Likewise.
3694 * stdlib/mrand48.c (mrand48): Likewise.
3695 * stdlib/rand.c (rand): Likewise.
3696 * stdlib/random.c (__random): Likewise.
3697 * stdlib/setenv.c (clearenv): Likewise.
3698 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
3699 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
3700 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
3701 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
3702 (__get_nprocs): Likewise.
3703 (__get_phys_pages): Likewise.
3704 (__get_avphys_pages): Likewise.
3705 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
3706 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
3707 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
3708 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
3709 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
3710 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
3711 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
3712 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
3713 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
3714 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
3715 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
3716 * sysdeps/mach/hurd/sync.c (sync): Likewise.
3717 * sysdeps/posix/clock.c (clock): Likewise.
3718 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
3719 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
3720 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
3721 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
3722 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
3723 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
3724 (__get_nprocs_conf): Likewise.
3725 (__get_phys_pages): Likewise.
3726 (__get_avphys_pages): Likewise.
3727 * time/clock.c (clock): Likewise.
3728 * time/tzset.c (__tzname_max): Likewise.
3729
2e09a79a
JM
37302013-06-07 Joseph Myers <joseph@codesourcery.com>
3731
3732 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
3733 (__bswap_32): Do not use "register".
3734 * crypt/crypt.c (_ufc_doit_r): Likewise.
3735 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
3736 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
3737 * gmon/gmon.c (__monstartup): Likewise.
3738 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
3739 * hurd/hurdmalloc.c (more_memory): Likewise.
3740 (malloc): Likewise.
3741 (free): Likewise.
3742 (realloc): Likewise.
3743 (malloc_fork_prepare): Likewise.
3744 (malloc_fork_parent): Likewise.
3745 (malloc_fork_child): Likewise.
3746 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
3747 (_svcauth_des): Likewise.
3748 * inet/inet_lnaof.c (inet_lnaof): Likewise.
3749 * inet/inet_net.c (inet_network): Likewise.
3750 * inet/inet_netof.c (inet_netof): Likewise.
3751 * inet/rcmd.c (__validuser2_sa): Likewise.
3752 * io/fts.c (fts_open): Likewise.
3753 (fts_load): Likewise.
3754 (fts_close): Likewise.
3755 (fts_read): Likewise.
3756 (fts_children): Likewise.
3757 (fts_build): Likewise.
3758 (fts_stat): Likewise.
3759 (fts_sort): Likewise.
3760 (fts_alloc): Likewise.
3761 (fts_lfree): Likewise.
3762 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
3763 (_IO_file_xsgetn): Likewise.
3764 (_IO_file_xsgetn_mmap): Likewise.
3765 * libio/iofopncook.c (_IO_cookie_read): Likewise.
3766 (_IO_cookie_write): Likewise.
3767 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
3768 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
3769 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
3770 * malloc/obstack.c (_obstack_begin): Likewise.
3771 (_obstack_begin_1): Likewise.
3772 (_obstack_newchunk): Likewise.
3773 (_obstack_allocated_p): Likewise.
3774 (obstack_free): Likewise.
3775 (_obstack_memory_used): Likewise.
3776 * misc/getttyent.c (getttynam): Likewise.
3777 (getttyent): Likewise.
3778 (skip): Likewise.
3779 (value): Likewise.
3780 * misc/getusershell.c (initshells): Likewise.
3781 * misc/syslog.c (__vsyslog_chk): Likewise.
3782 * misc/ttyslot.c (ttyslot): Likewise.
3783 * nis/nis_hash.c (__nis_hash): Likewise.
3784 * posix/fnmatch_loop.c (FCT): Likewise.
3785 * posix/getconf.c (print_all): Likewise.
3786 (main): Likewise.
3787 * posix/getopt.c (exchange): Likewise.
3788 * posix/glob.c (globfree): Likewise.
3789 (prefix_array): Likewise.
3790 (__glob_pattern_type): Likewise.
3791 * resolv/arpa/nameser.h (NS_GET16): Likewise.
3792 (NS_GET32): Likewise.
3793 (NS_PUT16): Likewise.
3794 (NS_PUT32): Likewise.
3795 * resolv/gethnamaddr.c (getanswer): Likewise.
3796 (gethostbyname2): Likewise.
3797 (gethostbyaddr): Likewise.
3798 (_gethtent): Likewise.
3799 (_gethtbyname2): Likewise.
3800 (_gethtbyaddr): Likewise.
3801 * resolv/ns_print.c (dst_s_get_int16): Likewise.
3802 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
3803 * resolv/res_init.c (__res_vinit): Likewise.
3804 (net_mask): Likewise.
3805 * resolv/res_mkquery.c (outchar): Likewise.
3806 (PRINT): Likewise.
3807 * stdio-common/printf_fp.c (outchar): Likewise.
3808 (PRINT): Likewise.
3809 * stdio-common/printf_fphex.c (outchar): Likewise.
3810 (PRINT): Likewise.
3811 * stdio-common/printf_size.c (outchar): Likewise.
3812 (PRINT): Likewise.
3813 * stdio-common/test_rdwr.c (main): Likewise.
3814 * stdio-common/tfformat.c (matches): Likewise.
3815 * stdio-common/vfprintf.c (outchar): Likewise.
3816 (printf_unknown): Likewise.
3817 (buffered_vfprintf): Likewise.
3818 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
3819 * stdio-common/xbug.c (AppendToBuffer): Likewise.
3820 (ReadFile): Likewise.
3821 * stdlib/qsort.c (SWAP): Likewise.
3822 (_quicksort): Likewise.
3823 * stdlib/setenv.c (__add_to_environ): Likewise.
3824 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
3825 * stdlib/strtol_l.c (__strtol_l): Likewise.
3826 * stdlib/tst-strtod.c (main): Likewise.
3827 * stdlib/tst-strtol.c (main): Likewise.
3828 * stdlib/tst-strtoll.c (main): Likewise.
3829 * string/bits/string2.h (__strcmp_cc): Likewise.
3830 (__strcmp_cg): Likewise.
3831 (__strcspn_c1): Likewise.
3832 (__strcspn_c2): Likewise.
3833 (__strcspn_c3): Likewise.
3834 (__strspn_c1): Likewise.
3835 (__strspn_c2): Likewise.
3836 (__strspn_c3): Likewise.
3837 (__strsep_1c): Likewise.
3838 (__strsep_2c): Likewise.
3839 (__strsep_3c): Likewise.
3840 * string/memccpy.c (__memccpy): Likewise.
3841 * string/stpcpy.c (__stpcpy): Likewise.
3842 * string/strcmp.c (strcmp): Likewise.
3843 * string/strrchr.c (strrchr): Likewise.
3844 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
3845 Likewise.
3846 * sysdeps/mach/hurd/getcwd.c
3847 (_hurd_canonicalize_directory_name_internal): Likewise.
3848 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
3849 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
3850 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
3851 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
3852 Likewise, in both definitions.
3853 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
3854 definitions.
3855 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
3856 64] (__bswap_64): Likewise.
3857 * time/test_time.c (main): Likewise.
3858 * time/tzfile.c (__tzfile_read): Likewise.
3859 (__tzfile_compute): Likewise.
3860 * time/tzset.c (__tzset_parse_tz): Likewise.
3861 (tzset_internal): Likewise.
3862 (compute_change): Likewise.
3863 * wcsmbs/wcscat.c (__wcscat): Likewise.
3864 * wcsmbs/wcschr.c (wcschr): Likewise.
3865 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
3866 * wcsmbs/wcscspn.c (wcscspn): Likewise.
3867 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
3868 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
3869 * wcsmbs/wcsspn.c (wcsspn): Likewise.
3870 * wcsmbs/wcsstr.c (wcsstr): Likewise.
3871 * wcsmbs/wmemchr.c (wmemchr): Likewise.
3872 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
3873 * wcsmbs/wmemset.c (wmemset): Likewise.
3874
9e54314b
JM
38752013-06-06 Joseph Myers <joseph@codesourcery.com>
3876
3877 * scripts/config.guess: Update to version 2013-05-16.
3878 * scripts/config.sub: Update to version 2013-04-24.
3879 * scripts/install-sh: Update to version 2011-11-20.07.
3880 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
3881 * scripts/move-if-change: Update to version 2012-01-06 07:23.
3882
350635a5
OB
38832013-06-06 Ondřej Bílka <neleai@seznam.cz>
3884
3885 * debug/fgetws_u_chk.c: Fix leading whitespaces.
3886 * elf/sln.c: Likewise.
3887 * hurd/hurd/ioctl.h: Likewise.
3888 * hurd/hurdmalloc.c: Likewise.
3889 * hurd/xattr.c: Likewise.
3890 * include/shlib-compat.h: Likewise.
3891 * inet/ruserpass.c: Likewise.
3892 * libio/iofgets_u.c: Likewise.
3893 * libio/iofgetws_u.c: Likewise.
3894 * locale/programs/ld-identification.c: Likewise.
3895 * locale/programs/ld-time.c: Likewise.
3896 * mach/msg-destroy.c: Likewise.
3897 * nss/nss_files/files-netgrp.c: Likewise.
3898 * resolv/res_data.c: Likewise.
3899 * soft-fp/op-1.h: Likewise.
3900 * soft-fp/op-2.h: Likewise.
3901 * soft-fp/op-4.h: Likewise.
3902 * soft-fp/op-common.h: Likewise.
3903 * stdio-common/printf_fphex.c: Likewise.
3904 * stdlib/strtod_l.c: Likewise.
3905 * sunrpc/rpc/clnt.h: Likewise.
3906 * sysdeps/generic/framestate.c: Likewise.
3907 * sysdeps/i386/bsd-_setjmp.S: Likewise.
3908 * sysdeps/i386/bsd-setjmp.S: Likewise.
3909 * sysdeps/i386/__longjmp.S: Likewise.
3910 * sysdeps/i386/setjmp.S: Likewise.
3911 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3912 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3913 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3914 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3915 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3916 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
3917 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
3918 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
3919 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3920 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
3921 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
3922 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
3923 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
3924 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
3925 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
3926 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
3927 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
3928 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
3929 * sysdeps/ieee754/support.c: Likewise.
3930 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3931 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
3932 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
3933 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
3934 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
3935 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
3936 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
3937 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
3938 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
3939 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
3940 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
3941 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
3942 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
3943 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
3944 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
3945 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
3946 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
3947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
3948
44a988af
OB
39492013-06-05 Ondřej Bílka <neleai@seznam.cz>
3950
25506f09 3951 * posix/transbug.c: Remove executable mode.
44a988af 3952
9c84384c
JM
39532013-06-05 Joseph Myers <joseph@codesourcery.com>
3954
3955 * crypt/speeds.c: Remove trailing whitespace.
3956 * dlfcn/default.c: Likewise.
3957 * elf/ifuncdep2.c: Likewise.
3958 * elf/ifuncmain1.c: Likewise.
3959 * elf/ifuncmain1vis.c: Likewise.
3960 * elf/testobj.h: Likewise.
3961 * elf/tst-stackguard1.c: Likewise.
3962 * gmon/sys/gmon.h: Likewise.
3963 * hurd/hurdmsg.c: Likewise.
3964 * hurd/new-fd.c: Likewise.
3965 * hurd/ports-get.c: Likewise.
3966 * iconvdata/ibm1008_420.c: Likewise.
3967 * inet/tst-getni1.c: Likewise.
3968 * inet/tst-getni2.c: Likewise.
3969 * libio/ioungetc.c: Likewise.
3970 * libio/wfiledoalloc.c: Likewise.
3971 * manual/libm-err-tab.pl: Likewise.
3972 * math/w_dremf.c: Likewise.
3973 * misc/ftruncate.c: Likewise.
3974 * posix/bug-glob2.c: Likewise.
3975 * posix/tst-pcre.c: Likewise.
3976 * posix/wait4.c: Likewise.
3977 * resolv/README: Likewise.
3978 * resolv/res_debug.h: Likewise.
3979 * resolv/tst-inet_ntop.c: Likewise.
3980 * setjmp/bug269-setjmp.c: Likewise.
3981 * soft-fp/extended.h: Likewise.
3982 * soft-fp/op-1.h: Likewise.
3983 * soft-fp/op-2.h: Likewise.
3984 * soft-fp/op-4.h: Likewise.
3985 * soft-fp/op-8.h: Likewise.
3986 * soft-fp/testit.c: Likewise.
3987 * stdio-common/bug16.c: Likewise.
3988 * stdlib/random.c: Likewise.
3989 * sunrpc/rpcsvc/rquota.x: Likewise.
3990 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
3991 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3992 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3993 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3994 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
3995 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
3996 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3997 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
3998 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
3999 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4000 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4001 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4002 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4003 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4004 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4005 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4006 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4007 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4008 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4009 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4010 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4011 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4012 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
4013 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
4014 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
4015 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
4016 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4017 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
4018 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4019 * sysdeps/ieee754/s_lib_version.c: Likewise.
4020 * sysdeps/mach/hurd/check_fds.c: Likewise.
4021 * sysdeps/mach/hurd/getsockname.c: Likewise.
4022 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
4023 * sysdeps/mach/hurd/recvfrom.c: Likewise.
4024 * sysdeps/powerpc/bits/link.h: Likewise.
4025 * sysdeps/powerpc/dl-procinfo.c: Likewise.
4026 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
4027 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
4028 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
4029 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
4030 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
4031 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
4032 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
4033 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
4034 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
4035 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
4036 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
4037 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
4038 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
4039 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
4040 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
4041 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
4042 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
4043 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
4044 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4045 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4046 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
4047 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4048 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
4049 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
4050 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
4051 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
4052 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4053 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4054 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
4055 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
4056 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
4057 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4058 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4059 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
4060 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
4061 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
4062 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
4063 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
4064 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
4065 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
4066 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
4067 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
4068 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
4069 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
4070 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
4071 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
4072 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
4073 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
4074 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
4075 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4076 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4077 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4078 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4079 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
4080 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
4081 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
4082 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4083 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
4084 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
4085 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
4086 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
4087 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
4088 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4089 * sysdeps/powerpc/sysdep.h: Likewise.
4090 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
4091 * sysdeps/s390/s390-64/sub_n.S: Likewise.
4092 * sysdeps/sh/dl-trampoline.S: Likewise.
4093 * sysdeps/sh/memset.S: Likewise.
4094 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
4095 * sysdeps/sh/strlen.S: Likewise.
4096 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
4097 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
4098 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
4099 * sysdeps/sparc/sparc32/rem.S: Likewise.
4100 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
4101 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
4102 * sysdeps/sparc/sparc32/strchr.S: Likewise.
4103 * sysdeps/sparc/sparc32/udiv.S: Likewise.
4104 * sysdeps/sparc/sparc32/urem.S: Likewise.
4105 * sysdeps/sparc/sparc64/add_n.S: Likewise.
4106 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
4107 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
4108 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
4109 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
4110 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
4111 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
4112 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
4113 * sysdeps/unix/bsd/times.c: Likewise.
4114 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
4115 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
4116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
4117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
4118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
4119 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
4120 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
4121 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
4122 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
4123 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
4124 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
4125 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
4126 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
4127 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
4128 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
4129 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
4130 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
4131 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
4132 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
4133 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
4134 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
4135 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
4136 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
4137 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
4138 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
4139 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
4140 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
4141 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4142 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
4143 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
4144 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
4145 * sysdeps/x86_64/strcspn.S: Likewise.
4146
869378a5
RA
41472013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4148
4149 * locale/C-translit.h: Revert #include <stdint.h> because this is a
4150 generated file. Regenerate properly from gen-translit.pl.
4151 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
4152 locale/C-translit.h.
4153
840e2943
AS
41542013-06-05 Andreas Schwab <schwab@suse.de>
4155
4156 [BZ #15100]
4157 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
4158 week as 6 instead of -1.
4159 * time/tst-strptime.c (day_tests): Add test case.
4160
4c60cb0c
SP
41612013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4162
4163 * sysdeps/generic/math_private.h
4164 (libc_feholdexcept_setround_53bit): Replace with
4165 libc_feholdsetround_53bit.
4166 (libc_feupdateenv_53bit): Replace with
4167 libc_feresetround_53bit.
4168 (SET_RESTORE_ROUND_53BIT): Adjust.
4169
d180203e
SP
41702013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4171
96df079a
SP
4172 * string/test-strchrnul.c: Add copyright header.
4173
d180203e
SP
4174 * posix/tst-getaddrinfo4.c: Increase test timeout.
4175
8b0ccb2d
CD
41762013-06-03 Carlos O'Donell <carlos@redhat.com>
4177
4178 [BZ #15536]
4179 * math/libm-test.inc (MAX_EXP): Remove
4180 (MIN_EXP): Define.
4181 (ulp): Use MIN_EXP - MANT_DIG.
4182 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
4183
3b3c4d40
CD
41842013-05-31 Carlos O'Donell <carlos@redhat.com>
4185
4186 * po/be.po: Revert last change.
4187 * po/zh_CN.po: Likewise.
4188 * po/header.pot: Likewise.
4189
fab7ce3f
JM
41902013-05-31 Joseph Myers <joseph@codesourcery.com>
4191
4192 * Makefile ($(common-objpfx)linkobj/libc.so): Define
4193 link-libc-deps to empty as target-specific variable.
4194 * Makerules (link-libc-args): New variable.
4195 (libc-for-link): Likewise.
4196 (link-libc-deps): Likewise.
4197 (lib%.so): Depend on $(link-libc-deps). Link with
4198 $(link-libc-args).
4199 (build-module): Link with $(link-libc-args).
4200 (build-module-asneeded): Likewise.
4201 (build-module-helper-objlist): Filter out $(link-libc-deps) from
4202 list of objects.
4203 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
4204 target-specific variable.
4205 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
4206 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
4207 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
4208 libc.
4209 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
4210 libc and ld.so.
4211 ($(objpfx)libpcprofile.so): Likewise.
4212 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
4213 libc_nonshared.a.
4214 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
4215 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
4216 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
4217 $(link-libc-deps).
4218 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
4219 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
4220 * login/Makefile ($(objpfx)libutil.so): Likewise.
4221 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
4222 * math/Makefile ($(objpfx)libm.so): Likewise.
4223 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
4224 $(objpfx)libnsl.so): Define libc-for-link as target-specific
4225 variable instead of depending directly on libc.
4226 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
4227 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
4228 $(link-libc-deps).
4229 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
4230 libc.
4231 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
4232 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
4233 ($(objpfx)libanl.so): Likewise.
4234 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
4235 ld.so.
4236 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
4237 $(link-libc-deps).
4238 * sysdeps/i386/fpu/Makefile: Remove file.
4239 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
4240 ($(objpfx)libm.so): Remove dependency on ld.so.
4241
eca5920c
PF
42422013-05-30 Patsy Franklin <pfrankli@redhat.com>
4243
4244 [BZ # 15553]
4245 * nis/yp_xdr.c (XDRMAXNAME): Define.
4246 (XDRMAXRECORD): Define.
4247 (xdr_domainname): Use XDRMAXNAME.
4248 (xdr_mapname): Likewise.
4249 (xdr_peername): Likewise.
4250 (xdr_keydat): Use XDRMAXRECORD.
4251 (xdr_valdat): Likewise.
4252
42532013-05-30 Jeff Law <law@redhat.com>
96945714
JL
4254
4255 [BZ #14256]
4256 * manual/errno.texi (ESTALE): Update to account for more than
4257 just NFS file systems.
4258 * sysdeps/gnu/errlist.c: Regenerated.
4259
b9375348
SP
42602013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4261
4262 [BZ #15465]
4263 * elf/Makefile (tests): Add tst-null-argv.
4264 (modules-names): Add tst-null-argv-lib.
4265 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
4266 (tst-null-argv-ENV): Set environment for tst-null-argv.
4267 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
4268 (RTLD_PROGNAME): New macro.
4269 * elf/tst-null-argv.c: New test case.
4270 * elf/tst-null-argv-lib.c: Library for test case.
4271 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
4272 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
4273 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
4274 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
4275 * elf/dl-init.c (call_init): Likewise.
4276 (_dl_init): Likewise.
4277 * elf/dl-load.c (print_search_path): Likewise.
4278 (_dl_map_object): Likewise.
4279 * elf/dl-lookup.c (do_lookup_x): Likewise.
4280 (add_dependency): Likewise.
4281 (_dl_lookup_symbol_x): Likewise.
4282 (_dl_debug_bindings): Likewise.
4283 * elf/dl-open.c (_dl_show_scope): Likewise.
4284 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
4285 * elf/dl-version.c (match_symbol): Likewise.
4286 (_dl_check_map_versions): Likewise.
4287 * elf/rtld.c (dl_main): Likewise.
4288 (print_unresolved): Use RTLD_PROGNAME.
4289 (print_missing_version): Likewise.
4290 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
4291 (elf_machine_rela): Likewise.
4292 * sysdeps/powerpc/powerpc32/dl-machine.c
4293 (__process_machine_rela): Likewise.
4294 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
4295 Likewise.
4296 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
4297 Likewise.
4298 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
4299 Likewise.
4300 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4301 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
4302 Likewise.
4303 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
4304 Likewise.
4305 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
4306
8a9f20c8
CD
43072013-05-28 Carlos O'Donell <carlos@redhat.com>
4308
4309 * po/be.po: Add descriptive title.
4310 * po/zh_CN.po: Likewise.
4311 * po/header.pot: Likewise.
4312
0e60d68e
MF
43132013-05-28 Mike Frysinger <vapier@gentoo.org>
4314
4315 * locale/programs/locarchive.c (create_archive): Inlucde fname in
4316 error message.
4317 (enlarge_archive): Likewise.
4318
56b672e9
BN
43192013-05-28 Ben North <ben@redfrontdoor.org>
4320
4321 * manual/arith.texi (frexp): It is the magnitude of the return
4322 value which lies in [0.5, 1), not the return value itself.
4323
5e056687
AZ
43242013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4325
4326 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4327
2b66ef5d
TS
43282013-05-26 Thomas Schwinge <thomas@codesourcery.com>
4329
528c2405
TS
4330 * stdio-common/bug26.c (main): Correct fscanf template.
4331
07b4c13d
TS
4332 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
4333 declare _dl_skip_args.
4334
ec9dd97c
TS
4335 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
4336 Don't declare.
4337
2b66ef5d
TS
4338 * manual/platform.texi: Add missing @end deftypefun.
4339
4f8dfe27
JM
43402013-05-24 Joseph Myers <joseph@codesourcery.com>
4341
0323d086
JM
4342 [BZ #15529]
4343 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
4344 bit of mantissa of 2^16382.
4345 * math/libm-test.inc (hypot_test_data): Add more tests.
4346
dd4259b9
JM
4347 * math/libm-test.inc: Add drem and pow10 to list of tested
4348 functions.
4349 (pow10_test): New function.
4350 (drem_test): Likewise.
4351 (drem_test_tonearest): Likewise.
4352 (drem_test_towardzero): Likewise.
4353 (drem_test_downward): Likewise.
4354 (drem_test_upward): Likewise.
4355 (main): Call the new functions.
4356
4f8dfe27
JM
4357 * math/libm-test.inc (finite_test_data): Remove.
4358 (finite_test): Run tests from isfinite_test_data.
4359 (gamma_test_data): Remove.
4360 (gamma_test): Run tests from lgamma_test_data.
4361 * sysdeps/i386/fpu/libm-test-ulps: Update.
4362 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4363
d116b7c4
AZ
43642013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4365
4366 * manual/platform.texi: Add PowerPC PPR function set documentation.
4367 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
4368 implementation.
4369
e96e3767
CD
43702013-05-24 Carlos O'Donell <carlos@redhat.com>
4371
4372 * math/libm-test.inc (MAX_EXP): Define.
4373 (ULPDIFF): Define.
4374 (ulp): New function.
4375 (check_float_internal): Use ULPDIFF.
4376 (cpow_test): Disable failing test.
4377 (check_ulp): Test ulp() implemetnation.
4378 (main): Call check_ulp before starting tests.
4379
b679a606
JM
43802013-05-24 Joseph Myers <joseph@codesourcery.com>
4381
e8bdba36
JM
4382 * math/gen-libm-test.pl (generate_testfile): Do not handle
4383 START_DATA and END_DATA.
4384 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
4385 END_DATA.
4386 (acos_tonearest_test_data): Likewise.
4387 (acos_towardzero_test_data): Likewise.
4388 (acos_downward_test_data): Likewise.
4389 (acos_upward_test_data): Likewise.
4390 (acosh_test_data): Likewise.
4391 (asin_test_data): Likewise.
4392 (asin_tonearest_test_data): Likewise.
4393 (asin_towardzero_test_data): Likewise.
4394 (asin_downward_test_data): Likewise.
4395 (asin_upward_test_data): Likewise.
4396 (asinh_test_data): Likewise.
4397 (atan_test_data): Likewise.
4398 (atanh_test_data): Likewise.
4399 (atan2_test_data): Likewise.
4400 (cabs_test_data): Likewise.
4401 (cacos_test_data): Likewise.
4402 (cacosh_test_data): Likewise.
4403 (carg_test_data): Likewise.
4404 (casin_test_data): Likewise.
4405 (casinh_test_data): Likewise.
4406 (catan_test_data): Likewise.
4407 (catanh_test_data): Likewise.
4408 (cbrt_test_data): Likewise.
4409 (ccos_test_data): Likewise.
4410 (ccosh_test_data): Likewise.
4411 (ceil_test_data): Likewise.
4412 (cexp_test_data): Likewise.
4413 (cimag_test_data): Likewise.
4414 (clog_test_data): Likewise.
4415 (clog10_test_data): Likewise.
4416 (conj_test_data): Likewise.
4417 (copysign_test_data): Likewise.
4418 (cos_test_data): Likewise.
4419 (cos_tonearest_test_data): Likewise.
4420 (cos_towardzero_test_data): Likewise.
4421 (cos_downward_test_data): Likewise.
4422 (cos_upward_test_data): Likewise.
4423 (cosh_test_data): Likewise.
4424 (cosh_tonearest_test_data): Likewise.
4425 (cosh_towardzero_test_data): Likewise.
4426 (cosh_downward_test_data): Likewise.
4427 (cosh_upward_test_data): Likewise.
4428 (cpow_test_data): Likewise.
4429 (cproj_test_data): Likewise.
4430 (creal_test_data): Likewise.
4431 (csin_test_data): Likewise.
4432 (csinh_test_data): Likewise.
4433 (csqrt_test_data): Likewise.
4434 (ctan_test_data): Likewise.
4435 (ctan_tonearest_test_data): Likewise.
4436 (ctan_towardzero_test_data): Likewise.
4437 (ctan_downward_test_data): Likewise.
4438 (ctan_upward_test_data): Likewise.
4439 (ctanh_test_data): Likewise.
4440 (ctanh_tonearest_test_data): Likewise.
4441 (ctanh_towardzero_test_data): Likewise.
4442 (ctanh_downward_test_data): Likewise.
4443 (ctanh_upward_test_data): Likewise.
4444 (erf_test_data): Likewise.
4445 (erfc_test_data): Likewise.
4446 (exp_test_data): Likewise.
4447 (exp_tonearest_test_data): Likewise.
4448 (exp_towardzero_test_data): Likewise.
4449 (exp_downward_test_data): Likewise.
4450 (exp_upward_test_data): Likewise.
4451 (exp10_test_data): Likewise.
4452 (exp2_test_data): Likewise.
4453 (expm1_test_data): Likewise.
4454 (fabs_test_data): Likewise.
4455 (fdim_test_data): Likewise.
4456 (finite_test_data): Likewise.
4457 (floor_test_data): Likewise.
4458 (fma_test_data): Likewise.
4459 (fma_towardzero_test_data): Likewise.
4460 (fma_downward_test_data): Likewise.
4461 (fma_upward_test_data): Likewise.
4462 (fmax_test_data): Likewise.
4463 (fmin_test_data): Likewise.
4464 (fmod_test_data): Likewise.
4465 (fpclassify_test_data): Likewise.
4466 (frexp_test_data): Likewise.
4467 (gamma_test_data): Likewise.
4468 (hypot_test_data): Likewise.
4469 (ilogb_test_data): Likewise.
4470 (isfinite_test_data): Likewise.
4471 (isgreater_test_data): Likewise.
4472 (isgreaterequal_test_data): Likewise.
4473 (isinf_test_data): Likewise.
4474 (isless_test_data): Likewise.
4475 (islessequal_test_data): Likewise.
4476 (islessgreater_test_data): Likewise.
4477 (isnan_test_data): Likewise.
4478 (isnormal_test_data): Likewise.
4479 (issignaling_test_data): Likewise.
4480 (isunordered_test_data): Likewise.
4481 (j0_test_data): Likewise.
4482 (j1_test_data): Likewise.
4483 (jn_test_data): Likewise.
4484 (ldexp_test_data): Likewise.
4485 (lgamma_test_data): Likewise.
4486 (lrint_test_data): Likewise.
4487 (lrint_tonearest_test_data): Likewise.
4488 (lrint_towardzero_test_data): Likewise.
4489 (lrint_downward_test_data): Likewise.
4490 (lrint_upward_test_data): Likewise.
4491 (llrint_test_data): Likewise.
4492 (llrint_tonearest_test_data): Likewise.
4493 (llrint_towardzero_test_data): Likewise.
4494 (llrint_downward_test_data): Likewise.
4495 (llrint_upward_test_data): Likewise.
4496 (log_test_data): Likewise.
4497 (log10_test_data): Likewise.
4498 (log1p_test_data): Likewise.
4499 (log2_test_data): Likewise.
4500 (logb_test_data): Likewise.
4501 (logb_downward_test_data): Likewise.
4502 (lround_test_data): Likewise.
4503 (llround_test_data): Likewise.
4504 (modf_test_data): Likewise.
4505 (nearbyint_test_data): Likewise.
4506 (nextafter_test_data): Likewise.
4507 (nexttoward_test_data): Likewise.
4508 (pow_test_data): Likewise.
4509 (pow_tonearest_test_data): Likewise.
4510 (pow_towardzero_test_data): Likewise.
4511 (pow_downward_test_data): Likewise.
4512 (pow_upward_test_data): Likewise.
4513 (remainder_test_data): Likewise.
4514 (remainder_tonearest_test_data): Likewise.
4515 (remainder_towardzero_test_data): Likewise.
4516 (remainder_downward_test_data): Likewise.
4517 (remainder_upward_test_data): Likewise.
4518 (remquo_test_data): Likewise.
4519 (rint_test_data): Likewise.
4520 (rint_tonearest_test_data): Likewise.
4521 (rint_towardzero_test_data): Likewise.
4522 (rint_downward_test_data): Likewise.
4523 (rint_upward_test_data): Likewise.
4524 (round_test_data): Likewise.
4525 (scalb_test_data): Likewise.
4526 (scalbn_test_data): Likewise.
4527 (scalbln_test_data): Likewise.
4528 (signbit_test_data): Likewise.
4529 (sin_test_data): Likewise.
4530 (sin_tonearest_test_data): Likewise.
4531 (sin_towardzero_test_data): Likewise.
4532 (sin_downward_test_data): Likewise.
4533 (sin_upward_test_data): Likewise.
4534 (sincos_test_data): Likewise.
4535 (sinh_test_data): Likewise.
4536 (sinh_tonearest_test_data): Likewise.
4537 (sinh_towardzero_test_data): Likewise.
4538 (sinh_downward_test_data): Likewise.
4539 (sinh_upward_test_data): Likewise.
4540 (sqrt_test_data): Likewise.
4541 (tan_test_data): Likewise.
4542 (tan_tonearest_test_data): Likewise.
4543 (tan_towardzero_test_data): Likewise.
4544 (tan_downward_test_data): Likewise.
4545 (tan_upward_test_data): Likewise.
4546 (tanh_test_data): Likewise.
4547 (tgamma_test_data): Likewise.
4548 (trunc_test_data): Likewise.
4549 (y0_test_data): Likewise.
4550 (y1_test_data): Likewise.
4551 (yn_test_data): Likewise.
4552 (significand_test_data): Likewise.
4553
b679a606
JM
4554 * math/gen-libm-test.pl (@functions): Remove variable.
4555 (generate_testfile): Don't handle START and END lines.
4556 * math/libm-test.inc (START): New macro.
4557 (END): Likewise.
4558 (END_COMPLEX): Likewise.
4559 (acos_test): Use END macro without arguments.
4560 (acos_test_tonearest): Likewise.
4561 (acos_test_towardzero): Likewise.
4562 (acos_test_downward): Likewise.
4563 (acos_test_upward): Likewise.
4564 (acosh_test): Likewise.
4565 (asin_test): Likewise.
4566 (asin_test_tonearest): Likewise.
4567 (asin_test_towardzero): Likewise.
4568 (asin_test_downward): Likewise.
4569 (asin_test_upward): Likewise.
4570 (asinh_test): Likewise.
4571 (atan_test): Likewise.
4572 (atanh_test): Likewise.
4573 (atan2_test): Likewise.
4574 (cabs_test): Likewise.
4575 (cacos_test): Use END_COMPLEX macro without arguments.
4576 (cacosh_test): Likewise.
4577 (carg_test): Use END macro without arguments.
4578 (casin_test): Use END_COMPLEX macro without arguments.
4579 (casinh_test): Likewise.
4580 (catan_test): Likewise.
4581 (catanh_test): Likewise.
4582 (cbrt_test): Use END macro without arguments.
4583 (ccos_test): Use END_COMPLEX macro without arguments.
4584 (ccosh_test): Likewise.
4585 (ceil_test): Use END macro without arguments.
4586 (cexp_test): Use END_COMPLEX macro without arguments.
4587 (cimag_test): Use END macro without arguments.
4588 (clog_test): Use END_COMPLEX macro without arguments.
4589 (clog10_test): Likewise.
4590 (conj_test): Likewise.
4591 (copysign_test): Use END macro without arguments.
4592 (cos_test): Likewise.
4593 (cos_test_tonearest): Likewise.
4594 (cos_test_towardzero): Likewise.
4595 (cos_test_downward): Likewise.
4596 (cos_test_upward): Likewise.
4597 (cosh_test): Likewise.
4598 (cosh_test_tonearest): Likewise.
4599 (cosh_test_towardzero): Likewise.
4600 (cosh_test_downward): Likewise.
4601 (cosh_test_upward): Likewise.
4602 (cpow_test): Use END_COMPLEX macro without arguments.
4603 (cproj_test): Likewise.
4604 (creal_test): Use END macro without arguments.
4605 (csin_test): Use END_COMPLEX macro without arguments.
4606 (csinh_test): Likewise.
4607 (csqrt_test): Likewise.
4608 (ctan_test): Likewise.
4609 (ctan_test_tonearest): Likewise.
4610 (ctan_test_towardzero): Likewise.
4611 (ctan_test_downward): Likewise.
4612 (ctan_test_upward): Likewise.
4613 (ctanh_test): Likewise.
4614 (ctanh_test_tonearest): Likewise.
4615 (ctanh_test_towardzero): Likewise.
4616 (ctanh_test_downward): Likewise.
4617 (ctanh_test_upward): Likewise.
4618 (erf_test): Use END macro without arguments.
4619 (erfc_test): Likewise.
4620 (exp_test): Likewise.
4621 (exp_test_tonearest): Likewise.
4622 (exp_test_towardzero): Likewise.
4623 (exp_test_downward): Likewise.
4624 (exp_test_upward): Likewise.
4625 (exp10_test): Likewise.
4626 (exp2_test): Likewise.
4627 (expm1_test): Likewise.
4628 (fabs_test): Likewise.
4629 (fdim_test): Likewise.
4630 (finite_test): Likewise.
4631 (floor_test): Likewise.
4632 (fma_test): Likewise.
4633 (fma_test_towardzero): Likewise.
4634 (fma_test_downward): Likewise.
4635 (fma_test_upward): Likewise.
4636 (fmax_test): Likewise.
4637 (fmin_test): Likewise.
4638 (fmod_test): Likewise.
4639 (fpclassify_test): Likewise.
4640 (frexp_test): Likewise.
4641 (gamma_test): Likewise.
4642 (hypot_test): Likewise.
4643 (ilogb_test): Likewise.
4644 (isfinite_test): Likewise.
4645 (isgreater_test): Likewise.
4646 (isgreaterequal_test): Likewise.
4647 (isinf_test): Likewise.
4648 (isless_test): Likewise.
4649 (islessequal_test): Likewise.
4650 (islessgreater_test): Likewise.
4651 (isnan_test): Likewise.
4652 (isnormal_test): Likewise.
4653 (issignaling_test): Likewise.
4654 (isunordered_test): Likewise.
4655 (j0_test): Likewise.
4656 (j1_test): Likewise.
4657 (jn_test): Likewise.
4658 (ldexp_test): Likewise.
4659 (lgamma_test): Likewise.
4660 (lrint_test): Likewise.
4661 (lrint_test_tonearest): Likewise.
4662 (lrint_test_towardzero): Likewise.
4663 (lrint_test_downward): Likewise.
4664 (lrint_test_upward): Likewise.
4665 (llrint_test): Likewise.
4666 (llrint_test_tonearest): Likewise.
4667 (llrint_test_towardzero): Likewise.
4668 (llrint_test_downward): Likewise.
4669 (llrint_test_upward): Likewise.
4670 (log_test): Likewise.
4671 (log10_test): Likewise.
4672 (log1p_test): Likewise.
4673 (log2_test): Likewise.
4674 (logb_test): Likewise.
4675 (logb_test_downward): Likewise.
4676 (lround_test): Likewise.
4677 (llround_test): Likewise.
4678 (modf_test): Likewise.
4679 (nearbyint_test): Likewise.
4680 (nextafter_test): Likewise.
4681 (nexttoward_test): Likewise.
4682 (pow_test): Likewise.
4683 (pow_test_tonearest): Likewise.
4684 (pow_test_towardzero): Likewise.
4685 (pow_test_downward): Likewise.
4686 (pow_test_upward): Likewise.
4687 (remainder_test): Likewise.
4688 (remainder_test_tonearest): Likewise.
4689 (remainder_test_towardzero): Likewise.
4690 (remainder_test_downward): Likewise.
4691 (remainder_test_upward): Likewise.
4692 (remquo_test): Likewise.
4693 (rint_test): Likewise.
4694 (rint_test_tonearest): Likewise.
4695 (rint_test_towardzero): Likewise.
4696 (rint_test_downward): Likewise.
4697 (rint_test_upward): Likewise.
4698 (round_test): Likewise.
4699 (scalb_test): Likewise.
4700 (scalbn_test): Likewise.
4701 (scalbln_test): Likewise.
4702 (signbit_test): Likewise.
4703 (sin_test): Likewise.
4704 (sin_test_tonearest): Likewise.
4705 (sin_test_towardzero): Likewise.
4706 (sin_test_downward): Likewise.
4707 (sin_test_upward): Likewise.
4708 (sincos_test): Likewise.
4709 (sinh_test): Likewise.
4710 (sinh_test_tonearest): Likewise.
4711 (sinh_test_towardzero): Likewise.
4712 (sinh_test_downward): Likewise.
4713 (sinh_test_upward): Likewise.
4714 (sqrt_test): Likewise.
4715 (tan_test): Likewise.
4716 (tan_test_tonearest): Likewise.
4717 (tan_test_towardzero): Likewise.
4718 (tan_test_downward): Likewise.
4719 (tan_test_upward): Likewise.
4720 (tanh_test): Likewise.
4721 (tgamma_test): Likewise.
4722 (trunc_test): Likewise.
4723 (y0_test): Likewise.
4724 (y1_test): Likewise.
4725 (yn_test): Likewise.
4726 (significand_test): Likewise.
4727
bae143d2
OB
47282013-05-24 Ondřej Bílka <neleai@seznam.cz>
4729
4730 [BZ #15381]
4731 * libio/genops.c (_IO_no_init): Initialize wide struct info.
4732
9323d39b
EM
47332013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
4734
d4ea44a0 4735 [BZ #14894]
9323d39b
EM
4736 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
4737 __ppc_mdoio and __ppc_mdoom.
4738 * manual/platform.texi: Document new functions __ppc_yield,
4739 __ppc_mdoio and __ppc_mdoom.
4740
13e23af7
CD
47412013-05-22 Carlos O'Donell <carlos@redhat.com>
4742
4743 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
4744 (main): Mention "tls" pseudo-hwcap is legacy.
4745 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
4746
351fe550
JM
47472013-05-22 Joseph Myers <joseph@codesourcery.com>
4748
4749 * math/gen-libm-test.pl (parse_args): Output only string of
4750 arguments as text for test name, not full call or descriptions of
4751 tests for extra outputs.
4752 (generate_testfile): Do not pass function name to parse_args.
4753 Generate this_func variable from START.
4754 * math/libm-test.inc (struct test_f_f_data): Rename test_name
4755 field to arg_str.
4756 (struct test_ff_f_data): Likewise.
4757 (test_ff_f_data_nexttoward): Likewise.
4758 (struct test_fi_f_data): Likewise.
4759 (struct test_fl_f_data): Likewise.
4760 (struct test_if_f_data): Likewise.
4761 (struct test_fff_f_data): Likewise.
4762 (struct test_c_f_data): Likewise.
4763 (struct test_f_f1_data): Likewise. Remove field extra_name.
4764 (struct test_fF_f1_data): Likewise.
4765 (struct test_ffI_f1_data): Likewise.
4766 (struct test_c_c_data): Rename test_name field to arg_str.
4767 (struct test_cc_c_data): Likewise.
4768 (struct test_f_i_data): Likewise.
4769 (struct test_ff_i_data): Likewise.
4770 (struct test_f_l_data): Likewise.
4771 (struct test_f_L_data): Likewise.
4772 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
4773 and extra2_name.
4774 (COMMON_TEST_SETUP): New macro.
4775 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
4776 (COMMON_TEST_CLEANUP): Likewise.
4777 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
4778 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
4779 macros.
4780 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
4781 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
4782 macros.
4783 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
4784 (RUN_TEST_fff_f): Take argument string. Call new setup and
4785 cleanup macros.
4786 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
4787 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
4788 macros.
4789 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
4790 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
4791 macros.
4792 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
4793 (RUN_TEST_fF_f1): Take argument string. Call new setup and
4794 cleanup macros.
4795 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
4796 (RUN_TEST_fI_f1): Take argument string. Call new setup and
4797 cleanup macros.
4798 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
4799 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
4800 cleanup macros.
4801 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
4802 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
4803 macros.
4804 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
4805 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
4806 macros.
4807 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
4808 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
4809 macros.
4810 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
4811 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
4812 cleanup macros.
4813 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
4814 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
4815 cleanup macros.
4816 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
4817 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
4818 macros.
4819 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
4820 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
4821 cleanup macros.
4822 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
4823 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
4824 macros.
4825 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
4826 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
4827 macros.
4828 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
4829 (RUN_TEST_fFF_11): Take argument string. Call new setup and
4830 cleanup macros.
4831 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
4832
85118d4d
EBM
48332013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4834
4835 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
4836 to _sifields.sigfault.
4837 (si_addr_lsb): Define new macro.
4838 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
4839 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4840 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
4841
7a44c18f
CD
48422013-05-03 Carlos O'Donell <carlos at redhat.com>
4843
4844 [BZ #15441]
4845 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
4846 returns -1.
4847 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
4848 null return -1.
4849 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
4850 loading the domain.
4851
b50a7181
JM
48522013-05-22 Joseph Myers <joseph@codesourcery.com>
4853
4854 * math/gen-libm-test.pl (parse_args): Do not include expected
4855 result in test name.
4856 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
4857 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4858 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4859 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
4860 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4861 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4862
051063c8
SP
48632013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4864
3ce9e010
SP
4865 * benchtests/Makefile: Sort function entries.
4866
051063c8
SP
4867 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
4868 tanh, asinh, acosh, atanh.
4869 * benchtests/acos-inputs: New file.
4870 * benchtests/acosh-inputs: New file.
4871 * benchtests/asin-inputs: New file.
4872 * benchtests/asinh-inputs: New file.
4873 * benchtests/atanh-inputs: New file.
4874 * benchtests/cosh-inputs: New file.
4875 * benchtests/log-inputs: New file.
4876 * benchtests/sinh-inputs: New file.
4877 * benchtests/tanh-inputs: New file.
4878
47c22455
DL
48792013-05-21 Dmitry V. Levin <ldv@altlinux.org>
4880
4881 [BZ #15339]
4882 * posix/tst-getaddrinfo4.c: New test.
4883 * posix/Makefile (tests): Add it.
4884
3d04f5db
SP
48852013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4886
4887 [BZ #15339]
4888 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
4889 when no services were used.
4890 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
4891 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
4892
d5dd6189
AS
48932013-05-21 Andreas Schwab <schwab@suse.de>
4894
4895 [BZ #15014]
4896 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
4897 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
4898 successful.
4899 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
4900 redundant variable declarations and reallocation of buffer when
4901 parsing as IPv6 address. Always set NSS status when called from
4902 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
4903 buffer too small. Correct computation of needed size.
4904 * nss/Makefile (tests): Add test-digits-dots.
4905 * nss/test-digits-dots.c: New test.
4906
fef94eab
SP
49072013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4908
4909 * benchtests/Makefile: Remove instructions for adding
4910 benchmark tests.
4911 * benchtests/README: New file to explain how to execute and
4912 enhance the benchmark tests.
4913
e39adf43
AS
49142013-05-21 Andreas Schwab <schwab@suse.de>
4915
4916 [BZ #15493]
4917 * setjmp/Makefile (tests): Add tst-sigsetjmp.
4918 * setjmp/tst-sigsetjmp.c: New test.
4919
b2b671b6
OB
49202013-05-20 Ondřej Bílka <neleai@seznam.cz>
4921
4922 * sysdeps/x86_64/memset.S (memset): New implementation.
4923 (__bzero): Likewise.
4924 (__memset_tail): New function.
4925
2d48b41c
OB
49262013-05-20 Ondřej Bílka <neleai@seznam.cz>
4927
4928 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
4929 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
4930 __memcpy_sse2_unaligned ifunc selection.
4931 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
4932 Add memcpy-sse2-unaligned.S.
4933 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4934 Add: __memcpy_sse2_unaligned.
4935
f16cc3eb
JM
49362013-05-19 Joseph Myers <joseph@codesourcery.com>
4937
3e694268
JM
4938 [BZ #15490]
4939 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
4940 math_force_eval before restoring floating-point envrionment.
4941 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
4942 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
4943 Likewise.
4944 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
4945 <math_private.h>.
4946 (__nearbyintl): Use math_force_eval before restoring
4947 floating-point environment.
4948 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
4949
db62a907
JM
4950 * math/gen-libm-test.pl (special_functions): Remove.
4951 (parse_args): Don't handle TEST_extra. Handle functions with no
4952 return value.
4953 * math/libm-test.inc (struct test_sincos_data): Replace with
4954 struct test_fFF_11_data.
4955 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
4956 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
4957 (sincos_test_data): Change element type to struct
4958 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
4959 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
4960 RUN_TEST_LOOP_sincos.
4961 * math/README.libm-test: Don't mention special handling of
4962 individual functions.
4963 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
4964 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4965 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4966 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
4967 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4968 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4969
f16cc3eb
JM
4970 * math/gen-libm-test.pl (get_variable): Remove function.
4971 (parse_args): Don't show pointer parameters to call in test
4972 names. Use "extra output N" in test names for extra outputs
4973 rather than naming variables.
4974
3779b5b6
JM
49752013-05-18 Joseph Myers <joseph@codesourcery.com>
4976
2ee094ff
JM
4977 [BZ #15488]
4978 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
4979 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
4980 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
4981 double tests.
4982 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
4983 disable.
4984 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
4985 check_long_double.
4986
3779b5b6
JM
4987 * math/gen-libm-test.pl (@tests): Remove variable.
4988 ($count): Likewise.
4989 (new_test): Remove function.
4990 (show_exceptions): New function.
4991 (special_functions): Use show_exceptions instead of new_test.
4992 (parse_args): Likewise.
4993 (generate_testfile): Pass only function name in generated call to
4994 print_max_error or print_complex_max_error.
4995 (get_ulps): Do not handle complex tests specially.
4996 (output_test): Rename to ...
4997 (get_all_ulps_for_test): ... this. Return a string rather than
4998 printing to a file. Require ulps to be present.
4999 (output_ulps): Generate arrays rather than #defines.
5000 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
5001 (struct ulp_data): New type.
5002 (BUILD_COMPLEX_ULP): Remove macro.
5003 (compare_ulp_data): New function.
5004 (find_ulps): Likewise.
5005 (find_test_ulps): Likewise.
5006 (find_function_ulps): Likewise.
5007 (find_complex_function_ulps): Likewise.
5008 (print_max_error): Determine allowed ulps using
5009 find_function_ulps.
5010 (print_complex_max_error): Determine allowed ulps using
5011 find_complex_function_ulps.
5012 (check_float_internal): Determine max ulps using find_test_ulps.
5013 (check_float): Do not take max_ulp parameter. Update call to
5014 check_float_internal.
5015 (check_complex): Likewise.
5016 (check_int): Do not take max_ulp parameter.
5017 (check_long): Likewise.
5018 (check_bool): Likewise.
5019 (check_longlong): Likewise.
5020 (struct test_f_f_data): Remove max_ulp field.
5021 (struct test_ff_f_data): Likewise.
5022 (struct test_ff_f_data_nexttoward): Likewise.
5023 (struct test_fi_f_data): Likewise.
5024 (struct test_fl_f_data): Likewise.
5025 (struct test_if_f_data): Likewise.
5026 (struct test_fff_f_data): Likewise.
5027 (struct test_c_f_data): Likewise.
5028 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
5029 (struct test_fF_f1_data): Likewise.
5030 (struct test_ffI_f1_data): Likewise.
5031 (struct test_c_c_data): Remove max_ulp field.
5032 (struct test_cc_c_data): Likewise.
5033 (struct test_f_i_data): Likewise.
5034 (struct test_ff_i_data): Likewise.
5035 (struct test_f_l_data): Likewise.
5036 (struct test_f_L_data): Likewise.
5037 (struct test_sincos_data): Likewise.
5038 (RUN_TEST_f_f): Do not handle ulps.
5039 (RUN_TEST_LOOP_f_f): Likewise.
5040 (RUN_TEST_2_f): Likewise.
5041 (RUN_TEST_LOOP_2_f): Likewise.
5042 (RUN_TEST_fff_f): Likewise.
5043 (RUN_TEST_LOOP_fff_f): Likewise.
5044 (RUN_TEST_c_f): Likewise.
5045 (RUN_TEST_LOOP_c_f): Likewise.
5046 (RUN_TEST_f_f1): Likewise.
5047 (RUN_TEST_LOOP_f_f1): Likewise.
5048 (RUN_TEST_fF_f1): Likewise.
5049 (RUN_TEST_LOOP_fF_f1): Likewise.
5050 (RUN_TEST_fI_f1): Likewise.
5051 (RUN_TEST_LOOP_fI_f1): Likewise.
5052 (RUN_TEST_ffI_f1): Likewise.
5053 (RUN_TEST_LOOP_ffI_f1): Likewise.
5054 (RUN_TEST_c_c): Likewise.
5055 (RUN_TEST_LOOP_c_c): Likewise.
5056 (RUN_TEST_cc_c): Likewise.
5057 (RUN_TEST_LOOP_cc_c): Likewise.
5058 (RUN_TEST_f_i): Likewise.
5059 (RUN_TEST_LOOP_f_i): Likewise.
5060 (RUN_TEST_f_i_tg): Likewise.
5061 (RUN_TEST_LOOP_f_i_tg): Likewise.
5062 (RUN_TEST_ff_i_tg): Likewise.
5063 (RUN_TEST_LOOP_ff_i_tg): Likewise.
5064 (RUN_TEST_f_b): Likewise.
5065 (RUN_TEST_LOOP_f_b): Likewise.
5066 (RUN_TEST_f_b_tg): Likewise.
5067 (RUN_TEST_LOOP_f_b_tg): Likewise.
5068 (RUN_TEST_f_l): Likewise.
5069 (RUN_TEST_LOOP_f_l): Likewise.
5070 (RUN_TEST_f_L): Likewise.
5071 (RUN_TEST_LOOP_f_L): Likewise.
5072 (RUN_TEST_sincos): Likewise.
5073 (RUN_TEST_LOOP_sincos): Likewise.
5074
8269107f
JM
50752013-05-17 Joseph Myers <joseph@codesourcery.com>
5076
bb38759d
JM
5077 [BZ #15480]
5078 [BZ #15485]
5079 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
5080 main case of finite arguments, set rounding mode to FE_TONEAREST
5081 and discard exceptions.
5082 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
5083 exceptions.
5084 (remainder_tonearest_test_data): New variable.
5085 (remainder_test_tonearest): New function.
5086 (remainder_towardzero_test_data): New variable.
5087 (remainder_test_towardzero): New function.
5088 (remainder_downward_test_data): New variable.
5089 (remainder_test_downward): New function.
5090 (remainder_upward_test_data): New variable.
5091 (remainder_test_upward): New function.
5092 (main): Call the new test functions.
5093
a00bdcf0
JM
5094 * math/libm-test.inc (struct test_f_f1_data): Remove field
5095 extra_init.
5096 (struct test_fF_f1_data): Likewise.
5097 (struct test_ffI_f1_data): Likewise.
5098 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
5099 based on value of EXTRA_EXPECTED.
5100 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
5101 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
5102 EXTRA_VAR based on value of EXTRA_EXPECTED.
5103 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
5104 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
5105 EXTRA_VAR based on value of EXTRA_EXPECTED.
5106 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
5107 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
5108 EXTRA_VAR based on value of EXTRA_EXPECTED.
5109 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
5110 * math/gen-libm-test.pl (parse_args): Don't output initializers
5111 for extra output values.
5112
de407f79
JM
5113 * math/libm-test.inc (check_int): Expect result to be exactly
5114 equal to expected value and do not handle ulps.
5115 (check_long): Likewise.
5116 (check_longlong): Likewise.
5117
8269107f
JM
5118 * math/libm-test.inc (ceil_test_data): Test for "inexact"
5119 exceptions.
5120 (cimag_test_data): Likewise.
5121 (conj_test_data): Likewise.
5122 (copysign_test_data): Likewise.
5123 (cproj_test_data): Likewise.
5124 (creal_test_data): Likewise.
5125 (fabs_test_data): Likewise.
5126 (fdim_test_data): Likewise.
5127 (finite_test_data): Likewise.
5128 (floor_test_data): Likewise.
5129 (fmax_test_data): Likewise.
5130 (fmin_test_data): Likewise.
5131 (fmod_test_data): Likewise.
5132 (fpclassify_test_data): Likewise.
5133 (frexp_test_data): Likewise.
5134 (ilogb_test_data): Likewise.
5135 (isfinite_test_data): Likewise.
5136 (isgreater_test_data): Likewise.
5137 (isgreaterequal_test_data): Likewise.
5138 (isinf_test_data): Likewise.
5139 (isless_test_data): Likewise.
5140 (islessequal_test_data): Likewise.
5141 (islessgreater_test_data): Likewise.
5142 (isnan_test_data): Likewise.
5143 (isnormal_test_data): Likewise.
5144 (issignaling_test_data): Likewise.
5145 (isunordered_test_data): Likewise.
5146 (ldexp_test_data): Likewise.
5147 (lrint_test_data): Likewise.
5148 (lrint_test_data) [TEST_FLOAT]: Disable one test.
5149 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
5150 (lrint_tonearest_test_data): Test for "inexact" exceptions.
5151 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
5152 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
5153 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
5154 test input.
5155 (lrint_towardzero_test_data): Test for "inexact" exceptions.
5156 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
5157 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
5158 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
5159 that test input.
5160 (lrint_downward_test_data): Test for "inexact" exceptions.
5161 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
5162 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
5163 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
5164 test input.
5165 (lrint_upward_test_data): Test for "inexact" exceptions.
5166 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
5167 test input.
5168 (llrint_test_data): Test for "inexact" exceptions.
5169 (llrint_test_data) [TEST_FLOAT]: Disable one test.
5170 (llrint_tonearest_test_data): Test for "inexact" exceptions.
5171 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
5172 (llrint_towardzero_test_data): Test for "inexact" exceptions.
5173 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
5174 (llrint_downward_test_data): Test for "inexact" exceptions.
5175 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
5176 (llrint_upward_test_data): Test for "inexact" exceptions.
5177 (logb_test_data): Likewise.
5178 (logb_downward_test_data): Likewise.
5179 (nextafter_test_data): Likewise.
5180 (nexttoward_test_data): Likewise.
5181 (remainder_test_data): Likewise.
5182 (remquo_test_data): Likewise.
5183 (scalbn_test_data): Likewise.
5184 (scalbln_test_data): Likewise.
5185 (signbit_test_data): Likewise.
5186 (sqrt_test_data): Likewise.
5187 (significand_test_data): Likewise.
5188
48a18de1
SP
51892013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5190
5191 [BZ #15424]
5192 * benchtests/bench-modf.c (struct args): Mark arg0 as
5193 volatile.
5194 * scripts/bench.pl: Mark members of struct args as volatile.
5195
13d3b41a
AZ
51962013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5197
68191c1d 5198 [BZ # 15497]
13d3b41a
AZ
5199 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
5200 negative infinity on POWER6 or lower.
5201 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
5202
2848b105
MR
52032013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
5204
5205 [BZ #15442]
5206 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
5207 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
5208 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
5209 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
5210 (_FP_SETQNAN): New macro.
5211 (_FP_SETQNAN_SEMIRAW): Likewise.
5212 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
5213 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
5214 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
5215 (FP_EXTEND): Use _FP_FRAC_SNANP.
5216 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
5217 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
5218 into account.
5219 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
5220 New macro.
5221 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
5222 Likewise.
5223
323e5cb7
JM
52242013-05-16 Joseph Myers <joseph@codesourcery.com>
5225
c58b274f
JM
5226 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
5227 with DIVIDE_BY_ZERO_EXCEPTION.
5228 (gamma_test_data): Likewise.
5229 (lgamma_test_data): Likewise.
5230 (log_test_data): Likewise.
5231 (log10_test_data): Likewise.
5232 (log2_test_data): Likewise.
5233 (tgamma_test_data): Likewise.
5234
0ab34904
JM
5235 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
5236 (acos_test_tonearest): Likewise.
5237 (acos_test_towardzero): Likewise.
5238 (acos_test_downward): Likewise.
5239 (acos_test_upward): Likewise.
5240 (acosh_test): Likewise.
5241 (asin_test): Likewise.
5242 (asin_test_tonearest): Likewise.
5243 (asin_test_towardzero): Likewise.
5244 (asin_test_downward): Likewise.
5245 (asin_test_upward): Likewise.
5246 (asinh_test): Likewise.
5247 (atan_test): Likewise.
5248 (atanh_test): Likewise.
5249 (atan2_test): Likewise.
5250 (cabs_test): Likewise.
5251 (cacos_test): Likewise.
5252 (cacosh_test): Likewise.
5253 (casin_test): Likewise.
5254 (casinh_test): Likewise.
5255 (catan_test): Likewise.
5256 (catanh_test): Likewise.
5257 (cbrt_test): Likewise.
5258 (ccos_test): Likewise.
5259 (ccosh_test): Likewise.
5260 (cexp_test): Likewise.
5261 (clog_test): Likewise.
5262 (clog10_test): Likewise.
5263 (cos_test): Likewise.
5264 (cos_test_tonearest): Likewise.
5265 (cos_test_towardzero): Likewise.
5266 (cos_test_downward): Likewise.
5267 (cos_test_upward): Likewise.
5268 (cosh_test): Likewise.
5269 (cosh_test_tonearest): Likewise.
5270 (cosh_test_towardzero): Likewise.
5271 (cosh_test_downward): Likewise.
5272 (cosh_test_upward): Likewise.
5273 (cpow_test): Likewise.
5274 (csin_test): Likewise.
5275 (csinh_test): Likewise.
5276 (csqrt_test): Likewise.
5277 (ctan_test): Likewise.
5278 (ctan_test_tonearest): Likewise.
5279 (ctan_test_towardzero): Likewise.
5280 (ctan_test_downward): Likewise.
5281 (ctan_test_upward): Likewise.
5282 (ctanh_test): Likewise.
5283 (ctanh_test_tonearest): Likewise.
5284 (ctanh_test_towardzero): Likewise.
5285 (ctanh_test_downward): Likewise.
5286 (ctanh_test_upward): Likewise.
5287 (erf_test): Likewise.
5288 (erfc_test): Likewise.
5289 (exp_test): Likewise.
5290 (exp_test_tonearest): Likewise.
5291 (exp_test_towardzero): Likewise.
5292 (exp_test_downward): Likewise.
5293 (exp_test_upward): Likewise.
5294 (exp10_test): Likewise.
5295 (exp2_test): Likewise.
5296 (expm1_test): Likewise.
5297 (fmod_test): Likewise.
5298 (gamma_test): Likewise.
5299 (hypot_test): Likewise.
5300 (j0_test): Likewise.
5301 (j1_test): Likewise.
5302 (jn_test): Likewise.
5303 (lgamma_test): Likewise.
5304 (log_test): Likewise.
5305 (log10_test): Likewise.
5306 (log1p_test): Likewise.
5307 (log2_test): Likewise.
5308 (logb_test_downward): Likewise.
5309 (pow_test): Likewise.
5310 (pow_test_tonearest): Likewise.
5311 (pow_test_towardzero): Likewise.
5312 (pow_test_downward): Likewise.
5313 (pow_test_upward): Likewise.
5314 (remainder_test): Likewise.
5315 (remquo_test): Likewise.
5316 (sin_test): Likewise.
5317 (sin_test_tonearest): Likewise.
5318 (sin_test_towardzero): Likewise.
5319 (sin_test_downward): Likewise.
5320 (sin_test_upward): Likewise.
5321 (sincos_test): Likewise.
5322 (sinh_test): Likewise.
5323 (sinh_test_tonearest): Likewise.
5324 (sinh_test_towardzero): Likewise.
5325 (sinh_test_downward): Likewise.
5326 (sinh_test_upward): Likewise.
5327 (sqrt_test): Likewise.
5328 (tan_test): Likewise.
5329 (tan_test_tonearest): Likewise.
5330 (tan_test_towardzero): Likewise.
5331 (tan_test_downward): Likewise.
5332 (tan_test_upward): Likewise.
5333 (tanh_test): Likewise.
5334 (tgamma_test): Likewise.
5335 (y0_test): Likewise.
5336 (y1_test): Likewise.
5337 (yn_test): Likewise.
5338
323e5cb7
JM
5339 * math/gen-libm-test.pl (adjust_arg): Remove function.
5340 (special_function): Remove argument $in_func. Only handle
5341 generating output for tables of tests, not inside functions.
5342 (parse_args): Likewise.
5343 (generate_testfile): Remove variable $in_func. Update call to
5344 parse_args.
5345 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
5346 (MINUS_ZERO_INIT): Rename macro to minus_zero.
5347 (PLUS_INFTY_INIT): Rename macro to plus_infty.
5348 (MINUS_INFTY_INIT): Rename macro to minus_infty.
5349 (QNAN_VALUE_INIT): Rename macro to qnan_value.
5350 (MAX_VALUE_INIT): Rename macro to max_value.
5351 (MIN_VALUE_INIT): Rename macro to min_value.
5352 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
5353 (plus_zero): Remove variable.
5354 (minus_zero): Likewise.
5355 (plus_infty): Likewise.
5356 (minus_infty): Likewise.
5357 (qnan_value): Likewise.
5358 (max_value): Likewise.
5359 (min_value): Likewise.
5360 (min_subnorm_value): Likewise.
5361
e054f494
RA
53622013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5363
5364 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
5365 uint64_t or uint32_t usage.
5366 * crypt/sha256-block.c: Likewise.
5367 * crypt/sha256-crypt.c: Likewise.
5368 * crypt/sha256.c: Likewise.
5369 * crypt/sha512-block.c: Likewise.
5370 * crypt/sha512-crypt.c: Likewise.
5371 * crypt/sha512.c: Likewise.
5372 * debug/backtrace-tst.c: Likewise.
5373 * debug/pcprofiledump.c: Likewise.
5374 * elf/cache.c: Likewise.
5375 * elf/dl-cache.c: Likewise.
5376 * elf/dl-misc.c: Likewise.
5377 * elf/dl-profile.c: Likewise.
5378 * elf/dl-support.c: Likewise.
5379 * elf/ldconfig.c: Likewise.
5380 * elf/sprof.c: Likewise.
5381 * iconv/dummy-repertoire.c: Likewise.
5382 * iconv/iconv_charmap.c: Likewise.
5383 * iconv/skeleton.c: Likewise.
5384 * iconvdata/8bit-generic.c: Likewise.
5385 * iconvdata/cp737.h: Likewise.
5386 * iconvdata/cp775.h: Likewise.
5387 * iconvdata/ibm1008.h: Likewise.
5388 * iconvdata/ibm1025.h: Likewise.
5389 * iconvdata/ibm1046.h: Likewise.
5390 * iconvdata/ibm1097.h: Likewise.
5391 * iconvdata/ibm1112.h: Likewise.
5392 * iconvdata/ibm1122.h: Likewise.
5393 * iconvdata/ibm1123.h: Likewise.
5394 * iconvdata/ibm1124.h: Likewise.
5395 * iconvdata/ibm1129.h: Likewise.
5396 * iconvdata/ibm1130.h: Likewise.
5397 * iconvdata/ibm1132.h: Likewise.
5398 * iconvdata/ibm1133.h: Likewise.
5399 * iconvdata/ibm1137.h: Likewise.
5400 * iconvdata/ibm1140.h: Likewise.
5401 * iconvdata/ibm1141.h: Likewise.
5402 * iconvdata/ibm1142.h: Likewise.
5403 * iconvdata/ibm1143.h: Likewise.
5404 * iconvdata/ibm1144.h: Likewise.
5405 * iconvdata/ibm1145.h: Likewise.
5406 * iconvdata/ibm1146.h: Likewise.
5407 * iconvdata/ibm1147.h: Likewise.
5408 * iconvdata/ibm1148.h: Likewise.
5409 * iconvdata/ibm1149.h: Likewise.
5410 * iconvdata/ibm1153.h: Likewise.
5411 * iconvdata/ibm1154.h: Likewise.
5412 * iconvdata/ibm1155.h: Likewise.
5413 * iconvdata/ibm1156.h: Likewise.
5414 * iconvdata/ibm1157.h: Likewise.
5415 * iconvdata/ibm1158.h: Likewise.
5416 * iconvdata/ibm1160.h: Likewise.
5417 * iconvdata/ibm1161.h: Likewise.
5418 * iconvdata/ibm1162.h: Likewise.
5419 * iconvdata/ibm1163.h: Likewise.
5420 * iconvdata/ibm1164.h: Likewise.
5421 * iconvdata/ibm1166.h: Likewise.
5422 * iconvdata/ibm1167.h: Likewise.
5423 * iconvdata/ibm12712.h: Likewise.
5424 * iconvdata/ibm1390.h: Likewise.
5425 * iconvdata/ibm1399.h: Likewise.
5426 * iconvdata/ibm16804.h: Likewise.
5427 * iconvdata/ibm4517.h: Likewise.
5428 * iconvdata/ibm4899.h: Likewise.
5429 * iconvdata/ibm4909.h: Likewise.
5430 * iconvdata/ibm4971.h: Likewise.
5431 * iconvdata/ibm5347.h: Likewise.
5432 * iconvdata/ibm803.h: Likewise.
5433 * iconvdata/ibm856.h: Likewise.
5434 * iconvdata/ibm901.h: Likewise.
5435 * iconvdata/ibm902.h: Likewise.
5436 * iconvdata/ibm9030.h: Likewise.
5437 * iconvdata/ibm9066.h: Likewise.
5438 * iconvdata/ibm921.h: Likewise.
5439 * iconvdata/ibm922.h: Likewise.
5440 * iconvdata/ibm9448.h: Likewise.
5441 * iconvdata/isiri-3342.h: Likewise.
5442 * iconvdata/jis0201.h: Likewise.
5443 * include/link.h: Likewise.
5444 * include/netdb.h: Likewise.
5445 * inet/check_native.c: Likewise.
5446 * inet/check_pf.c: Likewise.
5447 * inet/getipv4sourcefilter.c: Likewise.
5448 * inet/getnameinfo.c: Likewise.
5449 * inet/getsourcefilter.c: Likewise.
5450 * inet/htonl.c: Likewise.
5451 * inet/setipv4sourcefilter.c: Likewise.
5452 * inet/setsourcefilter.c: Likewise.
5453 * inet/test-inet6_opt.c: Likewise.
5454 * inet/tst-network.c: Likewise.
5455 * locale/C-collate.c: Likewise.
5456 * locale/C-ctype.c: Likewise.
5457 * locale/C-time.c: Likewise.
5458 * locale/C-translit.h: Likewise.
5459 * locale/loadarchive.c: Likewise.
5460 * locale/programs/3level.h: Likewise.
5461 * locale/programs/charmap.c: Likewise.
5462 * locale/programs/charmap.h: Likewise.
5463 * locale/programs/ld-address.c: Likewise.
5464 * locale/programs/ld-collate.c: Likewise.
5465 * locale/programs/ld-ctype.c: Likewise.
5466 * locale/programs/ld-identification.c: Likewise.
5467 * locale/programs/ld-measurement.c: Likewise.
5468 * locale/programs/ld-messages.c: Likewise.
5469 * locale/programs/ld-monetary.c: Likewise.
5470 * locale/programs/ld-name.c: Likewise.
5471 * locale/programs/ld-numeric.c: Likewise.
5472 * locale/programs/ld-paper.c: Likewise.
5473 * locale/programs/ld-telephone.c: Likewise.
5474 * locale/programs/ld-time.c: Likewise.
5475 * locale/programs/linereader.c: Likewise.
5476 * locale/programs/locale.c: Likewise.
5477 * locale/programs/locarchive.c: Likewise.
5478 * locale/programs/locfile.h: Likewise.
5479 * locale/programs/repertoire.c: Likewise.
5480 * locale/programs/simple-hash.c: Likewise.
5481 * locale/programs/simple-hash.h: Likewise.
5482 * malloc/memusage.c: Likewise.
5483 * malloc/memusagestat.c: Likewise.
5484 * nis/nis_defaults.c: Likewise.
5485 * nis/nis_hash.c: Likewise.
5486 * nis/nis_print.c: Likewise.
5487 * nis/nis_xdr.c: Likewise.
5488 * nscd/connections.c: Likewise.
5489 * nscd/hstcache.c: Likewise.
5490 * nscd/nscd_gethst_r.c: Likewise.
5491 * nscd/nscd_getserv_r.c: Likewise.
5492 * nscd/nscd_helper.c: Likewise.
5493 * nscd/servicescache.c: Likewise.
5494 * nss/makedb.c: Likewise.
5495 * nss/nss_db/db-XXX.c: Likewise.
5496 * nss/nss_db/db-initgroups.c: Likewise.
5497 * nss/nss_db/db-netgrp.c: Likewise.
5498 * nss/nss_files/files-network.c: Likewise.
5499 * nss/nss_files/files-parse.c: Likewise.
5500 * posix/bug-regex5.c: Likewise.
5501 * posix/fnmatch_loop.c: Likewise.
5502 * posix/regcomp.c: Likewise.
5503 * posix/regexec.c: Likewise.
5504 * posix/tst-rfc3484-2.c: Likewise.
5505 * posix/tst-rfc3484-3.c: Likewise.
5506 * posix/tst-rfc3484.c: Likewise.
5507 * resolv/nss_dns/dns-canon.c: Likewise.
5508 * resolv/nss_dns/dns-network.c: Likewise.
5509 * resolv/res_init.c: Likewise.
5510 * resolv/res_mkquery.c: Likewise.
5511 * resolv/tst-aton.c: Likewise.
5512 * stdlib/cxa_atexit.c: Likewise.
5513 * stdlib/cxa_finalize.c: Likewise.
5514 * stdlib/gen-fpioconst.c: Likewise.
5515 * stdlib/strtol_l.c: Likewise.
5516 * string/tst-endian.c: Likewise.
5517 * sunrpc/auth_des.c: Likewise.
5518 * sunrpc/clnt_udp.c: Likewise.
5519 * sunrpc/rtime.c: Likewise.
5520 * sunrpc/svcauth_des.c: Likewise.
5521 * sunrpc/xdr.c: Likewise.
5522 * sunrpc/xdr_intXX_t.c: Likewise.
5523 * sunrpc/xdr_rec.c: Likewise.
5524 * sysdeps/generic/ldconfig.h: Likewise.
5525 * sysdeps/generic/ldsodefs.h: Likewise.
5526 * sysdeps/generic/memusage.h: Likewise.
5527 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
5528 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
5529 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
5530 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
5531 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5532 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5533 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
5534 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
5535 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5536 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
5537 * sysdeps/posix/getaddrinfo.c: Likewise.
5538 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
5539 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5540 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
5541 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5542 * sysdeps/powerpc/test-gettimebase.c: Likewise.
5543 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
5544 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
5545 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
5546 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
5547 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
5548 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
5549 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
5550 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
5551 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
5552 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
5553 * sysdeps/x86_64/dl-tls.h: Likewise.
5554 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
5555 * time/alt_digit.c: Likewise.
5556 * time/era.c: Likewise.
5557 * wcsmbs/tst-c16c32-1.c: Likewise.
5558
8c75f674
JM
55592013-05-16 Joseph Myers <joseph@codesourcery.com>
5560
5561 * math/libm-test.inc (struct test_sincos_data): New type.
5562 (RUN_TEST_LOOP_sincos): New macro.
5563 (sincos_test_data): New variable.
5564 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
5565
e6e49e59
RH
55662013-05-16 Richard Henderson <rth@redhat.com>
5567
5568 * math/atest-exp2.c (LIMB64): New macro.
5569 (CONSTSZ): New macro.
5570 (mp_exp1, mp_exp_m1, mp_log2): New variables.
5571 (hexdig): Move ...
5572 (print_mpn_fp): ... to function scope.
5573 (read_mpn_hex): Remove.
5574 (get_log2): Remove.
5575 (exp2_mpn): Use mp_log2.
5576 (main): Use mp_exp1.
5577
15c7c18d
JM
55782013-05-16 Joseph Myers <joseph@codesourcery.com>
5579
105a07df
JM
5580 * math/libm-test.inc: Remove comment about not testing "inexact"
5581 exceptions.
5582 (INEXACT_EXCEPTION): New macro.
5583 (NO_INEXACT_EXCEPTION): Likewise.
5584 (INVALID_EXCEPTION_OK): Update value.
5585 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5586 (OVERFLOW_EXCEPTION_OK): Likewise.
5587 (UNDERFLOW_EXCEPTION_OK): Likewise.
5588 (IGNORE_ZERO_INF_SIGN): Likewise.
5589 (ERRNO_UNCHANGED): Likewise.
5590 (ERRNO_EDOM): Likewise.
5591 (ERRNO_ERANGE): Likewise.
5592 (test_exceptions): Handle testing "inexact" exceptions.
5593 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
5594 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
5595 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
5596 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
5597 INEXACT_EXCEPTION.
5598 (rint_towardzero_test_data): Likewise.
5599 (rint_downward_test_data): Likewise.
5600 (rint_upward_test_data): Likewise.
5601
e9eee333
JM
5602 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
5603 with OVERFLOW_EXCEPTION.
5604 (exp10_test_data): Likewise.
5605 (exp2_test_data): Likewise.
5606 (expm1_test_data): Likewise.
5607 (lgamma_test_data): Likewise.
5608 (pow_test_data): Likewise.
5609 (tgamma_test_data): Likewise.
5610 (yn_test_data): Remove duplicate test of overflow.
5611
1c38ff73
JM
5612 * math/libm-test.inc (struct test_cc_c_data): New type.
5613 (RUN_TEST_LOOP_cc_c): New macro.
5614 (cpow_test_data): New variable.
5615 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
5616
15c7c18d
JM
5617 * math/libm-test.inc (struct test_f_L_data): New type.
5618 (RUN_TEST_LOOP_f_L): New macro.
5619 (llrint_test_data): New variable.
5620 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
5621 (llrint_tonearest_test_data): New variable.
5622 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
5623 (llrint_towardzero_test_data): New variable.
5624 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
5625 (llrint_downward_test_data): New variable.
5626 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
5627 (llrint_upward_test_data): New variable.
5628 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
5629 (llround_test_data): New variable.
5630 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
5631
f137ff13
PC
56322013-05-13 Peter Collingbourne <pcc@google.com>
5633
5634 * math/atest-exp2.c (get_log2): Remove const attribute.
5635
3608cb24
JM
56362013-05-15 Joseph Myers <joseph@codesourcery.com>
5637
5638 * math/libm-test.inc (struct test_f_l_data): New type.
5639 (RUN_TEST_LOOP_f_l): New macro.
5640 (lrint_test_data): New variable.
5641 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
5642 (lrint_tonearest_test_data): New variable.
5643 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
5644 (lrint_towardzero_test_data): New variable.
5645 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
5646 (lrint_downward_test_data): New variable.
5647 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
5648 (lrint_upward_test_data): New variable.
5649 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
5650 (lround_test_data): New variable.
5651 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
5652
39b1f617
PC
56532013-05-15 Peter Collingbourne <pcc@google.com>
5654
1deff3dc
PC
5655 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
5656 (EXTRACT_WORDS64) Use where appropriate.
5657 (INSERT_WORDS64) Likewise.
5658
791f3ba0
PC
5659 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
5660 constraints with x constraints.
5661 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
5662
39b1f617
PC
5663 * malloc/obstack.c (_obstack_compat): Add initializer.
5664
12fba011
EM
56652013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
5666
5667 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
5668 si_trapno and add si_addr_lsb to _sifields.sigfault.
5669 (si_trapno): Remove macro.
5670 (si_addr_lsb): Define new macro.
5671 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
5672
d369f531
JM
56732013-05-15 Joseph Myers <joseph@codesourcery.com>
5674
b861c6c4
JM
5675 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
5676 instead of TEST_f_l.
5677 (llrint_test_tonearest): Likewise.
5678 (llrint_test_towardzero): Likewise.
5679 (llrint_test_downward): Likewise.
5680 (llrint_test_upward): Likewise.
5681 (llround_test): Likewise.
5682
7abeee12
JM
5683 * math/libm-test.inc (struct test_f_i_data): Add comment.
5684 (RUN_TEST_LOOP_f_b): New macro.
5685 (RUN_TEST_LOOP_f_b_tg): Likewise.
5686 (finite_test_data): New variable.
5687 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
5688 (isfinite_test_data): New variable.
5689 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5690 (isinf_test_data): New variable.
5691 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5692 (isnan_test_data): New variable.
5693 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5694 (isnormal_test_data): New variable.
5695 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5696 (issignaling_test_data): New variable.
5697 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5698 (signbit_test_data): New variable.
5699 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5700
cbe8c4d3
JM
5701 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
5702 with INVALID_EXCEPTION.
5703 (acosh_test_data): Likewise.
5704 (asin_test_data): Likewise.
5705 (atanh_test_data): Likewise.
5706 (fmod_test_data): Likewise.
5707 (log_test_data): Likewise.
5708 (log10_test_data): Likewise.
5709 (log2_test_data): Likewise.
5710 (pow_test_data): Likewise.
5711 (sqrt_test_data): Likewise.
5712 (y0_test_data): Likewise.
5713 (y1_test_data): Likewise.
5714 (yn_test_data): Likewise.
5715
5575c0e5
JM
5716 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
5717 function contents.
5718
d369f531
JM
5719 * math/libm-test.inc (struct test_ff_i_data): New type.
5720 (RUN_TEST_LOOP_ff_i_tg): New macro.
5721 (isgreater_test_data): New variable.
5722 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5723 (isgreaterequal_test_data): New variable.
5724 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5725 (isless_test_data): New variable.
5726 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5727 (islessequal_test_data): New variable.
5728 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5729 (islessgreater_test_data): New variable.
5730 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5731 (isunordered_test_data): New variable.
5732 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5733
781fd748
DM
57342013-05-14 David S. Miller <davem@davemloft.net>
5735
5736 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5737
87aa21df
JM
57382013-05-14 Joseph Myers <joseph@codesourcery.com>
5739
5e908270
JM
5740 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
5741
f71172e5
JM
5742 * math/libm-test.inc (struct test_fF_f1_data): Change type of
5743 extra_test to int.
5744 (struct test_f_i_data): Change type of max_ulp to int.
5745
8cfa635a
JM
5746 * math/libm-test.inc (test_ffI_f1_data): New type.
5747 (RUN_TEST_LOOP_ffI_f1): New macro.
5748 (remquo_test_data): New variable.
5749 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
5750
2bcb36b2
JM
5751 * setjmp/tst-setjmp-fp.c: New file.
5752 * setjmp/Makefile (tests): Add tst-setjmp-fp.
5753 (link-libm): New variable.
5754 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
5755
acbd839a
JM
5756 * math/libm-test.inc (struct test_f_i_data): New type.
5757 (RUN_TEST_LOOP_f_i): New macro.
5758 (RUN_TEST_LOOP_f_i_tg): Likewise.
5759 (fpclassify_test_data): New variable.
5760 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
5761 (ilogb_test_data): New variable.
5762 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
5763
e414d745
JM
5764 * math/libm-test.inc (scalbln_test): Correct function name in END
5765 call.
5766
d9c2a0fd
JM
5767 * math/libm-test.inc (struct test_f_f1_data): Add comment.
5768 (RUN_TEST_LOOP_fI_f1): New macro.
5769 (frexp_test_data): New variable.
5770 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
5771
9dc9095d
JM
5772 * math/libm-test.inc (struct test_fF_f1_data): New type.
5773 (RUN_TEST_LOOP_fF_f1): New macro.
5774 (modf_test_data): New variable.
5775 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
5776
87aa21df
JM
5777 * math/libm-test.inc (struct test_f_f1_data): New type.
5778 (RUN_TEST_LOOP_f_f1): New macro.
5779 (gamma_test_data): New variable.
5780 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
5781 (lgamma_test_data): New variable.
5782 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
5783
141af660
CD
57842013-05-13 Carlos O'Donell <carlos@redhat.com>
5785
5786 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
5787 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
5788 (main): Comment "tls" pseudo-hwcap.
5789
6d33265c
JM
57902013-05-13 Joseph Myers <joseph@codesourcery.com>
5791
68fc074c
JM
5792 * math/libm-test.inc (struct test_fl_f_data): New type.
5793 (RUN_TEST_LOOP_fl_f): New variable.
5794 (scalbln_test_data): New variable.
5795 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
5796
243216e1
JM
5797 * math/libm-test.inc (struct test_fi_f_data): New type.
5798 (RUN_TEST_LOOP_fi_f): New macro.
5799 (ldexp_test_data): New variable.
5800 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
5801 (scalbn_test_data): New variable.
5802 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
5803
6a1992e2
JM
5804 * math/libm-test.inc (struct test_c_f_data): New type.
5805 (RUN_TEST_LOOP_c_f): New macro.
5806 (cabs_test_data): New variable.
5807 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
5808 (carg_test_data): New variable.
5809 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
5810 (cimag_test_data): New variable.
5811 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
5812 (creal_test_data): New variable.
5813 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
5814
0e400df5
JM
5815 * math/libm-test.inc (struct test_if_f_data): New type.
5816 (RUN_TEST_LOOP_if_f): New macro.
5817 (jn_test_data): New variable.
5818 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
5819 (yn_test_data): New variable.
5820 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
5821
6d33265c
JM
5822 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
5823
f98ece5f
AZ
58242013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5825
5826 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
5827 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
5828
0f7d347b
SP
58292013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
5830
43fe811b
SP
5831 * benchtests/Makefile (CPPFLAGS-nonlib): Add
5832 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
5833 (bench-deps): Add bench-timing.h.
5834 * benchtests-bench-skeleton.c: Include bench-timing.h.
5835 (main): Use TIMING_* macros instead of clock_gettime.
5836 * benchtests/bench-timing.h: New file.
5837
0f7d347b
SP
5838 [BZ #14582]
5839 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
5840 Renamed from _LIB_VERSION.
5841 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
5842
601a3a5f
JM
58432013-05-12 Joseph Myers <joseph@codesourcery.com>
5844
4f184d30
JM
5845 * math/libm-test.inc (struct test_fff_f_data): New type.
5846 (RUN_TEST_LOOP_fff_f): New macro.
5847 (fma_test_data): New variable.
5848 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
5849 (fma_towardzero_test_data): New variable.
5850 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
5851 (fma_downward_test_data): New variable.
5852 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
5853 (fma_upward_test_data): New variable.
5854 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
5855
08198877
JM
5856 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
5857 (struct test_c_c_data): New type.
5858 (RUN_TEST_LOOP_c_c): New macro.
5859 (cacos_test_data): New variable.
5860 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
5861 (cacosh_test_data): New variable.
5862 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
5863 (casin_test_data): New variable.
5864 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
5865 (casinh_test_data): New variable.
5866 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
5867 (catan_test_data): New variable.
5868 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
5869 (catanh_test_data): New variable.
5870 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
5871 (ccos_test_data): New variable.
5872 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
5873 (ccosh_test_data): New variable.
5874 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
5875 (cexp_test_data): New variable.
5876 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
5877 (clog_test_data): New variable.
5878 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
5879 (clog10_test_data): New variable.
5880 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
5881 (conj_test_data): New variable.
5882 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
5883 (cproj_test_data): New variable.
5884 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
5885 (csin_test_data): New variable.
5886 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
5887 (csinh_test_data): New variable.
5888 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
5889 (csqrt_test_data): New variable.
5890 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
5891 (ctan_test_data): New variable.
5892 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
5893 (ctan_tonearest_test_data): New variable.
5894 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
5895 (ctan_towardzero_test_data): New variable.
5896 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
5897 (ctan_downward_test_data): New variable.
5898 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
5899 (ctan_upward_test_data): New variable.
5900 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
5901 (ctanh_test_data): New variable.
5902 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
5903 (ctanh_tonearest_test_data): New variable.
5904 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
5905 (ctanh_towardzero_test_data): New variable.
5906 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
5907 (ctanh_downward_test_data): New variable.
5908 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
5909 (ctanh_upward_test_data): New variable.
5910 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
5911 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
5912 of BUILD_COMPLEX.
5913
601a3a5f
JM
5914 * math/libm-test.inc (struct test_ff_f_data): New type.
5915 (struct test_ff_f_data_nexttoward): Likewise.
5916 (RUN_TEST_LOOP_2_f): New macro.
5917 (RUN_TEST_LOOP_ff_f): Likewise.
5918 (atan2_test_data): New variable.
5919 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
5920 (copysign_test_data): New variable.
5921 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
5922 (fdim_test_data): New variable.
5923 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
5924 (fmax_test_data): New variable.
5925 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
5926 (fmin_test_data): New variable.
5927 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
5928 (fmod_test_data): New variable.
5929 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
5930 (hypot_test_data): New variable.
5931 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
5932 (nextafter_test_data): New variable.
5933 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
5934 (nexttoward_test_data): New variable.
5935 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
5936 (pow_test_data): New variable.
5937 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
5938 (pow_tonearest_test_data): New variable.
5939 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
5940 (pow_towardzero_test_data): New variable.
5941 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
5942 (pow_downward_test_data): New variable.
5943 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
5944 (pow_upward_test_data): New variable.
5945 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
5946 (remainder_test_data): New variable.
5947 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
5948 (scalb_test_data): New variable.
5949 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
5950 * sysdeps/i386/fpu/libm-test-ulps: Update.
5951
74c57478
JM
59522013-05-11 Joseph Myers <joseph@codesourcery.com>
5953
8329e4da
JM
5954 * math/libm-test.inc (fma_test): Use max_value instead of local
5955 variable fltmax.
5956 (nextafter_test): Likewise.
5957
74c57478
JM
5958 * math/libm-test.inc (acos_towardzero_test_data): New variable.
5959 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5960 (acos_downward_test_data): New variable.
5961 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5962 (acos_upward_test_data): New variable.
5963 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5964 (acosh_test_data): New variable.
5965 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
5966 (asin_test_data): New variable.
5967 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
5968 (asin_tonearest_test_data): New variable.
5969 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5970 (asin_towardzero_test_data): New variable.
5971 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5972 (asin_downward_test_data): New variable.
5973 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5974 (asin_upward_test_data): New variable.
5975 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5976 (asinh_test_data): New variable.
5977 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
5978 (atan_test_data): New variable.
5979 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
5980 (atanh_test_data): New variable.
5981 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
5982 (cbrt_test_data): New variable.
5983 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
5984 (ceil_test_data): New variable.
5985 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
5986 (cos_test_data): New variable.
5987 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
5988 (cos_tonearest_test_data): New variable.
5989 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5990 (cos_towardzero_test_data): New variable.
5991 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5992 (cos_downward_test_data): New variable.
5993 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5994 (cos_upward_test_data): New variable.
5995 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5996 (cosh_test_data): New variable.
5997 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
5998 (cosh_tonearest_test_data): New variable.
5999 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6000 (cosh_towardzero_test_data): New variable.
6001 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6002 (cosh_downward_test_data): New variable.
6003 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6004 (cosh_upward_test_data): New variable.
6005 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6006 (erf_test_data): New variable.
6007 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
6008 (erfc_test_data): New variable.
6009 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
6010 (exp_test_data): New variable.
6011 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
6012 (exp_tonearest_test_data): New variable.
6013 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6014 (exp_towardzero_test_data): New variable.
6015 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6016 (exp_downward_test_data): New variable.
6017 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6018 (exp_upward_test_data): New variable.
6019 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6020 (exp10_test_data): New variable.
6021 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
6022 (exp2_test_data): New variable.
6023 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
6024 (expm1_test_data): New variable.
6025 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
6026 (fabs_test_data): New variable.
6027 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
6028 (floor_test_data): New variable.
6029 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
6030 (j0_test_data): New variable.
6031 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
6032 (j1_test_data): New variable.
6033 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
6034 (log_test_data): New variable.
6035 (log_test): Run tests with RUN_TEST_LOOP_f_f.
6036 (log10_test_data): New variable.
6037 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
6038 (log1p_test_data): New variable.
6039 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
6040 (log2_test_data): New variable.
6041 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
6042 (logb_test_data): New variable.
6043 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
6044 (logb_downward_test_data): New variable.
6045 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6046 (nearbyint_test_data): New variable.
6047 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
6048 (rint_test_data): New variable.
6049 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
6050 (rint_tonearest_test_data): New variable.
6051 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6052 (rint_towardzero_test_data): New variable.
6053 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6054 (rint_downward_test_data): New variable.
6055 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6056 (rint_upward_test_data): New variable.
6057 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6058 (round_test_data): New variable.
6059 (round_test): Run tests with RUN_TEST_LOOP_f_f.
6060 (sin_test_data): New variable.
6061 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
6062 (sin_tonearest_test_data): New variable.
6063 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6064 (sin_towardzero_test_data): New variable.
6065 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6066 (sin_downward_test_data): New variable.
6067 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6068 (sin_upward_test_data): New variable.
6069 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6070 (sinh_test_data): New variable.
6071 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
6072 (sinh_tonearest_test_data): New variable.
6073 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6074 (sinh_towardzero_test_data): New variable.
6075 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6076 (sinh_downward_test_data): New variable.
6077 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6078 (sinh_upward_test_data): New variable.
6079 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6080 (sqrt_test_data): New variable.
6081 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
6082 (tan_test_data): New variable.
6083 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
6084 (tan_tonearest_test_data): New variable.
6085 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6086 (tan_towardzero_test_data): New variable.
6087 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6088 (tan_downward_test_data): New variable.
6089 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6090 (tan_upward_test_data): New variable.
6091 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6092 (tanh_test_data): New variable.
6093 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
6094 (tgamma_test_data): New variable.
6095 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
6096 (trunc_test_data): New variable.
6097 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
6098 (y0_test_data): New variable.
6099 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
6100 (y1_test_data): New variable.
6101 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
6102 (significand_test_data): New variable.
6103 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
6104
7187d844
CG
61052013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
6106
6107 [BZ #12387]
6108 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
6109
f63fae73
PT
61102013-05-10 Pino Toscano <toscano.pino@tiscali.it>
6111
6112 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
6113
8a67a4b3
AJ
61142013-05-10 Andreas Jaeger <aj@suse.de>
6115
6116 [BZ #15448]
6117 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
6118 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
6119
51df539d
JM
61202013-05-10 Joseph Myers <joseph@codesourcery.com>
6121
6122 * math/gen-libm-test.pl (adjust_arg): New function.
6123 (special_functions): Handle generating output in both functions
6124 and arrays.
6125 (parse_args): Likewise.
6126 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
6127 $in_func argument to parse_args.
6128 * math/libm-test.inc (struct test_f_f_data): New type.
6129 (IF_ROUND_INIT_): New macro.
6130 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
6131 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
6132 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
6133 (IF_ROUND_INIT_FE_UPWARD): Likewise.
6134 (ROUND_RESTORE_): Likewise.
6135 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
6136 (ROUND_RESTORE_FE_TONEAREST): Likewise.
6137 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
6138 (ROUND_RESTORE_FE_UPWARD): Likewise.
6139 (RUN_TEST_LOOP_f_f): New macro.
6140 (acos_test_data): New variable.
6141 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
6142 (acos_tonearest_test_data): New variable.
6143 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6144
5c637fe5
SP
61452013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6146
6147 * benchtests/bench-skeleton.c (startup): Fix coding style.
6148
ab2b9461
JM
61492013-05-10 Joseph Myers <joseph@codesourcery.com>
6150
6151 [BZ #6809]
6152 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
6153 negative infinity argument.
6154 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
6155 negative infinity argument.
6156 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
6157 negative infinity argument.
6158 * math/libm-test.inc (tgamma_test): Expect errno to be set for
6159 domain errors.
6160
4c0fe6fe
FW
61612013-05-10 Florian Weimer <fweimer@redhat.com>
6162
6163 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
6164 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
6165 * iconv/iconv_prog.c (main): Likewise.
6166 * locale/programs/charmap-dir.c (charmap_readdir)
6167 (fopen_uncompressed): Likewise.
6168 * locale/programs/locfile.c (siblings_uncached)
6169 (write_locale_data): Use lstat64 instead of lstat.
6170 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
6171 stat.
6172
a3375d29
AJ
61732013-05-10 Andreas Jaeger <aj@suse.de>
6174
6175 [BZ #15395]
6176 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
6177 localization.
6178 Include <locale.h>.
6179
36129722
CD
61802013-05-09 Carlos O'Donell <carlos@redhat.com>
6181
6182 * elf/dl-close.c (_dl_close_worker): Add comments.
6183
faa7f811
JM
61842013-05-09 Joseph Myers <joseph@codesourcery.com>
6185
ed41ffef
JM
6186 [BZ #15359]
6187 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
6188 high part of pi/2.
6189 (__ieee754_rem_pio2l): Update comments.
6190
d0213cd0
JM
6191 [BZ #15429]
6192 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
6193 high part of pi/2.
6194 (__ieee754_rem_pio2l): Update comments.
6195
0d3e777a
JM
6196 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
6197 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
6198
24f56066
JM
6199 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
6200 M_PI_4l.
6201
faa7f811
JM
6202 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
6203 (M_PI_34_LOG10El): Likewise.
6204 (M_PI2_LOG10El): Likewise.
6205 (M_PI4_LOG10El): Likewise.
6206 (M_PI_LOG10El): Likewise.
6207
e9a5e0fd
AZ
62082013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6209
6210 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6211
d8cd06db
JM
62122013-05-08 Joseph Myers <joseph@codesourcery.com>
6213
a0d9f9d7
JM
6214 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
6215 (MINUS_ZERO_INIT): Likewise.
6216 (PLUS_INFTY_INIT): Likewise.
6217 (MINUS_INFTY_INIT): Likewise.
6218 (QNAN_VALUE_INIT): Likewise.
6219 (MAX_VALUE_INIT): Likewise.
6220 (MIN_VALUE_INIT): Likewise.
6221 (MIN_SUBNORM_VALUE_INIT): Likewise.
6222 (plus_zero): Initialize with PLUS_ZERO_INIT.
6223 (minus_zero): Initialize with MINUS_ZERO_INIT.
6224 (plus_infty): Initialize with PLUS_INFTY_INIT.
6225 (minus_infty): Initialize with MINUS_INFTY_INIT.
6226 (qnan_value): Initialize with QNAN_VALUE_INIT.
6227 (max_value): Initialize with MAX_VALUE_INIT.
6228 (min_value): Initialize with MIN_VALUE_INIT.
6229 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
6230
ae08db3b
JM
6231 * math/libm-test.inc (RUN_TEST_if_f): New macro.
6232 (jn_test): Use TEST_if_f instead of TEST_ff_f.
6233 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
6234 (yn_test): Use TEST_if_f instead of TEST_ff_f.
6235
f44bf14a
JM
6236 * math/libm-test.inc (RUN_TEST_f_f): New macro.
6237 (RUN_TEST_2_f): Likewise.
6238 (RUN_TEST_ff_f): Likewise.
6239 (RUN_TEST_fi_f): Likewise.
6240 (RUN_TEST_fl_f): Likewise.
6241 (RUN_TEST_fff_f): Likewise.
6242 (RUN_TEST_c_f): Likewise.
6243 (RUN_TEST_f_f1): Likewise.
6244 (RUN_TEST_fF_f1): Likewise.
6245 (RUN_TEST_fI_f1): Likewise.
6246 (RUN_TEST_ffI_f1): Likewise.
6247 (RUN_TEST_c_c): Likewise.
6248 (RUN_TEST_cc_c): Likewise.
6249 (RUN_TEST_f_i): Likewise.
6250 (RUN_TEST_f_i_tg): Likewise.
6251 (RUN_TEST_ff_i_tg): Likewise.
6252 (RUN_TEST_f_b): Likewise.
6253 (RUN_TEST_f_b_tg): Likewise.
6254 (RUN_TEST_f_l): Likewise.
6255 (RUN_TEST_f_L): Likewise.
6256 (RUN_TEST_sincos): Likewise.
6257 * math/gen-libm-test.pl (new_test): Take new argument to indicate
6258 whether to show exceptions. Do not include ");\n" in return
6259 value.
6260 (special_functions): Output call to RUN_TEST_sincos instead of
6261 check_float calls. Update calls to new_test.
6262 (parse_args): Output call to single RUN_TEST_* macro instead of
6263 check_* calls and other assignments. Update calls to new_test.
6264
d8cd06db
JM
6265 [BZ #2546]
6266 [BZ #2560]
6267 [BZ #5159]
6268 [BZ #15426]
6269 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
6270 input to result for tgamma overflow.
6271 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
6272 (gamma_coeff): New variable.
6273 (NCOEFF): New macro.
6274 (gamma_positive): New function.
6275 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
6276 underflow here. Use gamma_positive instead of exp (lgamma) for
6277 other arguments.
6278 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
6279 (gamma_coeff): New variable.
6280 (NCOEFF): New macro.
6281 (gammaf_positive): New function.
6282 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
6283 underflow here. Use gamma_positive instead of exp (lgamma) for
6284 other arguments.
6285 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
6286 (gamma_coeff): New variable.
6287 (NCOEFF): New macro.
6288 (gammal_positive): New function.
6289 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
6290 underflow here. Use gamma_positive instead of exp (lgamma) for
6291 other arguments.
6292 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
6293 (gamma_coeff): New variable.
6294 (NCOEFF): New macro.
6295 (gammal_positive): New function.
6296 (__ieee754_gammal_r): Handle positive infinity, overflow and
6297 underflow here. Handle NaN the same as positive infinity. Remove
6298 check x < 0xffffffff for negative integers. Use gamma_positive
6299 instead of exp (lgamma) for other arguments.
6300 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
6301 (gamma_coeff): New variable.
6302 (NCOEFF): New macro.
6303 (gammal_positive): New function.
6304 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
6305 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
6306 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
6307 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
6308 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
6309 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
6310 * sysdeps/generic/math_private.h (__gamma_productf): New
6311 prototype.
6312 (__gamma_product): Likewise.
6313 (__gamma_productl): Likewise.
6314 * math/Makefile (libm-calls): Add gamma_product.
6315 * math/libm-test.inc (tgamma_test): Add more tests.
6316 * sysdeps/i386/fpu/libm-test-ulps: Update.
6317 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6318
bb7cf681
OB
63192013-05-08 Ondřej Bílka <neleai@seznam.cz>
6320
6321 * benchtests/bench-skeleton.c (main): Preheat CPU.
6322
ba853947
AJ
63232013-05-07 Aurelien Jarno <aurelien@aurel32.net>
6324
6325 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
6326
8347c74c
RM
63272013-05-07 Roland McGrath <roland@hack.frob.com>
6328
6329 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
6330 and _dl_skip_args_internal.
6331
e8dd4791
CD
63322013-05-07 Carlos O'Donell <carlos@redhat.com>
6333
6334 * manual/message.texi (Message Translation): Talk about users.
6335 Message to key mapping impacts design.
6336
c7405830
RM
63372013-05-06 Roland McGrath <roland@hack.frob.com>
6338
a9173057
RM
6339 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
6340
976e2f03
RM
6341 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
6342
9723ffc5
RM
6343 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
6344 * sysdeps/wordsize-64/glob64.c: ... here.
6345
962e6658
RM
6346 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
6347 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
6348 New macros.
6349
ee586a6d
RM
6350 * debug/getlogin_r_chk.c: Moved to ...
6351 * login/getlogin_r_chk.c: ... here.
6352 * debug/Makefile (routines): Move getlogin_r_chk to ...
6353 * login/Makefile (routines): ... here.
6354 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
6355 * login/Versions (libc: GLIBC_2.4): ... here.
6356
355f9165
RM
6357 * io/poll.c (__poll): Renamed from poll.
6358 Add libc_hidden_def.
6359 (poll): Define as weak alias.
6360
bd9ffde6
RM
6361 * debug/ptsname_r_chk.c: Moved to ...
6362 * login/ptsname_r_chk.c: ... here.
6363 * debug/Makefile (routines): Move ptsname_r_chk to ...
6364 * login/Makefile (routines): ... here.
6365 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
6366 * login/Versions (libc: GLIBC_2.4): ... here.
6367
8fb16a04
RM
6368 * posix/getlogin.c: Moved to ...
6369 * login/getlogin.c: ... here.
6370 * posix/getlogin_r.c: Moved to ...
6371 * login/getlogin_r.c: ... here.
6372 * posix/getlogin_r.c: Moved to ...
6373 * login/getlogin_r.c: ... here.
6374 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
6375 * login/Makefile (routines): ... here.
6376 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
6377 * login/Versions (libc: GLIBC_2.0): ... here.
6378
b99b892f
RM
6379 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
6380 (setrlimit): Define as weak alias.
6381
c7405830
RM
6382 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
6383 Call __ names for open, ftruncate, and close.
6384 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
6385 (truncate): Define as weak alias.
6386
5bf96de5
JM
63872013-05-06 Joseph Myers <joseph@codesourcery.com>
6388
9ea3513c
JM
6389 * math/gen-libm-test.pl (parse_args): Initialize x before each
6390 test of frexp, modf and remquo.
6391
5bf96de5
JM
6392 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
6393 test signgam value.
6394
16e616a7
AZ
63952013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6396
6397 [BZ #15418]
6398 [BZ #15419]
6399 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
6400 internal tests.
6401 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6402
d5e82754
RM
64032013-05-06 Roland McGrath <roland@hack.frob.com>
6404
6405 * elf/dl-writev.h: New file.
6406 * elf/dl-misc.c: Include it.
6407 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
6408 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
6409
a7548d41
JM
64102013-05-04 Joseph Myers <joseph@codesourcery.com>
6411
b7dab1e4
JM
6412 * math/libm-test.inc (noXFails): Remove variable.
6413 (noXPasses): Likewise.
6414 (BUILD_COMPLEX_INT): Remove macro.
6415 (print_screen): Remove xfail argument.
6416 (print_screen_max_error): Likewise.
6417 (update_stats): Likewise.
6418 (print_max_error): Likewise. Update calls to other affected
6419 functions.
6420 (print_complex_max_error): Likewise.
6421 (test_single_exception): Update calls to print_screen.
6422 (test_single_errno): Likewise.
6423 (check_float_internal): Remove xfail argument. Update calls to
6424 other affected functions.
6425 (check_float): Likewise.
6426 (check_complex): Likewise.
6427 (check_int): Likewise.
6428 (check_long): Likewise.
6429 (check_bool): Likewise.
6430 (check_longlong): Likewise.
6431 (main): Don't print noXFails and noXPasses.
6432 * math/gen-libm-test.pl (top level): Don't mention expected
6433 failure handling in comment.
6434 (new_test): Don't handle expected failures.
6435 (parse_args): Don't mention expected failure handling in comment.
6436 (generate_testfile): Don't handle expected failures.
6437 (parse_ulps): Likewise.
6438 (print_ulps_file): Likewise.
6439 (get_failure): Remove function.
6440 (output_test): Don't handle expected failures.
6441 * make/README.libm-test: Don't mention expected failure handling.
6442
a7548d41
JM
6443 * math/libm-test.inc (plus_zero): Make const. Add initializer.
6444 (minus_zero): Likewise.
6445 (plus_infty): Likewise.
6446 (minus_infty): Likewise.
6447 (qnan_value): Likewise.
6448 (max_value): Likewise.
6449 (min_value): Likewise.
6450 (min_subnorm_value): Likewise.
6451 (initialize): Do not initialize those variables dynamically.
6452
60bfd54c
RM
64532013-05-03 Roland McGrath <roland@hack.frob.com>
6454
cc0e6ed8
RM
6455 * io/open.c (__open_2): Moved to ...
6456 * io/open_2.c: ... this new file.
6457 * io/open64.c (__open64_2): Moved to ...
6458 * io/open64_2.c: ... this new file.
6459 * io/openat.c (__openat_2): Moved to ...
6460 * io/openat_2.c: ... this new file.
6461 * io/openat64.c (__openat64_2): Moved to ...
6462 * io/openat64_2.c: ... this new file.
6463 * io/Makefile (routines): Add them.
6464 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
6465 * sysdeps/unix/sysv/linux/open_2.c: File removed.
6466 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
6467 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
6468 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
6469 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
6470 (__openat64): Add hidden_ver.
6471 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
6472 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
6473
60bfd54c
RM
6474 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
6475 Separately conditionalize setting of GLRO(dl_sysinfo) so
6476 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
6477 as well, but the actual setting is only under [NEED_DL_SYSINFO].
6478
83e7640f
AZ
64792013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6480
6481 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
6482 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
6483 definition.
6484 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
6485 * sysdeps/unix/sysv/linux/powerpc/init-first.c
6486 (_libc_vdso_platform_setup): Add __vdso_time initialization.
6487 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
6488 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
6489
d5dc2af3
JM
64902013-05-03 Joseph Myers <joseph@codesourcery.com>
6491
c31a5b1e
JM
6492 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
6493 test signgam value.
6494
d5dc2af3
JM
6495 * math/libm-test.inc (hypot_test): Do not use
6496 IGNORE_ZERO_INF_SIGN.
6497
164fd39d
AJ
64982013-05-03 Andreas Jaeger <aj@suse.de>
6499
6500 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
6501 Linux 3.9.
6502 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
6503 (PF_MAX): Adjust for VSOCK change.
6504
8237f48c
AZ
65052013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6506
6507 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6508
9df02941
CD
65092013-05-02 Carlos O'Donell <carlos@redhat.com>
6510
6511 [BZ #15264]
6512 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
6513 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
6514 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
6515
d422395e
DM
65162013-05-02 David S. Miller <davem@davemloft.net>
6517
6518 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6519
a07c5731
OB
65202013-05-01 Ondřej Bílka <neleai@seznam.cz>
6521
6522 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
6523
1324e37f
RM
65242013-05-01 Roland McGrath <roland@hack.frob.com>
6525
6526 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
6527
0695940b
RS
65282013-05-01 Richard Smith <richard@metafoo.co.uk>
6529
bb5f27ad 6530 [BZ #14952]
0695940b
RS
6531 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
6532 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
6533 Use __attribute__ ((__gnu_inline__)).
6534 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
6535 Don't use __attribute__ ((__gnu_inline__)).
6536
10de07f5
JM
65372013-05-01 Joseph Myers <joseph@codesourcery.com>
6538
6539 [BZ #15423]
6540 * math/s_catan.c (__catan): Handle small real or imaginary part of
6541 input specially to avoid spurious underflow.
6542 * math/s_catanf.c (__catanf): Likewise.
6543 * math/s_catanh.c (__catanh): Likewise.
6544 * math/s_catanhf.c (__catanhf): Likewise.
6545 * math/s_catanhl.c (__catanhl): Likewise.
6546 * math/s_catanl.c (__catanl): Likewise.
6547 * math/libm-test.inc (catan_test): Add more tests.
6548 (catanh_test): Likewise.
6549 * sysdeps/i386/fpu/libm-test-ulps: Update.
6550 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6551
cb4d5414
AZ
65522013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6553
6554 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6555
caf84319
JM
65562013-04-30 Joseph Myers <joseph@codesourcery.com>
6557
6558 [BZ #15416]
6559 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
6560 accurately for denominator in atan2.
6561 * math/s_catanf.c (__catanf): Likewise.
6562 * math/s_catanh.c (__catanh): Likewise.
6563 * math/s_catanhf.c (__catanhf): Likewise.
6564 * math/s_catanhl.c (__catanhl): Likewise.
6565 * math/s_catanl.c (__catanl): Likewise.
6566 * math/libm-test.inc (catan_test): Add more tests.
6567 (catanh_test): Likewise.
6568 * sysdeps/i386/fpu/libm-test-ulps: Update.
6569 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6570
d569c6ee
SP
65712013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6572
6dbe713d
SP
6573 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
6574
f0ee064b
SP
6575 * benchtests/Makefile (bench): Remove slow benchmarks.
6576 * benchtests/atan-inputs: Add slow benchmark inputs.
6577 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
6578 (BENCH_FUNC): Accept variant offset.
6579 (VARIANT): Define.
6580 * benchtests/bench-skeleton.c (main): Run benchmark for each
6581 variant.
6582 * benchtests/cos-inputs: Add slow benchmark inputs.
6583 * benchtests/exp-inputs: Likewise.
6584 * benchtests/pow-inputs: Likewise.
6585 * benchtests/sin-inputs: Likewise.
6586 * benchtests/slowatan-inputs: Remove.
6587 * benchtests/slowatan.c: Remove.
6588 * benchtests/slowcos-inputs: Remove.
6589 * benchtests/slowcos.c: Remove.
6590 * benchtests/slowexp-inputs: Remove.
6591 * benchtests/slowexp.c: Remove.
6592 * benchtests/slowpow-inputs: Remove.
6593 * benchtests/slowpow.c: Remove.
6594 * benchtests/slowsin-inputs: Remove.
6595 * benchtests/slowsin.c: Remove.
6596 * benchtests/slowtan-inputs: Remove.
6597 * benchtests/slowtan.c: Remove.
6598 * benchtests/tan-inputs: Add slow benchmark inputs.
6599 * scripts/bench.pl: Parse comments and directives.
6600
d569c6ee
SP
6601 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
6602 in CPPFLAGS.
6603 ($(objpfx)bench-%.c): Remove *-ITER.
6604 * benchtests/bench-modf.c: Remove definition of ITER.
6605 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
6606 (main): Loop for DURATION seconds instead of fixed number of
6607 iterations.
6608 * scripts/bench.pl: Don't expect iterations in parameters.
6609
a6a242fe
RM
66102013-04-29 Roland McGrath <roland@hack.frob.com>
6611
6612 * io/fchdir.c (__fchdir): Renamed from fchdir.
6613 (fchdir): Define as weak alias.
6614
f2da7793
JM
66152013-04-29 Joseph Myers <joseph@codesourcery.com>
6616
6617 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
6618 (ERRNO_EDOM): Likewise.
6619 (ERRNO_ERANGE): Likewise.
6620 (noErrnoTests): New variable.
6621 (init_max_error): Set errno to 0.
6622 (test_single_errno): New function.
6623 (test_errno): Likewise.
6624 (check_float_internal): Call test_errno. Set errno to 0.
6625 (check_complex): Refer to errno tests in comment.
6626 (check_int): Call test_errno. Set errno to 0.
6627 (check_long): Likewise.
6628 (check_bool): Likewise.
6629 (check_longlong): Likewise.
6630 (cos_test): Use ERRNO_* flags for errno tests instead of
6631 check_int.
6632 (expm1_test): Likewise.
6633 (fmod_test): Likewise.
6634 (ilogb_test): Likewise.
6635 (lgamma_test): Likewise.
6636 (pow_test): Likewise.
6637 (remainder_test): Likewise.
6638 (sin_test): Likewise.
6639 (tan_test): Likewise.
6640 (yn_test): Likewise.
6641 (initialize): Set errno to 0.
6642 (main): Print number of errno tests.
6643 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
6644
b1a36ceb
AJ
66452013-04-29 Andreas Jaeger <aj@suse.de>
6646
c3ed8088
AJ
6647 [BZ #15084]
6648 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
6649 and RES_USEVC.
6650
f1a24198
AJ
6651 [BZ #15085]
6652 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
6653 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
6654 unimplemented.
6655
9ce3b2cb
AJ
6656 [BZ #15380]
6657 * stdlib/random.c (__initstate): Return NULL if
6658 __initstate fails.
6659
f1a24198 6660 [BZ #15086]
b1a36ceb
AJ
6661 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
6662 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
6663 RES_SNGLKUPREOP.
6664
7e7b6f36
AZ
66652013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6666
6667 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6668
4d14f449
JM
66692013-04-29 Joseph Myers <joseph@codesourcery.com>
6670
6671 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
6672 of individual tests.
6673 (casin_test): Likewise.
6674 (casinh_test): Likewise.
6675
5b4217d7
JM
66762013-04-27 Joseph Myers <joseph@codesourcery.com>
6677
6678 [BZ #15409]
6679 * math/s_catan.c (__catan): Handle arguments with large real or
6680 imaginary part separately without squaring.
6681 * math/s_catanf.c (__catanf): Likewise.
6682 * math/s_catanh.c (__catanh): Likewise.
6683 * math/s_catanhf.c (__catanhf): Likewise.
6684 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
6685 and redefine.
6686 (__catanhl): Handle arguments with large real or imaginary part
6687 separately without squaring.
6688 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
6689 and redefine.
6690 (__catanl): Handle arguments with large real or imaginary part
6691 separately without squaring.
6692 * math/libm-test.inc (catan_test): Add more tests.
6693 (catanh_test): Likewise.
6694 * sysdeps/i386/fpu/libm-test-ulps: Update.
6695 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6696
4220c3ef
AJ
66972013-04-27 Andreas Jaeger <aj@suse.de>
6698
6699 [BZ #15007]
6700 * stdlib/stdlib.h: Update guards for qecvt.
6701 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
6702 <stdlib.h>.
6703
4721b2d1
AM
67042013-04-27 Allan McRae <allan@archlinux.org>
6705
6706 * sysdeps/i386/fpu/libm-test-ulps: Update.
6707
f0302940
JM
67082013-04-26 Joseph Myers <joseph@codesourcery.com>
6709
9457fd95
JM
6710 [BZ #15406]
6711 * math/s_catan.c: Include <float.h>.
6712 (__catan): Ensure underflow exception occurs for underflowed
6713 result.
6714 * math/s_catanf.c: Include <float.h>.
6715 (__catanf): Ensure underflow exception occurs for underflowed
6716 result.
6717 * math/s_catanh.c: Include <float.h>.
6718 (__catanh): Ensure underflow exception occurs for underflowed
6719 result.
6720 * math/s_catanhf.c: Include <float.h>.
6721 (__catanhf): Ensure underflow exception occurs for underflowed
6722 result.
6723 * math/s_catanhl.c: Include <float.h>.
6724 (__catanhl): Ensure underflow exception occurs for underflowed
6725 result.
6726 * math/s_catanl.c: Include <float.h>.
6727 (__catanl): Ensure underflow exception occurs for underflowed
6728 result.
6729 * math/libm-test.inc (catan_test): Add more tests.
6730 (catanh_test): Likewise.
6731
f0302940
JM
6732 [BZ #15405]
6733 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
6734 underflowed result.
6735 * math/s_ccoshf.c (__ccoshf): Likewise.
6736 * math/s_ccoshl.c (__ccoshl): Likewise.
6737 * math/s_csin.c (__csin): Likewise.
6738 * math/s_csinf.c (__csinf): Likewise.
6739 * math/s_csinh.c (__csinh): Likewise.
6740 * math/s_csinhf.c (__csinhf): Likewise.
6741 * math/s_csinhl.c (__csinhl): Likewise.
6742 * math/s_csinl.c (__csinl): Likewise.
6743 * math/libm-test.inc (ccos_test): Add more tests.
6744 (ccosh_test): Likewise.
6745 (csin_test): Likewise.
6746 (csinh_test): Likewise.
6747
aa630f59
AZ
67482013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6749
6750 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
6751 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
6752 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
6753 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
6754 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
6755 powerpc/power5+/fpu folders.
6756 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
6757
6758
1b835983
MT
67592013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
6760
6761 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6762
73709b26
JM
67632013-04-25 Joseph Myers <joseph@codesourcery.com>
6764
6765 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
6766 additions to variable.
6767 [$(config-machine) = x86_64] (modules-names): Likewise.
6768 ($(objpfx)tst-audit3): Remove dependency.
6769 ($(objpfx)tst-audit3.out): Likewise.
6770 ($(objpfx)tst-audit4): Likewise.
6771 ($(objpfx)tst-audit4.out): Likewise.
6772 ($(objpfx)tst-audit5): Likewise.
6773 ($(objpfx)tst-audit5.out): Likewise.
6774 ($(objpfx)tst-audit6): Likewise.
6775 ($(objpfx)tst-audit6.out): Likewise.
6776 ($(objpfx)tst-audit7): Likewise.
6777 ($(objpfx)tst-audit7.out): Likewise.
6778 (tst-audit3-ENV): Remove variable.
6779 (tst-audit4-ENV): Likewise.
6780 (tst-audit5-ENV): Likewise.
6781 (tst-audit6-ENV): Likewise.
6782 (tst-audit7-ENV): Likewise.
6783 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
6784 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
6785 addition to variable.
6786 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
6787 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
6788 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
6789 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
6790 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
6791 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
6792 tst-audit3, tst-audit4 and tst-audit5.
6793 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
6794 tst-audit6 and tst-audit7.
6795 [$(subdir) = elf] (modules-names): Add audit modules for those
6796 tests.
6797 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
6798 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
6799 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
6800 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
6801 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
6802 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
6803 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
6804 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
6805 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
6806 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
6807 [$(subdir) = elf] (tst-audit3-ENV): New variable.
6808 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
6809 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
6810 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
6811 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
6812 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
6813 Likewise.
6814 [$(subdir) = elf && $(config-cflags-avx) = yes]
6815 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
6816 [$(subdir) = elf && $(config-cflags-avx) = yes]
6817 (CFLAGS-tst-auditmod4a.c): Likewise.
6818 [$(subdir) = elf && $(config-cflags-avx) = yes]
6819 (CFLAGS-tst-auditmod4b.c): Likewise.
6820 [$(subdir) = elf && $(config-cflags-avx) = yes]
6821 (CFLAGS-tst-auditmod6b.c): Likewise.
6822 [$(subdir) = elf && $(config-cflags-avx) = yes]
6823 (CFLAGS-tst-auditmod6c.c): Likewise.
6824 [$(subdir) = elf && $(config-cflags-avx) = yes]
6825 (CFLAGS-tst-auditmod7b.c): Likewise.
6826 * elf/tst-audit3.c: Move to ...
6827 * sysdeps/x86_64/tst-audit3.c: ... here.
6828 * elf/tst-audit4.c: Move to ...
6829 * sysdeps/x86_64/tst-audit4.c: ... here.
6830 * elf/tst-audit5.c: Move to ...
6831 * sysdeps/x86_64/tst-audit5.c: ... here.
6832 * elf/tst-audit6.c: Move to ...
6833 * sysdeps/x86_64/tst-audit6.c: ... here.
6834 * elf/tst-audit7.c: Move to ...
6835 * sysdeps/x86_64/tst-audit7.c: ... here.
6836 * elf/tst-auditmod3a.c: Move to ...
6837 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
6838 * elf/tst-auditmod3b.c: Move to ...
6839 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
6840 * elf/tst-auditmod4a.c: Move to ...
6841 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
6842 * elf/tst-auditmod4b.c: Move to ...
6843 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
6844 * elf/tst-auditmod5a.c: Move to ...
6845 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
6846 * elf/tst-auditmod5b.c: Move to ...
6847 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
6848 * elf/tst-auditmod6a.c: Move to ...
6849 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
6850 * elf/tst-auditmod6b.c: Move to ...
6851 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
6852 * elf/tst-auditmod6c.c: Move to ...
6853 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
6854 * elf/tst-auditmod7a.c: Move to ...
6855 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
6856 * elf/tst-auditmod7b.c: Move to ...
6857 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
6858
1ef74943
PP
68592013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
6860
6861 [BZ #15366]
6862 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
6863 define unconditionally.
6864 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
6865 define unconditionally.
6866 (INT8_C, INT16_C, etc.): Likewise.
6867
93fd48c5
MR
68682013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
6869
ae9552cf
MR
6870 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
6871 __ehdr_start with hidden visibility.
6872
93fd48c5
MR
6873 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
6874
418601aa
CD
68752013-04-24 Carlos O'Donell <carlos@redhat.com>
6876
6877 * math/libm-test.inc (cos_test): Use accurate hex constants.
6878 (sincost_test): Likewise.
6879
2f38fbfe
JM
68802013-04-24 Joseph Myers <joseph@codesourcery.com>
6881
5e221800
JM
6882 * math/libm-test.inc (catan_test): Add more tests.
6883 (catanh_test): Likewise.
6884
77f143fd
JM
6885 * math/s_catanf.c (__catanf): Use suffixed floating-point
6886 constants.
6887 * math/s_catanhf.c (__catanhf): Likewise.
6888 * math/s_catanhl.c (__catanhl): Likewise.
6889 * math/s_catanl.c (__catanl): Likewise.
6890
2f38fbfe
JM
6891 [BZ #15394]
6892 * math/s_catan.c (__catan): Calculate imaginary part of result
6893 with log1p not log unless computing log of number close to 0.
6894 * math/s_catanf.c (__catanf): Likewise.
6895 * math/s_catanl.c (__catanl): Likewise.
6896 * math/s_catanh.c (__catanh): Calculate real part of result with
6897 log1p not log unless computing log of number close to 0.
6898 * math/s_catanhf.c (__catanhf): Likewise.
6899 * math/s_catanhl.c (__catanhl): Likewise.
6900 * math/libm-test.inc (catan_test): Add more tests.
6901 (catanh_test): Likewise.
6902 * sysdeps/i386/fpu/libm-test-ulps: Update.
6903 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6904
45d69176
SP
69052013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6906
6907 * benchtests/Makefile: Mention files in which fast and slow
6908 paths of math functions are implemented.
6909
87f51853
RM
69102013-04-23 Roland McGrath <roland@hack.frob.com>
6911
6912 * sysdeps/posix/timespec_get.c: New file.
6913
3c026539
AZ
69142013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6915
6916 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
6917 POWER.
6918 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
6919 for POWER.
6920 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
6921 powerpc/power5/fpu folders.
6922 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
6923 * benchtests/Makefile: Add modf testcase.
6924 * benchtests/bench-modf.c: New file: Benchmark test for mo
6925
ff491d14
SP
69262013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
6927
6928 [BZ #14888]
6929 * time/Makefile (tests): Add tst-strptime-whitespace.
6930 * time/strptime_l.c (get_number): Use ISSPACE.
6931 (__strptime_internal): Likewise.
6932 * time/tst-strptime-whitespace.c: New test case.
6933
7ed3f4e8
AS
69342013-04-23 Andreas Schwab <schwab@linux-m68k.org>
6935
6936 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
6937 member.
6938 (_nss_files_init): Set it here.
6939
5c95f7b6
HC
69402013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
6941
6942 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
6943 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
6944 unsigned.
6945
d34c9158
JBG
69462013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
6947
6948 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
6949
2169712d
SP
69502013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6951
6952 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
6953 size just once.
6954
29c5de99
DM
69552013-04-21 David S. Miller <davem@davemloft.net>
6956
6957 * po/ru.po: Update Russion translation from translation project.
6958
ccdad15d
AC
69592013-04-17 Adam Conrad <adconrad@0c3.net>
6960
6961 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
6962 and setfsgid.
6963
0f122b8d
CD
69642013-04-17 Carlos O'Donell <carlos@redhat.com>
6965
5c5b07da 6966 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 6967 * configure: Regenerate.
5c5b07da 6968 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
6969 Add example to error message.
6970 * sysdeps/i386/configure: Regenerate.
6971
037714dd
SP
69722013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6973
6974 * benchtests/Makefile (bench): Add cos, tan, slowcos and
6975 slowtan.
6976 * benchtests/cos-inputs: New file.
6977 * benchtests/slowcos-inputs: New file.
6978 * benchtests/slowcos.c: New file.
6979 * benchtests/slowtan-inputs: New file.
6980 * benchtests/slowtan.c: New file.
6981 * benchtests/tan-inputs: New file.
6982
e913141d
RM
69832013-04-16 Roland McGrath <roland@hack.frob.com>
6984
6985 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
6986 considered kosher.
6987
a2964074
SP
69882013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6989
4856bcd2
SP
6990 * benchtests/Makefile: Include cppflags-iterator.mk to add
6991 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
6992
a2964074
SP
6993 * Makefile.in (bench-clean): New target.
6994 * benchtests/Makefile (bench-clean): Likewise.
6995
9fbf9aca
DH
69962013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
6997
6998 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
6999
207d1e2a
TS
70002013-04-15 Thomas Schwinge <thomas@codesourcery.com>
7001
7002 * stdio-common/tstdiomisc.c: Fix coding-style violation.
7003
306dfba9
AS
70042013-04-15 Andreas Schwab <schwab@suse.de>
7005
7006 * nscd/grpcache.c (cache_addgr): Properly check for short write.
7007 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7008 * nscd/pwdcache.c (cache_addpw): Likewise.
7009 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
7010 more than recsize.
7011
206a6699
SP
70122013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7013
7014 * benchtests/Makefile (bench): Write all output to
7015 bench-out.tmp together.
7016
0582f6b3
AS
70172013-04-15 Andreas Schwab <schwab@suse.de>
7018
7019 * nscd/nscd.c (main): Don't fork again after closing files.
7020
acb4325f
SP
70212013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7022
5cb26d0a
SP
7023 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
7024
acb4325f
SP
7025 * benchtests/Rules (bench-deps): Collect dependencies into a
7026 single variable. Add Makefile to dependencies.
7027 ($(objpfx)bench-%.c): Depend on bench-deps.
7028
47792506
RM
70292013-04-12 Roland McGrath <roland@hack.frob.com>
7030 Xavier Roche <roche+kml2@exalead.com>
7031
7032 [BZ #15361]
7033 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
7034 just that it's a file descriptor.
7035 * manual/llio.texi (Synchronizing AIO Operations): Update description
7036 for EBADF error from aio_fsync.
7037
8fc1bee5
SP
70382013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7039
7040 * Rules (bench): Move target definition...
7041 * benchtests/Makefile: ... here.
7042
aba5e333
CD
70432013-04-11 Carlos O'Donell <carlos@redhat.com>
7044
7045 * math/libm-test.inc (cos_test): Fix PI/2 test.
7046 (sincos_test): Likewise.
7047 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
7048 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
7049
273cdee8
AS
70502013-04-11 Andreas Schwab <schwab@suse.de>
7051
6ecec3b6
AS
7052 [BZ #13988]
7053 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
7054 accept exponent character only when digits were seen.
7055 * stdio-common/Makefile (tests): Add bug26.
7056 * stdio-common/bug26.c: New file.
7057
273cdee8
AS
7058 [BZ #14293]
7059 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
7060 non-freeable.
7061
8da491f5
SP
70622013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7063
01dc6df9
SP
7064 * Makeconfig (rtld-prefix): Define built linker prefix.
7065 * Rules (run-bench): Use it.
7066 * math/Makefile (run-regen-ulps): Likewise.
7067
8da491f5
SP
7068 * Rules (bench): Remove eval.
7069
abe7f530
SP
70702013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7071 Roland McGrath <roland@hack.frob.com>
7072 Ondrej Bilka <neleai@seznam.cz>
7073
7074 [BZ #15346]
7075 * time/getdate.c: Include ctype.h and alloca.h.
7076 (__getdate_r): Trim leading and trailing spaces of input.
7077 * time/tst-getdate.c (tests): Add tests with leading and
7078 trailing spaces.
7079
61c23e62
RM
70802013-04-08 Roland McGrath <roland@hack.frob.com>
7081
7082 [BZ #14280]
7083 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
7084 when computing value.
7085
7208a313
CD
70862013-04-06 Carlos O'Donell <carlos@redhat.com>
7087
085b2d41
CD
7088 * math/README.libm-test (How can I generate "libm-test-ulps"?):
7089 Use testrun.sh to run libm tests.
7090
7208a313
CD
7091 [BZ #15309]
7092 * elf/dl-open.c (dl_open_worker): memset all of seen array.
7093
872c0acd
MM
70942013-04-06 Marko Myllynen <myllynen@redhat.com>
7095
7096 [BZ #15264]
7097 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
7098
26510bdd
CD
70992013-04-06 Carlos O'Donell <carlos@redhat.com>
7100
7101 * Makefile.in (regen-ulps): New target.
7102 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
7103 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
7104 [ifneq (no,$(PERL)] (regen-ulps): New target.
7105 [ifeq (no,$(PERL)] (regen-ulps): New target.
7106 * math/libm-test.inc (ulps_file_name): Define.
7107 (output_dir): New variable.
7108 (options): Add "output-dir" option.
7109 (parse_opt): Handle 'o' case.
7110 (main): If output_dir is non-NULL use it as a prefix
7111 otherwise use "".
7112 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
7113
a01f19c8
CD
71142013-04-06 Carlos O'Donell <carlos@redhat.com>
7115
7116 [BZ #10060, #10062]
7117 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
7118 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
7119 fail configure if __sync_val_compare_and_swap is not inlined.
7120 * sysdeps/i386/configure: Regenerate.
7121 * configure.in: Build for i686 when configured for i386.
7122 * configure: Regenerate.
7123 * README: Remove i386 reference.
7124
b7a329a5
CD
71252013-04-06 Carlos O'Donell <carlos@redhat.com>
7126
7127 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
7128 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7129
bf0f50df
TS
71302013-04-05 Thomas Schwinge <thomas@codesourcery.com>
7131
ee091edf
TS
7132 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
7133 (lmsnanval): New variables.
7134 (F): Add conversion tests.
7135 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
7136 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
7137
a8b792d6
TS
7138 * stdio-common/tstdiomisc.c (F): Properly collect individual
7139 tests' results.
7140
a1cbf437
TS
7141 [BZ #14686, #15336]
7142 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
7143 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
7144 Instead, use input NaN values or generate a qNaN by arithmetic
7145 operation. Also fix bugs to comply with the standard.
7146 * math/libm-test.inc (remainder_test): Add more tests.
7147
8b43a0c9
TS
7148 [BZ #15335, #15342]
7149 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
7150 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
7151 input NaN values or generate a qNaN by arithmetic operation.
7152
d91da4ce
TS
7153 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
7154 unreachable code.
7155
bf0f50df
TS
7156 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
7157 definitions.
7158
05e166c8
JM
71592013-04-03 Joseph Myers <joseph@codesourcery.com>
7160
7161 [BZ #14478]
7162 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
7163 underflowed result.
7164 * math/s_cexpf.c (__cexpf): Likewise.
7165 * math/s_cexpl.c (__cexpl): Likewise.
7166 * math/libm-test.inc (cexp_test): Add more tests.
7167
1cef1b19
AS
71682013-04-03 Andreas Schwab <schwab@suse.de>
7169
7170 [BZ #15330]
7171 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
7172 order arrays from heap if bigger than alloca cutoff.
7173
74d87055
TS
71742013-04-03 Thomas Schwinge <thomas@codesourcery.com>
7175
7176 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
7177 (SNAN_TESTS_double): Refer to GCC PR56831.
7178 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
7179 GCC PR56828.
7180
d755bba4
SP
71812013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7182
90d5d5bb
SP
7183 * Rules (bench): Move bench.out after the run is complete.
7184
73e0cd5d
SP
7185 * Rules (bench): Echo currently running benchmark.
7186
64aabd4b
SP
7187 * benchtests/Makefile (bench): Add atan and slowatan.
7188 * benchtests/atan-inputs: New file.
7189 * benchtests/slowatan-inputs: New file.
7190 * benchtests/slowatan.c: New file.
7191
c871eccd
SP
7192 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
7193 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
7194 its value.
7195
d755bba4
SP
7196 [BZ #15305]
7197 * sysdeps/unix/sysv/linux/kernel-features.h
7198 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
7199 __ASSUME_XFS_RESTRICTED_CHOWN.
7200 * sysdeps/unix/sysv/linux/pathconf.c
7201 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
7202 Save and restore errno.
7203
52ce4860
JM
72042013-04-02 Joseph Myers <joseph@codesourcery.com>
7205
7206 [BZ #15327]
7207 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
7208 arguments using __kernel_casinh.
7209 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
7210 arguments using __kernel_casinhf.
7211 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
7212 arguments using __kernel_casinhl.
7213 * math/libm-test.inc (cacosh_test): Add more tests.
7214 * sysdeps/i386/fpu/libm-test-ulps: Update.
7215 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7216
81f311c2
SP
72172013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7218
e7906a47
SP
7219 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
7220 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
7221
92e3664b
SP
7222 * bench/Makefile (bench): Add sin and slowsin.
7223 * benchtests/sin-inputs: New file.
7224 * benchtests/slowsin-inputs: New file.
7225 * benchtests/slowsin.c: New file.
7226
81f311c2
SP
7227 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
7228 (bench): Add slowexp and slowpow.
7229 (exp-ITER): Increase iterations.
7230 (pow-ITER): Likewise.
7231 * benchtests/exp-inputs: Change input.
7232 * benchtests/pow-inputs: Likewise.
7233 * benchtests/slowexp-inputs: New file.
7234 * benchtests/slowexp.c: New file.
7235 * benchtests/slowpow-inputs: New file.
7236 * benchtests/slowpow.c: New file.
7237
ab0f1aa9
AZ
72382013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7239
7240 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
7241 instructions.
7242 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
7243 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
7244 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
7245 * benchtests/Makefile: Add rint benchtest.
7246 * benchtests/rint-inputs: Input for rint benchtest.
7247
57267616
TS
72482013-04-02 Thomas Schwinge <thomas@codesourcery.com>
7249
7250 * Versions.def (libm): Add GLIBC_2.18.
7251 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
7252 hidden libm prototypes.
7253 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
7254 * math/Makefile (libm-calls): Add s_issignaling.
7255 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
7256 __issignalingf, __issignalingl. Adjust all libm.abilist files.
7257 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
7258 declaration.
7259 * math/math.h [__USE_GNU] (issignaling): New macro.
7260 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
7261 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
7262 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
7263 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
7264 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
7265 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
7266 * manual/arith.texi (issignaling): New section.
7267 * manual/libm-err-tab.pl (@all_functions): Update comment.
7268 * math/gen-libm-test.pl (parse_args): Apply special handling for
7269 issignaling.
7270 * math/libm-test.inc (print_float, issignaling_test): New
7271 functions.
7272 (check_float_internal): Add issignaling checks.
7273 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
7274 default definition.
7275 * sysdeps/powerpc/math-tests.h: New file.
7276 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
7277 tests.
7278 * math/test-snan.c (TEST_FUNC): Likewise.
7279
6142896d
DM
72802013-03-30 David S. Miller <davem@davemloft.net>
7281
7282 * po/de.po: Update from translation team.
7283
ccc8cadf
JM
72842013-03-30 Joseph Myers <joseph@codesourcery.com>
7285
7286 [BZ #10357]
7287 * math/k_casinh.c (__kernel_casinh): Handle arguments with
7288 imaginary part less than 1.0 and real part less than 0.5
7289 specially.
7290 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7291 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7292 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
7293 (cacos_test): Add more tests.
7294 (casin_test): Likewise.
7295 (casinh_test): Likewise.
7296 * sysdeps/i386/fpu/libm-test-ulps: Update.
7297 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7298
0f6a8d4b
SP
72992013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7300
0d1029de
SP
7301 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
7302 ONE with its value.
7303
c2d94018
SP
7304 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
7305 (__pow_mp): Replace ONE and MONE with their values.
7306 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7307 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
7308 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
7309 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
7310 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7311 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
7312
27ec37f1
SP
7313 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
7314
a64d7e0e
SP
7315 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
7316 (__pow_mp): Replace ZERO and MZERO with their values.
7317 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
7318 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7319 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
7320 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
7321 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7322 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
7323 (__sqr): Likewise.
7324
d26dd3eb
SP
7325 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
7326
0f6a8d4b
SP
7327 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
7328
e57b0c61
RM
73292013-03-28 Roland McGrath <roland@hack.frob.com>
7330
7331 * include/stdlib.h [!SHARED] (__call_tls_dtors):
7332 Declare with __attribute__ ((weak)).
7333 * stdlib/exit.c (__libc_atexit) [!SHARED]:
7334 Call __call_tls_dtors only if it's not NULL.
7335
356b3480
RM
73362013-03-28 Roland McGrath <roland@hack.frob.com>
7337
288f7d79
RM
7338 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
7339 didn't do it already, then set _dl_phdr and _dl_phnum based on the
7340 magic __ehdr_start linker symbol if it's defined.
7341 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
7342 them up here if it was already done.
7343
dc0a0263
RM
7344 * elf/dl-support.c (_dl_phdr): Make pointer to const.
7345 (_dl_aux_init): Use const in cast when setting it.
7346 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
7347 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
7348 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
7349
3d3436ae
RM
7350 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
7351 Declare them here.
7352 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
7353 * csu/libc-tls.c: Nor here.
7354 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
7355
356b3480
RM
7356 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
7357 (__libc_message): Never call vsyslog.
7358
b0f1246a
AM
73592013-03-28 Alan Modra <amodra@gmail.com>
7360
7361 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
7362 Define as empty.
7363 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
7364 Likewise.
7365
fbbe2b9a
AZ
73662013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7367
7368 [BZ #15214]
7369 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
7370 underflow.
7371 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7372
1728ab37
SP
73732013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7374
7a86be6e
SP
7375 [BZ #15304]
7376 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
7377 Don't add gid passed as argument.
7378
1728ab37
SP
7379 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
7380
3a7182a1
JM
73812013-03-27 Joseph Myers <joseph@codesourcery.com>
7382
7383 [BZ #15307]
7384 * math/k_casinh.c (__kernel_casinh): Handle arguments with
7385 imaginary part between 1.0 and 1.5 and real part less than 0.5
7386 specially.
7387 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7388 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7389 * math/libm-test.inc (cacos_test): Add more tests.
7390 (casin_test): Likewise.
7391 (casinh_test): Likewise.
7392 * sysdeps/i386/fpu/libm-test-ulps: Update.
7393 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7394
6f2e90e7
SP
73952013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7396
5739f705
SP
7397 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
7398 constants.
7399 (norm): Likewise.
7400 (denorm): Likewise.
7401 (__dbl_mp): Likewise.
7402 (add_magnitudes): Likewise.
7403 (sub_magnitudes): Likewise.
7404 (__add): Likewise.
7405 (__sub): Likewise.
7406 (__mul): Likewise.
7407 (__sqr): Likewise.
7408 (__inv): Likewise.
7409 (__dvd): Likewise.
7410
e375e83d
SP
7411 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
7412 commented code.
7413 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
7414 (__dubcos): Likewise.
7415 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
7416 (__ieee754_acos): Likewise.
7417 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
7418 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
7419 (__exp1): Likewise.
7420 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7421 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
7422 (log1): Likewise.
7423 (my_log2): Likewise.
7424 (checkint): Likewise.
7425 * sysdeps/ieee754/dbl-64/e_remainder.c
7426 (__ieee754_remainder): Likewise.
7427 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7428 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
7429 (bsloww): Likewise.
7430 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
7431
6f2e90e7
SP
7432 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
7433 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
7434 MANTISSA_STORE_T to store computations on mantissa. Use
7435 macros for rounding and division.
7436 (denorm): Likewise.
7437 (__dbl_mp): Likewise.
7438 (add_magnitudes): Likewise.
7439 (sub_magnitudes): Likewise.
7440 (__mul): Likewise.
7441 (__sqr): Likewise.
7442 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
7443 powers of two in terms of TWOPOW macro.
7444 (mp_no): Make type of mantissa as MANTISSA_T.
7445 [!RADIXI]: Define RADIXI.
7446 [!TWO52]: Define TWO52.
7447 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
7448
fce14d4e
AZ
74492013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7450
7451 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
7452 llroundl symbol when building for PPC32.
7453
9ad027fb
MW
74542013-03-24 Mark H Weaver <mhw@netris.org>
7455
7456 * manual/arith.texi (Normalization Functions): Fix prototypes for
7457 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
7458
e42a38dd
AZ
74592013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7460
7461 [BZ #13889]
7462 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
7463 high value to check if expl overflow.
7464 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
7465 to check for underflow and overflow.
7466 * math/libm-test.inc: Add exp test.
7467
2e0fb521
DL
74682013-03-21 Dmitry V. Levin <ldv@altlinux.org>
7469
7470 [BZ #11120]
7471 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
7472 with NOT_IN_libc.
7473
b5784d95
AZ
74742013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7475
7476 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
7477 symbol.
7478
5aa4a1a1
TS
74792013-03-21 Thomas Schwinge <thomas@codesourcery.com>
7480
bdef0be7
TS
7481 * math/gen-libm-test.pl (parse_args, special_functions): Properly
7482 wrap blocks consisting of several statements.
7483
5aa4a1a1
TS
7484 * sysdeps/generic/math-tests.h: New file.
7485 * sysdeps/i386/fpu/math-tests.h: Likewise.
7486 * math/test-snan.c: Include it.
7487 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
7488
98c48fe5
JM
74892013-03-21 Joseph Myers <joseph@codesourcery.com>
7490
7491 [BZ #15285]
7492 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
7493 (__ieee754_j0l): Do not improve calculations using cos of twice
7494 input for inputs above LDBL_MAX / 2.0L.
7495 (__ieee754_y0l): Likewise.
7496 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
7497 (__ieee754_j1l): Do not improve calculations using cos of twice
7498 input for inputs above LDBL_MAX / 2.0L.
7499 (__ieee754_y1l): Likewise.
7500 * math/libm-test.inc (j0_test): Add another test.
7501 (j1_test): Likewise.
7502 (y0_test): Likewise.
7503 (y1_test): Likewise.
7504 * sysdeps/i386/fpu/libm-test-ulps: Update.
7505
3775a8bc
SP
75062013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7507
7508 * Rules ($(objpfx)bench-%.c): Include code from a C source
7509 file.
7510
0a1b2ae6
JM
75112013-03-21 Joseph Myers <joseph@codesourcery.com>
7512
7513 [BZ #15287]
7514 * math/k_casinh.c (__kernel_casinh): Handle arguments with
7515 imaginary part 1.0 and real part less than 0.5 specially.
7516 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7517 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7518 * math/libm-test.inc (cacos_test): Add more tests.
7519 (casin_test): Likewise.
7520 (casinh_test): Likewise.
7521 * sysdeps/i386/fpu/libm-test-ulps: Update.
7522 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7523
b33d4ce4
SP
75242013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7525
7526 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
7527 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
7528
bef0b507
JM
75292013-03-20 Joseph Myers <joseph@codesourcery.com>
7530
7531 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
7532 * config.make.in (config-cflags-sse4): Remove variable.
7533 (config-cflags-avx): Likewise.
7534 (config-cflags-sse2avx): Likewise.
7535 (config-cflags-novzeroupper): Likewise.
7536 (config-asflags-i686): Likewise.
7537 (have-mfma4): Likewise.
7538 (have-as-vis3): Likewise.
7539 (MIG): Likewise.
7540 * configure.in (MIG): Do not AC_SUBST.
7541 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
7542 (libc_cv_cc_sse4): Do not AC_SUBST.
7543 (libc_cv_cc_avx): Likewise.
7544 (libc_cv_cc_sse2avx): Likewise.
7545 (libc_cv_cc_novzeroupper): Likewise.
7546 (libc_cv_cc_fma4): Likewise.
7547 (libc_cv_as_i686): Likewise.
7548 (libc_cv_sparc_as_vis3): Likewise.
7549 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
7550 LIBC_CONFIG_VAR.
7551 (config-asflags-i686): Likewise.
7552 (config-cflags-avx): Likewise.
7553 (config-cflags-sse2avx): Likewise.
7554 (have-mfma4): Likewise.
7555 (config-cflags-novzeroupper): Likewise.
7556 * sysdeps/mach/configure.in (MIG): Likewise.
7557 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
7558 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
7559 LIBC_CONFIG_VAR.
7560 (config-cflags-avx): Likewise.
7561 (config-cflags-sse2avx): Likewise.
7562 (have-mfma4): Likewise.
7563 (config-cflags-novzeroupper): Likewise.
7564 * configure: Regenerated.
7565 * sysdeps/i386/configure: Likewise.
7566 * sysdeps/mach/configure: Likewise.
7567 * sysdeps/sparc/configure: Likewise.
7568 * sysdeps/x86_64/configure: Likewise.
7569
912cc4b3
RM
75702013-03-20 Roland McGrath <roland@hack.frob.com>
7571
7572 [BZ #14812]
7573 * locale/programs/localedef.c (options): Put N_ translation marker
7574 on argument names, not just descriptions.
7575
04eed2b0
MS
75762013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7577
7578 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
7579
a065ceff
OB
75802013-03-20 Ondřej Bílka <neleai@seznam.cz>
7581
9bb2a810 7582 [BZ #14176]
a065ceff
OB
7583 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
7584
a600e5ce
RM
75852013-03-19 Roland McGrath <roland@hack.frob.com>
7586
7587 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
7588 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
7589 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
7590 [!BEFORE_ABORT] (before_abort): New function.
7591 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
7592 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
7593 (writev_for_fatal): New function.
7594 (WRITEV_FOR_FATAL): New macro; call that.
7595 (backtrace_and_maps): New function.
7596 (BEFORE_ABORT): New macro; call that.
7597 (struct str_list): Type removed.
7598 (__libc_message, __libc_fatal): Functions removed.
7599 Include <sysdeps/posix/libc_fatal.c> instead.
7600
6b18bea6
JM
76012013-03-19 Joseph Myers <joseph@codesourcery.com>
7602
7603 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
7604 constants.
7605 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
7606 double constants.
7607
aaa8cb4b
AS
76082013-03-19 Andreas Schwab <schwab@suse.de>
7609
44673770
AS
7610 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
7611 * sysdeps/gnu/configure: Regenerate.
7612
aaa8cb4b
AS
7613 * configure.in: Substitute libc_cv_rtlddir.
7614 * configure: Regenerate.
7615 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
7616 * Makeconfig (rtlddir, inst_rtlddir): New variables.
7617 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
7618 * elf/Makefile (install-others, CFLAGS-interp.c)
7619 (ldso_install, common-ldd-rewrite): Likewise.
7620 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
7621 $(inst_slibdir)/$(rtld-installed-name).
7622 * scripts/rellns-sh: Add -p option.
7623 * Makerules (make-shlib-link): Use rellns-sh to get relative name
7624 for source.
7625
d3cfc668
SP
76262013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7627
7628 * manual/nptl.texi: Renamed to ...
7629 * manual/threads.texi: ... this.
7630 * manual/Makefile (chapters): Update.
7631
0e2b9cdd
RM
76322013-03-18 Roland McGrath <roland@hack.frob.com>
7633
7634 [BZ #14812]
7635 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
7636 on argument names, not just descriptions.
0e2b9cdd
RM
7637 * malloc/memusagestat.c (options): Likewise.
7638 * nss/getent.c (options): Likewise.
63270c24
RM
7639
76402013-03-18 Benno Schulenberg <bensberg@justemail.net>
7641
7642 [BZ #14812]
7643 * iconv/iconv_prog.c (options): Put N_ translation marker
7644 on argument names, not just descriptions.
7645 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 7646
b2e1393c
OB
76472013-03-18 Ondrej Bilka <neleai@seznam.cz>
7648
7649 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
7650 implementation which is faster on all x86_64 architectures.
7651 Tested on AMD, Intel Nehalem, SNB, IVB.
7652 * sysdeps/x86_64/strnlen.S: Likewise.
7653
7654 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
7655 Remove all multiarch strlen and strnlen versions.
7656 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
7657 Remove strlen and strnlen related parts.
7658
7659 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
7660 Inline strlen part.
7661 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
7662
7663 * sysdeps/x86_64/multiarch/strlen.S: Remove.
7664 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
7665 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
7666 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
7667 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
7668 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
7669
ec4ff04d
CD
76702013-03-17 Carlos O'Donell <carlos@redhat.com>
7671
7672 * manual/memory.texi (Malloc Tunable Parameters):
7673 Sort parameters alphabetically. Add comments for missing entries.
7674
cd18e90a
DM
76752013-03-17 David S. Miller <davem@davemloft.net>
7676
7677 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7678
2a185d32
JM
76792013-03-16 Joseph Myers <joseph@codesourcery.com>
7680
d2f9799e
JM
7681 [BZ #15283]
7682 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
7683 for arguments at most half maximum finite value.
7684 * math/libm-test.inc (j0_test): Add more tests.
7685 (j1_test): Likewise.
7686 (y0_test): Likewise.
7687 (y1_test): Likewise.
7688 * sysdeps/i386/fpu/libm-test-ulps: Update.
7689 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7690
2a185d32
JM
7691 [BZ #14155]
7692 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
7693 1 / x and functions P and Q for arguments above 0x1p256L.
7694 (__ieee754_y0l): Likewise.
7695 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
7696 (__ieee754_y1l): Likewise.
7697 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
7698 (j1_test): Likewise.
7699 (y0_test): Likewise.
7700 (y1_test): Likewise.
7701
6cbec759
TS
77022013-03-16 Thomas Schwinge <thomas@codesourcery.com>
7703
7704 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
7705 variable.
7706
bc16e260
RM
77072013-03-15 Roland McGrath <roland@hack.frob.com>
7708
aefc9b8c
RM
7709 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
7710 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
7711 zero since it's initialized to EXEC_PAGESIZE.
7712
bc16e260
RM
7713 * sysdeps/unix/sysv/linux/ldsodefs.h
7714 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
7715 * sysdeps/generic/ldsodefs.h: ... here.
7716
a57da955
TS
77172013-03-15 Thomas Schwinge <thomas@codesourcery.com>
7718
af00a34d
TS
7719 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
7720
495ded2c
TS
7721 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
7722 math/test-snan.c.
7723 * math/test-snan.c: Renamed from
7724 sysdeps/powerpc/fpu/test-powerpc-snan.c.
7725 * math/Makefile (tests): Add test-snan.
7726 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
7727 test-powerpc-snan.
7728
777b0332
TS
7729 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
7730 SUFFIX. Initialize qNaN_var with __builtin_nan family of
7731 functions.
7732 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
7733 __builtin_nan family of functions.
7734 * math/libm-test.inc (initialize): Initialize qnan_value with
7735 __builtin_nan family of functions.
7736 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
7737 Remove variables.
7738 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
7739 Remove functions.
7740 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
7741 storage class. Initialize qNaN_var and sNaN_var with
7742 __builtin_nan and __builtin_nans families of functions,
7743 respectively.
7744
64d063b8
TS
7745 * math/libm-test.inc (acosh_test): Also test with qNaN input.
7746 (sqrt_test): Remove duplicate test with qNaN input.
7747 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
7748 (round_test, signbit_test, significand_test): Note missing +/-Inf
7749 as well as qNaN tests.
7750
67e971f1
TS
7751 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
7752 qNaN_var. Fix a few strings, too.
7753 * math/libm-test.inc (nan_value): Rename to qnan_value.
7754 * math/gen-libm-test.pl (%beautify): Adjust to that.
7755 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
7756 * math/test-misc.c (main): Likewise.
7757 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
7758 to __qnan_bytes, and __qnan_union, respectively.
7759 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
7760 Likewise.
7761 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
7762 and lqnanval, respectively.
7763 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
7764 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
7765 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
7766 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
7767
64487e12
TS
7768 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
7769 * math/test-misc.c (main) [__x86_64__]: Enable test for long
7770 doubles.
7771
e015e27b
TS
7772 * math/test-misc.c (main): Fix copy'n'pastos.
7773 * misc/tst-efgcvt.c (special): Likewise.
7774
a57da955
TS
7775 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
7776 Remove declarations.
7777
1e380345
SP
77782013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7779
7780 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
7781 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
7782 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
7783 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
7784
ef26eece
AZ
77852013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7786
7787 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
7788 macro to return vdso values correctly in IFUNC implementations.
7789 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
7790 Optimization by using IFUNC.
7791
8cfdb7e0
SP
77922013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7793 Richard Henderson <rth@redhat.com>
7794 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7795
7796 * Makefile.in (bench): New target.
7797 * NEWS: Mention the benchmark framework.
7798 * Rules (bench): Likewise.
7799 (binaries-bench): Generate binaries for functions to
7800 benchmark.
7801 * benchtests/Makefile: New makefile for benchmark tests.
7802 * benchtests/bench-skeleton.c: New skeleton file for benchmark
7803 programs.
7804 * benchtests/exp-inputs: New input file for EXP function.
7805 * benchtests/pow-inputs: New input file for POW function.
7806 * scripts/bench.pl: New script to generate source files for
7807 benchmark programs.
7808
bcda9880
SP
78092013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7810
d22ca8cd
SP
7811 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
7812 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
7813 computations on mantissa. Use macros for rounding and
7814 division.
7815 (denorm): Likewise.
7816 (__dbl_mp): Likewise.
7817 (add_magnitudes): Likewise.
7818 (sub_magnitudes): Likewise.
7819 (__mul): Likewise.
7820 (__sqr): Likewise.
7821 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
7822 powers of two in terms of TWOPOW macro.
7823 (mp_no): Make type of mantissa as MANTISSA_T.
7824 [!RADIXI]: Define RADIXI.
7825 [!TWO52]: Define TWO52.
7826 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
7827
bcda9880
SP
7828 * manual/nptl.texi (cindex): Modify threads to pthreads.
7829
06d5adfb
JM
78302013-03-15 Joseph Myers <joseph@codesourcery.com>
7831
7832 * sysdeps/x86_64/preconfigure: Regenerated.
7833
41c7328e
JM
78342013-03-14 Joseph Myers <joseph@codesourcery.com>
7835
7836 [BZ #14155]
7837 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
7838 0x1p28 and above.
7839 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
7840 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
7841 0x1p28 and above.
7842 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
7843 * math/libm-test.inc (j0_test): Do not allow one spurious
7844 underflow exception.
7845 (y1_test): Likewise.
7846
e25cfa60
SP
78472013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7848
0409959c
SP
7849 * manual/Makefile (chapters): Add nptl.
7850 * manual/debug.texi (Debugging Support): Add link to Threads
7851 chapter.
7852 * manual/nptl.texi: New file.
7853
e25cfa60
SP
7854 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
7855
58a1335e
PB
78562013-03-14 Petr Baudis <pasky@ucw.cz>
7857
7858 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
7859 for non-NULL pointer before the memory validity test. Pointed
7860 out by Holger Brunck <holger.brunck@keymile.com>.
7861
9dc7c64f
AS
78622013-03-13 Andreas Schwab <schwab@suse.de>
7863
7864 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
7865 instead of .os.
7866
54206aa6
JM
78672013-03-13 Joseph Myers <joseph@codesourcery.com>
7868
7869 * timezone/zic.c: Update from tzcode 2013b.
7870
e98cdb38
CD
78712013-03-12 Carlos O'Donell <carlos@redhat.com>
7872
7873 * manual/install.texi (Configuring and compiling):
7874 Mention i686 and i586.
7875 * INSTALL: Regenerate.
7876
9967e003
RM
78772013-03-12 Roland McGrath <roland@hack.frob.com>
7878
7879 * sysdeps/init_array/elf-init.c: New file.
7880 * csu/elf-init.c
7881 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
7882 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
7883
7884 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
7885 __gmon_start__ as global, but as static with a .preinit_array pointer.
7886 * sysdeps/init_array/gmon-start.c: New file. Use that.
7887 * sysdeps/init_array/crti.S: New file, empty except for comments.
7888 * sysdeps/init_array/crtn.S: Likewise.
7889
e6b5a293 78902013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
7891
7892 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
7893 definining bcopy.
80f844c9
OB
7894 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7895 Remove Prefer_SSE_for_memop.
7896 * sysdeps/x86_64/multiarch/init-arch.h: Remove
7897 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
7898 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
7899 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
7900 memset-x86-64.
80f844c9 7901 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 7902 Remove bzero, memset ifunc support.
80f844c9
OB
7903 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
7904 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
7905 * sysdeps/x86_64/multiarch/memset.S: Likewise.
7906 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7907
fb6b0fcb
AS
79082013-03-11 Andreas Schwab <schwab@suse.de>
7909
7910 [BZ #15234]
7911 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
7912 by SHLIB_COMPAT.
7913 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
7914 (GLIBC_2.16): Remove pthread_atfork.
7915
3e6bd4b1
PP
79162013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
7917
7918 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
7919 (ptestcases.h): Likewise.
7920
222d7f00
RM
79212013-03-08 Roland McGrath <roland@hack.frob.com>
7922
7923 * Makeconfig ($(common-objpfx)config.status): Depend on
7924 sysdeps/*/preconfigure{,.in} too.
7925
1ba4f030
JM
79262013-03-08 Joseph Myers <joseph@codesourcery.com>
7927
a222d91a
JM
7928 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
7929 (__free_hook): Use void * instead of __malloc_ptr_t.
7930 (__malloc_hook): Likewise.
7931 (__realloc_hook): Likewise.
7932 (__memalign_hook): Likewise.
7933 (__after_morecore_hook): Likewise.
7934 * malloc/arena.c (save_malloc_hook): Likewise.
7935 (save_free_hook): Likewise.
7936 * malloc/hooks.c (malloc_hook_ini): Likewise.
7937 (realloc_hook_ini): Likewise.
7938 (memalign_hook_ini): Likewise.
7939 * malloc/malloc.c (malloc_hook_ini): Likewise.
7940 (realloc_hook_ini): Likewise.
7941 (memalign_hook_ini): Likewise.
7942 (__free_hook): Likewise.
7943 (__malloc_hook): Likewise.
7944 (__realloc_hook): Likewise.
7945 (__memalign_hook): Likewise.
7946 (__libc_malloc): Likewise.
7947 (__libc_free): Likewise.
7948 (__libc_realloc): Likewise.
7949 (__libc_memalign): Likewise.
7950 (__libc_valloc): Likewise.
7951 (__libc_pvalloc): Likewise.
7952 (__libc_calloc): Likewise.
7953 (__posix_memalign): Likewise.
7954 * malloc/morecore.c (__sbrk): Likewise.
7955 (__default_morecore): Likewise.
7956
5cc45e10
JM
7957 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
7958
dd54b864
JM
7959 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
7960 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
7961 __malloc_ptrdiff_t.
7962
1ba4f030
JM
7963 * malloc/malloc.h (__malloc_size_t): Remove macro.
7964 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
7965 __malloc_size_t.
7966 (old_memalign_hook): Likewise.
7967 (old_realloc_hook): Likewise.
7968 (struct hdr): Likewise.
7969 (flood): Likewise.
7970 (mallochook): Likewise.
7971 (memalignhook): Likewise.
7972 (reallochook): Likewise.
7973 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
7974 (tr_old_realloc_hook): Likewise.
7975 (tr_old_memalign_hook): Likewise.
7976 (tr_mallochook): Likewise.
7977 (tr_reallochook): Likewise.
7978 (tr_memalignhook): Likewise.
7979
edf66e57
AZ
79802013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7981
7982 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
7983 default_ldbl_pack and using as default implementation.
7984 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
7985 implementation.
7986 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
7987 redundant definition.
7988 (ldbl_insert_mantissa): Likewise.
7989 (ldbl_canonicalize): Likewise.
7990 (ldbl_nearbyint): Likewise.
7991 (ldbl_pack): Rename to ldbl_pack_ppc.
7992 (ldbl_unpack): Rename to ldbl_unpack_ppc.
7993 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
7994 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
7995
6d9145d8
SP
79962013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
7997
7998 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
7999 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
8000 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
8001 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
8002 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
8003 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
8004 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
8005 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
8006
4dd4e157
AJ
80072013-03-07 Andreas Jaeger <aj@suse.de>
8008
8009 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8010 bits/mman-linux.h.
8011
adbb8027
SP
80122013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
8013
ce544b5b
SP
8014 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
8015 Include mpa.h and declare __MPEXP.
8016 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
8017 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
8018 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
8019 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
8020 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
8021 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
8022 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
8023
4cc149fd
SP
8024 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
8025 (__slowpow): Use long double EXPL and LOGL functions to
8026 compute POW.
8027 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
8028 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
8029 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
8030 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
8031 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
8032 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
8033
e6ebd4a7
SP
8034 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
8035 intermediate variable to calculate exponent.
8036 (__sqr): Likewise.
8037 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
8038 Likewise.
8039 (__sqr): Likewise.
8040
82a9811d
SP
8041 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
8042 [!NO__SQR]: Define __sqr.
8043 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
8044 and NO__SQR. Remove all code except __mul and __sqr. Include
8045 sysdeps/ieee754/dbl-64/mpa.c.
8046 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8047
adbb8027
SP
8048 [BZ #12723]
8049 * posix/Makefile (tests): Add tst-pathconf.
8050 * posix/tst-pathconf.c: New test case.
8051 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
8052 _PC_PIPE_BUF.
8053 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
8054
39120df9
PF
80552013-03-06 Patsy Franklin <pfrankli@redhat.com>
8056
8057 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
8058
67525cb8
AJ
80592013-03-06 Andreas Jaeger <aj@suse.de>
8060
664a9ce4
AJ
8061 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
8062 definition via __MAP_ANONYMOUS.
8063
8e39047d
AJ
8064 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
8065 it's not part of Linux headers.
8066
67525cb8
AJ
8067 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
8068 (MAP_HUGE_MASK): Define.
8069
8070 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
8071 Define.
8072 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8073 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
8074 Define.
8075 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8076 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
8077 Define.
8078 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8079 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
8080 Define.
8081 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8082
8083 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
8084 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
8085 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
8086 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
8087 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
8088 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
8089
8090 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
8091 Handle f2fs.
8092
8093 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8094 Handle f2fs and efivarfs.
8095
8096 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
8097 f2fs.
8098
8099 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
8100 (EFIVARFS_MAGIC): Add.
8101 (F2FS_LINK_MAX): Add.
8102
e1b42695
PP
81032013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8104
8105 * stdio-common/vfprintf.c: Replace __builtin_expect with
8106 __glibc_unlikely.
8107
2d67d91a
JM
81082013-03-06 Joseph Myers <joseph@codesourcery.com>
8109
8110 [BZ #13550]
8111 * sysdeps/generic/bp-sym.h: Remove file.
8112 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
8113 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
8114 <bp-sym.h> and <bp-asm.h>.
8115 (__longjmp): Don't use BP_SYM.
8116 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
8117 and <bp-asm.h>.
8118 (memcpy): Don't use BP_SYM.
8119 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
8120 <bp-sym.h> and <bp-asm.h>.
8121 (memcpy): Don't use BP_SYM.
8122 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
8123 <bp-asm.h>.
8124 (memcpy): Don't use BP_SYM.
8125 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
8126 <bp-asm.h>.
8127 (memset): Don't use BP_SYM.
8128 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8129 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8130 (__bzero): Don't use BP_SYM.
8131 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8132 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8133 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
8134 <bp-sym.h> and <bp-asm.h>.
8135 (memcmp): Don't use BP_SYM. Remove comment about bounded
8136 pointers.
8137 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
8138 <bp-sym.h> and <bp-asm.h>.
8139 (memcpy): Don't use BP_SYM.
8140 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
8141 <bp-sym.h> and <bp-asm.h>.
8142 (memset): Don't use BP_SYM.
8143 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8144 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8145 (__bzero): Don't use BP_SYM.
8146 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8147 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8148 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
8149 <bp-sym.h> and <bp-asm.h>.
8150 (strncmp): Don't use BP_SYM. Remove comment about bounded
8151 pointers.
8152 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
8153 <bp-sym.h> and <bp-asm.h>.
8154 (memcpy): Don't use BP_SYM.
8155 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
8156 <bp-sym.h> and <bp-asm.h>.
8157 (memset): Don't use BP_SYM.
8158 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8159 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8160 (__bzero): Don't use BP_SYM.
8161 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8162 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8163 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
8164 <bp-sym.h> and <bp-asm.h>.
8165 (__memchr): Don't use BP_SYM.
8166 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
8167 <bp-sym.h> and <bp-asm.h>.
8168 (memcmp): Don't use BP_SYM. Remove comment about bounded
8169 pointers.
8170 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
8171 <bp-sym.h> and <bp-asm.h>.
8172 (memcpy): Don't use BP_SYM.
8173 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
8174 <bp-sym.h> and <bp-asm.h>.
8175 (__mempcpy): Don't use BP_SYM.
8176 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
8177 <bp-sym.h> and <bp-asm.h>.
8178 (__memrchr): Don't use BP_SYM.
8179 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
8180 <bp-sym.h> and <bp-asm.h>.
8181 (memset): Don't use BP_SYM.
8182 (__bzero): Likewise.
8183 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
8184 <bp-sym.h> and <bp-asm.h>.
8185 (__rawmemchr): Don't use BP_SYM.
8186 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
8187 <bp-sym.h> and <bp-asm.h>.
8188 (__STRCMP): Don't use BP_SYM.
8189 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
8190 <bp-sym.h> and <bp-asm.h>.
8191 (strchr): Don't use BP_SYM.
8192 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
8193 <bp-sym.h> and <bp-asm.h>.
8194 (__strchrnul): Don't use BP_SYM.
8195 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
8196 <bp-sym.h> and <bp-asm.h>.
8197 (strlen): Don't use BP_SYM.
8198 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
8199 <bp-sym.h> and <bp-asm.h>.
8200 (strncmp): Don't use BP_SYM. Remove comment about bounded
8201 pointers.
8202 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
8203 <bp-sym.h> and <bp-asm.h>.
8204 (__strnlen): Don't use BP_SYM.
8205 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
8206 <bp-sym.h> and <bp-asm.h>.
8207 (__GI__setjmp): Don't use BP_SYM.
8208 (_setjmp): Likewise.
8209 (__sigsetjmp): Likewise.
8210 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
8211 (L(start_addresses)): Don't use BP_SYM.
8212 (_start): Likewise.
8213 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
8214 <bp-asm.h>.
8215 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
8216 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
8217 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8218 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8219 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
8220 <bp-asm.h>.
8221 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
8222 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
8223 about bounded pointers.
8224 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
8225 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8226 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
8227 <bp-asm.h>.
8228 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
8229 about bounded pointers. Remove GKM FIXME comments.
8230 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
8231 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
8232 <bp-asm.h>.
8233 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
8234 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
8235 Remove GKM FIXME comments.
8236 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8237 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8238 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
8239 <bp-asm.h>.
8240 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
8241 about bounded pointers. Remove GKM FIXME comment.
8242 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
8243 and <bp-asm.h>.
8244 (strncmp): Don't use BP_SYM. Remove comment about bounded
8245 pointers.
8246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
8247 <bp-sym.h> and <bp-asm.h>.
8248 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
8249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
8250 <bp-sym.h> and <bp-asm.h>.
8251 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
8252 comment.
8253
cdcf361f
PP
82542013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8255
8256 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
8257 call free(NULL).
8258
3c4a2b15
DM
82592013-03-05 David S. Miller <davem@davemloft.net>
8260
8261 * po/es.po: Update from translation team.
8262
cdcf361f 82632013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
8264
8265 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
8266 <bits/mman-linux.h>.
8267 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8268 is fine.
8269 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
8270 <bits/mman-linux.h> to end of file.
8271 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8272 is fine.
8273 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
8274 <bits/mman-linux.h> to end of file.
8275 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8276 is fine.
8277 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
8278 <bits/mman-linux.h> to end of file.
8279
8280 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
8281 (MCL_CURRENT, MCL_FUTURE): Define here.
8282
5f67c04f
AK
82832013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8284
8a4473cc 8285 [BZ #15232]
5f67c04f
AK
8286 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
8287 attribute_hidden.
8288 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8289
c3e94a95
AK
82902013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8291
8292 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
8293 fourth parameter needed for rt_sigprocmask syscall.
8294 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
8295 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
8296 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
8297 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
8298 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
8299 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
8300
cfb6382a
JM
83012013-03-04 Joseph Myers <joseph@codesourcery.com>
8302
8303 [BZ #13550]
8304 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
8305 comment about bounded pointers.
8306 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
8307 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
8308
539d8e01
AJ
83092013-03-04 Andreas Jaeger <aj@suse.de>
8310
8311 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
8312 common definitions.
8313
8314 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
8315 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
8316 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
8317 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8318 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
8319 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8320
2e167a70 83212013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
8322
8323 [BZ #15055]
8324 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
8325 __ieee754_sqrl instead of __sqrl.
8326
68508633
JM
83272013-03-01 Joseph Myers <joseph@codesourcery.com>
8328
8329 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
8330 * sysdeps/powerpc/fpu_control.h: ... here.
8331 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
8332 * sysdeps/powerpc/bits/fenvinline.h: ... here.
8333 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
8334 * sysdeps/powerpc/bits/mathinline.h: ... here.
8335
7775448e
RM
83362013-03-01 Roland McGrath <roland@hack.frob.com>
8337
8338 * elf/dl-hwcaps.c (_dl_important_hwcaps):
8339 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
8340 to just [NEED_DL_SYSINFO_DSO].
8341 * elf/dl-support.c: Likewise.
8342 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
8343 * elf/rtld.c (dl_main): Likewise.
8344 * elf/setup-vdso.h (setup_vdso): Likewise.
8345 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
8346 * sysdeps/unix/sysv/linux/dl-sysdep.c
8347 (_dl_discover_osversion): Likewise.
8348
4e9b5995
CD
83492013-03-01 Carlos O'Donell <carlos@redhat.com>
8350
8351 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
8352 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
8353
e23872c8
SP
83542013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
8355
e5c74c63
SP
8356 * NEWS: Mention libm performance improvements and non-x86 PI
8357 futex support.
8358
e23872c8
SP
8359 * csu/libc-start.c (__pthread_initialize_minimal): Change
8360 function arguments.
8361 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
8362
b5510883
JM
83632013-02-28 Joseph Myers <joseph@codesourcery.com>
8364
8365 [BZ #13550]
8366 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
8367 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
8368 <bp-sym.h> and <bp-asm.h>.
8369 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8370 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
8371 and <bp-asm.h>.
8372 (memcpy): Don't use BP_SYM.
8373 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
8374 <bp-asm.h>.
8375 (__mpn_add_n): Don't use BP_SYM.
8376 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
8377 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
8378 and <bp-asm.h>.
8379 (__mpn_addmul_1): Don't use BP_SYM.
8380 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8381 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
8382 <bp-sym.h>.
8383 (_setjmp): Don't use BP_SYM.
8384 (__novmx_setjmp): Likewise.
8385 (__GI__setjmp): Likewise.
8386 (__vmx_setjmp): Likewise.
8387 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
8388 <bp-sym.h>.
8389 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
8390 (__bzero): Don't use BP_SYM.
8391 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8392 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8393 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
8394 <bp-sym.h> and <bp-asm.h>.
8395 (memcpy): Don't use BP_SYM.
8396 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
8397 <bp-sym.h> and <bp-asm.h>.
8398 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8399 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
8400 <bp-sym.h> and <bp-asm.h>.
8401 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8402 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
8403 <bp-asm.h>.
8404 (__mpn_lshift): Don't use BP_SYM.
8405 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8406 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
8407 <bp-asm.h>.
8408 (memset): Don't use BP_SYM.
8409 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8410 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8411 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
8412 <bp-asm.h>.
8413 (__mpn_mul_1): Don't use BP_SYM.
8414 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8415 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
8416 <bp-sym.h> and <bp-asm.h>.
8417 (memcmp): Don't use BP_SYM.
8418 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
8419 <bp-sym.h> and <bp-asm.h>.
8420 (memcpy): Don't use BP_SYM.
8421 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
8422 <bp-sym.h> and <bp-asm.h>.
8423 (memset): Don't use BP_SYM.
8424 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
8425 <bp-sym.h> and <bp-asm.h>.
8426 (strncmp): Don't use BP_SYM.
8427 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
8428 <bp-sym.h> and <bp-asm.h>.
8429 (memcpy): Don't use BP_SYM.
8430 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
8431 <bp-sym.h> and <bp-asm.h>.
8432 (memset): Don't use BP_SYM.
8433 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
8434 <bp-sym.h> and <bp-asm.h>.
8435 (__memchr): Don't use BP_SYM.
8436 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
8437 <bp-sym.h> and <bp-asm.h>.
8438 (memcmp): Don't use BP_SYM.
8439 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
8440 <bp-sym.h> and <bp-asm.h>.
8441 (memcpy): Don't use BP_SYM.
8442 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
8443 <bp-sym.h> and <bp-asm.h>.
8444 (__mempcpy): Don't use BP_SYM.
8445 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
8446 <bp-sym.h> and <bp-asm.h>.
8447 (__memrchr): Don't use BP_SYM.
8448 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
8449 <bp-sym.h> and <bp-asm.h>.
8450 (memset): Don't use BP_SYM.
8451 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
8452 <bp-sym.h> and <bp-asm.h>.
8453 (__rawmemchr): Don't use BP_SYM.
8454 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
8455 <bp-sym.h> and <bp-asm.h>.
8456 (__STRCMP): Don't use BP_SYM.
8457 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
8458 <bp-sym.h> and <bp-asm.h>.
8459 (strchr): Don't use BP_SYM.
8460 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
8461 <bp-sym.h> and <bp-asm.h>.
8462 (__strchrnul): Don't use BP_SYM.
8463 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
8464 <bp-sym.h> and <bp-asm.h>.
8465 (strlen): Don't use BP_SYM.
8466 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
8467 <bp-sym.h> and <bp-asm.h>.
8468 (strncmp): Don't use BP_SYM.
8469 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
8470 <bp-sym.h> and <bp-asm.h>.
8471 (__strnlen): Don't use BP_SYM.
8472 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
8473 <bp-asm.h>.
8474 (__mpn_rshift): Don't use BP_SYM.
8475 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8476 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
8477 <bp-sym.h> and <bp-asm.h>.
8478 (__sigsetjmp): Don't use BP_SYM.
8479 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
8480 (L(start_addresses)): Don't use BP_SYM.
8481 (_start): Likewise.
8482 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
8483 <bp-asm.h>.
8484 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
8485 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8486 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8487 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
8488 <bp-asm.h>.
8489 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
8490 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
8491 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8492 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
8493 <bp-asm.h>.
8494 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
8495 comments.
8496 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
8497 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
8498 <bp-asm.h>.
8499 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
8500 FIXME comments.
8501 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8502 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8503 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
8504 <bp-asm.h>.
8505 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
8506 comment.
8507 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
8508 and <bp-asm.h>.
8509 (strncmp): Don't use BP_SYM,
8510 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
8511 <bp-asm.h>.
8512 (__mpn_sub_n): Don't use BP_SYM.
8513 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8514 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
8515 and <bp-asm.h>.
8516 (__mpn_submul_1): Don't use BP_SYM.
8517 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
8519 <bp-sym.h> and <bp-asm.h>.
8520 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
8521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
8522 <bp-sym.h> and <bp-asm.h>.
8523 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
8524 comment.
8525
8d19fe64
SP
85262013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8527
8528 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
8529 Use ZK to minimize writes to Z.
8530 (sub_magnitudes): Simplify code a bit.
8531 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
8532 Use ZK to minimize writes to Z.
8533 (sub_magnitudes): Simplify code a bit.
8534
85bd816a
RM
85352013-02-27 Roland McGrath <roland@hack.frob.com>
8536
8537 * csu/gmon-start.c: Add special exception to license text.
8538
b5977bf2
RH
85392013-02-27 Richard Henderson <rth@redhat.com>
8540
8541 * scripts/config.guess: Update from config.git.
8542 * scripts/config.sub: Likewise.
8543
11d6e2f2
SP
85442013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8545
09c14ed2
SP
8546 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
8547
a688864e
SP
8548 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
8549
6295157a
SP
8550 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
8551
b8de2202
SP
8552 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
8553
11d6e2f2
SP
8554 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
8555
7e80ddb8
RM
85562013-02-26 Roland McGrath <roland@hack.frob.com>
8557
8558 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
8559 [$(build-shared = yes].
7e80ddb8 8560
7da6d9ed
SP
85612013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8562
45f05884
SP
8563 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
8564 (__mul): Reduce iterations for calculating mantissa.
8565
2236d359
SP
8566 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
8567 MPTWO.
8568 (__mpranred): Likewise.
8569
7da6d9ed
SP
8570 [BZ #15160]
8571 * malloc/memusagestat.c (main): Draw graphs for heap and stack
8572 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
8573
b7688c42
PE
85742013-02-26 Paul Eggert <eggert@cs.ucla.edu>
8575
8576 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
8577 Define __attribute__.
8578
53a5c423
SP
85792013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8580
8581 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
8582 unused.
8583 * posix/regex_internal.h (__attribute): Remove.
8584 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
8585 (re_string_context_at): Likewise.
8586 (bitset_not): Use __attribute__ and mark function as possibly
8587 unused.
8588 (bitset_merge): Likewise.
8589 (bitset_mask): Likewise.
8590 (re_string_char_size_at): Likewise.
8591 (re_string_wchar_at): Likewise.
8592 (re_string_elem_size_at): Likewise.
8593
60f5a8b5
SP
85942013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8595
2a983a2e
SP
8596 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
8597 code.
8598 (cc32): Likewise.
8599
e69804d1
SP
8600 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
8601 (__acr): Likewise.
8602 (__cpy): Likewise.
8603 (norm): Likewise.
8604 (denorm): Likewise.
8605 (__dbl_mp): Likewise.
8606 (add_magnitudes): Likewise.
8607 (sub_magnitudes): Likewise.
8608 (__mul): Likewise.
8609 (__inv): Likewise.
8610
2f22a1e8
SP
8611 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
8612 style.
8613
8930ddc7
SP
8614 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
8615 style.
8616
dc60cb11
SP
8617 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
8618 code.
8619
60f5a8b5
SP
8620 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
8621 up changes with default code.
8622 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
8623 Likewise.
8624
b4d1fd33
AM
86252013-02-24 Allan McRae <allan@archlinux.org>
8626
faf6f8bc
AM
8627 * manual/socket.texi (The Internet Namespace): Order menu items
8628 to match that in the file.
8629
b4d1fd33
AM
8630 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
8631 node listing of the info page menu.
8632
2366713d
JM
86332013-02-21 Joseph Myers <joseph@codesourcery.com>
8634
8635 [BZ #13550]
8636 * sysdeps/i386/bp-asm.h: Remove file.
8637 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
8638 (PARMS): Do not use macros from bp-asm.h.
8639 (S1): Likewise.
8640 (S2): Likewise.
8641 (SIZE): Likewise.
8642 (__mpn_add_n): Do not use BP_SYM
8643 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
8644 "bp-asm.h".
8645 (PARMS): Do not use macros from bp-asm.h.
8646 (S1): Likewise.
8647 (SIZE): Likewise.
8648 (__mpn_addmul_1): Do not use BP_SYM
8649 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
8650 "bp-asm.h".
8651 (PARMS): Do not use macros from bp-asm.h.
8652 (SIGMSK): Likewise.
8653 (_setjmp): Likewise. Do not use BP_SYM.
8654 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
8655 "bp-asm.h".
8656 (PARMS): Do not use macros from bp-asm.h.
8657 (SIGMSK): Likewise.
8658 (setjmp): Likewise. Do not use BP_SYM.
8659 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
8660 "bp-asm.h".
8661 (PARMS): Do not use macros from bp-asm.h.
8662 (__frexp): Do not use BP_SYM.
8663 (frexp): Likewise.
8664 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
8665 "bp-asm.h".
8666 (PARMS): Do not use macros from bp-asm.h.
8667 (__frexpf): Do not use BP_SYM.
8668 (frexpf): Likewise.
8669 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
8670 "bp-asm.h".
8671 (PARMS): Do not use macros from bp-asm.h.
8672 (__frexpl): Do not use BP_SYM.
8673 (frexpl): Likewise.
8674 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
8675 "bp-asm.h".
8676 (PARMS): Do not use macros from bp-asm.h.
8677 (__remquo): Do not use BP_SYM.
8678 (remquo): Likewise.
8679 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
8680 "bp-asm.h".
8681 (PARMS): Do not use macros from bp-asm.h.
8682 (__remquof): Do not use BP_SYM.
8683 (remquof): Likewise.
8684 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
8685 "bp-asm.h".
8686 (PARMS): Do not use macros from bp-asm.h.
8687 (__remquol): Do not use BP_SYM.
8688 (remquol): Likewise.
8689 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
8690 "bp-asm.h".
8691 (PARMS): Do not use macros from bp-asm.h.
8692 (DEST): Likewise.
8693 (SRC): Likewise.
8694 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
8695 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
8696 "bp-asm.h".
8697 (PARMS): Do not use macros from bp-asm.h.
8698 (strlen): Do not use BP_SYM.
8699 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
8700 "bp-asm.h".
8701 (PARMS): Do not use macros from bp-asm.h.
8702 (S1): Likewise.
8703 (S2): Likewise.
8704 (SIZE): Likewise.
8705 (__mpn_add_n): Do not use BP_SYM.
8706 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
8707 "bp-asm.h".
8708 (PARMS): Do not use macros from bp-asm.h.
8709 (S1): Likewise.
8710 (SIZE): Likewise.
8711 (__mpn_addmul_1): Do not use BP_SYM.
8712 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
8713 weak_alias.
8714 (bzero): Likewise.
8715 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
8716 "bp-asm.h".
8717 (PARMS): Do not use macros from bp-asm.h.
8718 (S): Likewise.
8719 (SIZE): Likewise.
8720 (__mpn_lshift): Do not use BP_SYM.
8721 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
8722 "bp-asm.h".
8723 (PARMS): Do not use macros from bp-asm.h.
8724 (DEST): Likewise.
8725 (SRC): Likewise.
8726 (LEN): Likewise.
8727 (memcpy): Likewise. Do not use BP_SYM.
8728 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
8729 libc_hidden_def and weak_alias.
8730 (mempcpy): Do not use BP_SYM in weak_alias.
8731 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
8732 "bp-asm.h".
8733 (PARMS): Do not use macros from bp-asm.h.
8734 (DEST): Likewise.
8735 (LEN): Likewise.
8736 [!BZERO_P] (CHR): Likewise.
8737 (memset): Likewise. Do not use BP_SYM.
8738 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
8739 "bp-asm.h".
8740 (PARMS): Do not use macros from bp-asm.h.
8741 (S1): Likewise.
8742 (SIZE): Likewise.
8743 (__mpn_mul_1): Do not use BP_SYM.
8744 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
8745 "bp-asm.h".
8746 (PARMS): Do not use macros from bp-asm.h.
8747 (S): Likewise.
8748 (SIZE): Likewise.
8749 (__mpn_rshift): Do not use BP_SYM.
8750 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
8751 "bp-asm.h".
8752 (PARMS): Do not use macros from bp-asm.h.
8753 (STR): Likewise.
8754 (CHR): Likewise.
8755 (strchr): Likewise. Do not use BP_SYM.
8756 (index): Do not use BP_SYM in weak_alias.
8757 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
8758 "bp-asm.h".
8759 (PARMS): Do not use macros from bp-asm.h.
8760 (DEST): Likewise.
8761 (SRC): Likewise.
8762 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
8763 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
8764 "bp-asm.h".
8765 (PARMS): Do not use macros from bp-asm.h.
8766 (strlen): Do not use BP_SYM.
8767 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
8768 "bp-asm.h".
8769 (PARMS): Do not use macros from bp-asm.h.
8770 (S1): Likewise.
8771 (S2): Likewise.
8772 (SIZE): Likewise.
8773 (__mpn_sub_n): Do not use BP_SYM.
8774 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
8775 "bp-asm.h".
8776 (PARMS): Do not use macros from bp-asm.h.
8777 (S1): Likewise.
8778 (SIZE): Likewise.
8779 (__mpn_submul_1): Do not use BP_SYM.
8780 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
8781 "bp-asm.h".
8782 (PARMS): Do not use macros from bp-asm.h.
8783 (S1): Likewise.
8784 (S2): Likewise.
8785 (SIZE): Likewise.
8786 (__mpn_add_n): Do not use BP_SYM.
8787 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
8788 weak_alias.
8789 (bzero): Likewise.
8790 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
8791 "bp-asm.h".
8792 (PARMS): Do not use macros from bp-asm.h.
8793 (BLK2): Likewise.
8794 (LEN): Likewise.
8795 (memcmp): Do not use BP_SYM.
8796 (bcmp): Do not use BP_SYM in weak_alias.
8797 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
8798 "bp-asm.h".
8799 (PARMS): Do not use macros from bp-asm.h.
8800 (DEST): Likewise.
8801 (SRC): Likewise.
8802 (LEN): Likewise.
8803 (memcpy): Likewise. Do not use BP_SYM.
8804 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
8805 "bp-asm.h".
8806 (PARMS): Do not use macros from bp-asm.h.
8807 (DEST): Likewise.
8808 (SRC): Likewise.
8809 (LEN): Likewise.
8810 (memmove): Likewise. Do not use BP_SYM.
8811 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
8812 "bp-asm.h".
8813 (PARMS): Do not use macros from bp-asm.h.
8814 (DEST): Likewise.
8815 (SRC): Likewise.
8816 (LEN): Likewise.
8817 (__mempcpy): Likewise. Do not use BP_SYM.
8818 (mempcpy): Do not use BP_SYM in weak_alias.
8819 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
8820 "bp-asm.h".
8821 (PARMS): Do not use macros from bp-asm.h.
8822 (DEST): Likewise.
8823 (LEN): Likewise.
8824 [!BZERO_P] (CHR): Likewise.
8825 (memset): Likewise. Do not use BP_SYM.
8826 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
8827 "bp-asm.h".
8828 (PARMS): Do not use macros from bp-asm.h.
8829 (STR2): Likewise.
8830 (strcmp): Do not use BP_SYM.
8831 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
8832 "bp-asm.h".
8833 (PARMS): Do not use macros from bp-asm.h.
8834 (STR): Likewise.
8835 (DELIM): Likewise.
8836 [USE_AS_STRTOK_R] (SAVE): Likewise.
8837 (FUNCTION): Likewise. Do not use BP_SYM.
8838 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
8839 aliases.
8840 (strtok_r): Likewise.
8841 (__GI___strtok_r): Likewise.
8842 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
8843 (PARMS): Do not use macros from bp-asm.h.
8844 (S): Likewise.
8845 (SIZE): Likewise.
8846 (__mpn_lshift): Do not use BP_SYM.
8847 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
8848 (PARMS): Do not use macros from bp-asm.h.
8849 (STR): Likewise.
8850 (CHR): Likewise.
8851 (__memchr): Do not use BP_SYM.
8852 (memchr): Do not use BP_SYM in weak_alias.
8853 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
8854 (PARMS): Do not use macros from bp-asm.h.
8855 (BLK2): Likewise.
8856 (LEN): Likewise.
8857 (memcmp): Do not use BP_SYM.
8858 (bcmp): Do not use BP_SYM in weak_alias.
8859 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
8860 (PARMS): Do not use macros from bp-asm.h.
8861 (S1): Likewise.
8862 (SIZE): Likewise.
8863 (__mpn_mul_1): Do not use BP_SYM.
8864 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
8865 "bp-asm.h".
8866 (PARMS): Do not use macros from bp-asm.h.
8867 (STR): Likewise.
8868 (CHR): Likewise.
8869 (__rawmemchr): Do not use BP_SYM.
8870 (rawmemchr): Do not use BP_SYM in weak_alias.
8871 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
8872 (PARMS): Do not use macros from bp-asm.h.
8873 (S): Likewise.
8874 (SIZE): Likewise.
8875 (__mpn_rshift): Do not use BP_SYM.
8876 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
8877 (PARMS): Do not use macros from bp-asm.h.
8878 (SIGMSK): Likewise.
8879 (__sigsetjmp): Likewise. Do not use BP_SYM.
8880 * sysdeps/i386/start.S: Do not include "bp-sym.h".
8881 (_start): Do not use BP_SYM.
8882 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
8883 (PARMS): Do not use macros from bp-asm.h.
8884 (DEST): Likewise.
8885 (SRC): Likewise.
8886 (__stpcpy): Likewise. Do not use BP_SYM.
8887 (stpcpy): Do not use BP_SYM in weak_alias.
8888 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
8889 "bp-asm.h".
8890 (PARMS): Do not use macros from bp-asm.h.
8891 (DEST): Likewise.
8892 (SRC): Likewise.
8893 (LEN): Likewise.
8894 (__stpncpy): Likewise. Do not use BP_SYM.
8895 (stpncpy): Do not use BP_SYM in weak_alias.
8896 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
8897 (PARMS): Do not use macros from bp-asm.h.
8898 (STR): Likewise.
8899 (CHR): Likewise.
8900 (strchr): Likewise. Do not use BP_SYM.
8901 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
8902 "bp-asm.h".
8903 (PARMS): Do not use macros from bp-asm.h.
8904 (STR): Likewise.
8905 (CHR): Likewise.
8906 (__strchrnul): Likewise. Do not use BP_SYM.
8907 (strchrnul): Do not use BP_SYM in weak_alias.
8908 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
8909 "bp-asm.h".
8910 (PARMS): Do not use macros from bp-asm.h.
8911 (STOP): Likewise.
8912 (strcspn): Do not use BP_SYM.
8913 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
8914 "bp-asm.h".
8915 (PARMS): Do not use macros from bp-asm.h.
8916 (STR): Likewise.
8917 (STOP): Likewise.
8918 (strpbrk): Likewise. Do not use BP_SYM.
8919 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
8920 "bp-asm.h".
8921 (PARMS): Do not use macros from bp-asm.h.
8922 (STR): Likewise.
8923 (CHR): Likewise.
8924 (strrchr): Likewise. Do not use BP_SYM.
8925 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
8926 (PARMS): Do not use macros from bp-asm.h.
8927 (SKIP): Likewise.
8928 (strspn): Do not use BP_SYM.
8929 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
8930 (PARMS): Do not use macros from bp-asm.h.
8931 (STR): Likewise.
8932 (DELIM): Likewise.
8933 (SAVE): Likewise.
8934 (FUNCTION): Likewise. Do not use BP_SYM.
8935 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
8936 aliases.
8937 (strtok_r): Likewise.
8938 (__GI___strtok_r): Likewise.
8939 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
8940 (PARMS): Do not use macros from bp-asm.h.
8941 (S1): Likewise.
8942 (S2): Likewise.
8943 (SIZE): Likewise.
8944 (__mpn_sub_n): Do not use BP_SYM.
8945 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
8946 "bp-asm.h".
8947 (PARMS): Do not use macros from bp-asm.h.
8948 (S1): Likewise.
8949 (SIZE): Likewise.
8950 (__mpn_submul_1): Do not use BP_SYM.
8951 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
8952 <bp-sym.h>.
8953 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
8954 and <bp-asm.h>.
8955 (PARMS): Do not use macros from bp-asm.h.
8956 (FLAGS): Likewise.
8957 (PTID): Likewise.
8958 (TLS): Likewise.
8959 (CTID): Likewise.
8960 (__clone): Do not use BP_SYM.
8961 (clone): Do not use BP_SYM in weak_alias.
8962 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
8963 and <bp-asm.h>.
8964 (PARMS): Do not use macros from bp-asm.h.
8965 (LEN): Likewise.
8966 (__mmap64): Do not use BP_SYM.
8967 (mmap64): Do not use BP_SYM in weak_alias.
8968 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
8969 <bp-sym.h> and <bp-asm.h>.
8970 (PARMS): Do not use macros from bp-asm.h.
8971 (__posix_fadvise64_l64): Do not use BP_SYM.
8972 * sysdeps/unix/sysv/linux/i386/semtimedop.S
8973 (PARMS): Do not use macros from bp-asm.h.
8974 (NSOPS): Likewise.
8975 (semtimedop): Do not use BP_SYM.
8976 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
8977 and <bp-asm.h>.
8978
582a3cff
AM
89792013-02-21 Allan McRae <allan@archlinux.org>
8980
8981 * manual/message.texi (Charset conversion in gettext):
8982 Move @end statement to beginning of line.
8983
bab8a695
SP
89842013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8985
80945231
SP
8986 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
8987 static.
8988 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
8989 Likewise.
8990
bab8a695
SP
8991 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
8992 (denorm): Likewise.
8993 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
8994 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
8995
e21d7aa7
AK
89962013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8997
8998 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
8999 tail-call to the resolved function if pltexit isn't needed.
9000
4c7a4263
SP
90012013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9002
9003 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
9004 or Y being zero as being unlikely.
9005 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
9006 Likewise.
9007
41f49342
CD
90082013-02-20 Carlos O'Donell <carlos@redhat.com>
9009
9010 * manual/nss.texi (System Databases and Name Service Switch):
9011 Remove frobnicate @pxref.
9012
50022a93
TS
90132013-02-20 Thomas Schwinge <thomas@codesourcery.com>
9014
9015 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
9016 __attribute__ ((unused)) to __attribute__ ((__unused__)).
9017
08cbd996
PM
90182013-02-20 Petr Machata <pmachata@redhat.com>
9019
9020 * elf/elf.h (R_ARM_TARGET1): New macro.
9021 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
9022 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
9023 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
9024 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
9025 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
9026 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
9027 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
9028 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
9029 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
9030 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
9031 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
9032 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
9033 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
9034 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
9035 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
9036 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
9037 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
9038 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
9039 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
9040 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
9041 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
9042 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
9043 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
9044 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
9045 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
9046 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
9047 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
9048 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
9049 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
9050 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
9051 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
9052 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
9053 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
9054 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
9055 (R_ARM_THM_GOT_BREL12): Likewise.
9056 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
9057 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
9058 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
9059 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
9060 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
9061 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
9062 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
9063 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
9064 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
9065
c7b275d6
TS
90662013-02-20 Thomas Schwinge <thomas@codesourcery.com>
9067
9068 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
9069 __attribute_used__ to __attribute__ ((unused)).
9070
20cd7fb3
SP
90712013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
9072
9073 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
9074 powerpc mpa.c.
9075 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
9076 comment formatting.
9077 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
9078
92945b52
JM
90792013-02-19 Joseph Myers <joseph@codesourcery.com>
9080
9081 [BZ #13550]
9082 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
9083 Remove macro.
9084 (ENTER): Remove both macro definitions.
9085 (LEAVE): Likewise.
9086 (CHECK_BOUNDS_LOW): Likewise.
9087 (CHECK_BOUNDS_HIGH): Likewise.
9088 (CHECK_BOUNDS_BOTH): Likewise.
9089 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
9090 (RETURN_BOUNDED_POINTER): Likewise.
9091 (RETURN_NULL_BOUNDED_POINTER): Likewise.
9092 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
9093 (POP_ERRNO_LOCATION_RETURN): Likewise.
9094 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
9095 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9096 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
9097 macros.
9098 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9099 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
9100 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
9101 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
9102 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
9103 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
9104 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
9105 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
9106 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
9107 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
9108 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
9109 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
9110 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9111 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
9112 removed macros.
9113 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9114 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
9115 macros.
9116 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9117 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
9118 * sysdeps/i386/i586/memset.S (memset): Likewise.
9119 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
9120 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9121 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
9122 macros.
9123 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9124 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
9125 Change uses of L(2) to L(out).
9126 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
9127 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
9128 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
9129 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9130 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
9131 removed macros.
9132 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9133 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
9134 macros.
9135 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9136 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
9137 (RETURN): Do not use macro LEAVE.
9138 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
9139 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
9140 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
9141 * sysdeps/i386/i686/memset.S (memset): Likewise.
9142 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
9143 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
9144 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
9145 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
9146 Likewise.
9147 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9148 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
9149 L(1_2) and L(1_3) into L(1).
9150 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
9151 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
9152 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9153 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
9154 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
9155 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
9156 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
9157 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9158 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
9159 macros.
9160 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
9161 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9162 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
9163 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
9164 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
9165 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9166 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
9167 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
9168 * sysdeps/i386/strcspn.S (strcspn): Likewise.
9169 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
9170 * sysdeps/i386/strrchr.S (strrchr): Likewise.
9171 * sysdeps/i386/strspn.S (strspn): Likewise.
9172 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
9173 conditional code.
9174 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9175 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
9176 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
9177 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
9178 L(1_3) into L(1_1).
9179 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
9180 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9181 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
9182 macros.
9183 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9184
2389741a
JJ
91852013-02-19 Jakub Jelinek <jakub@redhat.com>
9186
9187 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
9188 macro.
9189
2016b3cd
SP
91902013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9191
e4f22324
SP
9192 * math/atest-exp.c (exp_mpn): Remove ROUND.
9193 * math/atest-exp2.c (exp_mpn): Likewise.
9194 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
9195
2016b3cd
SP
9196 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
9197 * stdlib/tst-tls-atexit-lib.c: Likewise.
9198 * stdlib/tst-tls-atexit.c: Likewise.
9199
4be9b544
MF
92002013-02-18 Mike Frysinger <vapier@gentoo.org>
9201
9202 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
9203 and __attribute_alloc_size__.
9204
2f62b9ee
MF
92052013-02-18 Mike Frysinger <vapier@gentoo.org>
9206
9207 * include/programs/xmalloc.h: Change __attribute_alloc_size to
9208 __attribute_alloc_size__.
9209 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
9210 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
9211
6ff444c4
MF
92122013-02-18 Mike Frysinger <vapier@gentoo.org>
9213
9214 * include/programs/xmalloc.h: New file.
9215 * catgets/gencat.c: Include it.
9216 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
9217 * elf/pldd.c: Likewise.
9218 * iconv/iconv_charmap.c: Likewise.
9219 * iconv/iconvconfig.c: Likewise.
9220 * iconv/strtab.c: Likewise.
9221 * locale/programs/locale.c: Likewise.
9222 * locale/programs/localedef.h: Likewise.
9223 * locale/programs/simple-hash.c: Likewise.
9224 * nscd/nscd.h: Likewise.
9225 * nss/makedb.c: Likewise.
9226 * sysdeps/generic/ldconfig.h: Likewise.
9227
be179c8a
SP
92282013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9229
ba384f6e
SP
9230 * Versions.def: Add GLIBC_2.18.
9231 * include/link.h (struct link_map): New member l_tls_dtor_count.
9232 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
9233 (__call_tls_dtors): Likewise.
9234 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
9235 __cxa_thread_atexit_impl.
9236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9237 Likewise.
9238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9239 Likewise.
9240 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9241 Likewise.
9242 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9243 Likewise.
9244 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
9245 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
9246 Likewise.
9247 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
9248 Likewise.
9249 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
9250 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
9251 Likewise.
9252 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
9253 (tests): Add test case tst-tls-atexit.
9254 (modules-names): Add shared library for tst-tls-atexit.
85891aca 9255 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
9256 (GLIBC_PRIVATE): Add __call_tls_dtors.
9257 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
9258 for libstdc++.
9259 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
9260 * stdlib/tst-tls-atexit.c: New test case.
9261 * stdlib/tst-tls-atexit-lib.c: New test case.
9262
ffaa74cf 9263 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 9264
be179c8a
SP
9265 * elf/Versions (ld): Add _dl_find_dso_for_object.
9266 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
9267 * elf/dl-open.c (_dl_find_dso_for_object): New function.
9268 (dl_open_worker): Use _dl_find_dso_for_object.
9269 * elf/dl-sym.c (do_sym): Likewise.
9270 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
9271
f78b5caa
AK
92722013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9273
9274 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
9275 Syntactic changes only.
9276 (_dl_runtime_profile): Do a tail-call to the resolved function.
9277
29691210
JM
92782013-02-17 Joseph Myers <joseph@codesourcery.com>
9279
9280 [BZ #13550]
9281 * sysdeps/x86_64/bp-asm.h: Remove file.
9282 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
9283 <bp-sym.h> and <bp-asm.h>.
9284 (__clone): Do not use BP_SYM.
9285 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
9286 <bp-sym.h> and <bp-asm.h>.
9287 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9288 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
9289 "bp-asm.h".
9290 (_setjmp): Do not use BP_SYM.
9291 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
9292 "bp-asm.h".
9293 (setjmp): Do not use BP_SYM.
9294 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
9295 libc_hidden_def.
9296 (mempcpy): Do not use BP_SYM in weak_alias.
9297 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
9298 "bp-asm.h".
9299 (strchr): Do not use BP_SYM.
9300 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
9301 "bp-asm.h".
9302 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
9303 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
9304 (_start): Do not use BP_SYM.
9305 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
9306 "bp-asm.h".
9307 (strcat): Do not use BP_SYM.
9308 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
9309 "bp-asm.h".
9310 (STRCMP): Do not use BP_SYM.
9311 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
9312 "bp-asm.h".
9313 (STRCPY): Do not use BP_SYM.
9314 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
9315 "bp-asm.h".
9316 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
9317 "bp-asm.h".
9318 (FUNCTION): Do not use BP_SYM.
9319 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
9320 weak_alias.
9321 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
9322
f238fd19
AJ
93232013-02-17 Andreas Jaeger <aj@suse.de>
9324
9325 * time/Versions: Sort entries.
9326 * string/Versions: Likewise.
9327 * resolv/Versions: Likewise.
9328 * posix/Versions: Likewise.
9329 * iconv/Versions: Likewise.
9330 * elf/Versions: Likewise.
9331 * wcsmbs/Versions: Likewise.
9332
bd07f23c 93332013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 9334
22af19f9
SP
9335 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
9336 loop termination condition.
9337
4709fe76
SP
9338 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
9339 variable to calculate EZ.
9340 (__sqr): Likewise.
2d0e0f29
SP
9341
9342 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
9343 the lower precision input.
9344
daaa7713
JM
93452013-02-15 Joseph Myers <joseph@codesourcery.com>
9346
9347 [BZ #13550]
9348 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
9349 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
9350 (run-via-rtld-prefix): Do not handle %-bp tests.
9351 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
9352 (all-object-suffixes): Remove .ob.
9353 (bppfx): Remove variable.
9354 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
9355 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
9356 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
9357 [$(build-bounded) = yes] (libtype.ob): Likewise.
9358 * Makerules (elide-routines.ob): Remove variable.
9359 (do-tests-clean): Do not handle *-bp.out.
9360 (common-mostlyclean): Do not handle *-bp and *-bp.out.
9361 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
9362 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
9363 (tests): Do not include $(tests-bp.out).
9364 (xtests): Do not include $(xtests-bp.out).
9365 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
9366 [$(build-bounded) = yes] ($(addprefix
9367 $(objpfx),$(binaries-bounded))): Remove rule.
9368 ($(objpfx)%-bp.out): Remove rule.
9369 * config.make.in (build-bounded): Remove variable.
9370 * crypt/Makefile [$(build-bounded) = yes]
9371 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
9372 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
9373 append to variable.
9374 [$(build-bounded) = yes] (install-lib): Likewise.
9375 [$(build-bounded) = yes] (generated): Likewise.
9376 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
9377 Remove rule.
9378 * intl/Makefile [$(build-bounded) = yes]
9379 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
9380 * math/Makefile [$(build-bounded) = yes]
9381 ($(tests:%=$(objpfx)%-bp): Likewise.
9382 * misc/Makefile [$(build-bounded) = yes]
9383 ($(objpfx)tst-tsearch-bp): Likewise.
9384 * nptl/Makeconfig (bounded-thread-library): Remove variable.
9385 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
9386 Remove dependency.
9387 * string/Makefile (o-objects.ob): Remove variable.
9388 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
9389 (CFLAGS-.ob): Remove variable.
9390 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
9391 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
9392 both definitions of variable.
9393 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
9394 (ASFLAGS-.ob): Remove variable.
9395
e97ed6dd
JM
93962013-02-14 Joseph Myers <joseph@codesourcery.com>
9397
2bdd4ca6
JM
9398 [BZ #13550]
9399 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
9400 Remove __BOUNDED_POINTERS__ from condition.
9401 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
9402 * string/bits/string2.h [!__NO_STRING_INLINES &&
9403 !__BOUNDED_POINTERS__]: Likewise.
9404 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
9405 Likewise.
9406 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
9407 Remove conditional code.
9408 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
9409 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
9410 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
9411 condition.
9412
e97ed6dd
JM
9413 [BZ #13550]
9414 * csu/libc-start.c: Do not include <bp-sym.h>.
9415 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
9416 * elf/dl-open.c: Do not include <bp-sym.h>.
9417 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
9418 * math/fegetenv.c: Do not include <bp-sym.h>.
9419 (fegetenv): Do not use BP_SYM in versioned symbols.
9420 * nptl/sysdeps/pthread/bits/libc-lockP.h
9421 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
9422 <bp-sym.h>.
9423 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9424 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
9425 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9426 (__pthread_mutex_destroy): Likewise.
9427 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9428 (__pthread_mutex_lock): Likewise.
9429 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9430 (__pthread_mutex_trylock): Likewise.
9431 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9432 (__pthread_mutex_unlock): Likewise.
9433 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9434 (__pthread_mutexattr_init): Likewise.
9435 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9436 (__pthread_mutexattr_destroy): Likewise.
9437 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9438 (__pthread_mutexattr_settype): Likewise.
9439 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9440 (__pthread_rwlock_init): Likewise.
9441 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9442 (__pthread_rwlock_destroy): Likewise.
9443 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9444 (__pthread_rwlock_rdlock): Likewise.
9445 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9446 (__pthread_rwlock_tryrdlock): Likewise.
9447 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9448 (__pthread_rwlock_wrlock): Likewise.
9449 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9450 (__pthread_rwlock_trywrlock): Likewise.
9451 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9452 (__pthread_rwlock_unlock): Likewise.
9453 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9454 (__pthread_key_create): Likewise.
9455 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9456 (__pthread_setspecific): Likewise.
9457 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9458 (__pthread_getspecific): Likewise.
9459 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
9460 Likewise.
9461 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9462 (_pthread_cleanup_push_defer): Likewise.
9463 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9464 (_pthread_cleanup_pop_restore): Likewise.
9465 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9466 (pthread_setcancelstate): Likewise.
9467 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
9468 <bp-sym.h>.
9469 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
9470 (memchr): Do not use BP_SYM in weak_alias.
9471 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
9472 (fegetenv): Do not use BP_SYM in versioned symbols.
9473 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
9474 (fesetenv): Do not use BP_SYM in versioned symbols.
9475 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
9476 (feupdateenv): Do not use BP_SYM in versioned symbols.
9477 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
9478 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
9479 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
9480 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
9481 (open64): Do not use BP_SYM in weak_alias.
9482 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
9483 (fegetenv): Do not use BP_SYM in versioned symbols.
9484 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
9485 (fesetenv): Do not use BP_SYM in versioned symbols.
9486 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
9487 (feupdateenv): Do not use BP_SYM in versioned symbols.
9488 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
9489 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
9490 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
9491 (feraiseexcept): Do not use BP_SYM in versioned symbols.
9492 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
9493 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
9494 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
9495 <bp-sym.h>.
9496 (__libc_start_main): Do not use BP_SYM.
9497
d6752ccd
SP
94982013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
9499
cb57ce60
SP
9500 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
9501 redundant return line.
9502 (norm): Likewise.
9503 (denorm): Likewise.
9504 (dbl_mp): Likewise.
9505 (sub_magnitudes): Likewise.
9506 (__add): Likewise.
9507 (__sub): Likewise.
9508 (__mul): Likewise.
9509 (__inv): Likewise.
9510 (__dvd): Likewise.
9511 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
9512 (norm): Likewise.
9513 (denorm): Likewise.
9514 (dbl_mp): Likewise.
9515 (sub_magnitudes): Likewise.
9516 (__add): Likewise.
9517 (__sub): Likewise.
9518 (__mul): Likewise.
9519 (__inv): Likewise.
9520 (__dvd): Likewise.
9521
f414520d
SP
9522 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
9523 instead of __mul.
9524 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
9525 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
9526 (cc32): Likewise.
9527
d6752ccd
SP
9528 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
9529 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
9530 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
9531 of __mul for squares.
9532 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
9533 function
9534 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
9535 Likewise.
9536 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
9537 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
9538
70d9946a
JM
95392013-02-13 Joseph Myers <joseph@codesourcery.com>
9540
9541 [BZ #13550]
9542 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
9543 code.
9544 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
9545 prototype or function definition. Rename ubp_* variables and
9546 parameters. Remove argv definitions conditional on
9547 [__BOUNDED_POINTERS__].
9548 * debug/backtrace.c (__backtrace): Do not use __unbounded.
9549 * elf/dl-runtime.c (_dl_fixup): Likewise.
9550 * include/set-hooks.h (RUN_HOOK): Likewise.
9551 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
9552 definition.
9553 * string/strcpy.c (strcpy): Do not use __unbounded.
9554 * sysdeps/generic/frame.h (struct layout): Likewise.
9555 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
9556 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
9557 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
9558 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
9559 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
9560 (__backtrace): Likewise.
9561 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
9562 use __ptrvalue.
9563 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
9564 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
9565 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
9566 Likewise.
9567 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
9568 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
9569 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
9570 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
9571 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
9572 Do not use __unbounded.
9573 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
9574 Rename __unboundedrlimits parameter to rlimits in prototype.
9575 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
9576 Do not use __unbounded.
9577 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
9578 not use __ptrvalue.
9579 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
9580 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
9581 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
9582 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
9583 __ptrvalue or __unbounded.
9584 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
9585 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
9586 use __unbounded.
9587 (__new_msgctl): Do not use __ptrvalue.
9588 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
9589 __unbounded.
9590 (__libc_msgrcv): Do not use __ptrvalue.
9591 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
9592 startup_info): Do not use __unbounded.
9593 (__libc_start_main): Likewise. Rename ubp_* variables and
9594 parameters. Remove argv definitions conditional on
9595 [__BOUNDED_POINTERS__].
9596 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
9597 __ptrvalue.
9598 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
9599 use __unbounded.
9600 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
9601 or __ptrvalue.
9602 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
9603 use __unbounded.
9604 (__new_shmctl): Do not use __ptrvalue.
9605 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
9606 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
9607 Likewise.
9608 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
9609 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
9610 (__libc_sigaction): Likewise.
9611 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
9612 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
9613 Likewise.
9614 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
9615
cc7834d6
OB
96162013-02-13 Ondřej Bílka <neleai@seznam.cz>
9617
ffb1ec7b 9618 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
9619
9620 * string/mempcpy.c: Implement by calling memcpy.
9621
bdf02814
SP
96222013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
9623
c2af38aa
SP
9624 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
9625
4e92d59e
SP
9626 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
9627 evaluation.
9628
909279a5
SP
9629 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
9630 values in the mantissa.
9631
bdf02814
SP
9632 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
9633 minimize writes to Z.
9634 (sub_magnitudes): Simplify code a bit.
9635
cd525923
RM
96362013-02-12 Roland McGrath <roland@hack.frob.com>
9637
9638 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
9639 from the message. The linker prefixes all warnings with that already.
9640
7e2f0d2d
AS
96412013-02-12 Andreas Schwab <schwab@suse.de>
9642
a445af0b
AS
9643 [BZ #15078]
9644 * posix/regexec.c (extend_buffers): Add parameter min_len.
9645 (check_matching): Pass minimum needed length.
9646 (clean_state_log_if_needed): Likewise.
9647 (get_subexp): Likewise.
9648 * posix/Makefile (tests): Add bug-regex34.
9649 (bug-regex34-ENV): Define.
9650 * posix/bug-regex34.c: New file.
9651
7e2f0d2d
AS
9652 [BZ #11561]
9653 * posix/regcomp.c (parse_bracket_exp): When looking up collating
9654 elements compare against the byte sequence of it, not its name.
9655 * posix/Makefile (tests): Add bug-regex35.
9656 (bug-regex35-ENV): Define.
9657 * posix/bug-regex35.c: New file.
9658
a175b684
TV
96592013-02-11 Tom de Vries <tom@codesourcery.com>
9660
9661 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
9662 comment.
9663 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
9664 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
9665 (CHECK_EOL): Add undef.
9666
310998fe 96672013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
9668
9669 * bits/stdlib-bsearch.h: New file.
9670 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 9671 * stdlib/stdlib.h: Likewise.
41eda41d 9672
8ded91fb
RM
96732013-02-11 Roland McGrath <roland@hack.frob.com>
9674
9675 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
9676 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
9677 declaration.
9678 * manual/search.texi (Array Search Function): Add missing const in
9679 lfind prototype.
9680 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
9681 declaration to use rlim_t.
9682 (Basic Scheduling Functions): Remove erroneous const from
9683 sched_getparam prototype. Remove erroneous * from
9684 sched_get_priority_max and sched_get_priority_min prototypes.
9685 (Resource Usage): Fix summary @comment on vtimes to refer to
9686 sys/vtimes.h rather than vtimes.h.
9687 Add missing *s in vtimes prototype.
9688 (Limits on Resources): Fix ulimit prototype to return long int.
9689 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
9690 prototypes to use long int rather than double.
9691 (BSD Random): Fix initstate and setstate to use char *, not void *.
9692 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
9693 prototype to make second argument 'struct aiocb64 *const[]'.
9694 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
9695 (Status of AIO Operations): Remove erroneous const in aio_return and
9696 aio_return64 prototypes.
9697 (Synchronizing I/O): Fix sync prototype to return void.
9698 * manual/startup.texi (Suboptions): Remove an erroneous const in
9699 getsubopt prototype.
9700 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
9701 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
9702 use size_t rather than int.
9703 (Scanning All Users): Likewise for getpwent_r.
9704 (Setting Groups): Add missing const to setgroups prototype.
9705 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
9706 * manual/socket.texi (Host Names): Fix gethostbyaddr and
9707 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
9708 'const void *' rather than 'const char *'.
9709 (Host Address Functions): Likewise for inet_ntop.
9710 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
9711 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
9712 ssize_t for return value.
9713 (Sending Data): Likewise for send, sendto, sendmsg.
9714 (Socket Option Functions): Add a missing const in setsockopt prototype.
9715 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
9716 use wchar_t for the argument.
9717 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
9718 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
9719 take no arguments.
9720 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
9721 double/float/long double for second argument.
9722 Fix return types of significand, significandf, significandl.
9723 * manual/filesys.texi (Setting Permissions): Use mode_t for second
9724 argument in fchmod prototype.
9725 (File Owner): Use uid_t and gid_t in fchown prototype.
9726 (File Times): Add const to utimes, futimes, and lutimes prototypes.
9727 (Making Special Files): Use mode_t and dev_t in mknod prototype.
9728 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
9729 use 'const struct dirent **' as argument types to CMP function pointer
9730 argument.
9731 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
9732 (File Times): Fix summary magic @comment for struct utimbuf and utime
9733 to refer to utime.h, not time.h.
9734 * manual/string.texi (Argz Functions): Add missing const in
9735 argz_extract and argz_next prototypes.
9736 (Finding Tokens in a String): Likewise for basename.
9737 (String/Array Comparison): Fix typo in wcscasecmp prototype.
9738 (Copying and Concatenation): Fix typo in wmemmove prototype.
9739 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
9740 (Signal Stack): Remove erroneous const in sigstack prototype.
9741 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
9742 prototype.
9743 (Simple Calendar Time): Likewise for stime.
9744 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
9745 prototype.
9746 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
9747 say sys/sysctl.h instead.
9748 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
9749 and vsyslog prototypes.
9750
fe77fe6d
TV
97512013-02-11 Tom de Vries <tom@codesourcery.com>
9752
9753 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
9754 Remove.
9755
3a09b620
RM
97562013-02-11 Roland McGrath <roland@hack.frob.com>
9757
9758 * misc/sys/mman.h: Fix typo in mremap comment.
9759
550a0b89
RM
97602013-02-08 Roland McGrath <roland@hack.frob.com>
9761
9762 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
9763 the '\0' terminator.
9764
a2da1673
JM
97652013-02-08 Joseph Myers <joseph@codesourcery.com>
9766
9767 [BZ #13550]
9768 * debug/segfault.c: Don't include <bp-checks.h>.
9769 * sysdeps/generic/bp-checks.h: Remove file.
9770 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
9771 (__GETDENTS): Don't use CHECK_N.
9772 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
9773 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
9774 (__getgroups): Don't use CHECK_N.
9775 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
9776 (setgroups): Don't use CHECK_N.
9777 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
9778 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
9779 (__libc_msgrcv): Don't use CHECK_N.
9780 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
9781 (__libc_msgsnd): Don't use CHECK_N.
9782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
9783 <bp-checks.h>.
9784 (__libc_pread): Don't use CHECK_N.
9785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
9786 include <bp-checks.h>.
9787 (__libc_pread64): Don't use CHECK_N.
9788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
9789 include <bp-checks.h>.
9790 (__libc_pwrite): Don't use CHECK_N.
9791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
9792 include <bp-checks.h>.
9793 (__libc_pwrite64): Don't use CHECK_N.
9794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
9795 <bp-checks.h>.
9796 (__libc_pread): Don't use CHECK_N.
9797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
9798 include <bp-checks.h>.
9799 (__libc_pread64): Don't use CHECK_N.
9800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
9801 include <bp-checks.h>.
9802 (__libc_pwrite): Don't use CHECK_N.
9803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
9804 include <bp-checks.h>.
9805 (__libc_pwrite64): Don't use CHECK_N.
9806 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
9807 (do_pread): Don't use CHECK_N.
9808 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
9809 (do_pread64): Don't use CHECK_N.
9810 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
9811 (do_pwrite): Don't use CHECK_N.
9812 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
9813 (do_pwrite64): Don't use CHECK_N.
9814 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
9815 (__libc_readv): Don't use CHECK_N.
9816 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
9817 (semop): Don't use CHECK_N.
9818 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
9819 <bp-checks.h>.
9820 (semtimedop): Don't use CHECK_N.
9821 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
9822 (__libc_pread): Don't use CHECK_N.
9823 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
9824 <bp-checks.h>.
9825 (__libc_pread64): Don't use CHECK_N.
9826 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
9827 <bp-checks.h>.
9828 (__libc_pwrite): Don't use CHECK_N.
9829 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
9830 <bp-checks.h>.
9831 (__libc_pwrite64): Don't use CHECK_N.
9832 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
9833 <bp-checks.h>.
9834 (__libc_msgrcv): Don't use CHECK_N.
9835 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
9836 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
9837 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
9838 (__libc_writev): Don't use CHECK_N.
9839
b84660a8
RM
98402013-02-08 Roland McGrath <roland@hack.frob.com>
9841
7f3e75f8
RM
9842 * string/strcpy.c: Removed unused variable.
9843
b84660a8
RM
9844 * Makeconfig (+sysdep-includes): Define with := rather than =.
9845 Use an existing include/ subdir of each sysdeps dir before it.
9846
471514d3
CD
98472013-02-08 Carlos O'Donell <carlos@redhat.com>
9848
9849 * nscd/connection.c (register_traced_file): Comment function.
9850 [HAVE_INOTIFY] (union __inev): Define.
9851 [HAVE_INOTIFY] (inotify_check_files): New function.
9852 [HAVE_INOTIFY] (clear_db_cache): Likewise.
9853 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
9854 clear_db_cache.
9855 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
9856
b2d3c3be
CD
98572013-02-08 Carlos O'Donell <carlos@redhat.com>
9858
9859 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
9860 loaded if not already and that a failure is permanent.
9861
b39949d2
CD
98622013-02-08 Carlos O'Donell <carlos@redhat.com>
9863
ddacd1db 9864 [BZ #15006]
b39949d2
CD
9865 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
9866 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
9867
b2c9eff4
JM
98682013-02-08 Joseph Myers <joseph@codesourcery.com>
9869
f3aae3f3
JM
9870 [BZ #13550]
9871 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
9872 (CHECK_1_NULL_OK): Likewise.
9873 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
9874 (__fxstat): Do not use CHECK_1.
9875 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
9876 <bp-checks.h>.
9877 (___fxstat64): Do not use CHECK_1.
9878 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
9879 <bp-checks.h>.
9880 (__fxstatat): Do not use CHECK_1.
9881 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
9882 <bp-checks.h>.
9883 (__fxstatat64): Do not use CHECK_1.
9884 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
9885 <bp-checks.h>.
9886 (__fxstat): Do not use CHECK_1.
9887 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
9888 <bp-checks.h>.
9889 (__fxstatat): Do not use CHECK_1.
9890 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
9891 <bp-checks.h>.
9892 (__getresgid): Do not use CHECK_1.
9893 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
9894 <bp-checks.h>.
9895 (__getresuid): Do not use CHECK_1.
9896 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
9897 <bp-checks.h>.
9898 (__lxstat): Do not use CHECK_1.
9899 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
9900 <bp-checks.h>.
9901 (__old_msgctl): Do not use CHECK_1.
9902 (__new_msgctl): Likewise.
9903 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
9904 <bp-checks.h>.
9905 (__new_setrlimit): Do not use CHECK_1.
9906 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
9907 <bp-checks.h>.
9908 (__old_shmctl): Do not use CHECK_1.
9909 (__new_shmctl): Likewise.
9910 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
9911 <bp-checks.h>.
9912 (__xstat): Do not use CHECK_1.
9913 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
9914 (__lxstat): Do not use CHECK_1.
9915 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
9916 <bp-checks.h>.
9917 (___lxstat64): Do not use CHECK_1.
9918 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
9919 (__old_msgctl): Do not use CHECK_1.
9920 (__new_msgctl): Likewise.
9921 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
9922 <bp-checks.h>.
9923 (__gettimeofday): Do not use CHECK_1.
9924 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
9925 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
9926 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
9927 <bp-checks.h>.
9928 (__gettimeofday): Do not use CHECK_1.
9929 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
9930 (__old_shmctl): Do not use CHECK_1_NULL_OK.
9931 (__new_shmctl): Do not use CHECK_1.
9932 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
9933 <bp-checks.h>.
9934 (do_sigtimedwait): Do not use CHECK_1.
9935 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
9936 <bp-checks.h>.
9937 (do_sigwaitinfo): Do not use CHECK_1.
9938 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
9939 <bp-checks.h>.
9940 (msgctl): Do not use CHECK_1.
9941 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
9942 <bp-checks.h>.
9943 (shmctl): Do not use CHECK_1.
9944 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
9945 (ustat): Do not use CHECK_1.
9946 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
9947 <bp-checks.h>.
9948 (__fxstat): Do not use CHECK_1.
9949 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
9950 <bp-checks.h>.
9951 (__fxstatat): Do not use CHECK_1.
9952 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
9953 <bp-checks.h>.
9954 (__lxstat): Do not use CHECK_1.
9955 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
9956 <bp-checks.h>.
9957 (__xstat): Do not use CHECK_1.
9958 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
9959 (__xstat): Do not use CHECK_1.
9960 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
9961 (___xstat64): Do not use CHECK_1.
9962
b2c9eff4
JM
9963 [BZ #13550]
9964 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
9965 definitions.
9966 (CHECK_BOUNDS_HIGH): Likewise.
9967 * string/strcpy.c: Do not include <bp-checks.h>.
9968 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
9969
f1d70dad
RM
99702013-02-07 Roland McGrath <roland@hack.frob.com>
9971
9972 * nscd/nscd-client.h (__nscd_drop_map_ref):
9973 Add __attribute__ ((unused)).
9974 * nis/nss-nisplus.h (niserr2nss): Likewise.
9975
9976 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
9977 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
9978
9979 * csu/libc-tls.c (init_static_tls, init_slotinfo):
9980 Remove inline keyword.
9981 * include/rounding-mode.h (round_away): Likewise.
9982 * libio/wfileops.c (adjust_wide_data): Likewise.
9983 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
9984 (__m128i_strloadu_tolower): Likewise.
9985 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
9986 (__m128i_strloadu_tolower): Likewise.
9987 * time/mktime.c (ydhms_diff): Likewise.
9988 * locale/elem-hash.h (elem_hash): Likewise.
9989 * locale/setlocale.c (setdata): Likewise.
9990 * posix/regex_internal.h (re_string_char_size_at): Likewise.
9991 (re_string_wchar_at): Likewise.
9992 (bitset_not, bitset_merge, bitset_mask): Likewise.
9993 [!(__GNUC__ > 3)] (inline): Remove macro.
9994 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
9995 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
9996 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
9997 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
9998 * string/memcmp.c (memcmp_bytes): Likewise.
9999 * locale/programs/locarchive.c (compute_hashval): Likewise.
10000 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
10001 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
10002 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
10003 * nss/getent.c (print_rpc, print_protocols): Likewise.
10004 (print_passwd, print_group, print_aliases): Likewise.
10005 * nis/nss-nisplus.h (niserr2nss): Likewise.
10006 * nscd/connections.c (restart_p): Likewise.
10007 Change return type to bool.
10008
eab55bfb
RM
100092013-02-05 Roland McGrath <roland@hack.frob.com>
10010
7bd642f5
RM
10011 * Makeconfig (all-Depend-files): Add existing
10012 $(sorted-subdirs:=/Depend) files.
10013 (all-subdirs): Remove nss.
10014 * sysdeps/unix/inet/Subdirs: Add it here instead.
10015 * hesiod/Depend: New file.
10016
573c29b2
RM
10017 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
10018 instead of calling alloca.
10019
b2e25af0
RM
10020 * io/lseek.c (__lseek): Rename to __libc_lseek.
10021 Define __lseek as an alias.
10022
eab55bfb
RM
10023 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
10024
9a0d1941
CD
100252013-02-04 Carlos O'Donell <carlos@redhat.com>
10026
10027 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
10028 else clause and remove check for non-standard endianness.
10029
b83bbec4
DM
100302013-02-04 David S. Miller <davem@davemloft.net>
10031
10032 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10033
6277fdab
JM
100342013-02-04 Joseph Myers <joseph@codesourcery.com>
10035
10036 [BZ #13550]
10037 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
10038 (__ubp_memchr): Remove prototype.
10039 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
10040 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
10041 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
10042 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
10043 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
10044 Remove alias.
10045 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
10046 (__ubp_memchr): Likewise.
10047 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
10048 (__ubp_memchr): Likewise.
10049 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
10050 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
10051 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
10052 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
10053 CHECK_STRING.
10054 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
10055 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
10056 (__getcwd): Do not use CHECK_STRING.
10057 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
10058 <bp-checks.h>.
10059 (__real_chown): Do not use CHECK_STRING.
10060 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
10061 <bp-checks.h>.
10062 (fchownat): Do not use CHECK_STRING.
10063 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
10064 CHECK_STRING.
10065 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
10066 <bp-checks.h>.
10067 (__lchown): Do not use CHECK_STRING.
10068 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
10069 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
10070 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
10071 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
10072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
10073 include <bp-checks.h>.
10074 (truncate64): Do not use CHECK_STRING.
10075 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
10076 <bp-checks.h>.
10077 (__real_chown): Do not use CHECK_STRING.
10078 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
10079 <bp-checks.h>.
10080 (__lchown): Do not use CHECK_STRING.
10081 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
10082 <bp-checks.h>.
10083 (__chown): Do not use CHECK_STRING.
10084 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
10085 <bp-checks.h>.
10086 (truncate64): Do not use CHECK_STRING.
10087 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
10088 Likewise.
10089 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
10090 (__xmknod): Do not use CHECK_STRING.
10091 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
10092 <bp-checks.h>.
10093 (__xmknodat): Do not use CHECK_STRING.
10094 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
10095 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
10096
903ae060
AS
100972013-02-04 Andreas Schwab <schwab@suse.de>
10098
10099 [BZ #14142]
10100 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
10101 * include/netdb.h: Likewise for h_errno.
10102 * elf/tst-stackguard1.c: Include <tls.h>.
10103
542f9466
JK
101042013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10105
10106 * elf/link.h (struct link_map): Extend the l_addr comment.
10107 * include/link.h (struct link_map): Likewise.
10108
e782a927
JM
101092013-02-01 Joseph Myers <joseph@codesourcery.com>
10110
10111 [BZ #13550]
10112 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
10113 (BOUNDED_1): Remove macro.
10114 * debug/backtrace.c: Don't include <bp-checks.h>.
10115 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
10116 (__backtrace): Likewise.
10117 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
10118 <bp-checks.h>.
10119 (__backtrace): Don't use BOUNDED_1.
10120 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
10121 <bp-checks.h>.
10122 (__backtrace): Don't use BOUNDED_1.
10123 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
10124 (__backtrace): Don't use BOUNDED_1.
10125 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
10126 (shmat): Don't use BOUNDED_N.
10127
8cf28c5e
JM
101282013-01-31 Joseph Myers <joseph@codesourcery.com>
10129
3a7ac8a0
JM
10130 [BZ #13550]
10131 * sysdeps/generic/bp-start.h: Remove file.
10132 * csu/libc-start.c: Don't include <bp-start.h>.
10133 (LIBC_START_MAIN): Set up __environ directly instead of using
10134 INIT_ARGV_and_ENVIRON.
10135 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
10136 <bp-start.h>.
10137
f3499f95
JM
10138 [BZ #13550]
10139 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
10140 definitions.
10141 (CHECK_FCNTL): Likewise.
10142 (CHECK_N_PAGES): Likewise.
10143
32a45bea
JM
10144 [BZ #13550]
10145 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
10146 definitions.
10147 (CHECK_SIGSET_NULL_OK): Likewise.
10148 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
10149 <bp-checks.h>.
10150 (sigpending): Don't use CHECK_SIGSET.
10151 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
10152 <bp-checks.h>.
10153 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10154 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
10155 <bp-checks.h>.
10156 (do_sigsuspend): Don't use CHECK_SIGSET.
10157 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
10158 use CHECK_SIGSET.
10159 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
10160 (do_sigwait): Don't use CHECK_SIGSET.
10161 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
10162 use CHECK_SIGSET.
10163 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
10164 include <bp-checks.h>.
10165 (sigpending): Don't use CHECK_SIGSET.
10166 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
10167 include <bp-checks.h>.
10168 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10169 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
10170 <bp-checks.h>.
10171 (sigpending): Don't use CHECK_SIGSET.
10172 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
10173 <bp-checks.h>.
10174 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10175
2e8a5c8c
JM
10176 [BZ #13550]
10177 * sysdeps/generic/bp-semctl.h: Remove file.
10178 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
10179 <bp-checks.h> and <bp-semctl.h>.
10180 (__old_semctl): Don't use CHECK_SEMCTL.
10181 (__new_semctl): Likewise.
10182 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
10183 and <bp-semctl.h>.
10184 (__old_semctl): Don't use CHECK_SEMCTL.
10185 (__new_semctl): Likewise.
10186 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
10187 <bp-checks.h> and <bp-semctl.h>.
10188 (__old_semctl): Don't use CHECK_SEMCTL.
10189 (__new_semctl): Likewise.
10190 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
10191 <bp-checks.h> and <bp-semctl.h>.
10192 (semctl): Don't use CHECK_SEMCTL.
10193
c2d54929
JM
10194 [BZ #13550]
10195 * Makerules (elide-bp-thunks): Remove variable.
10196 (elide-routines.oS): Don't use $(elide-bp-thunks).
10197 (elide-routines.os): Likewise.
10198 (elide-routines.o): Likewise.
10199 (elide-routines.op): Likewise.
10200 (elide-routines.og): Likewise.
10201 (objects): Don't use $(bp-thunks).
10202 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
10203 include.
10204 (common-generated): Do not add s-proto-bp.d.
10205 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
10206 (int): Likewise.
10207 (typ): Likewise.
10208 Do not generate makefile rules for bounded-pointer thunks.
10209 * sysdeps/generic/bp-thunks.h: Remove file.
10210 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
10211 * sysdeps/unix/s-proto-bp.S: Likewise.
10212
8cf28c5e
JM
10213 [BZ #15062]
10214 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
10215 parts of result separately when argument is not close to line from
10216 -i to i and one part of argument is small.
10217 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10218 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10219 * math/libm-test.inc (cacos_test): Add more tests.
10220 (casin_test): Likewise.
10221 (casinh_test): Likewise.
10222 * sysdeps/i386/fpu/libm-test-ulps: Update.
10223 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10224
c4e33b8d
DM
102252013-01-31 David S. Miller <davem@davemloft.net>
10226
10227 * po/de.po: Update from translation team.
10228
3b60b421
MK
102292013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
10230
10231 * time/tzfile.c: Include stdint.h for SIZE_MAX.
10232
bb931195
TS
102332013-01-25 Thomas Schwinge <thomas@codesourcery.com>
10234
b5a5da23
TS
10235 * configure.in (_AC_PROG_CC_C89): New definition.
10236 * configure: Regenerate.
10237
bb931195
TS
10238 * configure.in (AC_PROG_CPP): New definition.
10239 * configure: Regenerate.
10240
8c53a12c
JM
102412013-01-23 Joseph Myers <joseph@codesourcery.com>
10242
10243 * debug/tst-backtrace.h: New file.
10244 * debug/tst-backtrace2.c: Include tst-backtrace.h.
10245 (ret): Remove variable.
10246 (x): Likewise.
10247 (FAIL): Remove macro.
10248 (NO_INLINE): Likewise.
10249 (fn1): Use match function instead of strstr.
10250 * debug/tst-backtrace3.c: Include tst-backtrace.h.
10251 (ret): Remove variable.
10252 (x): Likewise.
10253 (FAIL): Remove macro.
10254 (NO_INLINE): Likewise.
10255 (fn): Use match function instead of strstr.
10256 * debug/tst-backtrace4.c: Include tst-backtrace.h.
10257 (ret): Remove variable.
10258 (x): Likewise.
10259 (FAIL): Remove macro.
10260 (NO_INLINE): Likewise.
10261 (handle_signal): Use match function instead of strstr.
10262 * debug/tst-backtrace5.c: Include tst-backtrace.h.
10263 (ret): Remove variable.
10264 (x): Likewise.
10265 (FAIL): Remove macro.
10266 (NO_INLINE): Likewise.
10267 (handle_signal): Use match function instead of strstr.
10268
4858fa2a
RM
102692013-01-23 Roland McGrath <roland@hack.frob.com>
10270
10271 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
10272
bae8e7f5
DM
102732013-01-23 David S. Miller <davem@davemloft.net>
10274
10275 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
10276 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
10277 argument of CAS if possible.
10278 * sysdeps/sparc/sparc64/bits/atomic.h
10279 (__arch_compare_and_exchange_val_32_acq): Likewise.
10280 (__arch_compare_and_exchange_val_64_acq): Likewise.
10281
9cbbc4ae
PT
102822013-01-23 Pino Toscano <toscano.pino@tiscali.it>
10283
10284 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
10285 * sysdeps/posix/ulimit.c: ... this.
92a601b8 10286 Include <limits.h>.
67b3f58c 10287 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 10288
5655a0b5
AC
102892013-01-23 Adam Conrad <adconrad@0c3.net>
10290
10291 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
10292 (LDFLAGS-tst-array5): Likewise.
10293
052aff95
JM
102942013-01-23 Joseph Myers <joseph@codesourcery.com>
10295
10296 [BZ #15036]
10297 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
10298 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
10299 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
10300 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
10301
7c1e01aa
DM
103022013-01-21 David S. Miller <davem@davemloft.net>
10303
10304 * sysdeps/sparc/backtrace.c: New file.
10305 * sysdeps/sparc/sparc32/backtrace.h: New file.
10306 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
10307 * sysdeps/sparc/sparc64/backtrace.h: New file.
10308 * sysdeps/sparc/sparc64/backtrace.c: Delete.
10309 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
10310 -funwind-tables.
10311
ab087e0a
AS
103122013-01-21 Andreas Schwab <schwab@suse.de>
10313
10314 [BZ #15020]
10315 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
10316 closed its stdout.
10317
ed689c2f
AS
103182013-01-20 Andreas Schwab <schwab@linux-m68k.org>
10319
10320 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
10321 "mpa2.h".
10322 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10323
31d470ac
JM
103242013-01-18 Joseph Myers <joseph@codesourcery.com>
10325 Mark Mitchell <mark@codesourcery.com>
10326 Tom de Vries <tom@codesourcery.com>
10327 Paul Pluzhnikov <ppluzhnikov@google.com>
10328
10329 * debug/tst-backtrace2.c: New file.
10330 * debug/tst-backtrace3.c: Likewise.
10331 * debug/tst-backtrace4.c: Likewise.
10332 * debug/tst-backtrace5.c: Likewise.
10333 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
10334 (CFLAGS-tst-backtrace3.c): Likewise.
10335 (CFLAGS-tst-backtrace4.c): Likewise.
10336 (CFLAGS-tst-backtrace5.c): Likewise.
10337 (LDFLAGS-tst-backtrace2): Likewise.
10338 (LDFLAGS-tst-backtrace3): Likewise.
10339 (LDFLAGS-tst-backtrace4): Likewise.
10340 (LDFLAGS-tst-backtrace5): Likewise.
10341 (tests): Add new tests tst-backtrace2, tst-backtrace3,
10342 tst-backtrace4 and tst-backtrace5.
10343
90567f30 103442013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
10345 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10346
10347 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
10348 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
10349 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
10350 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
10351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10352 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
10353 "+r" and remove output regs list as redundant. Add explicit inline
10354 asm to specify register of return val to work around compiler codegen
10355 bug. Remove (int) cast on return value. Add return type parameter to
10356 use in macro so that this macro does not truncate return value for
10357 64-bit values.
10358 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
10359 pass to INTERNAL_VSYSCALL_NCS.
10360 (INLINE_VSYSCALL): Add 'long int' as return type to
10361 INTERNAL_VSYSCALL_NCS macro invocation.
10362 (INTERNAL_VSYSCALL): Add 'long int' as return type to
10363 INTERNAL_VSYSCALL_NCS macro invocation.
10364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10365
d3b9ea61
SP
103662013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10367
0b57daeb
SP
10368 [BZ #14496]
10369 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
10370 Fix application of SIMD FP exception mask.
10371
caa99d06
SP
10372 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
10373 mp_no from a power of two.
10374 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
10375 __mpexp_twomm1. Use __pow_mp.
10376
d3b9ea61
SP
10377 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
10378 multiplication.
10379
1dbaee3c
DM
103802013-01-17 David S. Miller <davem@davemloft.net>
10381
10382 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10383
728d7b43
JM
103842013-01-17 Joseph Myers <joseph@codesourcery.com>
10385
10386 [BZ #15023]
10387 * include/complex.h: Condition contents on [!_COMPLEX_H].
10388 (__kernel_casinhf): New prototype.
10389 (__kernel_casinh): Likewise.
10390 (__kernel_casinhl): Likewise.
10391 * math/Makefile (libm_calls): Add k_casinh.
10392 * math/k_casinh.c: New file.
10393 * math/k_casinhf.c: Likewise.
10394 * math/k_casinhl.c: Likewise.
10395 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
10396 finite nonzero arguments.
10397 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
10398 finite nonzero arguments.
10399 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
10400 finite nonzero arguments.
10401 * math/s_casinh.c: Do not include <float.h>.
10402 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
10403 * math/s_casinhf.c: Do not include <float.h>.
10404 (__casinhf): Move code for finite nonzero arguments to
10405 k_casinhf.c.
10406 * math/s_casinhl.c: Do not include <float.h>.
10407 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
10408 redefine.
10409 (__casinhl): Move code for finite nonzero arguments to
10410 k_casinhl.c.
10411 * math/libm-test.inc (cacos_test): Add more tests.
10412 * sysdeps/i386/fpu/libm-test-ulps: Update.
10413 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10414
2a26ef3a
PT
104152013-01-17 Pino Toscano <toscano.pino@tiscali.it>
10416
10417 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
10418 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
10419 [!HAVE_MREMAP]: Remove [defined linux] case.
10420 * malloc/arena.c: Do not include <malloc-sysdep.h>.
10421
a897655d
SP
104222013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10423
10424 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
10425
881ebe89 104262013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
10427
10428 * elf/elf.h (R_386_SIZE32): New relocation.
10429 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
10430 R_386_SIZE32.
10431 (elf_machine_rela): Likewise.
10432 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
10433 R_X86_64_SIZE64 and R_X86_64_SIZE32.
10434
59981e9b
JM
104352013-01-17 Joseph Myers <joseph@codesourcery.com>
10436
10437 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
10438 (FP_FAST_FMA): Do not define.
10439 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
10440 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
10441 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
10442 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
10443 !_SOFT_FLOAT]: Likewise.
10444 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
10445 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
10446 value.
10447 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
10448 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
10449 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
10450 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
10451 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
10452 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
10453 file.
10454
cfa8054f
AS
104552013-01-16 Andreas Schwab <schwab@suse.de>
10456
10457 [BZ #14327]
10458 * include/stdlib.h (__mktemp): Add declaration.
10459 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
10460 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
10461
dd930cc5
SP
104622013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10463
881ebe89
SP
10464 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
10465 definitions.
10466 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
10467 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
10468 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
10469 definitions here.
10470 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
10471 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
10472 definitions.
10473 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
10474 and ONE.
10475 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
10476 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
10477 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
10478 definitions.
10479 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
10480 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
10481 definitions.
10482 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 10483
dd930cc5
SP
10484 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
10485
c19a9f89
DM
104862013-01-15 David S. Miller <davem@davemloft.net>
10487
1aa61767
DM
10488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10489 trunc{,f} to libm-sysdep_routes.
10490 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
10492 file.
10493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
10494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
10495 file.
10496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
10497 file.
10498 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
10499 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
10500 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
10501 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
10502 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
10503 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
10504 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
10505 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
10506
c42d5e98
DM
10507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10508 nearbyint{,f} to libm-sysdep_routes.
10509 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
10511 New file.
10512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
10513 file.
10514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
10515 New file.
10516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
10517 file.
10518 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
10519 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
10520 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
10521 file.
10522 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
10523 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
10524 file.
10525 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
10526 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
10527 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
10528
c19a9f89
DM
10529 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
10530 libc_feholdexcept and libc_fesetenv.
10531
357679d2
MF
105322013-01-15 Mike Frysinger <vapier@gentoo.org>
10533
10534 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
10535
65a82e3d
DM
105362013-01-14 David S. Miller <davem@davemloft.net>
10537
8b954ab9
DM
10538 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
10539 (SPARC_ASM_VIS2_IFUNC): Likewise.
10540 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
10541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
10542 use of 'siam' instruction.
10543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
10544 Likewise.
10545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
10546 Likewise.
10547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
10548 Likewise.
10549 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
10550 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
10551 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
10552 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
10553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
10554 file.
10555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
10556 file.
10557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
10558 file.
10559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
10560 file.
10561 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
10562 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
10563 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
10564 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
10565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
10566 new VIS2 routines.
10567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
10568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
10569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
10570 Likewise.
10571 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
10572 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
10573 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
10574 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
10575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
10576 routines to libm-sysdep_routines.
10577 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10578
65a82e3d
DM
10579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10580 fdim/fdimf to libm-sysdep_routines.
10581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
10582 file.
10583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
10584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
10585 file.
10586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
10587 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
10588 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
10589 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
10590 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
10591 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
10592 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
10593
e34ab705
SP
105942013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
10595
2a91b573
SP
10596 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
10597 to optimize copies.
10598
1066a534
SP
10599 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
10600 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
10601 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10602
e34ab705
SP
10603 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
10604 local variable MPTWO.
10605 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
10606 Likewise.
10607
aba5e596
MF
106082013-01-13 Mike Frysinger <vapier@gentoo.org>
10609
10610 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
10611 GLOB_NOESCAPE.
10612
e557e9e5
MF
106132013-01-13 Mike Frysinger <vapier@gentoo.org>
10614
10615 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
10616
0428cec9
MF
106172013-01-13 Mike Frysinger <vapier@gentoo.org>
10618
10619 * manual/pattern.texi (glob_t): Document gl_flags.
10620 (glob64_t): Likewise.
10621
8794a964
DM
106222013-01-11 David S. Miller <davem@davemloft.net>
10623
66438c3f
RM
10624 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
10625 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
10626 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
10627 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
10628 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
10629 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
10630 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
10631 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
10632 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
10633 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
10634 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
10635 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
10636 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
10637
4ae4244d
DM
10638 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
10639 sparc V9 rather than using V8 code.
10640 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
10641 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
10642
8794a964
DM
10643 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
10644 Move to...
10645 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
10646 Here.
10647
6270516e
RM
106482013-01-11 Roland McGrath <roland@hack.frob.com>
10649
10650 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
10651 not in the main loop.
10652 * configure: Regenerated.
10653
6a57d931
JM
106542013-01-11 Joseph Myers <joseph@codesourcery.com>
10655
10656 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
10657 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
10658 to just #else.
10659 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
10660 [!__GLIBC_HAVE_LONG_LONG] case.
10661 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
10662 condition to just #else.
10663 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
10664 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
10665 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
10666 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
10667 unconditional.
10668 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
10669 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
10670 #elif condition to just #else.
10671 * sysdeps/unix/sysv/linux/sys/sysmacros.h
10672 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
10673 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
10674 #elif condition to just #else.
10675
0e8529e9
SE
106762013-01-11 Steve Ellcey <sellcey@mips.com>
10677
10678 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
10679 (EF_MIPS_ARCH_64): Fix value.
10680 (EF_MIPS_ARCH_32R2): New.
10681 (EF_MIPS_ARCH_64R2): New.
10682
740b3dbe
L
106832013-01-11 H.J. Lu <hongjiu.lu@intel.com>
10684
10685 * Makeconfig (+link-pie-before-libc): New.
10686 (+link-pie-after-libc): Likewise.
10687 (+link-pie-tests): Likewise.
10688 (+link-pie): Rewritten.
10689 (link-before-libc): Remove $(config-LDFLAGS).
10690 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
10691 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
10692 (config-LDFLAGS): Renamed to ...
10693 (rtld-LDFLAGS): This.
10694 (rtld-tests-LDFLAGS): New macro.
10695 (link-libc-rpath-link): Likewise.
10696 (link-libc-tests-rpath-link): Likewise.
10697 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
10698 (link-libc): Prepand $(link-libc-rpath-link).
10699 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
10700 (test-program-prefix): New macro.
10701 (test-via-rtld-prefix): Likewise.
10702 (test-program-cmd): Likewise.
10703 (host-test-program-cmd): Likewise.
10704 * Makefile ($(common-objpfx)testrun.sh): Replace
10705 $(run-program-prefix) with $(test-program-prefix).
10706 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
10707 $(rtld-LDFLAGS).
10708 ($(common-objpfx)shlib.lds): Likewise.
10709 (build-module-helper): Likewise.
10710 ($(common-objpfx)format.lds): Likewise.
10711 * Rules (binaries-pie-tests): New.
10712 (binaries-pie-notests): Likewise.
10713 (binaries-pie): Rewritten.
10714 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
10715 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
10716 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
10717 (make-test-out): Replace $(host-built-program-cmd) with
10718 $(host-test-program-cmd).
10719 * config.make.in (build-hardcoded-path-in-tests): New variable.
10720 * configure.in (--enable-hardcoded-path-in-tests): New configure
10721 option.
10722 (hardcoded_path_in_tests): New AC_SUBST.
10723 * configure: Regenerated.
10724 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
10725 $(built-program-cmd) with $(test-program-cmd).
10726 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
10727 (test_program_cmd): This.
10728 * elf/Makefile ($(objpfx)order.out): Run test with
10729 $(test-program-prefix).
10730 ($(objpfx)order2.out): Likewise.
10731 ($(objpfx)tst-initorder.out): Likewise.
10732 ($(objpfx)tst-initorder2.out): Likewise.
10733 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
10734 $(test-program-cmd).
10735 ($(objpfx)tst-array1-static.out): Likewise.
10736 ($(objpfx)tst-array2.out): Likewise.
10737 ($(objpfx)tst-array3.out): Likewise.
10738 ($(objpfx)tst-array4.out): Likewise.
10739 ($(objpfx)tst-array5.out): Likewise.
10740 ($(objpfx)tst-array5-static.out): Likewise.
10741 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
10742 $(test-program-cmd).
10743 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
10744 $(run-program-prefix) with $(test-program-prefix).
10745 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
10746 (test_program_prefix): This.
10747 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
10748 $(run-program-prefix) with $(test-program-prefix).
10749 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
10750 (test_program_prefix): This.
10751 * iconvdata/tst-tables.sh: Likewise.
10752 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
10753 $(run-program-prefix) with $(test-program-prefix).
10754 ($(objpfx)tst-translit.out): Likewise.
10755 ($(objpfx)tst-gettext2.out): Likewise.
10756 ($(objpfx)tst-gettext4.out): Likewise.
10757 ($(objpfx)tst-gettext6.out): Likewise.
10758 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
10759 (test_program_prefix): This.
10760 * intl/tst-gettext2.sh: Likewise.
10761 * intl/tst-gettext4.sh Likewise.
10762 * intl/tst-gettext6.sh: Likewise.
10763 * intl/tst-translit.sh: Likewise.
10764 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
10765 with $(test-program-cmd).
10766 * libio/Makefile ($(objpfx)test-freopen.out): Replace
10767 $(run-program-prefix) with $(test-program-prefix).
10768 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
10769 (test_program_prefix): This.
10770 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
10771 $(run-program-prefix) with $(test-program-prefix).
10772 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
10773 (test_program_prefix): This.
10774 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
10775 * posix/Makefile ($(objpfx)globtest.out): Replace
10776 $(run-via-rtld-prefix) and $(test-wrapper) with
10777 $(test-program-prefix) and $(test-via-rtld-prefix).
10778 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
10779 $(test-program-prefix).
10780 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
10781 $(host-test-program-cmd).
10782 (tst-spawn-ARGS): Likewise.
10783 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
10784 $(test-program-prefix).
10785 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
10786 (test_via_rtld_prefix): This.
10787 (test_wrapper): Renamed to ...
10788 (test_program_prefix): This.
10789 (run_program_prefix): Replaced by test_program_prefix.
10790 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
10791 (test_program_prefix): This.
10792 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
10793 with $(host-test-program-cmd).
10794 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
10795 $(run-program-prefix) with $(test-program-prefix).
10796 ($(objpfx)tst-printf.out): Likewise.
10797 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
10798 $(test-program-cmd).
10799 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
10800 (test_program_prefix): This.
10801 * stdio-common/tst-unbputc.sh: Likewise.
10802 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
10803 $(run-program-prefix) with $(test-program-prefix).
10804 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
10805 (test_program_prefix): This.
10806 * string/Makefile ($(objpfx)tst-svc.out): Replace
10807 $(built-program-cmd) with $(test-program-cmd).
10808
c6fe55cf
AJ
108092013-01-11 Andreas Jaeger <aj@suse.de>
10810
10811 [BZ #15003]
10812 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
10813 value. Sync with Linux 3.7.
10814
9e6919c8
DM
108152013-01-10 David S. Miller <davem@davemloft.net>
10816
10817 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
10818 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
10819 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
10820
1c9f1a02
RM
108212013-01-10 Roland McGrath <roland@hack.frob.com>
10822
10823 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
10824 never set.
10825 * configure: Regenerated.
10826
b9de2dde
DM
108272013-01-10 David S. Miller <davem@davemloft.net>
10828
10829 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
10830 sparc V9 rather than using V8 code.
10831 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
10832 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
10833
e7f68ef4
RM
108342013-01-10 Roland McGrath <roland@hack.frob.com>
10835
10836 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
10837 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
10838 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
10839 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
10840 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
10841 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
10842 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
10843 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
10844 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
10845 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
10846 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
10847 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
10848 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
10849 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
10850 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
10851 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
10852 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
10853 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
10854 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
10855 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
10856 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
10857 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
10858 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
10859 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
10860 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
10861 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
10862 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
10863
5a47cc9c
DM
108642013-01-10 David S. Miller <davem@davemloft.net>
10865
10866 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10867
4cf8f209
L
108682013-01-10 H.J. Lu <hongjiu.lu@intel.com>
10869
10870 * posix/Makefile (tests-static): New variable.
10871 (tests): Add $(tests-static).
10872 (tst-exec-static-ARGS): New variable.
10873 (tst-spawn-static-ARGS): Likewise.
10874 * posix/tst-exec-static.c: New file.
10875 * posix/tst-spawn-static.c: Likewise.
10876 * posix/tst-exec.c: Support run directly.
10877 * posix/tst-spawn.c: Likewise.
10878
fed0faa1
JM
108792013-01-10 Joseph Myers <joseph@codesourcery.com>
10880
828beb13
JM
10881 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
10882 long.
10883 * math/bits/mathcalls.h (llrint): Likewise.
10884 (llround): Likewise.
10885 * stdlib/stdlib.h (struct drand48_data): Likewise.
10886 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
10887 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
10888 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
10889 Likewise.
10890 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
10891 Likewise.
10892 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
10893 (elf_greg_t): Likewise.
10894 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
10895 (__jmp_buf): Likewise.
10896 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
10897 definitions.
10898 (llrint): Likewise, for all definitions.
10899 (llrintl): Likewise.
10900
fed0faa1
JM
10901 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
10902 Remove [__GNUC__] condition.
10903 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
10904 condition to just [__USE_ISOC99].
10905 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
10906
1a20cb20
L
109072013-01-10 H.J. Lu <hongjiu.lu@intel.com>
10908
10909 [BZ #14200]
10910 * sysdeps/unix/sysv/linux/x86/bits/environments.h
10911 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
10912 defined.
10913 (_POSIX_V6_ILP32_OFF32): Likewise.
10914 (_XBS5_ILP32_OFF32): Likewise.
10915 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
10916 (__ILP32_OFFBIG_LDFLAGS): Likewise.
10917
751b85f7
SP
109182013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10919
7490eb81
SP
10920 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
10921
751b85f7
SP
10922 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
10923 doubles __mpexp_twomm1. Adjust usage.
10924 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
10925 Remove.
10926
988197f0
AS
109272013-01-10 Andreas Schwab <schwab@suse.de>
10928
10929 [BZ #14964]
10930 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
10931 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
10932
e83d7298
DM
109332013-01-09 David S. Miller <davem@davemloft.net>
10934
034ed64b 10935 [BZ #15003]
e83d7298
DM
10936 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
10937 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
10938 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
10939 TCP_FASTOPEN): Define.
10940 (tcp_repair_opt): New structure.
10941 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
10942 enum values.
10943 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
10944 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
10945 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
10946 (tcp_cookie_transactions): New structure.
10947
d5e0b9bd
AB
109482013-01-09 Anton Blanchard <anton@samba.org>
10949
10950 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
10951 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
10952 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
10953 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
10954
0c07e3ea
JM
109552013-01-09 Joseph Myers <joseph@codesourcery.com>
10956
10957 * include/features.h (__USE_ANSI): Remove.
10958
232f7002
RM
109592013-01-09 Roland McGrath <roland@hack.frob.com>
10960
ad98e30c
RM
10961 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
10962
232f7002
RM
10963 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
10964
950c99ca
SP
109652013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
10966
b5792741
SP
10967 * sysdeps/s390/fpu/libm-test-ulps: Update.
10968
47cf2278
SP
10969 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10970
950c99ca
SP
10971 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
10972 (__acr): Likewise.
10973 (__cpy): Likewise.
10974 (norm): Likewise.
10975 (denorm): Likewise.
10976 (__mp_dbl): Likewise.
10977 (__dbl_mp): Likewise.
10978 (add_magnitudes): Likewise.
10979 (sub_magnitudes): Likewise.
10980 (__add): Likewise.
10981 (__sub): Likewise.
10982 (__mul): Likewise.
10983 (__inv): Likewise.
10984 (__dvd): Likewise.
10985 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
10986 (__acr): Likewise.
10987 (__cpy): Likewise.
10988 (norm): Likewise.
10989 (denorm): Likewise.
10990 (__mp_dbl): Likewise.
10991 (__dbl_mp): Likewise.
10992 (add_magnitudes): Likewise.
10993 (sub_magnitudes): Likewise.
10994 (__add): Likewise.
10995 (__sub): Likewise.
10996 (__mul): Likewise.
10997 (__inv): Likewise.
10998 (__dvd): Likewise.
10999 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
11000 (__acr): Likewise.
11001 (__cpy): Likewise.
11002 (norm): Likewise.
11003 (denorm): Likewise.
11004 (__mp_dbl): Likewise.
11005 (__dbl_mp): Likewise.
11006 (add_magnitudes): Likewise.
11007 (sub_magnitudes): Likewise.
11008 (__add): Likewise.
11009 (__sub): Likewise.
11010 (__mul): Likewise.
11011 (__inv): Likewise.
11012 (__dvd): Likewise.
11013
eede9df9
JM
110142013-01-08 Joseph Myers <joseph@codesourcery.com>
11015
11016 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
11017 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
11018 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
11019 2 && __USE_EXTERN_INLINES]: Likewise.
11020
c40ea3d9
AJ
110212013-01-08 Andreas Jaeger <aj@suse.de>
11022
11023 [BZ# 14985]
11024 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
11025 Remove.
11026 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
11027 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
11028
2ccdea26
AB
110292013-01-07 Anton Blanchard <anton@samba.org>
11030
11031 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
11032 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
11033 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
11034 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
11035 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
11036 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
11037 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
11038 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
11039 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11040 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11041 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11042 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11043 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
11044 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11045 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
11046 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11047 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11048 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11049 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
11050 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
11051 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
11052 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
11053 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11054 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
11055 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
11056 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
11057 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
11058 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
11059 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
11060 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
11061 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
11062 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11063 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11064 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
11065 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
11066 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11067 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11068 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
11069 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
11070 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
11071 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
11072 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11073 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
11074
a9708fed
JM
110752013-01-07 Joseph Myers <joseph@codesourcery.com>
11076
375607b9
JM
11077 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
11078 (__MALLOC_PMT): Likewise.
11079 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
11080 [__GNUC__], only on [_LIBC].
11081 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
11082 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
11083 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
11084 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
11085 forward declaration.
11086 (realloc_hook_ini): Likewise.
11087 (memalign_hook_ini): Likewise.
11088 (__libc_memalign): Do not use __MALLOC_PMT in variable
11089 declaration.
11090 (__libc_valloc): Likewise.
11091 (__libc_pvalloc): Likewise.
11092 (__libc_calloc): Likewise.
11093 (__posix_memalign): Likewise.
11094
a9708fed
JM
11095 [BZ #14996]
11096 * math/s_casinh.c: Include <float.h>.
11097 (__casinh): Do not do computation with squaring and square root
11098 for large arguments.
11099 * math/s_casinhf.c: Include <float.h>.
11100 (__casinhf): Do not do computation with squaring and square root
11101 for large arguments.
11102 * math/s_casinhl.c: Include <float.h>.
11103 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
11104 (__casinhl): Do not do computation with squaring and square root
11105 for large arguments.
11106 * math/libm-test.inc (casin_test): Add more tests.
11107 (casinh_test): Likewise.
11108 * sysdeps/i386/fpu/libm-test-ulps: Update.
11109 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11110
afec409a
L
111112013-01-04 H.J. Lu <hongjiu.lu@intel.com>
11112
11113 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
11114 (__x86_64_raw_data_cache_size): Likewise.
11115 (__x86_64_data_cache_size_half): Likewise.
11116 (__x86_64_raw_data_cache_size_half): Likewise.
11117 (__x86_64_shared_cache_size): Likewise.
11118 (__x86_64_raw_shared_cache_size): Likewise.
11119 (__x86_64_shared_cache_size_half): Likewise.
11120 (__x86_64_raw_shared_cache_size_half): Likewise.
11121 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
11122 to ...
11123 (__x86_data_cache_size): This.
11124 (__x86_64_raw_data_cache_size): Renamed to ...
11125 (__x86_raw_data_cache_size): This.
11126 (__x86_64_data_cache_size_half): Renamed to ...
11127 (__x86_data_cache_size_half): This.
11128 (__x86_64_raw_data_cache_size_half): Renamed to ...
11129 (__x86_raw_data_cache_size_half): This.
11130 (__x86_64_shared_cache_size): Renamed to ...
11131 (__x86_shared_cache_size): This.
11132 (__x86_64_raw_shared_cache_size): Renamed to ...
11133 (__x86_raw_shared_cache_size): This.
11134 (__x86_64_shared_cache_size_half): Renamed to ...
11135 (__x86_shared_cache_size_half): This.
11136 (__x86_64_raw_shared_cache_size_half): Renamed to ...
11137 (__x86_raw_shared_cache_size_half): This.
11138 * sysdeps/x86_64/memcpy.S: Updated.
11139 * sysdeps/x86_64/memset.S: Likewise.
11140 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
11141 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11142 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11143
0b3986d0
DM
111442013-01-04 David S. Miller <davem@davemloft.net>
11145
11146 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11147
e47686e9
AS
111482013-01-04 Andreas Schwab <schwab@linux-m68k.org>
11149
d643bac1
AS
11150 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
11151 1 to avoid redefinition warning.
11152 (__USE_GNU): Don't define.
11153 (init_signaling_nan): Protoize.
11154
e47686e9
AS
11155 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11156
b18decba
SP
111572013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11158
fffb407f
SP
11159 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
11160 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
11161 (__cpymn): Likewise.
11162 (norm): Remove commented code.
11163 (denorm): Likewise.
11164 (__mp_dbl): Likewise.
11165 (__inv): Likewise.
11166 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
11167 (__cpymn): Likewise.
11168 (norm): Remove commented code.
11169 (denorm): Likewise.
11170 (__mp_dbl): Likewise.
11171 (__inv): Likewise.
11172
b18decba
SP
11173 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
11174 mp_no value for 1.0 and 2.0.
11175 (norm): Use RADIXI instead of radixi.d.
11176 (denorm): Likewise.
11177 (__mul): Use 0.0 instead of zero.d.
11178 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
11179 mp_no value for 1.0 and 2.0.
11180 (norm): Use RADIXI instead of radixi.d.
11181 (denorm): Likewise.
11182 (__mul): Use 0.0 instead of zero.d.
11183
cdc1c96f
JM
111842013-01-04 Joseph Myers <joseph@codesourcery.com>
11185
11186 [BZ #14994]
11187 * math/s_casinh.c (__casinh): Reduce finite argument to first
11188 quadrant then set signs of results at the end.
11189 * math/s_casinhf.c (__casinhf): Likewise.
11190 * math/s_casinhl.c (__casinhl): Likewise.
11191 * math/libm-test.inc (casin_test): Add more tests.
11192 (casinh_test): Likewise.
11193 * sysdeps/i386/fpu/libm-test-ulps: Update.
11194 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11195
302913e1
SP
111962013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11197
6420d207
SP
11198 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
11199
a9e48ab4
SP
11200 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
11201
b7837264
SP
11202 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
11203 declarations.
11204 (denorm): Likewise.
11205 (__mp_dbl): Likewise.
11206 (__inv): Likewise.
11207
f8af25d2
SP
11208 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
11209 and adjust the header comment.
11210
302913e1
SP
11211 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
11212 variable name from declaration.
11213
5d7dd1ca
L
112142013-01-03 H.J. Lu <hongjiu.lu@intel.com>
11215
11216 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11217 Initialize COMMON_CPUID_INDEX_7 element.
11218 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
11219 (CPUID_RTM): Likewise.
11220 (HAS_RTM): Likewise.
11221 (COMMON_CPUID_INDEX_7): New enum.
11222
2f5f40f4
AS
112232013-01-03 Andreas Schwab <schwab@linux-m68k.org>
11224
11225 [BZ #14981]
11226 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
11227 size is zero, record memory as freed.
11228
4056f4a0
AJ
112292013-01-03 Andreas Jaeger <aj@suse.de>
11230
11231 * po/ia.po: Add new Interlingua translation.
11232
ab15736f 112332012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
11234
11235 * locale/programs/localedef.c: Fix description of '--posix' flag.
11236
568035b7
JM
112372013-01-02 Joseph Myers <joseph@codesourcery.com>
11238
e6898b8d
JM
11239 * NEWS: Update dates in second copyright notice.
11240 * README: Update copyright dates in example.
11241 * manual/libc.texinfo: Update copyright dates.
11242 * scripts/test-installation.pl: Update copyright date in --version
11243 output.
11244
0e2f9562
JM
11245 * hurd/ctty-input.c: Fix copyright notice formatting.
11246 * hurd/ctty-output.c: Likewise.
11247 * hurd/dtable.c: Likewise.
11248 * hurd/hurd-raise.c: Likewise.
11249 * hurd/hurdprio.c: Likewise.
11250 * hurd/msgportdemux.c: Likewise.
11251 * misc/sys/file.h: Likewise.
11252 * misc/sys/ioctl.h: Likewise.
11253 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
11254 * sysdeps/mach/hurd/chdir.c: Likewise.
11255 * sysdeps/mach/hurd/fchdir.c: Likewise.
11256 * sysdeps/mach/hurd/rename.c: Likewise.
11257 * sysdeps/mach/hurd/rmdir.c: Likewise.
11258 * sysdeps/mach/hurd/seekdir.c: Likewise.
11259 * sysdeps/mach/hurd/setsid.c: Likewise.
11260 * sysdeps/posix/wait3.c: Likewise.
11261
568035b7
JM
11262 * All files with FSF copyright notices: Update copyright dates
11263 using scripts/update-copyrights.
11264 * intl/plural.c: Regenerated.
11265 * locale/programs/charmap-kw.h: Likewise.
11266 * locale/programs/locfile-kw.h: Likewise.
11267
da08f647
SP
112682013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11269
0f5477af
SP
11270 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
11271 four values.
11272
44e0d4c2
SP
11273 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
11274 calculation loop and add branch prediction.
11275
4d55b4e5
SP
11276 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
11277 check access beyond bounds of m1np.
11278
da08f647
SP
11279 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
11280 MPTWO.
11281 (__inv): Remove local variable MPTWO to use the global
11282 constant.
11283 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
11284 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
11285 variable MPTWO.
11286 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
11287 MP3HALFS static const.
11288
8e051029
DM
112892013-01-01 David S. Miller <davem@davemloft.net>
11290
11291 * po/ca.po: Update from translation team.
11292
f4cf5f2d
JM
112932013-01-01 Joseph Myers <joseph@codesourcery.com>
11294
11295 * scripts/update-copyrights: New file.
11296 * Makeconfig: Reformat copyright notice.
11297 * ctype/ctype.h: Likewise.
11298 * debug/swprintf_chk.c: Likewise.
11299 * elf/dl-cache.c: Likewise.
11300 * elf/dl-debug.c: Likewise.
11301 * elf/dl-object.c: Likewise.
11302 * grp/initgroups.c: Likewise.
11303 * hurd/Makefile: Likewise.
11304 * hurd/hurd/signal.h: Likewise.
11305 * hurd/hurdfault.c: Likewise.
11306 * hurd/hurdioctl.c: Likewise.
11307 * hurd/hurdlookup.c: Likewise.
11308 * hurd/intr-msg.c: Likewise.
11309 * iconv/gconv_open.c: Likewise.
11310 * libio/swprintf.c: Likewise.
11311 * locale/lc-ctype.c: Likewise.
11312 * locale/nl_langinfo.c: Likewise.
11313 * mach/Machrules: Likewise.
11314 * mach/Makefile: Likewise.
11315 * malloc/obstack.h: Likewise.
11316 * manual/Makefile: Likewise.
11317 * manual/tsort.awk: Likewise.
11318 * misc/bits/stab.def: Likewise.
11319 * nis/nis_print_group_entry.c: Likewise.
11320 * nis/nis_table.c: Likewise.
11321 * nis/nss_compat/compat-pwd.c: Likewise.
11322 * nis/nss_compat/compat-spwd.c: Likewise.
11323 * po/Makefile: Likewise.
11324 * posix/fnmatch.c: Likewise.
11325 * posix/regex.h: Likewise.
11326 * resolv/Makefile: Likewise.
11327 * resolv/nss_dns/dns-network.c: Likewise.
11328 * resolv/res_hconf.c: Likewise.
11329 * scripts/gen-sorted.awk: Likewise.
11330 * soft-fp/soft-fp.h: Likewise.
11331 * stdio-common/printf.h: Likewise.
11332 * stdlib/monetary.h: Likewise.
11333 * stdlib/random.c: Likewise.
11334 * stdlib/random_r.c: Likewise.
11335 * sysdeps/generic/Makefile: Likewise.
11336 * sysdeps/gnu/Makefile: Likewise.
11337 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
11338 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11339 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11340 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11341 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11342 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11343 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11344 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11345 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11346 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11347 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
11348 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
11349 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
11350 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
11351 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
11352 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
11353 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
11354 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11355 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11356 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11357 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
11358 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
11359 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
11360 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
11361 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
11362 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
11363 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
11364 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
11365 * sysdeps/mach/hurd/errnos.awk: Likewise.
11366 * sysdeps/mach/hurd/fork.c: Likewise.
11367 * sysdeps/mach/hurd/getcwd.c: Likewise.
11368 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
11369 * sysdeps/mach/hurd/mmap.c: Likewise.
11370 * sysdeps/mach/hurd/utimes.c: Likewise.
11371 * sysdeps/mach/hurd/xmknod.c: Likewise.
11372 * sysdeps/posix/profil.c: Likewise.
11373 * sysdeps/posix/readdir_r.c: Likewise.
11374 * sysdeps/powerpc/bits/mathdef.h: Likewise.
11375 * sysdeps/powerpc/bits/setjmp.h: Likewise.
11376 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
11377 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
11378 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11379 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
11380 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11381 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11382 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11383 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
11384 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11385 * sysdeps/pthread/lio_listio.c: Likewise.
11386 * sysdeps/sparc/dl-procinfo.h: Likewise.
11387 * sysdeps/unix/i386/sysdep.S: Likewise.
11388 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
11389 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
11390 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
11391 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
11392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11393 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
11394 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
11395 * sysdeps/unix/sysv/linux/speed.c: Likewise.
11396 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
11397 * sysdeps/wordsize-32/divdi3.c: Likewise.
11398 * time/sys/time.h: Likewise.
11399 * wcsmbs/Makefile: Likewise.
11400
0549fbba
DM
114012013-01-01 David S. Miller <davem@davemloft.net>
11402
a141f1a7
DM
11403 * po/fr.po: Update from translation team.
11404
0549fbba
DM
11405 * catgets/gencat.c: Update copyright year.
11406 * csu/version.c: Likewise.
11407 * debug/catchsegv.sh: Likewise.
11408 * debug/pcprofiledump.c: Likewise.
11409 * debug/xtrace.sh: Likewise.
11410 * elf/ldconfig.c: Likewise.
11411 * elf/ldd.bash.in: Likewise.
11412 * elf/pldd.c: Likewise.
11413 * elf/sotruss.ksh: Likewise.
11414 * elf/sprof.c: Likewise.
11415 * iconv/iconv_prog.c: Likewise.
11416 * iconv/iconvconfig.c: Likewise.
11417 * locale/programs/locale.c: Likewise.
11418 * locale/programs/localedef.c: Likewise.
11419 * login/programs/pt_chown.c: Likewise.
11420 * malloc/memusage.sh: Likewise.
11421 * malloc/memusagestat.c: Likewise.
11422 * malloc/mtrace.pl: Likewise.
11423 * nscd/nscd.c: Likewise.
11424 * nss/getent.c: Likewise.
11425 * nss/makedb.c: Likewise.
11426 * posix/getconf.c: Likewise.
11427
18ea052c
SP
114282012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
11429
11430 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
11431 numbers.
11432
9c89fca6
MF
114332012-12-30 Mike Frysinger <vapier@gentoo.org>
11434
11435 * math/bits/mathcalls.h (modf): Use __nonnull.
11436
085ec079
SP
114372012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11438
11439 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
11440 (split): Use macro CN instead of the bare value.
11441 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
11442 could be used.
11443 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
11444 instead of the bare value.
11445 (power1): Likewise.
11446
6d9f97e1
SP
114472012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11448
d63f73be
SP
11449 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
11450 __ATAN_TWOM.
11451 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11452
6d9f97e1
SP
11453 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
11454 their values.
11455 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
11456 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11457 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
11458 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
11459
4c4febf5
AJ
114602012-12-28 Andreas Jaeger <aj@suse.de>
11461
af5843ef
AJ
11462 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
11463 values are from Linux 3.7.
11464
4c4febf5
AJ
11465 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
11466 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
11467
99136f82
SP
114682012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11469
2f216c3c 11470 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
11471 TRUE case.
11472
99136f82
SP
11473 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
11474 (norm): Likewise.
11475 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
11476 variables with preprocessor constants.
11477 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11478 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
11479 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
11480
7fffbdff
BH
114812012-12-27 Bruno Haible <bruno@clisp.org>
11482
11483 [BZ #14317]
11484 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
11485 only if needed.
11486
b76eb5f0
SP
114872012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11488
31a7fe5c
SP
11489 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
11490 and use variable directly.
11491 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
11492
b76eb5f0
SP
11493 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
11494 MPONE.
11495 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
11496 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
11497 variable MPONE.
11498 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11499 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
11500 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
11501 include directive. Remove local variable MPONE.
11502 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
11503 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
11504 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
11505
2c8bfe7d
DM
115062012-12-25 David S. Miller <davem@davemloft.net>
11507
11508 * version.h (RELEASE): Set to "development".
11509 (VERSION): Set to "2.17.90".
11510 * NEWS: Add 2.18 section.
11511
147d03b0
DM
115122012-12-21 David S. Miller <davem@davemloft.net>
11513
11514 * po/hr.po: Update from translation team.
11515
a8ebb2b9
AK
115162012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11517
11518 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
11519
95b4f1b6
SE
115202012-12-19 Steve Ellcey <sellcey@mips.com>
11521
b2d94007 11522 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 11523
cedb2a90
MS
115242012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11525
11526 * manual/contrib.texi (Contributors): Spelling correction.
11527
bbf527d6
DM
115282012-12-15 David S. Miller <davem@davemloft.net>
11529
11530 * po/ru.po: Update from translation team.
11531
bc38c906
DM
115322012-12-13 David S. Miller <davem@davemloft.net>
11533
85429b1a
DM
11534 * NEWS: Mention IFUNC testsuite enhancements.
11535
d283e353
DM
11536 * po/pl.po: Update from translation team.
11537 * po/bg.po: Likewise.
11538
bc38c906
DM
11539 * manual/contrib.texi (Contributors): Update entries for Hongjiu
11540 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
11541
a181b0d7
DM
115422012-12-11 David S. Miller <davem@davemloft.net>
11543
4641d57e
DM
11544 * po/sv.po: Update from translation team.
11545
f7bc6495
DM
11546 * po/vi.po: Update from translation team.
11547
6fc9048f
DM
11548 * po/cs.po: Update from translation team.
11549
a181b0d7
DM
11550 * po/de.po: Update from translation team.
11551 * po/eo.po: Likewise.
11552 * po/nl.po: Likewise.
11553
f70bfe80
SP
115542012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11555
3c8b4190
SP
11556 [BZ #14246]
11557 * manual/argp.texi (Argp Helper Functions): Move node to follow
11558 Argp Parsing State.
11559
f70bfe80
SP
11560 [BZ #14872]
11561 * manual/conf.texi (Limits on File System Capacity): Mention if
11562 terminating null is included in the max size.
11563
188f0adf
AJ
115642012-12-10 Andreas Jaeger <aj@suse.de>
11565
11566 * po/cs.po: Update from translation team.
11567
56e7d3ad
SP
115682012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11569
11570 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
11571 void pointer and cast to uintptr_t.
11572 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
11573 path.
11574 * sysdeps/s390/s390-64/memcpy.S: Likewise.
11575 * sysdeps/s390/s390-64/memset.S: Likewise.
11576
76f2d2ea 115772012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
11578
11579 [BZ #14833]
11580 * menual/message.texi (Message Translation): Fix typos.
11581 (Helper programs for gettext): Likewise.
11582
67cbf9a2
AS
115832012-12-07 Andreas Schwab <schwab@linux-m68k.org>
11584
11585 [BZ #14898]
11586 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
11587 Change to -1.
11588
682d0e9a
DM
115892012-12-07 David S. Miller <davem@davemloft.net>
11590
11591 * po/libc.pot: Update.
11592
573cd484
RH
115932012-12-07 Richard Henderson <rth@redhat.com>
11594
7e9da188 11595 [BZ #10114]
573cd484
RH
11596 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
11597 normal/normal case to before the switch.
11598 (_FP_DIV): Likewise.
11599
e933a943
MF
116002012-12-06 Carlos O'Donell <carlos@systemhalted.org>
11601 Mike Frysinger <vapier@gentoo.org>
11602
11603 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
11604 check for __NR_fadvise64_64.
11605
82123268
CM
116062012-12-06 Chris Metcalf <cmetcalf@tilera.com>
11607
11608 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
11609 0, not just to plain "0" as a statement.
11610 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
11611 with cw.
11612
d9814526
JM
116132012-12-06 Joseph Myers <joseph@codesourcery.com>
11614
11615 * NEWS: Use sourceware.org in Bugzilla URL.
11616
7728c574
SP
116172012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11618
f16946dd
SP
11619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
11620 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
11621
5704bbcb
SP
11622 * stdio-common/tst-put-error.c (do_test): Add newline to the
11623 padded test to ensure flush.
11624
17aa0516
JL
116252012-12-05 Jeff Law <law@redhat.com>
11626
11627 * sunrpc/etc.rpc (fedfs_admin): Add entry.
11628
363313b5
JM
116292012-12-05 Joseph Myers <joseph@codesourcery.com>
11630
effbd42a
JM
11631 * README: Don't refer to ports add-on as distributed separately.
11632 Mention AArch64 in list of systems supported in the ports add-on.
11633
87600365
JM
11634 * LICENSES: Add more non-FSF copyright and license notices.
11635
a0d7066a
JM
11636 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
11637 ((unused)).
11638
66ca5a5b
JM
11639 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
11640
363313b5
JM
11641 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
11642 10000 as width of padded output.
11643
b37984ad
JM
116442012-12-04 Joseph Myers <joseph@codesourcery.com>
11645
9003570a
JM
11646 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
11647
b37984ad
JM
11648 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
11649 variable LX with __attribute__ ((unused)).
11650 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
11651 Likewise.
11652 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
11653 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11654 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
11655 with __attribute__ ((unused)).
11656
c8df52ec
DM
116572012-12-04 David S. Miller <davem@abraco.davemloft.net>
11658
11659 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
11660
b3b099af
JM
116612012-12-04 Joseph Myers <joseph@codesourcery.com>
11662
c33aa6e3
JM
11663 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
11664 (CFLAGS-nldbl-acos.c): New variable.
11665 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
11666 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
11667 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
11668 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
11669 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
11670 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
11671 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
11672 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
11673 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
11674 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
11675 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
11676 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
11677 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
11678 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
11679 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
11680 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
11681 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
11682 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
11683 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
11684 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
11685 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
11686 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
11687 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
11688 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
11689 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
11690 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
11691 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
11692 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
11693 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
11694 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
11695 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
11696 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
11697 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
11698 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
11699 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
11700 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
11701 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
11702 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
11703 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
11704 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
11705 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
11706 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
11707 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
11708 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
11709 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
11710 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
11711 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
11712 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
11713 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
11714 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
11715 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
11716 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
11717 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
11718 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
11719 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
11720 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
11721 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
11722 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
11723 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
11724 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
11725 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
11726 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
11727 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
11728 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
11729 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
11730 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
11731 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
11732 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
11733 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
11734 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
11735 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
11736 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
11737 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
11738 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
11739 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
11740 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
11741 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
11742 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
11743 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
11744 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
11745 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
11746 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
11747 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
11748 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
11749 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
11750 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
11751 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
11752 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
11753 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
11754 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
11755 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
11756 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
11757 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
11758 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
11759 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
11760 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
11761 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
11762
20f0018d
JM
11763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11764 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
11765
b3b099af
JM
11766 [BZ #14914]
11767 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
11768 whole low double instead of just low 47 bits when splitting values
11769 into two parts.
11770
029264d1
AM
117712012-12-03 Allan McRae <allan@archlinux.org>
11772
11773 * manual/stdio.texi (Predefined Printf Handlers): Remove
11774 @hsep and @vsep usage.
11775
c9d6789e
MF
117762012-12-03 Mike Frysinger <vapier@gentoo.org>
11777
11778 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
11779 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
11780
4b7634a5
JL
117812012-12-03 Jeff Law <law@redhat.com>
11782
11783 * time/sys/time.h (settimeofday): Do not mark TV argument
11784 as __nonnull.
11785
eb6cbd24
MF
117862012-12-01 Mike Frysinger <vapier@gentoo.org>
11787
11788 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
11789 when currently writing and seek to current position when not.
11790 * libio/Makefile (tests): Remove bug-fclose1.
11791 * libio/bug-fclose1.c: Delete.
11792
f638872a
JM
117932012-12-01 Joseph Myers <joseph@codesourcery.com>
11794
11795 * manual/arith.texi (feenableexcept): Fix typo.
11796 (fedisableexcept): Likewise.
11797
48085d14
RM
117982012-11-30 Roland McGrath <roland@hack.frob.com>
11799
11800 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
11801 second, differently-typed declaration, rather than a cast.
11802
1a538b9f
SP
118032012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11804
11805 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
11806 * include/rpc/svc.h: ... here.
11807
d07f2ff1 118082012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
11809
11810 [BZ #13013]
11811 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
11812 depending n and resplen2 to catch cases where answer
11813 equals answerp2.
11814
c93ec1f0
CD
118152012-11-29 Carlos O'Donell <carlos@systemhalted.org>
11816
11817 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
11818 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
11819
37db69de
MF
118202012-11-29 Mike Frysinger <vapier@gentoo.org>
11821
11822 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
11823
e10c4e4f
RM
118242012-11-29 Roland McGrath <roland@hack.frob.com>
11825
11826 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
11827
2af1b328
JL
118282012-11-28 Jeff Law <law@redhat.com>
11829
11830 [BZ #13761]
11831 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
11832 dataset_temporary. Track alloca usage into alloca_used.
11833 If dataset is large allocate and release it via malloc/free.
11834
111db5b1
FW
118352012-06-04 Florian Weimer <fweimer@redhat.com>
11836
f06cc227 11837 [BZ #14197]
111db5b1
FW
11838 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
11839
dd694abd
DM
118402012-11-28 David S. Miller <davem@davemloft.net>
11841
11842 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11843
9984dd01
JM
118442012-11-28 Joseph Myers <joseph@codesourcery.com>
11845
11846 [BZ #14803]
11847 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
11848 of pi/2 rounded to nearest to 64 bits.
11849 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
11850 nearest to 64 bits.
11851 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
11852 bits.
11853
14bc93a9
JL
118542012-11-28 Jeff Law <law@redhat.com>
11855 Martin Osvald <mosvald@redhat.com>
11856
11857 [BZ #14889]
11858 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
11859 * sunrpc/svc.c: Include time.h.
11860 (__svc_accept_failed): New function.
11861 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
11862 any reason other than EINTR, call __svc_accept_failed.
11863 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
11864 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
11865
e3c6aa3a
AS
118662012-11-28 Andreas Schwab <schwab@suse.de>
11867
11868 * scripts/abilist.awk: Also handle indirect functions in .opd
11869 section.
11870
1bead169
JM
118712012-11-28 Joseph Myers <joseph@codesourcery.com>
11872
11873 [BZ #13881]
11874 * sysdeps/x86/fpu/powl_helper.c: New file.
11875 * sysdeps/x86/fpu/Makefile: Likewise.
11876 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
11877 (p3): New object.
11878 (__ieee754_powl): Use __powl_helper for finite arguments except
11879 integer exponents below 8.
11880 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
11881 (p3): New object.
11882 (__ieee754_powl): Use __powl_helper for finite arguments except
11883 integer exponents below 8.
11884 * math/libm-test.inc (pow_test): Add more tests and enable some
11885 previously disabled tests.
11886 * sysdeps/i386/fpu/libm-test-ulps: Update.
11887 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11888
0817d63d
SP
118892012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11890 Carlos O'Donell <carlos_odonell@mentor.com>
11891
11892 * nss/makedb.c (is_prime): Assert that input is odd and greater
11893 than 4. Note that fact in a comment too.
11894 (next_prime): Add 4 to input.
11895
de2fd463
SP
118962012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11897
11898 [BZ #11741]
11899 * libio/Makefile (tests): Add test case tst-fwrite-error.
11900 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
11901 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
11902 * libio/tst-fwrite-error.c: New test case.
11903
c515fb51
L
119042012-11-26 H.J. Lu <hongjiu.lu@intel.com>
11905
11906 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
11907 before casting to void *.
11908 * include/libc-internal.h (__pointer_type): New macro.
11909 (__integer_if_pointer_type_sub): Likewise.
11910 (__integer_if_pointer_type): Likewise.
11911 (cast_to_integer): Likewise.
11912 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
11913 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
11914 before casting to atomic64_t.
11915 (atomic_exchange_acq): Likewise.
11916 (__arch_exchange_and_add_body): Likewise.
11917 (__arch_add_body): Likewise.
11918 (atomic_add_negative): Likewise.
11919 (atomic_add_zero): Likewise.
11920
4cf77aa9
JM
119212012-11-26 Joseph Myers <joseph@codesourcery.com>
11922
11923 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
11924 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
11925 (add_fdes): Likewise.
11926 (linear_search_fdes): Likewise.
11927 (binary_search_unencoded_fdes): Likewise.
11928
d260b3b4
AS
119292012-11-26 Andreas Schwab <schwab@linux-m68k.org>
11930
11931 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
11932
67060746
AC
119332012-11-24 Adam Conrad <adconrad@0c3.net>
11934
11935 * configure.in: Autodetect C++ header directories.
11936 * configure: Regenerated.
11937
800938a1
MF
119382012-11-23 Mike Frysinger <vapier@gentoo.org>
11939
11940 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
11941
4e6e34e6
AS
119422012-11-23 Andreas Schwab <schwab@linux-m68k.org>
11943
11944 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11945
7c7feb47
JM
119462012-11-22 Joseph Myers <joseph@codesourcery.com>
11947
7184dcdf
JM
11948 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
11949 LDBL_MANT_DIG == 106]: Disable some tests.
11950 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
11951 Likewise.
11952 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
11953 Likewise.
11954
0a42601f
JM
11955 [BZ #14871]
11956 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
11957 input for small inputs. Return +/- pi/2 for large inputs.
11958 * math/libm-test.inc (atan_test): Add more tests.
11959
79c9b9fe
JM
11960 * sysdeps/generic/unwind-dw2-fde-glibc.c
11961 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
11962 __attribute__ ((unused)).
11963
c60d3bf2
JM
11964 [BZ #14645]
11965 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
11966 x * y if x and y are nonzero and z is zero.
11967
ef1e0867
JM
11968 [BZ #14811]
11969 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
11970 nonzero exponents with absolute value below 0x1p-117 to +/-
11971 0x1p-117.
11972
1468ded3
JM
11973 [BZ #14869]
11974 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
11975 up arguments below 2**-450, not just those below 2**-500.
11976 * math/libm-test.inc (hypot_test): Add another test.
11977
8e27e3cc
JM
11978 [BZ #14868]
11979 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
11980 Return a+b for ratio over 2**120, not 2**60.
11981 * math/libm-test.inc (hypot_test): Add another test.
11982
c9c0279b
JM
11983 * math/libm-test.inc (clog_test): Use
11984 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
11985 (clog10_test): Likewise.
11986
7c7feb47
JM
11987 [BZ #6778]
11988 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
11989
fff1530e
AS
119902012-11-22 Andreas Schwab <schwab@suse.de>
11991
11992 * sysdeps/i386/fpu/libm-test-ulps: Update.
11993
94558d30
PT
119942012-11-22 Pino Toscano <toscano.pino@tiscali.it>
11995
11996 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
11997 printf output with newline.
11998
7e1be741
L
119992012-11-21 H.J. Lu <hongjiu.lu@intel.com>
12000
6bfea974
L
12001 [BZ #14865]
12002 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
12003 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
12004 -z nodlopen, -z initfirst and -z execstack support.
12005 * configure: Regenerated.
12006
7e1be741
L
12007 * elf/elf.h (DF_1_NODIRECT): New macro.
12008 (DF_1_IGNMULDEF): Likewise.
12009 (DF_1_NOKSYMS): Likewise.
12010 (DF_1_NOHDR): Likewise.
12011 (DF_1_EDITED): Likewise.
12012 (DF_1_NORELOC): Likewise.
12013 (DF_1_SYMINTPOSE): Likewise.
12014 (DF_1_GLOBAUDIT): Likewise.
12015 (DF_1_SINGLETON): Likewise.
12016 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
12017 DT_1_SUPPORTED_MASK bits.
12018 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
12019
105ce2ce
CD
120202012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
12021
12022 * sysdeps/unix/make-syscalls.sh: Document prefixes.
12023
123be9de
TS
120242012-11-20 Thomas Schwinge <thomas@codesourcery.com>
12025
d072f3f7
TS
12026 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
12027 macro.
12028
123be9de
TS
12029 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
12030 (sendmmsg): Move declarations...
12031 * socket/sys/socket.h: ... here.
12032 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
12033 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
12034 include it from...
12035 * socket/recvmmsg.c: ... this new file.
12036 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
12037 (sendmmsg): Rename to __sendmmsg, create weak alias and make
12038 definition of __sendmmsg hidden.
12039 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
12040 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
12041 Move ENOSYS stub into and include it from...
12042 * socket/sendmmsg.c: ... this new file.
12043 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
12044 (sysdep_routines): Move recvmmsg and sendmmsg...
12045 * socket/Makefile (routines): ... here.
12046 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
12047 (GLIBC_PRIVATE): Add __sendmmsg.
12048 * include/sys/socket.h (__sendmmsg): Add declarations.
12049 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
12050 sendmmsg.
12051
cf9a5d18
JM
120522012-11-20 Joseph Myers <joseph@codesourcery.com>
12053
12054 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
12055 variable I1 with __attribute__ ((unused)).
12056 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
12057
ecd4caf9
JM
120582012-11-19 Joseph Myers <joseph@codesourcery.com>
12059
be14d48f
JM
12060 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
12061 DUMMY variables with __attribute__ ((unused)).
12062
ecd4caf9
JM
12063 * bits/byteswap.h: Include <bits/types.h>.
12064 (__bswap_64): Use __uint64_t instead of unsigned long long int.
12065
986cab95
PT
120662012-11-19 Pino Toscano <toscano.pino@tiscali.it>
12067
12068 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
12069 string_t. Do not manually set errno.
12070 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
12071 length with __strnlen. Make sure to both set errno and return it on
12072 failure.
12073
6d33cc9d
DM
120742012-11-19 David S. Miller <davem@davemloft.net>
12075
12076 With help from Joseph Myers.
12077 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
12078 very large arguments properly.
12079 * math/libm-test.inc (atan_test): New tests.
12080 (atan2_test): New tests.
12081 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12082 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12083
ee663277
JM
120842012-11-19 Joseph Myers <joseph@codesourcery.com>
12085
877f2d8e
JM
12086 [BZ #14856]
12087 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
12088 Define to 3.
12089
116fc08a
JM
12090 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
12091 [POSIX] (EADDRNOTAVAIL): Likewise.
12092 [POSIX] (EAFNOSUPPORT): Likewise.
12093 [POSIX] (EALREADY): Likewise.
12094 [POSIX] (ECONNABORTED): Likewise.
12095 [POSIX] (ECONNREFUSED): Likewise.
12096 [POSIX] (ECONNRESET): Likewise.
12097 [POSIX] (EDESTADDRREQ): Likewise.
12098 [POSIX] (EDQUOT): Likewise.
12099 [POSIX] (EHOSTUNREACH): Likewise.
12100 [POSIX] (EIDRM): Likewise.
12101 [POSIX] (EISCONN): Likewise.
12102 [POSIX] (ELOOP): Likewise.
12103 [POSIX] (EMULTIHOP): Likewise.
12104 [POSIX] (ENETDOWN): Likewise.
12105 [POSIX] (ENETUNREACH): Likewise.
12106 [POSIX] (ENOBUFS): Likewise.
12107 [POSIX] (ENODATA): Likewise.
12108 [POSIX] (ENOLINK): Likewise.
12109 [POSIX] (ENOMSG): Likewise.
12110 [POSIX] (ENOPROTOOPT): Likewise.
12111 [POSIX] (ENOSR): Likewise.
12112 [POSIX] (ENOSTR): Likewise.
12113 [POSIX] (ENOTCONN): Likewise.
12114 [POSIX] (ENOTSOCK): Likewise.
12115 [POSIX] (EOPNOTSUPP): Likewise.
12116 [POSIX] (EOVERFLOW): Likewise.
12117 [POSIX] (EPROTO): Likewise.
12118 [POSIX] (EPROTONOSUPPORT): Likewise.
12119 [POSIX] (EPROTOTYPE): Likewise.
12120 [POSIX] (ESTALE): Likewise.
12121 [POSIX] (ETIME): Likewise.
12122 [POSIX] (ETXTBSY): Likewise.
12123 [POSIX] (EWOULDBLOCK): Likewise.
12124 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
12125 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
12126 [POSIX] (SEEK_CUR): Likewise.
12127 [POSIX] (SEEK_END): Likewise.
12128 [POSIX || UNIX98] (mode_t): Do not require.
12129 [POSIX] (off_t): Likewise.
12130 [POSIX] (pid_t): Likewise.
12131 [POSIX] (sys/stat.h): Do not allow header.
12132 [POSIX] (unistd.h): Likewise.
12133 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
12134 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
12135 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
12136 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
12137 require.
12138 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
12139 sigevent): Specify elements.
12140 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
12141 entry.
12142 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
12143 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
12144
a483863f
JM
12145 * conform/data/cpio.h-data [POSIX]: Disable whole file.
12146 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
12147 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
12148 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
12149 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
12150 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
12151 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
12152 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
12153 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
12154 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
12155 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
12156 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
12157 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
12158 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
12159 Likewise.
12160 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
12161 Likewise.
12162 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
12163 Likewise.
12164 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
12165 Likewise.
12166 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
12167 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
12168 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
12169 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
12170 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
12171 Specify lower bound on value.
12172 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
12173 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
12174 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
12175 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
12176 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
12177 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
12178 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
12179 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
12180 value.
12181 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
12182 as optional.
12183 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
12184 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
12185 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
12186 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
12187 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
12188 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
12189 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
12190 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
12191 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
12192 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
12193 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
12194 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
12195 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
12196 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
12197 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
12198 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
12199 entry.
12200 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
12201 optional.
12202 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
12203 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
12204 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
12205 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
12206 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
12207 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
12208 Likewise.
12209 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
12210 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
12211 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
12212 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
12213 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
12214 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
12215 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
12216 as optional.
12217 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
12218 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
12219 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
12220 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
12221 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
12222 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
12223 specify as optional.
12224 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
12225 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
12226 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
12227 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
12228 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
12229 [XPG3] (NL_LANGMAX): Likewise.
12230 [POSIX || XPG3] (NL_MSGMAX): Likewise.
12231 [POSIX || XPG3] (NL_NMAX): Likewise.
12232 [POSIX || XPG3] (NL_SETMAX): Likewise.
12233 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
12234 [XPG3] (NZERO): Likewise.
12235 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
12236 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
12237 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
12238 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
12239 (REG_ERANGE): Expect.
12240 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
12241 optional-constant.
12242 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
12243 Use (void) in prototype.
12244 [POSIX] (*_t): Allow.
12245 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
12246 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
12247 (WRDE_BADVAL): Expect.
12248
5ba924e3
JM
12249 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
12250 expect.
12251 [XPG3 || XPG4] (O_RSYNC): Likewise.
12252 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
12253 Likewise.
12254 [XPG3 || XPG4] (pthread_sigmask): Likewise.
12255 [XPG3 || XPG4] (sigqueue): Likewise.
12256 [XPG3 || XPG4] (sigtimedwait): Likewise.
12257 [XPG3 || XPG4] (sigwaitinfo): Likewise.
12258 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
12259 [XPG3 || XPG4] (vsnprintf): Likewise.
12260 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
12261 Likewise.
12262 [XPG3 || XPG4] (blksize_t): Likewise.
12263 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
12264 Likewise.
12265 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
12266 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
12267 [XPG3 || XPG4] (struct itimerspec): Likewise.
12268 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
12269 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
12270 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
12271 [XPG3 || XPG4] (clockid_t): Likewise.
12272 [XPG3 || XPG4] (timer_t): Likewise.
12273 [XPG3 || XPG4] (clock_getres): Likewise.
12274 [XPG3 || XPG4] (clock_gettime): Likewise.
12275 [XPG3 || XPG4] (clock_settime): Likewise.
12276 [XPG3 || XPG4] (nanosleep): Likewise.
12277 [XPG3 || XPG4] (timer_create): Likewise.
12278 [XPG3 || XPG4] (timer_delete): Likewise.
12279 [XPG3 || XPG4] (timer_gettime): Likewise.
12280 [XPG3 || XPG4] (timer_getoverrun): Likewise.
12281 [XPG3 || XPG4] (timer_settime): Likewise.
12282 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
12283 [XPG3 || XPG4] (getlogin_r): Likewise.
12284 [XPG3 || XPG4] (pread): Likewise.
12285 [XPG3 || XPG4] (pthread_atfork): Likewise.
12286 [XPG3 || XPG4] (pwrite): Likewise.
12287
ee663277
JM
12288 [BZ #14835]
12289 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
12290 <bits/siginfo.h>.
12291
942caa16
PT
122922012-11-19 Pino Toscano <toscano.pino@tiscali.it>
12293
e19af380
PT
12294 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
12295 finalizing MALLSTREAM.
12296
942caa16
PT
12297 * sysdeps/mach/hurd/syncfs.c: New file.
12298
cfde9b46
SP
122992012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12300
12301 [BZ #14719]
12302 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
12303 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
12304 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
12305 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
12306 (_nss_dns_gethostbyname4_r): Likewise.
12307 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
12308 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
12309
f6da27e5
PH
123102012-11-19 Peng Haitao <penght@cn.fujitsu.com>
12311
12312 [BZ #13763]
12313 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
12314
6665d4a2
SM
123152012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
12316
1f51ee92
SM
12317 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
12318 * elf/cache.c (print_entry): Print ",AArch64" for
12319 FLAG_AARCH64_LIB64
12320
6665d4a2
SM
12321 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
12322 * elf/cache.c (print_entry): Print ",hard-float" for
12323 FLAG_ARM_LIBHF.
12324
05b227bd
DM
123252012-11-18 David S. Miller <davem@davemloft.net>
12326
12327 With help from Joseph Myers.
12328 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
12329 cutoff to 2**-13.
12330 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
12331 cutoff to 2**-25.
12332 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
12333 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
12334 small.
12335 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
12336 * math/libm-test.inc (y0_test): New tests.
12337 (y1_test): New tests.
12338 * sysdeps/i386/fpu/libm-test-ulps: Update.
12339 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12340 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12341
786b0b67
AS
123422012-11-18 Andreas Schwab <schwab@linux-m68k.org>
12343
12344 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
12345 64-bit targets.
12346 * configure: Regenerated.
12347
8e18b86d
DM
123482012-11-17 David S. Miller <davem@davemloft.net>
12349
12350 [BZ #14811]
12351 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
12352 nonzero exponents with absolute value below 0x1p-128 to +/-
12353 0x1p-128.
12354
531f1ae0
JM
123552012-11-17 Joseph Myers <joseph@codesourcery.com>
12356
12df29e2
JM
12357 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
12358
150dc1a0
JM
12359 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
12360
531f1ae0
JM
12361 * posix/getconf-speclist.c: New file.
12362 * posix/posix-envs.def: Likewise.
12363 * posix/confstr.c (START_ENV_GROUP): New macro.
12364 (END_ENV_GROUP): Likewise.
12365 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
12366 (KNOWN_PRESENT_ENV_STRING): Likewise.
12367 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
12368 (UNKNOWN_ENVIRONMENT): Likewise.
12369 (confstr): Include posix-envs.def instead of handling
12370 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
12371 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
12372 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
12373 (END_ENV_GROUP): Likewise.
12374 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
12375 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
12376 (UNKNOWN_ENVIRONMENT): Likewise.
12377 (__sysconf): Include posix-envs.def instead of handling associated
12378 cases directly here.
12379 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
12380 preprocessing getconf-speclist.c rather than running getconf or
12381 generating empty file.
12382
a93f9cbc
PT
123832012-11-16 Pino Toscano <toscano.pino@tiscali.it>
12384
12385 * scripts/check-local-headers.sh: Ignore 'mach' headers.
12386
d64d9f87
AL
123872012-11-16 Andrej Lajovic <natrij@gmail.com>
12388
12389 [BZ #14672]
12390 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
12391
447885eb
DM
123922012-11-16 David S. Miller <davem@davemloft.net>
12393
12394 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
12395 smaller than LDBL_EPSILON/2.0L, just return xm1.
12396
bcbf9830
L
123972012-11-16 H.J. Lu <hongjiu.lu@intel.com>
12398
12399 * elf/tst-array1.c (init): Set constructor priority to 1000.
12400 (fini): Set destructor priority to 1000.
12401 * elf/tst-array2dep.c: Likewise.
12402
2b766585
SP
124032012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12404
12405 [BZ #11741]
12406 * libio/fileops.c (_IO_new_file_write): Correctly return error.
12407 (_IO_new_file_xsputn): Also return EOF if none of the input
12408 data was written when overflow failed.
12409 * libio/iopadn.c (_IO_padn): Likewise.
12410 * libio/iowpadn.c (_IO_wpadn): Likewise.
12411 * stdio-common/tst-put-error.c: Add copyright notice.
12412 (do_test): Add case for printing padded string.
12413 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
12414 _IO_padn returned error.
12415 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
12416 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
12417 return EOF.
12418
b1848fde
SP
124192012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12420
12421 * libio/libioP.h: Add comment note that the references to C++
12422 bits are now obsolete.
12423
2fd89785
MS
124242012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12425
12426 * math/libm-test.inc (check_complex): Use asprintf.
12427
e3ea5409
JM
124282012-11-14 Joseph Myers <joseph@codesourcery.com>
12429
12430 * debug/pcprofiledump.c (print_version): Update copyright year.
12431 * malloc/memusagestat.c (print_version): Likewise.
12432
2e64d265
L
124332012-11-14 H.J. Lu <hongjiu.lu@intel.com>
12434
12435 [BZ #14831]
12436 * elf/Makefile (tests): Add tst-audit8.
12437 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
12438 ($(objpfx)tst-audit8.out): New target.
12439 (tst-audit8-ENV): New variable.
12440 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
12441 audit if l_reloc_result is NULL.
12442 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
12443 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
12444 * elf/tst-audit8.c: New file.
12445
c485e4d2
MS
124462012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12447
12448 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
12449 * misc/Makefile (CFLAGS-select.c): Define.
12450 * posix/Makefile (CFLAGS-pause.c): Define.
12451
3a0d900a
DM
124522012-11-13 David S. Miller <davem@davemloft.net>
12453
12454 * crypt/Makefile: Move test targets after toplevel Rules
12455 inclusion. Grab any necessary sysdep routines when linking.
12456 * crypt/md5.c (md5_process_block): Remove define, we will always
12457 name it __md5_process_block.
12458 (md5_finish_ctx): Update md5_process_block call.
12459 (md5_stream): Likewise.
12460 (md5_process_bytes): Likewise.
12461 (md5_process_block): Rename to __md5_process_block and move to ...
12462 * crypt/md5-block.c: ... here.
12463 * crypt/sha256.c (sha256_process_block): Move to ...
12464 * crypt/sha256-block.c: ... here.
12465 * crypt/sha512.c (sha512_process_block): Move to ...
12466 * crypt/sha512-block.c: ... here.
12467 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
12468 path.
12469 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
12470 * sysdeps/sparc/sparc64/multiarch/Makefile
12471 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
12472 crypt subdir.
12473 (localedef-aux): Add md5 crypto assembler when in locale subdir.
12474 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
12475 multiarch changes.
12476 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
12477 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
12478 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
12479 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
12480 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
12481 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
12482 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
12483 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
12484 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
12485 file.
12486 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
12487 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
12488 file.
12489 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
12490
8ca89318
JM
124912012-11-13 Joseph Myers <joseph@codesourcery.com>
12492
e27d476a
JM
12493 * timezone/tzselect.ksh: Update from tzcode git revision
12494 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
12495 * timezone/zdump.c: Likewise.
12496 * timezone/zic.c: Likewise.
12497 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
12498 in TZVERSION setting, not $(PKGVERSION).
12499 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
12500 REPORT_BUGS_TO settings.
12501
8ca89318
JM
12502 [BZ #14838]
12503 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
12504 macro.
12505
47594329
MS
125062012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12507
12508 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
12509 detection to immediately after _FP_ROUND().
12510 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
12511 bits are 0.
12512
640ac3f1
DM
125132012-11-11 David S. Miller <davem@davemloft.net>
12514
12515 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
12516 inttypes.h
12517 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
12518 __close rather than their public counterparts.
12519
3d2577bb
JM
125202012-11-10 Joseph Myers <joseph@codesourcery.com>
12521
12522 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
12523 file.
12524 [UNIX98] (sem_timedwait): Do not expect.
12525 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
12526 [XPG4 || UNIX98] (sockatmark): Do not expect.
12527 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
12528 (clock_getcpuclockid): Do not expect.
12529 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
12530 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
12531 Do not expect.
12532 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
12533 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
12534 [UNIX98] (vwscanf): Likewise.
12535 [UNIX98] (vswscanf): Likewise.
12536
fb1ae1ee
JM
125372012-11-09 Joseph Myers <joseph@codesourcery.com>
12538
9ec6f8bd
JM
12539 * timezone/version.h: Remove file.
12540 * timezone/README: Do not refer to version.h.
12541 * timezone/Makefile ($(objpfx)zic.o): New dependency on
12542 $(objpfx)version.h.
12543 ($(objpfx)zdump.o): Likewise.
c3f81911 12544 ($(objpfx)version.h): New target.
9ec6f8bd 12545
0aa8f8a1
JM
12546 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
12547 2012i.
12548 * timezone/README: Don't mention modification to tzselect.ksh.
12549 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
12550 work on unmodified tzselect.ksh. Substitute version numbers in
12551 tzselect.ksh.
12552
4e87147f
JM
12553 * Makefile (format-me): Remove.
12554 (INSTALL): Adjust indentation. Use commands directly instead of
12555 using $(format-me).
12556
8b748aed
JM
12557 * aclocal.m4 (ACX_PKGVERSION): New macro.
12558 (ACX_BUGURL): Likewise.
12559 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
12560 (PKGVERSION): New AC_DEFINE_UNQUOTED.
12561 (REPORT_BUGS_TO): Likewise.
12562 * configure: Regenerated.
12563 * config.h.in (PKGVERSION): New macro.
12564 (REPORT_BUGS_TO): Likewise.
12565 * config.make.in (PKGVERSION): New variable.
12566 (PKGVERSION_TEXI): Likewise.
12567 (REPORT_BUGS_TO): Likewise.
12568 (REPORT_BUGS_TEXI): Likewise.
12569 * Makefile (format-me): Use -I$(common-objpfx)manual.
12570 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
12571 ($(common-objpfx)manual/%): New target.
12572 (manual/%): Remove target.
12573 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
12574 (print_version): Use PKGVERSION.
12575 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
12576 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
12577 and REPORT_BUGS_TO.
12578 ($(objpfx)xtrace): Likewise.
12579 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
12580 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
12581 (print_version): Use PKGVERSION.
12582 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
12583 (do_version): Use PKGVERSION.
12584 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
12585 REPORT_BUGS_TO.
12586 (common-ldd-rewrite): Likewise.
12587 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
12588 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
12589 (print_version): Use PKGVERSION.
12590 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
12591 * elf/pldd.c (argp_program_bug_address): Remove variable.
12592 (more_help): New function.
12593 (argp): Use more_help.
12594 (print_version): Use PKGVERSION.
12595 * elf/sln.c (main): Use PKGVERSION.
12596 (usage): Use REPORT_BUGS_TO.
12597 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
12598 (top level): Use PKGVERSION.
12599 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
12600 (print_version): Use PKGVERSION.
12601 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
12602 (print_version): Use PKGVERSION.
12603 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
12604 (print_version): Use PKGVERSION.
12605 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
12606 (print_version): Use PKGVERSION.
12607 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
12608 (print_version): Use PKGVERSION.
12609 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
12610 (print_version): Use PKGVERSION.
12611 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
12612 and BUGURL.
12613 ($(objpfx)memusage): Likewise.
12614 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
12615 (do_version): Use PKGVERSION.
12616 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
12617 (print_version): Use PKGVERSION.
12618 * malloc/mtrace.pl ($PACKAGE): Remove variable.
12619 ($PKGVERSION): New variable.
12620 ($REPORT_BUGS_TO): Likewise.
12621 (usage): Use $REPORT_BUGS_TO.
12622 (top level): Use $PKGVERSION.
12623 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
12624 ($(objpfx)pkgvers.texi): New rule.
12625 ($(objpfx)stamp-pkgvers): Likewise.
12626 * manual/install.texi: Include pkgvers.texi.
12627 (--with-pkgversion): Document new configure option.
12628 (--with-bugurl): Likewise.
12629 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
12630 than necessarily for this particular distribution. Use
12631 REPORT_BUGS_TO for where to report bugs.
12632 * INSTALL: Regenerated.
12633 * manual/libc.texinfo: Include pkgvers.texi.
12634 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
12635 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
12636 (print_version): Use PKGVERSION.
12637 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
12638 (print_version): Use PKGVERSION.
12639 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
12640 (print_version): Use PKGVERSION.
12641 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
12642 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
12643 macro.
12644 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
12645 (print_version): Use PKGVERSION.
12646 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
12647 (print_version): Use PKGVERSION.
12648 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
12649 and PKGVERSION.
12650
92e4b6a9
JM
12651 * timezone/checktab.awk: Update from tzcode 2012i.
12652 * timezone/ialloc.c: Likewise.
12653 * timezone/private.h: Likewise.
12654 * timezone/scheck.c: Likewise.
12655 * timezone/tzfile.h: Likewise.
12656 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
12657 (TZVERSION): Hardcode tzcode version number.
12658 * timezone/zdump.c: Update from tzcode 2012i.
12659 * timezone/zic.c: Likewise.
12660 * timezone/version.h: New file.
12661 * timezone/README: Describe version.h. Update upstream location.
12662
9bde902c
JM
12663 [BZ #14824]
12664 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
12665 (mktemp): Enable declaration.
12666 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
12667 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
12668 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
12669 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
12670 Likewise.
12671 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
12672 Likewise.
12673 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
12674 Likewise.
12675 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
12676 Likewise.
12677 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
12678 Likewise.
12679 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
12680 Likewise.
12681
fb1ae1ee
JM
12682 [BZ #14821]
12683 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
12684 offset in buffer as u_int32_t not u_long. Consistently use memcpy
12685 for copies of such integer values.
12686 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
12687 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
12688
2c1adbcb
AJ
126892012-11-09 Andreas Jaeger <aj@suse.de>
12690
12691 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
12692 definitions and declarations that are provided by
12693 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
12694
d0f8457e
AK
126952012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12696
3a235abb 12697 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
12698 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
12699 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
12700 definition.
12701
57241e26
MS
127022012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12703
12704 * elf/elf.h: Update comment before AArch64 relocations.
12705
60e8270d
DM
127062012-11-07 David S. Miller <davem@davemloft.net>
12707
12708 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
12709 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
12710 (__start_context): Declare.
12711 (__makecontext_ret): Delete.
12712 (__makecontext): Hook up __start_context instead of
12713 __makecontext_ret.
12714 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
12715 (sysdep_routines): Add __start_context when in stdlib.
12716
0fbb0fbc
JM
127172012-11-07 Joseph Myers <joseph@codesourcery.com>
12718
12719 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
12720 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
12721 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
12722 hardcoded "nm".
12723 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
12724 (READELF): New variable. Use it instead of hardcoded "readelf".
12725
eb48db7e
L
127262012-11-07 H.J. Lu <hongjiu.lu@intel.com>
12727
12728 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
12729 * sysdeps/x86/Makefile: Here.
12730 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
12731 * sysdeps/x86/tst-xmmymm.sh: This.
12732
05bcf62a
JM
127332012-11-07 Joseph Myers <joseph@codesourcery.com>
12734
c4b6cf53
JM
12735 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
12736 expectations.
12737 [UNIX98] (pthread_barrier_t): Do not expect.
12738 [UNIX98] (pthread_barrierattr_t): Likewise.
12739 [UNIX98] (pthread_spinlock_t): Likewise.
12740 [UNIX98] (pthread_barrier_destroy): Likewise.
12741 [UNIX98] (pthread_barrier_init): Likewise.
12742 [UNIX98] (pthread_barrier_wait): Likewise.
12743 [UNIX98] (pthread_barrierattr_destroy): Likewise.
12744 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
12745 [UNIX98] (pthread_barrierattr_init): Likewise.
12746 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
12747 [UNIX98] (pthread_getcpuclockid): Likewise.
12748 [UNIX98] (pthread_mutex_timedlock): Likewise.
12749 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
12750 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
12751 [UNIX98] (pthread_sigmask): Likewise.
12752 [UNIX98] (pthread_spin_destroy): Likewise.
12753 [UNIX98] (pthread_spin_init): Likewise.
12754 [UNIX98] (pthread_spin_lock): Likewise.
12755 [UNIX98] (pthread_spin_trylock): Likewise.
12756 [UNIX98] (pthread_spin_unlock): Likewise.
12757 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
12758 Do not expect.
12759 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
12760 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
12761 [XPG3 || XPG4] (pthread_cond_t): Likewise.
12762 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
12763 [XPG3 || XPG4] (pthread_key_t): Likewise.
12764 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
12765 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
12766 [XPG3 || XPG4] (pthread_once_t): Likewise.
12767 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
12768 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
12769 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
12770 [XPG3 || XPG4] (pthread_t): Likewise.
12771
cbe6e120
JM
12772 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
12773 not expect.
12774 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
12775
1b126443
JM
12776 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
12777 Change function return type to int.
12778
b961a573
JM
12779 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
12780 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
12781 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
12782 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
12783 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
12784 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
12785 [!POSIX] (posix_madvise): Likewise.
12786 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
12787 && !UNIX98].
12788 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
12789 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
12790 (mode_t): Likewise.
12791 (posix_mem_offset): Likewise.
12792 (posix_typed_mem_get_info): Likewise.
12793 (posix_typed_mem_open): Likewise.
12794
9e188909
JM
12795 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
12796 Change condition to [XOPEN2K8].
12797
05bcf62a
JM
12798 * conform/conformtest.pl: Preprocess allow-header data with -x c
12799 instead of from stdin.
12800 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
12801 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
12802 [C99-based standards] (cerfc): Likewise.
12803 [C99-based standards] (cexp2): Likewise.
12804 [C99-based standards] (cexpm1): Likewise.
12805 [C99-based standards] (clog10): Likewise.
12806 [C99-based standards] (clog1p): Likewise.
12807 [C99-based standards] (clog2): Likewise.
12808 [C99-based standards] (clgamma): Likewise.
12809 [C99-based standards] (ctgamma): Likewise.
12810 [C99-based standards] (cerff): Likewise.
12811 [C99-based standards] (cerfcf): Likewise.
12812 [C99-based standards] (cexp2f): Likewise.
12813 [C99-based standards] (cexpm1f): Likewise.
12814 [C99-based standards] (clog10f): Likewise.
12815 [C99-based standards] (clog1pf): Likewise.
12816 [C99-based standards] (clog2f): Likewise.
12817 [C99-based standards] (clgammaf): Likewise.
12818 [C99-based standards] (ctgammaf): Likewise.
12819 [C99-based standards] (cerfl): Likewise.
12820 [C99-based standards] (cerfcl): Likewise.
12821 [C99-based standards] (cexp2l): Likewise.
12822 [C99-based standards] (cexpm1l): Likewise.
12823 [C99-based standards] (clog10l): Likewise.
12824 [C99-based standards] (clog1pl): Likewise.
12825 [C99-based standards] (clog2l): Likewise.
12826 [C99-based standards] (clgammal): Likewise.
12827 [C99-based standards] (ctgammal): Likewise.
12828 * conform/data/inttypes.h-data [C99-based standards]: Include
12829 stdint.h-data. Remove all expectations for stdint.h contents.
12830 [C99-based standards] (PRI*): Do not allow.
12831 [C99-based standards] (SCN*): Likewise.
12832 [C99-based standards] (*_t): Likewise.
12833 [C99-based-standards] (PRId8): Expect macro.
12834 [C99-based-standards] (PRIi8): Likewise.
12835 [C99-based-standards] (PRIo8): Likewise.
12836 [C99-based-standards] (PRIu8): Likewise.
12837 [C99-based-standards] (PRIx8): Likewise.
12838 [C99-based-standards] (PRIX8): Likewise.
12839 [C99-based-standards] (SCNd8): Likewise.
12840 [C99-based-standards] (SCNi8): Likewise.
12841 [C99-based-standards] (SCNo8): Likewise.
12842 [C99-based-standards] (SCNu8): Likewise.
12843 [C99-based-standards] (SCNx8): Likewise.
12844 [C99-based-standards] (PRIdLEAST8): Likewise.
12845 [C99-based-standards] (PRIiLEAST8): Likewise.
12846 [C99-based-standards] (PRIoLEAST8): Likewise.
12847 [C99-based-standards] (PRIuLEAST8): Likewise.
12848 [C99-based-standards] (PRIxLEAST8): Likewise.
12849 [C99-based-standards] (PRIXLEAST8): Likewise.
12850 [C99-based-standards] (SCNdLEAST8): Likewise.
12851 [C99-based-standards] (SCNiLEAST8): Likewise.
12852 [C99-based-standards] (SCNoLEAST8): Likewise.
12853 [C99-based-standards] (SCNuLEAST8): Likewise.
12854 [C99-based-standards] (SCNxLEAST8): Likewise.
12855 [C99-based-standards] (PRIdFAST8): Likewise.
12856 [C99-based-standards] (PRIiFAST8): Likewise.
12857 [C99-based-standards] (PRIoFAST8): Likewise.
12858 [C99-based-standards] (PRIuFAST8): Likewise.
12859 [C99-based-standards] (PRIxFAST8): Likewise.
12860 [C99-based-standards] (PRIXFAST8): Likewise.
12861 [C99-based-standards] (SCNdFAST8): Likewise.
12862 [C99-based-standards] (SCNiFAST8): Likewise.
12863 [C99-based-standards] (SCNoFAST8): Likewise.
12864 [C99-based-standards] (SCNuFAST8): Likewise.
12865 [C99-based-standards] (SCNxFAST8): Likewise.
12866 [C99-based-standards] (PRId16): Likewise.
12867 [C99-based-standards] (PRIi16): Likewise.
12868 [C99-based-standards] (PRIo16): Likewise.
12869 [C99-based-standards] (PRIu16): Likewise.
12870 [C99-based-standards] (PRIx16): Likewise.
12871 [C99-based-standards] (PRIX16): Likewise.
12872 [C99-based-standards] (SCNd16): Likewise.
12873 [C99-based-standards] (SCNi16): Likewise.
12874 [C99-based-standards] (SCNo16): Likewise.
12875 [C99-based-standards] (SCNu16): Likewise.
12876 [C99-based-standards] (SCNx16): Likewise.
12877 [C99-based-standards] (PRIdLEAST16): Likewise.
12878 [C99-based-standards] (PRIiLEAST16): Likewise.
12879 [C99-based-standards] (PRIoLEAST16): Likewise.
12880 [C99-based-standards] (PRIuLEAST16): Likewise.
12881 [C99-based-standards] (PRIxLEAST16): Likewise.
12882 [C99-based-standards] (PRIXLEAST16): Likewise.
12883 [C99-based-standards] (SCNdLEAST16): Likewise.
12884 [C99-based-standards] (SCNiLEAST16): Likewise.
12885 [C99-based-standards] (SCNoLEAST16): Likewise.
12886 [C99-based-standards] (SCNuLEAST16): Likewise.
12887 [C99-based-standards] (SCNxLEAST16): Likewise.
12888 [C99-based-standards] (PRIdFAST16): Likewise.
12889 [C99-based-standards] (PRIiFAST16): Likewise.
12890 [C99-based-standards] (PRIoFAST16): Likewise.
12891 [C99-based-standards] (PRIuFAST16): Likewise.
12892 [C99-based-standards] (PRIxFAST16): Likewise.
12893 [C99-based-standards] (PRIXFAST16): Likewise.
12894 [C99-based-standards] (SCNdFAST16): Likewise.
12895 [C99-based-standards] (SCNiFAST16): Likewise.
12896 [C99-based-standards] (SCNoFAST16): Likewise.
12897 [C99-based-standards] (SCNuFAST16): Likewise.
12898 [C99-based-standards] (SCNxFAST16): Likewise.
12899 [C99-based-standards] (PRId32): Likewise.
12900 [C99-based-standards] (PRIi32): Likewise.
12901 [C99-based-standards] (PRIo32): Likewise.
12902 [C99-based-standards] (PRIu32): Likewise.
12903 [C99-based-standards] (PRIx32): Likewise.
12904 [C99-based-standards] (PRIX32): Likewise.
12905 [C99-based-standards] (SCNd32): Likewise.
12906 [C99-based-standards] (SCNi32): Likewise.
12907 [C99-based-standards] (SCNo32): Likewise.
12908 [C99-based-standards] (SCNu32): Likewise.
12909 [C99-based-standards] (SCNx32): Likewise.
12910 [C99-based-standards] (PRIdLEAST32): Likewise.
12911 [C99-based-standards] (PRIiLEAST32): Likewise.
12912 [C99-based-standards] (PRIoLEAST32): Likewise.
12913 [C99-based-standards] (PRIuLEAST32): Likewise.
12914 [C99-based-standards] (PRIxLEAST32): Likewise.
12915 [C99-based-standards] (PRIXLEAST32): Likewise.
12916 [C99-based-standards] (SCNdLEAST32): Likewise.
12917 [C99-based-standards] (SCNiLEAST32): Likewise.
12918 [C99-based-standards] (SCNoLEAST32): Likewise.
12919 [C99-based-standards] (SCNuLEAST32): Likewise.
12920 [C99-based-standards] (SCNxLEAST32): Likewise.
12921 [C99-based-standards] (PRIdFAST32): Likewise.
12922 [C99-based-standards] (PRIiFAST32): Likewise.
12923 [C99-based-standards] (PRIoFAST32): Likewise.
12924 [C99-based-standards] (PRIuFAST32): Likewise.
12925 [C99-based-standards] (PRIxFAST32): Likewise.
12926 [C99-based-standards] (PRIXFAST32): Likewise.
12927 [C99-based-standards] (SCNdFAST32): Likewise.
12928 [C99-based-standards] (SCNiFAST32): Likewise.
12929 [C99-based-standards] (SCNoFAST32): Likewise.
12930 [C99-based-standards] (SCNuFAST32): Likewise.
12931 [C99-based-standards] (SCNxFAST32): Likewise.
12932 [C99-based-standards] (PRId64): Likewise.
12933 [C99-based-standards] (PRIi64): Likewise.
12934 [C99-based-standards] (PRIo64): Likewise.
12935 [C99-based-standards] (PRIu64): Likewise.
12936 [C99-based-standards] (PRIx64): Likewise.
12937 [C99-based-standards] (PRIX64): Likewise.
12938 [C99-based-standards] (SCNd64): Likewise.
12939 [C99-based-standards] (SCNi64): Likewise.
12940 [C99-based-standards] (SCNo64): Likewise.
12941 [C99-based-standards] (SCNu64): Likewise.
12942 [C99-based-standards] (SCNx64): Likewise.
12943 [C99-based-standards] (PRIdLEAST64): Likewise.
12944 [C99-based-standards] (PRIiLEAST64): Likewise.
12945 [C99-based-standards] (PRIoLEAST64): Likewise.
12946 [C99-based-standards] (PRIuLEAST64): Likewise.
12947 [C99-based-standards] (PRIxLEAST64): Likewise.
12948 [C99-based-standards] (PRIXLEAST64): Likewise.
12949 [C99-based-standards] (SCNdLEAST64): Likewise.
12950 [C99-based-standards] (SCNiLEAST64): Likewise.
12951 [C99-based-standards] (SCNoLEAST64): Likewise.
12952 [C99-based-standards] (SCNuLEAST64): Likewise.
12953 [C99-based-standards] (SCNxLEAST64): Likewise.
12954 [C99-based-standards] (PRIdFAST64): Likewise.
12955 [C99-based-standards] (PRIiFAST64): Likewise.
12956 [C99-based-standards] (PRIoFAST64): Likewise.
12957 [C99-based-standards] (PRIuFAST64): Likewise.
12958 [C99-based-standards] (PRIxFAST64): Likewise.
12959 [C99-based-standards] (PRIXFAST64): Likewise.
12960 [C99-based-standards] (SCNdFAST64): Likewise.
12961 [C99-based-standards] (SCNiFAST64): Likewise.
12962 [C99-based-standards] (SCNoFAST64): Likewise.
12963 [C99-based-standards] (SCNuFAST64): Likewise.
12964 [C99-based-standards] (SCNxFAST64): Likewise.
12965 [C99-based-standards] (PRIdMAX): Likewise.
12966 [C99-based-standards] (PRIiMAX): Likewise.
12967 [C99-based-standards] (PRIoMAX): Likewise.
12968 [C99-based-standards] (PRIuMAX): Likewise.
12969 [C99-based-standards] (PRIxMAX): Likewise.
12970 [C99-based-standards] (PRIXMAX): Likewise.
12971 [C99-based-standards] (SCNdMAX): Likewise.
12972 [C99-based-standards] (SCNiMAX): Likewise.
12973 [C99-based-standards] (SCNoMAX): Likewise.
12974 [C99-based-standards] (SCNuMAX): Likewise.
12975 [C99-based-standards] (SCNxMAX): Likewise.
12976 [C99-based-standards] (PRIdPTR): Likewise.
12977 [C99-based-standards] (PRIiPTR): Likewise.
12978 [C99-based-standards] (PRIoPTR): Likewise.
12979 [C99-based-standards] (PRIuPTR): Likewise.
12980 [C99-based-standards] (PRIxPTR): Likewise.
12981 [C99-based-standards] (PRIXPTR): Likewise.
12982 [C99-based-standards] (SCNdPTR): Likewise.
12983 [C99-based-standards] (SCNiPTR): Likewise.
12984 [C99-based-standards] (SCNoPTR): Likewise.
12985 [C99-based-standards] (SCNuPTR): Likewise.
12986 [C99-based-standards] (SCNxPTR): Likewise.
12987 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
12988 allow.
12989 * conform/data/stdint.h-data: Update comments to clarify
12990 requirements.
12991 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
12992 type.
12993 [C99-based standards] (INT8_MAX): Likewise.
12994 [C99-based standards] (INT16_MIN): Likewise.
12995 [C99-based standards] (INT16_MAX): Likewise.
12996 [C99-based standards] (INT32_MIN): Likewise.
12997 [C99-based standards] (INT32_MAX): Likewise.
12998 [C99-based standards] (INT64_MIN): Likewise.
12999 [C99-based standards] (INT64_MAX): Likewise.
13000 [C99-based standards] (UINT8_MAX): Likewise.
13001 [C99-based standards] (UINT16_MAX): Likewise.
13002 [C99-based standards] (UINT32_MAX): Likewise.
13003 [C99-based standards] (UINT64_MAX): Likewise.
13004 [C99-based standards] (INT_LEAST8_MIN): Likewise.
13005 [C99-based standards] (INT_LEAST8_MAX): Likewise.
13006 [C99-based standards] (INT_LEAST16_MIN): Likewise.
13007 [C99-based standards] (INT_LEAST16_MAX): Likewise.
13008 [C99-based standards] (INT_LEAST32_MIN): Likewise.
13009 [C99-based standards] (INT_LEAST32_MAX): Likewise.
13010 [C99-based standards] (INT_LEAST64_MIN): Likewise.
13011 [C99-based standards] (INT_LEAST64_MAX): Likewise.
13012 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
13013 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
13014 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
13015 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
13016 [C99-based standards] (INT_FAST8_MIN): Likewise.
13017 [C99-based standards] (INT_FAST8_MAX): Likewise.
13018 [C99-based standards] (INT_FAST16_MIN): Likewise.
13019 [C99-based standards] (INT_FAST16_MAX): Likewise.
13020 [C99-based standards] (INT_FAST32_MIN): Likewise.
13021 [C99-based standards] (INT_FAST32_MAX): Likewise.
13022 [C99-based standards] (INT_FAST64_MIN): Likewise.
13023 [C99-based standards] (INT_FAST64_MAX): Likewise.
13024 [C99-based standards] (UINT_FAST8_MAX): Likewise.
13025 [C99-based standards] (UINT_FAST16_MAX): Likewise.
13026 [C99-based standards] (UINT_FAST32_MAX): Likewise.
13027 [C99-based standards] (UINT_FAST64_MAX): Likewise.
13028 [C99-based standards] (INTPTR_MIN): Likewise.
13029 [C99-based standards] (INTPTR_MAX): Likewise.
13030 [C99-based standards] (UINTPTR_MAX): Likewise.
13031 [C99-based standards] (INTMAX_MIN): Likewise.
13032 [C99-based standards] (INTMAX_MAX): Likewise.
13033 [C99-based standards] (UINTMAX_MAX): Likewise.
13034 [C99-based standards] (PTRDIFF_MIN): Likewise.
13035 [C99-based standards] (PTRDIFF_MAX): Likewise.
13036 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
13037 [C99-based standards] (SIZE_MAX): Likewise.
13038 [C99-based standards] (WCHAR_MAX): Likewise.
13039 [C99-based standards] (WINT_MAX): Likewise.
13040 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
13041 constraint on value.
13042 [C99-based standards] (WCHAR_MIN): Likewise.
13043 [C99-based standards] (WINT_MIN): Likewise.
13044 [C99-based standards] (*_t): Allow.
13045 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
13046 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
13047 Include math.h-data and complex.h-data. Remove all expectations
13048 of math.h and complex.h contents.
13049 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
13050 at end of line.
13051 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
13052 (struct tm): Expect tag.
13053 [C99-based-standards] (wcstof): Expect function.
13054 [C99-based-standards] (wcstold): Likewise.
13055 [C99-based-standards] (wcstoll): Likewise.
13056 [C99-based-standards] (wcstoull): Likewise.
13057 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
13058 macro-int-constant. Specify type.
13059 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
13060 constraint on value.
13061 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
13062 Specify type.
13063 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
13064 Specify value.
13065 [ISO C standards]: Do not allow headers.
13066 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
13067 wcs[abcdefghijklmnopqrstuvwxyz]*.
13068 [ISO C standards] (*_t): Do not allow.
13069 * conform/data/wctype.h-data [C99-based standards] (iswblank):
13070 Expect function.
13071 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
13072 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
13073 Specify type.
13074 [ISO C standards]: Do not allow headers.
13075 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
13076 is[abcdefghijklmnopqrstuvwxyz]*.
13077 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
13078 to[abcdefghijklmnopqrstuvwxyz]*.
13079 [ISO C standards] (*_t): Do not allow.
13080 * conform/data/stdalign.h-data: New file.
13081 * conform/data/stdbool.h-data: Likewise.
13082 * conform/data/stdnoreturn.h-data: Likewise.
13083
7514feb8
RM
130842012-11-07 Roland McGrath <roland@hack.frob.com>
13085
13086 [BZ #14815]
13087 * manual/filesys.texi (Directory Entries): Typo fix.
13088 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
13089
19b2ecfc
MS
130902012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13091
13092 * elf/elf.h (EM_AARCH64): New macro.
13093 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
13094 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
13095 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
13096 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
13097 (R_AARCH64_TLSDESC): Likewise.
13098 (NT_ARM_TLS): Likewise.
13099 (NT_ARM_HW_BREAK): Likewise.
13100 (NT_ARM_HW_WATCH): Likewise.
13101
60e235ee
JM
131022012-11-07 Joseph Myers <joseph@codesourcery.com>
13103
13104 [BZ #14811]
13105 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
13106 (__ieee754_powl): Saturate nonzero exponents with absolute value
13107 below 0x1p-79 to +/- 0x1p-79.
13108 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
13109 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
13110 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
13111 nonzero exponents with absolute value below 0x1p-32 to +/-
13112 0x1p-32.
13113 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
13114 (__ieee754_powl): Saturate nonzero exponents with absolute value
13115 below 0x1p-79 to +/- 0x1p-79.
13116 * math/libm-test.inc (pow_test): Add more tests.
13117
0ab234b7
AK
131182012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13119
13120 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
13121 _dl_s390_cap_flags with kernel. Increase string length.
13122 (_dl_s390_platforms): Add z196 and zEC12.
13123
45832f74
JM
131242012-11-07 Joseph Myers <joseph@codesourcery.com>
13125
13126 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
13127 Change XOPEN21K to XOPEN2K.
13128
19218757
MK
131292012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
13130
13131 * string/memmove.c: Use memcpy when possible.
13132
c5f45721
AJ
131332012-11-06 Andreas Jaeger <aj@suse.de>
13134
13135 * po/eo.po: Update from translation team.
13136
82477c28
JM
131372012-11-06 Joseph Myers <joseph@codesourcery.com>
13138
13139 [BZ #14793]
13140 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
13141 exponent and small x and y exponents, scale x or y up. Increase
13142 by 2 the exponent used in scaling up.
13143 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13144 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13145 * math/libm-test.inc (fma_test): Add more tests.
13146 (fma_test_towardzero): Likewise.
13147 (fma_test_downward): Likewise.
13148 (fma_test_upward): Likewise.
13149
99252c8c
JM
131502012-11-05 Joseph Myers <joseph@codesourcery.com>
13151
acfa885f
JM
13152 [BZ #14805]
13153 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
13154 fenv_t *.
13155
99252c8c
JM
13156 [BZ #14801]
13157 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
13158 namespace for names of struct fields.
13159 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
13160 fenv_t fields.
13161 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
13162 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
13163
d6d98dea
ST
131642012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
13165
13166 [BZ #3665]
13167 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
13168
e10bb107
TS
131692012-11-04 Thomas Schwinge <thomas@codesourcery.com>
13170
13171 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
13172 PTR_DEMANGLE.
13173
13174 [BZ #5246]
13175 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
13176 PTR_DEMANGLE.
13177
a0c2940d
JM
131782012-11-04 Joseph Myers <joseph@codesourcery.com>
13179
13180 [BZ #14797]
13181 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
13182 definitely overflow as x * y not x * y + z.
13183 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13184 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13185 * math/libm-test.inc (fma_test): Add more tests.
13186 (fma_test_towardzero): Likewise.
13187 (fma_test_downward): Likewise.
13188 (fma_test_upward): Likewise.
13189
b830319d
TS
131902012-11-04 Thomas Schwinge <thomas@codesourcery.com>
13191
13192 [BZ #157]
13193
13194 * include/stub-tag.h: Remove file.
13195 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
13196 '#include' of it.
13197 * manual/maint.texi (Porting): Don't reference it.
13198 * Makerules ($(objpfx)stubs): Likewise.
13199 * dirent/closedir.c: Don't include <stub-tag.h>.
13200 * dirent/dirfd.c: Likewise.
13201 * dirent/fdopendir.c: Likewise.
13202 * dirent/getdents.c: Likewise.
13203 * dirent/getdents64.c: Likewise.
13204 * dirent/opendir.c: Likewise.
13205 * dirent/readdir.c: Likewise.
13206 * dirent/readdir64.c: Likewise.
13207 * dirent/readdir64_r.c: Likewise.
13208 * dirent/readdir_r.c: Likewise.
13209 * dirent/rewinddir.c: Likewise.
13210 * dirent/seekdir.c: Likewise.
13211 * dirent/telldir.c: Likewise.
13212 * gmon/profil.c: Likewise.
13213 * grp/setgroups.c: Likewise.
13214 * inet/if_index.c: Likewise.
13215 * io/access.c: Likewise.
13216 * io/chdir.c: Likewise.
13217 * io/chmod.c: Likewise.
13218 * io/chown.c: Likewise.
13219 * io/close.c: Likewise.
13220 * io/dup.c: Likewise.
13221 * io/dup2.c: Likewise.
13222 * io/dup3.c: Likewise.
13223 * io/euidaccess.c: Likewise.
13224 * io/faccessat.c: Likewise.
13225 * io/fchdir.c: Likewise.
13226 * io/fchmod.c: Likewise.
13227 * io/fchmodat.c: Likewise.
13228 * io/fchown.c: Likewise.
13229 * io/fchownat.c: Likewise.
13230 * io/fcntl.c: Likewise.
13231 * io/flock.c: Likewise.
13232 * io/fstatfs.c: Likewise.
13233 * io/fstatfs64.c: Likewise.
13234 * io/fstatvfs.c: Likewise.
13235 * io/fstatvfs64.c: Likewise.
13236 * io/futimens.c: Likewise.
13237 * io/fxstat.c: Likewise.
13238 * io/fxstat64.c: Likewise.
13239 * io/fxstatat.c: Likewise.
13240 * io/fxstatat64.c: Likewise.
13241 * io/getcwd.c: Likewise.
13242 * io/isatty.c: Likewise.
13243 * io/lchmod.c: Likewise.
13244 * io/lchown.c: Likewise.
13245 * io/link.c: Likewise.
13246 * io/linkat.c: Likewise.
13247 * io/lseek.c: Likewise.
13248 * io/lseek64.c: Likewise.
13249 * io/lxstat64.c: Likewise.
13250 * io/mkdir.c: Likewise.
13251 * io/mkdirat.c: Likewise.
13252 * io/mkfifo.c: Likewise.
13253 * io/mkfifoat.c: Likewise.
13254 * io/open.c: Likewise.
13255 * io/open64.c: Likewise.
13256 * io/openat.c: Likewise.
13257 * io/openat64.c: Likewise.
13258 * io/pipe.c: Likewise.
13259 * io/pipe2.c: Likewise.
13260 * io/poll.c: Likewise.
13261 * io/posix_fadvise.c: Likewise.
13262 * io/posix_fadvise64.c: Likewise.
13263 * io/posix_fallocate.c: Likewise.
13264 * io/posix_fallocate64.c: Likewise.
13265 * io/read.c: Likewise.
13266 * io/readlink.c: Likewise.
13267 * io/readlinkat.c: Likewise.
13268 * io/rmdir.c: Likewise.
13269 * io/sendfile.c: Likewise.
13270 * io/sendfile64.c: Likewise.
13271 * io/statfs.c: Likewise.
13272 * io/statfs64.c: Likewise.
13273 * io/statvfs.c: Likewise.
13274 * io/statvfs64.c: Likewise.
13275 * io/symlink.c: Likewise.
13276 * io/symlinkat.c: Likewise.
13277 * io/ttyname.c: Likewise.
13278 * io/ttyname_r.c: Likewise.
13279 * io/umask.c: Likewise.
13280 * io/unlink.c: Likewise.
13281 * io/unlinkat.c: Likewise.
13282 * io/utime.c: Likewise.
13283 * io/utimensat.c: Likewise.
13284 * io/write.c: Likewise.
13285 * io/xmknod.c: Likewise.
13286 * io/xmknodat.c: Likewise.
13287 * io/xstat.c: Likewise.
13288 * io/xstat64.c: Likewise.
13289 * login/getpt.c: Likewise.
13290 * login/grantpt.c: Likewise.
13291 * login/unlockpt.c: Likewise.
13292 * math/e_acoshl.c: Likewise.
13293 * math/e_acosl.c: Likewise.
13294 * math/e_asinl.c: Likewise.
13295 * math/e_atan2l.c: Likewise.
13296 * math/e_atanhl.c: Likewise.
13297 * math/e_coshl.c: Likewise.
13298 * math/e_expl.c: Likewise.
13299 * math/e_fmodl.c: Likewise.
13300 * math/e_gammal_r.c: Likewise.
13301 * math/e_hypotl.c: Likewise.
13302 * math/e_j0l.c: Likewise.
13303 * math/e_j1l.c: Likewise.
13304 * math/e_jnl.c: Likewise.
13305 * math/e_lgammal_r.c: Likewise.
13306 * math/e_log10l.c: Likewise.
13307 * math/e_log2l.c: Likewise.
13308 * math/e_logl.c: Likewise.
13309 * math/e_powl.c: Likewise.
13310 * math/e_rem_pio2l.c: Likewise.
13311 * math/e_sinhl.c: Likewise.
13312 * math/e_sqrtl.c: Likewise.
13313 * math/fclrexcpt.c: Likewise.
13314 * math/fedisblxcpt.c: Likewise.
13315 * math/feenablxcpt.c: Likewise.
13316 * math/fegetenv.c: Likewise.
13317 * math/fegetexcept.c: Likewise.
13318 * math/fegetround.c: Likewise.
13319 * math/feholdexcpt.c: Likewise.
13320 * math/fesetenv.c: Likewise.
13321 * math/fesetround.c: Likewise.
13322 * math/feupdateenv.c: Likewise.
13323 * math/fgetexcptflg.c: Likewise.
13324 * math/fraiseexcpt.c: Likewise.
13325 * math/fsetexcptflg.c: Likewise.
13326 * math/ftestexcept.c: Likewise.
13327 * math/k_cosl.c: Likewise.
13328 * math/k_rem_pio2l.c: Likewise.
13329 * math/k_sinl.c: Likewise.
13330 * math/k_tanl.c: Likewise.
13331 * math/s_asinhl.c: Likewise.
13332 * math/s_atanl.c: Likewise.
13333 * math/s_cbrtl.c: Likewise.
13334 * math/s_erfl.c: Likewise.
13335 * math/s_expm1l.c: Likewise.
13336 * math/s_log1pl.c: Likewise.
13337 * math/s_tanhl.c: Likewise.
13338 * misc/acct.c: Likewise.
13339 * misc/brk.c: Likewise.
13340 * misc/chflags.c: Likewise.
13341 * misc/chroot.c: Likewise.
13342 * misc/fchflags.c: Likewise.
13343 * misc/fgetxattr.c: Likewise.
13344 * misc/flistxattr.c: Likewise.
13345 * misc/fremovexattr.c: Likewise.
13346 * misc/fsetxattr.c: Likewise.
13347 * misc/fsync.c: Likewise.
13348 * misc/ftruncate.c: Likewise.
13349 * misc/futimes.c: Likewise.
13350 * misc/futimesat.c: Likewise.
13351 * misc/getdomain.c: Likewise.
13352 * misc/getdtsz.c: Likewise.
13353 * misc/gethostid.c: Likewise.
13354 * misc/gethostname.c: Likewise.
13355 * misc/getloadavg.c: Likewise.
13356 * misc/getpagesize.c: Likewise.
13357 * misc/getsysstats.c: Likewise.
13358 * misc/getxattr.c: Likewise.
13359 * misc/gtty.c: Likewise.
13360 * misc/ioctl.c: Likewise.
13361 * misc/lgetxattr.c: Likewise.
13362 * misc/listxattr.c: Likewise.
13363 * misc/llistxattr.c: Likewise.
13364 * misc/lremovexattr.c: Likewise.
13365 * misc/lsetxattr.c: Likewise.
13366 * misc/lutimes.c: Likewise.
13367 * misc/madvise.c: Likewise.
13368 * misc/mincore.c: Likewise.
13369 * misc/mlock.c: Likewise.
13370 * misc/mlockall.c: Likewise.
13371 * misc/mmap.c: Likewise.
13372 * misc/mprotect.c: Likewise.
13373 * misc/msync.c: Likewise.
13374 * misc/munlock.c: Likewise.
13375 * misc/munlockall.c: Likewise.
13376 * misc/munmap.c: Likewise.
13377 * misc/preadv.c: Likewise.
13378 * misc/preadv64.c: Likewise.
13379 * misc/ptrace.c: Likewise.
13380 * misc/pwritev.c: Likewise.
13381 * misc/pwritev64.c: Likewise.
13382 * misc/readv.c: Likewise.
13383 * misc/reboot.c: Likewise.
13384 * misc/remap_file_pages.c: Likewise.
13385 * misc/removexattr.c: Likewise.
13386 * misc/revoke.c: Likewise.
13387 * misc/select.c: Likewise.
13388 * misc/setdomain.c: Likewise.
13389 * misc/setegid.c: Likewise.
13390 * misc/seteuid.c: Likewise.
13391 * misc/sethostid.c: Likewise.
13392 * misc/sethostname.c: Likewise.
13393 * misc/setregid.c: Likewise.
13394 * misc/setreuid.c: Likewise.
13395 * misc/setxattr.c: Likewise.
13396 * misc/sstk.c: Likewise.
13397 * misc/stty.c: Likewise.
13398 * misc/swapoff.c: Likewise.
13399 * misc/swapon.c: Likewise.
13400 * misc/sync.c: Likewise.
13401 * misc/syncfs.c: Likewise.
13402 * misc/syscall.c: Likewise.
13403 * misc/truncate.c: Likewise.
13404 * misc/ualarm.c: Likewise.
13405 * misc/usleep.c: Likewise.
13406 * misc/ustat.c: Likewise.
13407 * misc/utimes.c: Likewise.
13408 * misc/vhangup.c: Likewise.
13409 * misc/writev.c: Likewise.
13410 * posix/_exit.c: Likewise.
13411 * posix/alarm.c: Likewise.
13412 * posix/execve.c: Likewise.
13413 * posix/fexecve.c: Likewise.
13414 * posix/fork.c: Likewise.
13415 * posix/fpathconf.c: Likewise.
13416 * posix/getaddrinfo.c: Likewise.
13417 * posix/getegid.c: Likewise.
13418 * posix/geteuid.c: Likewise.
13419 * posix/getgid.c: Likewise.
13420 * posix/getgroups.c: Likewise.
13421 * posix/getlogin.c: Likewise.
13422 * posix/getlogin_r.c: Likewise.
13423 * posix/getpgid.c: Likewise.
13424 * posix/getpid.c: Likewise.
13425 * posix/getppid.c: Likewise.
13426 * posix/getresgid.c: Likewise.
13427 * posix/getresuid.c: Likewise.
13428 * posix/getsid.c: Likewise.
13429 * posix/getuid.c: Likewise.
13430 * posix/glob64.c: Likewise.
13431 * posix/nanosleep.c: Likewise.
13432 * posix/pathconf.c: Likewise.
13433 * posix/pause.c: Likewise.
13434 * posix/posix_madvise.c: Likewise.
13435 * posix/pread.c: Likewise.
13436 * posix/pread64.c: Likewise.
13437 * posix/pwrite.c: Likewise.
13438 * posix/pwrite64.c: Likewise.
13439 * posix/sched_getaffinity.c: Likewise.
13440 * posix/sched_getp.c: Likewise.
13441 * posix/sched_gets.c: Likewise.
13442 * posix/sched_primax.c: Likewise.
13443 * posix/sched_primin.c: Likewise.
13444 * posix/sched_rr_gi.c: Likewise.
13445 * posix/sched_setaffinity.c: Likewise.
13446 * posix/sched_setp.c: Likewise.
13447 * posix/sched_sets.c: Likewise.
13448 * posix/sched_yield.c: Likewise.
13449 * posix/setgid.c: Likewise.
13450 * posix/setlogin.c: Likewise.
13451 * posix/setpgid.c: Likewise.
13452 * posix/setresgid.c: Likewise.
13453 * posix/setresuid.c: Likewise.
13454 * posix/setsid.c: Likewise.
13455 * posix/setuid.c: Likewise.
13456 * posix/sleep.c: Likewise.
13457 * posix/spawni.c: Likewise.
13458 * posix/sysconf.c: Likewise.
13459 * posix/times.c: Likewise.
13460 * posix/wait.c: Likewise.
13461 * posix/wait3.c: Likewise.
13462 * posix/wait4.c: Likewise.
13463 * posix/waitpid.c: Likewise.
13464 * resolv/gai_sigqueue.c: Likewise.
13465 * resource/getpriority.c: Likewise.
13466 * resource/getrlimit.c: Likewise.
13467 * resource/getrusage.c: Likewise.
13468 * resource/nice.c: Likewise.
13469 * resource/setpriority.c: Likewise.
13470 * resource/setrlimit.c: Likewise.
13471 * resource/ulimit.c: Likewise.
13472 * rt/aio_cancel.c: Likewise.
13473 * rt/aio_fsync.c: Likewise.
13474 * rt/aio_read.c: Likewise.
13475 * rt/aio_sigqueue.c: Likewise.
13476 * rt/aio_suspend.c: Likewise.
13477 * rt/aio_write.c: Likewise.
13478 * rt/clock_getres.c: Likewise.
13479 * rt/clock_gettime.c: Likewise.
13480 * rt/clock_nanosleep.c: Likewise.
13481 * rt/clock_settime.c: Likewise.
13482 * rt/lio_listio.c: Likewise.
13483 * rt/mq_close.c: Likewise.
13484 * rt/mq_getattr.c: Likewise.
13485 * rt/mq_notify.c: Likewise.
13486 * rt/mq_open.c: Likewise.
13487 * rt/mq_receive.c: Likewise.
13488 * rt/mq_send.c: Likewise.
13489 * rt/mq_setattr.c: Likewise.
13490 * rt/mq_timedreceive.c: Likewise.
13491 * rt/mq_timedsend.c: Likewise.
13492 * rt/mq_unlink.c: Likewise.
13493 * rt/shm_open.c: Likewise.
13494 * rt/shm_unlink.c: Likewise.
13495 * rt/timer_create.c: Likewise.
13496 * rt/timer_delete.c: Likewise.
13497 * rt/timer_getoverr.c: Likewise.
13498 * rt/timer_gettime.c: Likewise.
13499 * rt/timer_settime.c: Likewise.
13500 * setjmp/__longjmp.c: Likewise.
13501 * setjmp/setjmp.c: Likewise.
13502 * signal/kill.c: Likewise.
13503 * signal/killpg.c: Likewise.
13504 * signal/raise.c: Likewise.
13505 * signal/sigaction.c: Likewise.
13506 * signal/sigaltstack.c: Likewise.
13507 * signal/sigblock.c: Likewise.
13508 * signal/sigignore.c: Likewise.
13509 * signal/sigintr.c: Likewise.
13510 * signal/signal.c: Likewise.
13511 * signal/sigpause.c: Likewise.
13512 * signal/sigpending.c: Likewise.
13513 * signal/sigqueue.c: Likewise.
13514 * signal/sigreturn.c: Likewise.
13515 * signal/sigset.c: Likewise.
13516 * signal/sigsetmask.c: Likewise.
13517 * signal/sigstack.c: Likewise.
13518 * signal/sigsuspend.c: Likewise.
13519 * signal/sigtimedwait.c: Likewise.
13520 * signal/sigvec.c: Likewise.
13521 * signal/sigwait.c: Likewise.
13522 * signal/sigwaitinfo.c: Likewise.
13523 * signal/sysv_signal.c: Likewise.
13524 * socket/accept.c: Likewise.
13525 * socket/accept4.c: Likewise.
13526 * socket/bind.c: Likewise.
13527 * socket/connect.c: Likewise.
13528 * socket/getpeername.c: Likewise.
13529 * socket/getsockname.c: Likewise.
13530 * socket/getsockopt.c: Likewise.
13531 * socket/isfdtype.c: Likewise.
13532 * socket/listen.c: Likewise.
13533 * socket/recv.c: Likewise.
13534 * socket/recvfrom.c: Likewise.
13535 * socket/recvmsg.c: Likewise.
13536 * socket/send.c: Likewise.
13537 * socket/sendmsg.c: Likewise.
13538 * socket/sendto.c: Likewise.
13539 * socket/setsockopt.c: Likewise.
13540 * socket/shutdown.c: Likewise.
13541 * socket/sockatmark.c: Likewise.
13542 * socket/socket.c: Likewise.
13543 * socket/socketpair.c: Likewise.
13544 * stdio-common/ctermid.c: Likewise.
13545 * stdio-common/cuserid.c: Likewise.
13546 * stdio-common/remove.c: Likewise.
13547 * stdio-common/rename.c: Likewise.
13548 * stdio-common/renameat.c: Likewise.
13549 * stdio-common/tempname.c: Likewise.
13550 * stdlib/getcontext.c: Likewise.
13551 * stdlib/makecontext.c: Likewise.
13552 * stdlib/setcontext.c: Likewise.
13553 * stdlib/swapcontext.c: Likewise.
13554 * stdlib/system.c: Likewise.
13555 * streams/fattach.c: Likewise.
13556 * streams/fdetach.c: Likewise.
13557 * streams/getmsg.c: Likewise.
13558 * streams/getpmsg.c: Likewise.
13559 * streams/putmsg.c: Likewise.
13560 * streams/putpmsg.c: Likewise.
13561 * sysdeps/unix/bsd/getpt.c: Likewise.
13562 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
13563 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
13564 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
13565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
13566 Likewise.
13567 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
13568 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
13569 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
13570 * sysvipc/msgctl.c: Likewise.
13571 * sysvipc/msgget.c: Likewise.
13572 * sysvipc/msgrcv.c: Likewise.
13573 * sysvipc/msgsnd.c: Likewise.
13574 * sysvipc/semctl.c: Likewise.
13575 * sysvipc/semget.c: Likewise.
13576 * sysvipc/semop.c: Likewise.
13577 * sysvipc/semtimedop.c: Likewise.
13578 * sysvipc/shmat.c: Likewise.
13579 * sysvipc/shmctl.c: Likewise.
13580 * sysvipc/shmdt.c: Likewise.
13581 * sysvipc/shmget.c: Likewise.
13582 * termios/tcdrain.c: Likewise.
13583 * termios/tcflow.c: Likewise.
13584 * termios/tcflush.c: Likewise.
13585 * termios/tcgetattr.c: Likewise.
13586 * termios/tcgetpgrp.c: Likewise.
13587 * termios/tcsendbrk.c: Likewise.
13588 * termios/tcsetattr.c: Likewise.
13589 * termios/tcsetpgrp.c: Likewise.
13590 * time/adjtime.c: Likewise.
13591 * time/clock.c: Likewise.
13592 * time/getitimer.c: Likewise.
13593 * time/gettimeofday.c: Likewise.
13594 * time/setitimer.c: Likewise.
13595 * time/settimeofday.c: Likewise.
13596 * time/stime.c: Likewise.
13597 * time/time.c: Likewise.
13598
135992012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 13600
a20492cf
PT
13601 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
13602 /usr/old/bin.
13603
72e182e3
PT
13604 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
13605 instead of spaces.
13606 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
13607
fbeafede
JM
136082012-11-03 Joseph Myers <joseph@codesourcery.com>
13609
5b5b04d6
JM
13610 [BZ #14796]
13611 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
13612 FE_TONEAREST before applying Dekker multiplication and Knuth
13613 addition. Clear inexact exceptions and check for exact zero
13614 results afterwards.
13615 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13616 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13617 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13618 * math/libm-test.inc (fma_test): Add more tests.
13619 (fma_test_towardzero): Likewise.
13620 (fma_test_downward): Likewise.
13621 (fma_test_upward): Likewise.
13622 * sysdeps/generic/math_private.h (default_libc_fesetround): New
13623 function.
13624 (libc_fesetround): New macro.
13625 (libc_fesetroundf): Likewise.
13626 (libc_fesetroundl): Likewise.
13627 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
13628 function.
13629 (libc_fesetround_387): Likewise.
13630 (libc_fesetroundf): New macro.
13631 (libc_fesetround): Likewise.
13632 (libc_fesetroundl): Likewise.
13633 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
13634 function.
13635 (libc_fesetroundf): New macro.
13636 (libc_fesetround): Likewise.
13637 (libc_fesetroundl): Likewise.
13638 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
13639 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
13640 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
13641 libm_hidden_ver.
13642 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
13643 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
13644 libm_hidden_def.
13645 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
13646 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
13647 libm_hidden_ver.
13648 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
13649 libm_hidden_def.
13650
fbeafede
JM
13651 [BZ #3439]
13652 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
13653 integer constant usable in #if and use that to give value to enum
13654 constant.
13655 (FE_DIVBYZERO): Likewise.
13656 (FE_UNDERFLOW): Likewise.
13657 (FE_OVERFLOW): Likewise.
13658 (FE_INVALID): Likewise.
13659 (FE_INVALID_SNAN): Likewise.
13660 (FE_INVALID_ISI): Likewise.
13661 (FE_INVALID_IDI): Likewise.
13662 (FE_INVALID_ZDZ): Likewise.
13663 (FE_INVALID_IMZ): Likewise.
13664 (FE_INVALID_COMPARE): Likewise.
13665 (FE_INVALID_SOFTWARE): Likewise.
13666 (FE_INVALID_SQRT): Likewise.
13667 (FE_INVALID_INTEGER_CONVERSION): Likewise.
13668 (FE_TONEAREST): Likewise.
13669 (FE_TOWARDZERO): Likewise.
13670 (FE_UPWARD): Likewise.
13671 (FE_DOWNWARD): Likewise.
13672 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
13673 (FE_DIVBYZERO): Likewise.
13674 (FE_OVERFLOW): Likewise.
13675 (FE_UNDERFLOW): Likewise.
13676 (FE_INEXACT): Likewise.
13677 (FE_TONEAREST): Likewise.
13678 (FE_DOWNWARD): Likewise.
13679 (FE_UPWARD): Likewise.
13680 (FE_TOWARDZERO): Likewise.
13681 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
13682 (FE_UNDERFLOW): Likewise.
13683 (FE_OVERFLOW): Likewise.
13684 (FE_DIVBYZERO): Likewise.
13685 (FE_INVALID): Likewise.
13686 (FE_TONEAREST): Likewise.
13687 (FE_TOWARDZERO): Likewise.
13688 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
13689 (FE_OVERFLOW): Likewise.
13690 (FE_UNDERFLOW): Likewise.
13691 (FE_DIVBYZERO): Likewise.
13692 (FE_INEXACT): Likewise.
13693 (FE_TONEAREST): Likewise.
13694 (FE_TOWARDZERO): Likewise.
13695 (FE_UPWARD): Likewise.
13696 (FE_DOWNWARD): Likewise.
13697 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
13698 (FE_DIVBYZERO): Likewise.
13699 (FE_OVERFLOW): Likewise.
13700 (FE_UNDERFLOW): Likewise.
13701 (FE_INEXACT): Likewise.
13702 (FE_TONEAREST): Likewise.
13703 (FE_DOWNWARD): Likewise.
13704 (FE_UPWARD): Likewise.
13705 (FE_TOWARDZERO): Likewise.
13706
105ca950
CM
137072012-11-02 Chris Metcalf <cmetcalf@tilera.com>
13708
13709 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
13710
a542b389
AS
137112012-11-03 Andreas Schwab <schwab@linux-m68k.org>
13712
13713 * scripts/cross-test-ssh.sh (command): Use newlines to separate
13714 commands. Quote $PWD.
13715 (blacklist_exports): Don't use remove_newlines. Replace "declare
13716 -x" by "export".
13717 (remove_newlines): Remove.
13718
f62c8abc
L
137192012-11-02 H.J. Lu <hongjiu.lu@intel.com>
13720
13721 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
13722 * stdlib/stdlib.h (atof): Moved to ...
13723 * include/bits/stdlib-float.h: Here. New file.
13724 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
13725 * stdlib/bits/stdlib-float.h: New file.
13726 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
13727 -mno-sse -mno-mmx.
13728 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
13729 <xmmintrin.h>.
13730
0155d5b2
JM
137312012-11-02 Joseph Myers <joseph@codesourcery.com>
13732
a68d0680
JM
13733 * conform/conformtest.pl (@headers): Add fenv.h.
13734 * conform/data/fenv.h-data: New file.
13735 * include/fenv.h [_ISOMAC]: Disable all contents of file except
13736 include of <math/fenv.h>.
13737
caf7f573
JM
13738 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
13739 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
13740 && !UNIX98]. Enables tests for XOPEN2K8.
13741 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
13742 POSIX2008]: Likewise.
13743
6c073ad6
JM
13744 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
13745 (struct rusage): Do not expect type or its members.
13746
0155d5b2
JM
13747 [BZ #3439]
13748 * math/math.h (FP_NAN): Define macro to integer constant usable in
13749 #if and use that to give value to enum constant.
13750 (FP_INFINITE): Likewise.
13751 (FP_ZERO): Likewise.
13752 (FP_SUBNORMAL): Likewise.
13753 (FP_NORMAL): Likewise.
13754
b5dcacb4
AS
137552012-11-02 Andreas Schwab <schwab@linux-m68k.org>
13756
13757 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
13758 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
13759 arguments.
13760
f7934be8
RM
137612012-11-02 Roland McGrath <roland@hack.frob.com>
13762
13763 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
13764 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
13765 autoconf-time if not.
13766 * configure.in: Remove AC_PREREQ.
13767
d7d08bde
TMQMF
137682012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13769
13770 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
13771 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
13772 of the internal implementation.
13773
dcdae19a
JM
137742012-11-02 Joseph Myers <joseph@codesourcery.com>
13775
13776 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
13777 except include of <misc/sys/syslog.h>.
13778
d6cffd3e
AS
137792012-11-01 Andreas Schwab <schwab@linux-m68k.org>
13780
13781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
13782 function returns with a NULL context exit with zero.
13783
b3563932
TMQMF
137842012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13785
13786 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
13787
b288a93d
L
137882012-11-01 H.J. Lu <hongjiu.lu@intel.com>
13789
13790 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
13791 (run_program_cmd): This.
13792 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
13793 (tst_langinfo): New variable. Use it.
13794
a2421a68
SAS
137952012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
13796
13797 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
13798 floating point opcodes.
13799
6f796e1b
TS
138002012-11-01 Thomas Schwinge <thomas@codesourcery.com>
13801
7402596b
TS
13802 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
13803 variable.
13804
d0d4f868
TS
13805 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
13806
6f796e1b
TS
13807 * sysdeps/mach/hurd/powerpc: Remove directory.
13808 * sysdeps/mach/powerpc: Likewise.
13809
4da224a2
AS
138102012-11-01 Andreas Schwab <schwab@linux-m68k.org>
13811
13812 * scripts/check-local-headers.sh: Ignore c++ headers.
13813
341dd673
TS
138142012-11-01 Thomas Schwinge <thomas@codesourcery.com>
13815
13816 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
13817 __libc_cleanup_region_start argument.
13818
473611b2
JM
138192012-11-01 Joseph Myers <joseph@codesourcery.com>
13820
13821 [BZ #14784]
13822 [BZ #14785]
13823 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
13824 x * y using scaling, not as x * y + z.
13825 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13826 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13827 * math/libm-test.inc (fma_test): Add more tests.
13828 (fma_test_towardzero): Likewise.
13829 (fma_test_downward): Likewise.
13830 (fma_test_upward): Likewise.
13831
4078da3d
TS
138322012-11-01 Thomas Schwinge <thomas@codesourcery.com>
13833
13834 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
13835
903252aa
JM
138362012-10-31 Joseph Myers <joseph@codesourcery.com>
13837
13838 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
13839 New variable.
13840
cbc818d0
TS
138412012-10-31 Thomas Schwinge <thomas@codesourcery.com>
13842
13843 * rt/tst-shm.c (worker): Correct checking for mmap failure.
13844
5a03cb1e
AS
138452012-10-31 Andreas Schwab <schwab@linux-m68k.org>
13846
13847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13848 Fix sort order.
13849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13850 Likewise.
13851
90aff2ff
TMQMF
138522012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13853
13854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13855 Fix the order of the list for glibc 2.17.
13856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13857 Likewise.
13858
1818fcb7
AS
138592012-10-31 Andreas Schwab <schwab@linux-m68k.org>
13860
13861 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13862
ef82f4da
JM
138632012-10-31 Joseph Myers <joseph@codesourcery.com>
13864
16a0e2ec
JM
13865 [BZ #14610]
13866 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
13867 for low part of x being zero before using __atanl (y).
13868 * math/libm-test.inc (atan2_test): Add another test.
13869
0eb69512
JM
13870 * manual/install.texi (Configuring and compiling): Document
13871 general use of test-wrapper and test-wrapper-env.
13872 * INSTALL: Regenerated.
13873
ef82f4da
JM
13874 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
13875 (__fma): Do not extract and scale down low bits on after-rounding
13876 systems when result rounded to normal precision would have normal
13877 exponent.
13878 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
13879 (__fmal): Do not extract and scale down low bits on after-rounding
13880 systems when result rounded to normal precision would have normal
13881 exponent.
13882 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
13883 (__fmal): Do not extract and scale down low bits on after-rounding
13884 systems when result rounded to normal precision would have normal
13885 exponent.
13886 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
13887 macro.
13888 (fma_test): Add more tests.
13889 (fma_test_towardzero): Likewise.
13890 (fma_test_downward): Likewise.
13891 (fma_test_upward): Likewise.
13892
954ef0d9
L
138932012-10-30 H.J. Lu <hongjiu.lu@intel.com>
13894
13895 * sysdeps/i386/tininess.h: Renamed to ...
13896 * sysdeps/x86/tininess.h: This.
13897 * sysdeps/x86_64/tininess.h: Removed.
13898
df61ffb2
JM
138992012-10-30 Joseph Myers <joseph@codesourcery.com>
13900
13901 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
13902 input. Use $(build-program-cmd).
13903 ($(objpfx)tst-array1-static.out): Likewise.
13904 ($(objpfx)tst-array2.out): Likewise.
13905 ($(objpfx)tst-array3.out): Likewise.
13906 ($(objpfx)tst-array4.out): Likewise.
13907 ($(objpfx)tst-array5.out): Likewise.
13908 ($(objpfx)tst-array5-static.out): Likewise.
13909
01767843
CM
139102012-10-30 Chris Metcalf <cmetcalf@tilera.com>
13911
47cc1490
CM
13912 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
13913 if defined.
13914
01767843
CM
13915 * nss/nsswitch.h (nss_interface_function): Provide new
13916 macro for use with NSS functions.
13917 * grp/initgroups.c: Use new macro.
13918 * nss/getXXbyYY.c: Likewise.
13919 * nss/getXXbyYY_r.c: Likewise.
13920 * nss/getXXent.c: Likewise.
13921 * nss/getXXent_r.c: Likewise.
13922 * sysdeps/posix/getaddrinfo.c: Likewise.
13923
8321aa97
AJ
139242012-10-30 Andreas Jaeger <aj@suse.de>
13925
13926 * po/ru.po: Update Russion translation from translation project.
13927
2a27fd6d
JM
139282012-10-30 Joseph Myers <joseph@codesourcery.com>
13929
8627a232
JM
13930 [BZ #14152]
13931 [BZ #14783]
13932 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
13933 result and shift together with sticky bit instead of replicating
13934 round-to-nearest rounding.
13935 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13936 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13937 * math/libm-test.inc (fma_test): Add more tests. Do not permit
13938 missing underflow exceptions.
13939 (fma_test_towardzero): Add more tests.
13940 (fma_test_downward): Likewise.
13941 (fma_test_upward): Likewise.
13942
2a27fd6d
JM
13943 [BZ #14047]
13944 * sysdeps/generic/tininess.h: New file.
13945 * sysdeps/i386/tininess.h: Likewise.
13946 * sysdeps/sh/tininess.h: Likewise.
13947 * sysdeps/x86_64/tininess.h: Likewise.
13948 * stdlib/tst-strtod-underflow.c: Likewise.
13949 * stdlib/tst-tininess.c: Likewise.
13950 * stdlib/strtod_l.c: Include <tininess.h>.
13951 (round_and_return): Do not set errno for exact underflow cases.
13952 Force an underflow exception when setting errno for underflow.
13953 Determine underflow based on rounding to normal precision if
13954 TININESS_AFTER_ROUNDING.
13955 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
13956 ERANGE for exact underflow cases.
13957 * stdlib/Makefile (tests): Add tst-tininess and
13958 tst-strtod-underflow.
13959 ($(objpfx)tst-tininess): Use $(link-libm).
13960 ($(objpfx)tst-strtod-underflow): Likewise.
13961
e7170363
AJ
139622012-10-30 Andreas Jaeger <aj@suse.de>
13963
e5088dc6
AJ
13964 [BZ#14767]
13965 * elf/Makefile (tests): Remove conditional for have-initfini-array
13966 since this is now always required and the variable does not exist
13967 anymore.
13968 (tests-static): Likewise.
13969 (modules-names): Likewise.
13970
e7170363 13971 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
13972
13973 * elf/tst-array1.c (fini_array): Make writeable so that it can be
13974 merged with constructor/destructor.
13975 (init_array): Likewise.
13976 * elf/tst-array2dep.c (fini_array): Likewise.
13977 (init_array): Likewise.
13978
60457d8a
MF
139792012-10-29 Mike Frysinger <vapier@gentoo.org>
13980
13981 * manual/message.texi: Delete @cartouche tags.
13982
8bece752
PT
139832012-10-29 Pino Toscano <toscano.pino@tiscali.it>
13984
94ce799f
PT
13985 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
13986 EOPNOTSUPP.
13987 * sysdeps/mach/hurd/fsync.c: Likewise.
13988
8bece752
PT
13989 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
13990 [_POSIX_REALTIME_SIGNALS]: Change condition to
13991 [_POSIX_REALTIME_SIGNALS > 0].
13992
86ebe6b1
AJ
139932012-10-27 Andreas Jaeger <aj@suse.de>
13994
13995 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
13996 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
13997 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
13998 [__WORDSIZE != 64]: Likewise.
13999
54399c08
L
140002012-10-26 H.J. Lu <hongjiu.lu@intel.com>
14001
14002 * iconvdata/tst-table.sh: Remove ${SHELL}.
14003 * iconvdata/tst-tables.sh: Likewise.
14004
e2211bed
DM
140052012-10-25 David S. Miller <davem@davemloft.net>
14006
14007 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14008 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
14009 of strtoull.
14010
f303f97c
DM
14011 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
14012 ifunc-impl-list.c
14013 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14014 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
14015 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
14016 file.
14017
1e9d84cd
RM
140182012-10-25 Roland McGrath <roland@hack.frob.com>
14019
14020 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14021 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
14022 __getdirentries.
14023
df381762
JM
140242012-10-25 Joseph Myers <joseph@codesourcery.com>
14025 Jim Blandy <jimb@codesourcery.com>
14026
14027 * scripts/cross-test-ssh.sh: New file.
14028 * manual/install.texi (Configuring and compiling): Document use of
14029 cross-test-ssh.sh.
14030 * INSTALL: Regenerated.
14031
bff64913
PT
140322012-10-25 Pino Toscano <toscano.pino@tiscali.it>
14033
14034 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
14035 EOPNOTSUPP.
14036
25fe8932
JM
140372012-10-25 Joseph Myers <joseph@codesourcery.com>
14038
14039 * Makeconfig (run-program-prefix): Fix comment.
14040
cc1290d0
JM
140412012-10-24 Joseph Myers <joseph@codesourcery.com>
14042 Jim Blandy <jimb@codesourcery.com>
14043
14044 * Makeconfig (test-wrapper): New variable,
14045 (test-wrapper-env): Likewise.
14046 [$(cross-compiling) = yes && $(test-wrapper) != ""]
14047 (run-built-tests): Define to yes.
14048 (run-program-prefix): Use $(test-wrapper).
14049 (built-program-cmd): Likewise.
14050 * Rules (make-test-out): Use $(test-wrapper-env) and
14051 $(host-built-program-cmd).
14052 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
14053 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
14054 tst-pathopt.sh.
14055 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
14056 $(test-wrapper-env) to tst-rtld-load-self.sh.
14057 ($(objpfx)order2.out): Use $(test-wrapper).
14058 ($(objpfx)tst-initorder.out): Likewise.
14059 ($(objpfx)tst-initorder2.out): Likewise.
14060 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
14061 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
14062 (test_wrapper_env): New variable. Use it to run ld.so.
14063 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
14064 Use it to run ld.so.
14065 (test_wrapper_env): Likewise.
14066 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
14067 $(test-wrapper) to run-iconv-test.sh.
14068 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
14069 (ICONV): Use $test_wrapper.
14070 * posix/Makefile ($(objpfx)globtest.out): Pass
14071 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
14072 globtest.sh, not $(run-program-prefix).
14073 * posix/globtest.sh (run_via_rtld_prefix): New variable.
14074 (test_wrapper): Likewise.
14075 (test_wrapper_env): Likewise. Use it to run globtest with HOME
14076 set together with run_via_rtld_prefix.
14077 (run_program_prefix): Define in terms of test_wrapper and
14078 run_via_rtld_prefix.
14079
6e6249d0
RM
140802012-10-24 Roland McGrath <roland@hack.frob.com>
14081
14082 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
14083 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
14084 Targets removed.
14085
14086 [BZ #14743]
14087 * include/time.h: Remove librt_hidden_proto (clock_gettime).
14088 Declare __clock_getres, __clock_gettime, __clock_settime,
14089 __clock_nanosleep, and __clock_getcpuclockid.
14090 * rt/clock_gettime.c: Define __clock_gettime as an alias.
14091 Remove librt_hidden_def (clock_gettime).
14092 * sysdeps/unix/clock_gettime.c: Likewise.
14093 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
14094 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
14095 * rt/clock_getres.c: Define __clock_getres as an alias.
14096 * sysdeps/posix/clock_getres.c: Likewise.
14097 * rt/clock_settime.c: Define __clock_settime as an alias.
14098 * sysdeps/unix/clock_settime.c: Likewise.
14099 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
14100 * sysdeps/unix/clock_nanosleep.c: Likewise.
14101 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
14102 * rt/clock-compat.c: New file.
14103 * rt/Makefile (librt-routines): Add clock-compat and move
14104 $(clock-routines) to ...
14105 (routines): ... here, new variable.
14106 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
14107 Don't add get_clockfreq here.
14108 * rt/Versions (libc: GLIBC_2.17): New version set.
14109 Add clock_* symbols here.
14110 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
14111 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
14112 (GLIBC_2.17): Add clock_* symbols.
14113 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
14114 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
14115 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
14116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14117 Likewise.
14118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14119 Likewise.
14120 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
14121 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
14122 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
14123 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
14124 * NEWS: Mention the move.
14125
14126 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
14127 Use __open, __read, __close rather than their public counterparts.
14128 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14129 (__get_clockfreq_via_cpuinfo): Likewise.
14130 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
14131 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
14132
14133 * config.h.in (HAVE_IFUNC): New #undef.
14134 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
14135 was successful.
14136 * configure: Regenerated.
14137
0cae3f4b
MF
141382012-10-24 Mike Frysinger <vapier@gentoo.org>
14139
14140 * configure.in: Move READELF check to start of file.
14141 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
14142 libc_cv_asm_gnu_indirect_function in the process.
14143 * configure: Regenerated.
14144
8175a253
MF
141452012-10-24 Mike Frysinger <vapier@gentoo.org>
14146
14147 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
14148 send the output to /dev/null.
14149 (libc_cv_cc_with_libunwind): Likewise.
14150 (libc_cv_as_noexecstack): Likewise.
14151 * configure: Regenerate.
14152
0708a7d1
JM
141532012-10-24 Joseph Myers <joseph@codesourcery.com>
14154
10b40d85
JM
14155 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
14156
0708a7d1
JM
14157 * posix/globtest.sh (TMPDIR): Do not set.
14158 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
14159 (testout): Likewise.
14160
9fddec1a
AJ
141612012-10-24 Andreas Jaeger <aj@suse.de>
14162
3a8db22f
AJ
14163 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
14164 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
14165 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
14166 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
14167 posix_fadvise64, posix_fallocate64.
14168
9fddec1a
AJ
14169 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
14170 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
14171 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
14172 Likewise.
14173 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
14174 Likewise.
14175 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
14176
14177 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
14178 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
14179 <bits/fcntl-linux.h>.
14180 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
14181
14182 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
14183 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
14184 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
14185 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
14186 [__WORDSIZE != 64]: Likewise.
14187
ebfd1bbd
JM
141882012-10-23 Joseph Myers <joseph@codesourcery.com>
14189
03ac099f
JM
14190 * Makeconfig (run-built-tests): New variable.
14191 * Rules [$(cross-compiling) = yes]: Change condition to
14192 [$(run-built-tests) = no].
14193 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
14194 to [$(run-built-tests) = yes].
14195 * elf/Makefile [$(cross-compiling) = no]: Likewise
14196 * grp/Makefile [$(cross-compiling) = no]: Likewise.
14197 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
14198 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
14199 * intl/Makefile [$(cross-compiling) = no]: Likewise.
14200 * io/Makefile [$(cross-compiling) = no]: Likewise.
14201 * libio/Makefile [$(cross-compiling) = no]: Likewise.
14202 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
14203 * misc/Makefile [$(cross-compiling) = no]: Likewise.
14204 * posix/Makefile [$(cross-compiling) = no]: Likewise.
14205 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
14206 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
14207 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
14208 * string/Makefile [$(cross-compiling) = no]: Likewise.
14209
ebfd1bbd
JM
14210 * posix/Makefile ($(objpfx)globtest.out): Pass
14211 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
14212 $(rtld-installed-name).
14213 * posix/globtest.sh (elf_objpfx): Remove variable.
14214 (rtld_installed_name): Likewise.
14215 (library_path): Likewise.
14216 (run_program_prefix): New variable. Use for running globtest
14217 binary.
14218
166bca24
JB
142192012-10-23 Jim Blandy <jimb@codesourcery.com>
14220 Joseph Myers <joseph@codesourcery.com>
14221
14222 * Makeconfig (host-built-program-cmd): New variable.
14223 * elf/Makefile (tst-stackguard1-ARGS): Use
14224 $(host-built-program-cmd).
14225 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
14226 (tst-spawn-ARGS): Likewise.
14227 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
14228
88866099
JM
142292012-10-23 Joseph Myers <joseph@codesourcery.com>
14230 Jim Blandy <jimb@codesourcery.com>
14231
14232 * Makeconfig (run-via-rtld-prefix): New variable.
14233 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
14234 (built-program-cmd): Likewise.
14235
b4b4c296
AJ
142362012-10-22 Andreas Jaeger <aj@suse.de>
14237
14238 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
14239 __O_RSYNC if it exists, otherwise to O_SYNC.
14240
6fb54a22
JB
142412012-10-22 Jim Blandy <jimb@codesourcery.com>
14242 Joseph Myers <joseph@codesourcery.com>
14243
14244 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
14245 /dev/null.
14246 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
14247 from /dev/null
14248 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
14249 /dev/null.
14250
481b90b9
AJ
142512012-10-22 Andreas Jaeger <aj@suse.de>
14252
2a0e2669
AJ
14253 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
14254 Define always.
14255 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
14256
76e38f9a
AJ
14257 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14258 bits/fcntl-linux.h.
14259
7cd37b43
AJ
14260 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
14261 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
14262
481b90b9
AJ
14263 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
14264 to __O_LARGEFILE.
14265 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
14266 to __O_LARGEFILE.
14267
aba75984
JB
142682012-10-21 Jim Blandy <jimb@codesourcery.com>
14269 Joseph Myers <joseph@codesourcery.com>
14270
14271 * config.make.in (NM): New variable.
14272
88d4247f
AJ
142732012-10-21 Andreas Jaeger <aj@suse.de>
14274
14275 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
14276 definitions and declarations that are provided by
14277 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
14278
f2eed205
L
142792012-10-20 H.J. Lu <hongjiu.lu@intel.com>
14280
14281 [BZ #14683]
14282 * elf/Makefile (tests-static): Add tst-leaks1-static.
14283 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
14284 ($(objpfx)tst-leaks1-static): New rule.
14285 ($(objpfx)tst-leaks1-static-mem): Likewise.
14286 (tst-leaks1-static-ENV): New macro.
14287 * elf/dl-open.c (dl_open_worker): Check the main application
14288 only if SHARED is defined.
14289 * elf/tst-leaks1-static.c: New file.
14290
335e6931
AJ
142912012-10-20 Andreas Jaeger <aj@suse.de>
14292
14293 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
14294 generic values for Linux.
14295 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
14296 and declarations that are provided by <bits/fcntl-linux.h> and
14297 include <bits/fcntl-linux.h>.
14298 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14299 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14300
ac5c94d3
RM
143012012-10-20 Roland McGrath <roland@hack.frob.com>
14302
14303 * io/fcntl.h: Move include of <bits/types.h> to the top and
14304 include it unconditionally.
14305
de54b33a
L
143062012-10-20 H.J. Lu <hongjiu.lu@intel.com>
14307
228cfb01
L
14308 * wcsmbs/Makefile (tests-ifunc): New variable.
14309 (tests): Add $(tests-ifunc).
14310 * wcsmbs/test-wcschr-ifunc.c: New file.
14311 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
14312 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
14313 * wcsmbs/test-wcslen-ifunc.c: Likewise.
14314 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
14315 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
14316
69f07e5f
L
14317 * string/Makefile (tests-ifunc): New variable.
14318 (tests): Add $(tests-ifunc).
14319 * string/test-memccpy.c (TEST_NAME): New macro.
14320 * string/test-memchr.c (TEST_NAME): Likewise.
14321 * string/test-memcmp.c (TEST_NAME): Likewise.
14322 * string/test-memcpy.c (TEST_NAME): Likewise.
14323 * string/test-memmem.c (TEST_NAME): Likewise.
14324 * string/test-memmove.c (TEST_NAME): Likewise.
14325 * string/test-memset.c (TEST_NAME): Likewise.
14326 * string/test-rawmemchr.c (TEST_NAME): Likewise.
14327 * string/test-stpcpy.c (TEST_NAME): Likewise.
14328 * string/test-stpncpy.c (TEST_NAME): Likewise.
14329 * string/test-strcasecmp.c (TEST_NAME): Likewise.
14330 * string/test-strcasestr.c (TEST_NAME): Likewise.
14331 * string/test-strcat.c (TEST_NAME): Likewise.
14332 * string/test-strchr.c (TEST_NAME): Likewise.
14333 * string/test-strcmp.c(TEST_NAME): Likewise.
14334 * string/test-strcpy.c (TEST_NAME): Likewise.
14335 * string/test-strcspn.c (TEST_NAME): Likewise.
14336 * string/test-strlen.c (TEST_NAME): Likewise.
14337 * string/test-strncasecmp.c (TEST_NAME): Likewise.
14338 * string/test-strncmp.c (TEST_NAME): Likewise.
14339 * string/test-strncpy.c (TEST_NAME): Likewise.
14340 * string/test-strnlen.c (TEST_NAME): Likewise.
14341 * string/test-strpbrk.c (TEST_NAME): Likewise.
14342 * string/test-strrchr.c (TEST_NAME): Likewise.
14343 * string/test-strspn.c (TEST_NAME): Likewise.
14344 * string/test-strstr.c (TEST_NAME): Likewise.
14345 * string/test-bcopy-ifunc.c: New file.
14346 * string/test-bzero-ifunc.c: Likewise.
14347 * string/test-memccpy-ifunc.c: Likewise.
14348 * string/test-memchr-ifunc.c: Likewise.
14349 * string/test-memcmp-ifunc.c: Likewise.
14350 * string/test-memcpy-ifunc.c: Likewise.
14351 * string/test-memmem-ifunc.c: Likewise.
14352 * string/test-memmove-ifunc.c: Likewise.
14353 * string/test-mempcpy-ifunc.c: Likewise.
14354 * string/test-memset-ifunc.c: Likewise.
14355 * string/test-rawmemchr-ifunc.c: Likewise.
14356 * string/test-stpcpy-ifunc.c: Likewise.
14357 * string/test-stpncpy-ifunc.c: Likewise.
14358 * string/test-strcasecmp-ifunc.c: Likewise.
14359 * string/test-strcasestr-ifunc.c: Likewise.
14360 * string/test-strcat-ifunc.c: Likewise.
14361 * string/test-strchr-ifunc.c: Likewise.
14362 * string/test-strchrnul-ifunc.c: Likewise.
14363 * string/test-strcmp-ifunc.c: Likewise.
14364 * string/test-strcpy-ifunc.c: Likewise.
14365 * string/test-strcspn-ifunc.c: Likewise.
14366 * string/test-strlen-ifunc.c: Likewise.
14367 * string/test-strncasecmp-ifunc.c: Likewise.
14368 * string/test-strncat-ifunc.c: Likewise.
14369 * string/test-strncmp-ifunc.c: Likewise.
14370 * string/test-strncpy-ifunc.c: Likewise.
14371 * string/test-strnlen-ifunc.c: Likewise.
14372 * string/test-strpbrk-ifunc.c: Likewise.
14373 * string/test-strrchr-ifunc.c: Likewise.
14374 * string/test-strspn-ifunc.c: Likewise.
14375 * string/test-strstr-ifunc.c: Likewise.
14376
de54b33a
L
14377 * debug/Makefile (tests-ifunc): New variable.
14378 (tests): Add $(tests-ifunc).
14379 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
14380 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
14381 * debug/test-stpcpy_chk-ifunc.c: New file.
14382 * debug/test-strcpy_chk-ifunc.c: Likewise.
14383
88481c16
SP
143842012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14385
14386 [BZ #13601]
14387 * elf/dl-load.c (open_verify): Retry read if the entire ELF
14388 header is not read in.
14389
135948bd
JM
143902012-10-19 Joseph Myers <joseph@codesourcery.com>
14391
89f1c388
JM
14392 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
14393 script to $(SHELL) as $<. Pass $(common-objpfx) to script
14394 directly. Pass built executable to script as
14395 $(built-program-cmd).
14396 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
14397 $testprogram without using LD_LIBRARY_PATH and $ldso.
14398
e40a0d21
JM
14399 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
14400 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
14401 $(rtld-installed-name).
14402 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
14403 (rtld_installed_name): Likewise.
14404 (library_path): Likewise.
14405 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
14406 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
14407 $(run-program-prefix) to tst-tables.sh.
14408 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
14409 it to run tst-table-from and tst-table-to.
14410 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
14411 Pass it to tst-table.sh.
14412 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
14413 $(run-program-prefix) to tst-gettext.sh.
14414 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
14415 tst-translit.sh.
14416 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
14417 tst-gettext2.sh.
14418 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
14419 to run tst-gettext.
14420 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
14421 to run tst-gettext2.
14422 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
14423 to run tst-translit.
14424 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
14425 $(run-program-prefix) to tst-mtrace.sh.
14426 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
14427 to run tst-mtrace.
14428 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
14429 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
14430 $(rtld-installed-name).
14431 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
14432 (rtld_installed_name): Likewise.
14433 (run_program_prefix): New variable. Use it to run wordexp-test.
14434
728e272a
JM
14435 * Makeconfig (ARCH): Remove all definitions.
14436 (machine): Likewise.
14437 [ARCH]: Remove conditional code.
14438 [!objdir]: Give error.
14439 [!objdir] (objpfx): Remove.
14440 [!objdir] (common-objpfx): Likewise.
14441 [!objdir] (common-objdir): Likewise.
14442 * configure.in (config_makefile): Remove. Hardcode Makefile in
14443 AC_CONFIG_FILES call.
14444 * configure: Regenerated.
14445
d528cdcf
JM
14446 [BZ #13888]
14447 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
14448 or TMPDIR.
14449 (testout): Likewise.
14450
135948bd
JM
14451 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
14452 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
14453 $(rtld-installed-name).
14454 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
14455 (rtld_installed_name): Likwise.
14456 (runit): Remove function.
14457 (run_getconf): New variable, Use it for running getconf binary.
14458
38c78296
L
144592012-10-18 H.J. Lu <hongjiu.lu@intel.com>
14460
14461 [BZ #14716]
14462 * string/test-memmem.c (check_result): New function.
14463 (do_one_test): Use it.
14464 (check1): New function.
14465 (test_main): Use it.
14466
d077f65f
MT
144672012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
14468
14469 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
14470
ced52c71
JM
144712012-10-18 Joseph Myers <joseph@codesourcery.com>
14472
14473 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
14474 (_G_LSEEK64): Likewise.
14475 (_G_MMAP64): Likewise.
14476 (_G_FSTAT64): Likewise.
14477 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
14478 (_G_LSEEK64): Likewise.
14479 (_G_MMAP64): Likewise.
14480 (_G_FSTAT64): Likewise.
14481 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
14482 unconditional. Call __mmap64 directly.
14483 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
14484 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
14485 __lseek64 directly.
14486 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
14487 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
14488 __mmap64 directly.
14489 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
14490 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
14491 __lseek64 directly.
14492 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
14493 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
14494 __lseek64 directly.
14495 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
14496 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
14497 __lseek64 directly.
14498 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
14499 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
14500 __fxstat64 directly.
14501 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
14502 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
14503 unconditional.
14504 (freopen64) [!_G_OPEN64]: Remove conditional code.
14505 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
14506 unconditional.
14507 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
14508 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
14509 unconditional.
14510 (ftello64) [!_G_LSEEK64]: Remove conditional code.
14511 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
14512 unconditional.
14513 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
14514 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
14515 unconditional.
14516 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
14517 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
14518 unconditional.
14519 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
14520 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
14521 unconditional.
14522 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
14523 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
14524 unconditional.
14525 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
14526
b741de23
SP
145272012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14528
14529 [BZ #12140]
14530 * manual/memory.texi (Malloc Tunable Parameters): Add note
14531 about free list pointers overwriting some perturb bytes.
14532 Wording suggested by Roland McGrath.
14533
f9b9d9c9
JM
145342012-10-17 Joseph Myers <joseph@codesourcery.com>
14535
14536 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
14537 (lgamma_test): Likewise.
14538 (tgamma_test): Likewise.
14539
172a631a
FW
145402012-10-16 Florian Weimer <fweimer@redhat.com>
14541
14542 [BZ #14700]
14543 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
14544 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
14545
e9f37252
MK
145462012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
14547
14548 * NEWS: Mention BZ #14716.
14549 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
14550 when removing AVAILABLE1_USES_J macro.
14551
d394eb74
L
145522012-10-12 H.J. Lu <hongjiu.lu@intel.com>
14553
14554 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
14555 (__bswap_64): __uint64_t for unsigned 64-bit int.
14556
ca38dc17
AS
145572012-10-12 Andreas Schwab <schwab@linux-m68k.org>
14558
14559 * include/string.h (memmem): Declare libc hidden alias.
14560 * string/memmem.c (memmem): Define libc hidden alias.
14561 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
14562 __read, __close instead of open, read, close.
14563
9a387d1f
L
145642012-10-11 H.J. Lu <hongjiu.lu@intel.com>
14565
ac49ecaf
L
14566 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
14567 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
14568 global and hidden.
14569 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
14570 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
14571 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
14572 Likewise.
14573 (__rawmemchr_sse2): Likewise.
14574 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
14575 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
14576 (__strchr_sse2): Likewise.
14577 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
14578 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
14579 (__strcasecmp_sse2): Likewise.
14580 (__strncasecmp_sse2): Likewise.
14581 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
14582 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
14583 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
14584 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
14585 (__strrchr_sse2): Likewise.
14586 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
14587 ifunc-impl-list.c.
14588 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
14589 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
14590 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
14591 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
14592 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
14593 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
14594 * sysdeps/x86_64/multiarch/memset.S: Likewise.
14595 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14596 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
14597 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
14598 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
14599 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
14600 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
14601 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
14602 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
14603 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
14604 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
14605 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
14606 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
14607 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
14608 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
14609 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
14610 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
14611 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
14612 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
14613 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14614 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
14615 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
14616 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
14617 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
14618
b090e8ea
L
14619 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
14620 global and hidden.
14621 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
14622 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
14623 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
14624 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
14625 Likewise.
14626 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
14627 Likewise.
14628 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
14629 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
14630 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
14631 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
14632 ifunc-impl-list.c.
14633 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
14634 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
14635 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
14636 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
14637 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
14638 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
14639 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
14640 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
14641 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
14642 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
14643 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
14644 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
14645 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
14646 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
14647 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
14648 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14649 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
14650 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
14651 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
14652 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
14653 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14654 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
14655 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
14656 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
14657 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14658 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
14659 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
14660 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
14661 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
14662 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
14663 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
14664 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
14665 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
14666 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
14667 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
14668 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
14669 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
14670 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
14671 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
14672 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
14673 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
14674
11dd4af6
L
14675 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
14676 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
14677 * include/ifunc-impl-list.h: New file.
14678 * misc/ifunc-impl-list.c: Likewise.
14679 * misc/Makefile (routines): Add ifunc-impl-list.
14680 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
14681 * string/test-string.h: Include <ifunc-impl-list.h>.
14682 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
14683 impl_array): New variables.
14684 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
14685 are defined.
14686 (test_init): Call __libc_ifunc_impl_list to initialize
14687 func_list if TEST_IFUNC and TEST_NAME are defined.
14688
9a387d1f
L
14689 * string/Makefile (strop-tests): Add bcopy and bzero.
14690 * string/test-bcopy.c: New file.
14691 * string/test-bzero.c: Likewise.
14692 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
14693 defined.
14694 * string/test-memset.c: Support bzero test if TEST_BZERO is
14695 defined.
14696 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
14697 __libc_memmove.
14698 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
14699 __libc_memset.
14700 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
14701 of memset.
14702
472371b9
JM
147032012-10-10 Joseph Myers <joseph@codesourcery.com>
14704
1e4a9536
JM
14705 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
14706 * configure: Regenerated.
14707
d173d12e
JM
14708 * Makeconfig (+link-static-before-libc): Don't include
14709 $(link-static-libc).
14710
472371b9
JM
14711 * libio/libio.h (_IO_pos_t): Remove.
14712
89a3ad0b
AO
147132012-10-10 Alexandre Oliva <aoliva@redhat.com>
14714
14715 * NEWS: Add note about FIPS mode. Wording suggested by Roland
14716 McGrath.
14717
e7451425
AO
147182012-10-10 Alexandre Oliva <aoliva@redhat.com>
14719
14720 * crypt/crypt-entry.c: Include fips-private.h.
14721 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
14722 * crypt/md5c-test.c (main): Tolerate disabled MD5.
14723 * sysdeps/unix/sysv/linux/fips-private.h: New file.
14724 * sysdeps/generic/fips-private.h: New file, dummy fallback.
14725
4ba74a35
AO
147262012-10-10 Alexandre Oliva <aoliva@redhat.com>
14727
14728 * crypt/crypt-private.h: Include stdbool.h.
14729 (_ufc_setup_salt_r): Return bool.
14730 * crypt/crypt-entry.c: Include errno.h.
14731 (__crypt_r): Return NULL with EINVAL for bad salt.
14732 * crypt/crypt_util.c (bad_for_salt): New.
14733 (_ufc_setup_salt_r): Check that salt is long enough and within
14734 the specified alphabet.
14735 * crypt/badsalttest.c: New file.
14736 * crypt/Makefile (tests): Add it.
14737 ($(objpfx)badsalttest): New.
14738
f96f1242
MK
147392012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
14740
14741 * NEWS: Add entry for BZ #14602.
14742
0e8e0c1c
JM
147432012-10-09 Joseph Myers <joseph@codesourcery.com>
14744
14745 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
14746 type-generic.
14747 * math/libm-test.inc: Update comment listing what functions and
14748 macros are tested.
14749 (isgreater_test): New function.
14750 (isgreaterequal_test): Likewise.
14751 (isless_test): Likewise.
14752 (islessequal_test): Likewise.
14753 (islessgreater_test): Likewise.
14754 (isunordered_test): Likewise.
14755 (main): Call the new functions.
14756
273edc5e
RM
147572012-10-09 Roland McGrath <roland@hack.frob.com>
14758
b8493de0
RM
14759 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
14760 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
14761 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
14762 * sysdeps/i386/configure: Regenerated.
14763 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
14764 * sysdeps/mach/configure: Regenerated.
14765 * sysdeps/mach/hurd/configure: Regenerated.
14766 * sysdeps/powerpc/configure: Regenerated.
14767 * sysdeps/powerpc/powerpc32/configure: Regenerated.
14768 * sysdeps/powerpc/powerpc64/configure: Regenerated.
14769 * sysdeps/s390/s390-32/configure: Regenerated.
14770 * sysdeps/s390/s390-64/configure: Regenerated.
14771 * sysdeps/sh/configure: Regenerated.
14772 * sysdeps/sparc/configure: Regenerated.
14773 * sysdeps/unix/sysv/linux/configure: Regenerated.
14774 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
14775 * sysdeps/x86_64/configure: Regenerated.
14776
273edc5e
RM
14777 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
14778 defined. Don't check if MAP is NULL.
14779
c8450f70
JM
147802012-10-09 Joseph Myers <joseph@codesourcery.com>
14781
14782 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
14783 (_G_stat64): Likewise.
14784 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
14785 (_G_stat64): Likewise.
14786 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
14787 instead of struct _G_stat64.
14788 * libio/fileops.c (mmap_remap_check): Likewise.
14789 (decide_maybe_mmap): Likewise.
14790 (_IO_new_file_seekoff): Likewise.
14791 (_IO_file_stat): Likewise.
14792 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
14793 _G_off64_t.
14794 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
14795 instead of struct _G_stat64.
14796 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
14797
57e605ba
MK
147982012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
14799
14800 [BZ #14602]
14801 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14802 Replace with ...
14803 (CHECK_EOL): New macro.
14804 (two_way_short_needle): Check beginning of haystack for EOL. Use
14805 CHECK_EOL.
14806 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14807 Replace with CHECK_EOL.
14808 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14809 Replace with CHECK_EOL.
14810
ef1bb361
JM
148112012-10-08 Joseph Myers <joseph@codesourcery.com>
14812
14813 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
14814 type-generic.
14815 * math/libm-test.inc: Update comment listing what functions and
14816 macros are tested.
14817 (finite_test): New function.
14818 (isinf_test): Likewise.
14819 (isnan_test): Likewise.
14820 (fpclassify_test): Test subnormal input.
14821 (isfinite_test): Likewise.
14822 (isnormal_test): Likewise.
14823 (main): Call the new functions.
14824
55f11534
JN
148252012-10-08 Jonathan Nieder <jrnieder@gmail.com>
14826
14827 [BZ #14660]
14828 * Makerules (%.dynsym): Force C locale when running
14829 $(OBJDUMP) --dynamic-syms.
14830
1ab29350
AS
148312012-10-08 Andreas Schwab <schwab@linux-m68k.org>
14832
14833 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
14834 <stdint.h>.
14835
f1ecb7ef
DM
148362012-10-06 David S. Miller <davem@davemloft.net>
14837
14838 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
14839 upper 32-bits of the length value in %o2 since we use branch-on-register
14840 tests which consider the entire 64-bit register.
14841
5d41d91a
L
148422012-10-06 H.J. Lu <hongjiu.lu@intel.com>
14843
14844 * string/test-strstr.c (check2): Add a test for page boundary.
14845
3baddb72
DM
148462012-10-05 David S. Miller <davem@davemloft.net>
14847
14848 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
14849 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
14850 file.
14851 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
14852 sysdep_routines.
14853 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
14854 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
14855 and bzero when HWCAP_SPARC_CRYPTO is present.
14856
9cee5585
L
148572012-10-05 H.J. Lu <hongjiu.lu@intel.com>
14858
d7e0dab9
L
14859 [BZ #14602]
14860 * string/test-strstr.c (check2): New function.
14861 (test_main): Call check2.
14862
03759f47
L
14863 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
14864 and bug-strchr1.
14865 * string/bug-strcasestr1.c (do_test): Moved to ...
14866 * string/test-strcasestr.c (check1): Here. New function.
14867 (do_one_test): Break out result checking code into ...
14868 (check_result): This. New function.
14869 (do_one_test): Call check_result.
14870 (test_main): Call check1.
14871 * string/bug-strchr1.c (do_test): Moved to ...
14872 * string/test-strchr.c (check1): Here. New function.
14873 (do_one_test): Break out result checking code into ...
14874 (check_result): This. New function.
14875 (do_one_test): Call check_result.
14876 (test_main): Call check1.
14877 * string/bug-strstr1.c (main): Moved to ...
046f153e 14878 * string/test-strstr.c (check1): Here. New function.
03759f47
L
14879 (do_one_test): Break out result checking code into ...
14880 (check_result): This. New function.
14881 (do_one_test): Call check_result.
14882 (test_main): Call check1.
14883 * string/bug-strcasestr1.c: Removed.
14884 * string/bug-strchr1.c: Likewise.
14885 * string/bug-strstr1.c: Likewise.
14886
53cea63e
L
14887 * elf/Makefile (dl-routines): Add hwcaps.
14888 * elf/dl-support.c (_dl_important_hwcaps): Removed.
14889 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
14890 (_dl_important_hwcaps): Moved to ...
14891 * elf/dl-hwcaps.c: Here. New file.
14892 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
14893
9cee5585 14894 [BZ #14557]
bb859b06
L
14895 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
14896 if IS_IN_rtld isn't defined.
14897
9cee5585
L
14898 * elf/dl-support.c (_dl_sysinfo_map): New.
14899 Include "get-dynamic-info.h" and "setup-vdso.h".
14900 (_dl_non_dynamic_init): Call setup_vdso.
14901 * elf/dynamic-link.h: Don't include <assert.h>.
14902 (elf_get_dynamic_info): Moved to ...
14903 * elf/get-dynamic-info.h: Here. New file.
14904 * elf/dynamic-link.h: Include "get-dynamic-info.h".
14905 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
14906 * elf/setup-vdso.h: Here. New file.
14907 * elf/rtld.c: Include "setup-vdso.h".
14908 (dl_main): Call setup_vdso.
14909
23c31b76
JM
149102012-10-05 Joseph Myers <joseph@codesourcery.com>
14911
28234b07
JM
14912 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
14913 creal in comment listing functions tested. List finite, isinf,
14914 isnan, isless, islessequal, isgreater, isgreaterequal,
14915 islessgreater, isunordered, lgamma_r and pow10 as functions and
14916 macros not tested. Mention which functions not tested are aliases
14917 for other functions. Fix typo. Note that signs of NaNs are not
14918 tested.
14919
23c31b76
JM
14920 * scripts/config.guess: Update from config.git.
14921 * scripts/config.sub: Likewise.
14922
9043e228
RM
149232012-10-04 Roland McGrath <roland@hack.frob.com>
14924
14925 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
14926 * misc/madvise.c (madvise): Renamed to __madvise.
14927 Make madvise a weak alias.
14928 * include/sys/mman.h: Declare __madvise.
14929 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
14930 * sysdeps/unix/syscalls.list
14931 (madvise): Make __madvise the strong name, and madvise a weak alias.
14932 * sysdeps/unix/sysv/linux/syscalls.list
14933 (madvise, mmap): Remove redundant entries.
14934 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
14935 * malloc/malloc.c (mtrim): Likewise.
14936 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
14937
f57f8055
RM
149382012-10-03 Roland McGrath <roland@hack.frob.com>
14939
14940 * sysdeps/mach/hurd/dl-cache.c: File removed.
14941 * config.h.in (USE_LDCONFIG): New #undef.
14942 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
14943 * configure: Regenerated.
14944 * elf/Makefile (dl-routines): Add dl-cache only under
14945 [$(use-ldconfig) = yes].
14946 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
14947 cache on [USE_LDCONFIG].
14948 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
14949 [USE_LDCONFIG].
14950 * elf/rtld.c (dl_main): Likewise.
14951
5bb0c10a
PT
149522012-10-03 Pino Toscano <toscano.pino@tiscali.it>
14953
14954 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
14955 _SC_LEVEL4_CACHE_LINESIZE.
14956
010188c6
RM
149572012-10-03 Roland McGrath <roland@hack.frob.com>
14958
14959 * sysdeps/unix/bsd/confstr.h: File removed.
14960
b6c5ec07
AO
149612012-10-02 Alexandre Oliva <aoliva@redhat.com>
14962
14963 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
14964 sys/sdt-config.h.
14965
408223d4
RM
149662012-10-02 Roland McGrath <roland@hack.frob.com>
14967
14968 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
14969 Make 'mapoff' field ElfW(Off) rather than off_t.
14970
bb9510dc
DL
149712012-10-02 Dmitry V. Levin <ldv@altlinux.org>
14972
fc997c6e
DL
14973 * nscd/Makefile: Remove nscd-cflags and all its users.
14974 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
14975 (CFLAGS-nonlib): Add compiler flags for nscd modules.
14976
bb9510dc
DL
14977 [BZ #10631]
14978 * malloc.c (malloc_printerr): Clarify error message.
14979
05699367
L
149802012-10-02 H.J. Lu <hongjiu.lu@intel.com>
14981
14982 [BZ #14648]
14983 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14984 Set bit_FMA_Usable if FMA is supported.
14985 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
14986 macro.
14987 (bit_FMA4_Usable): Updated.
14988 (index_FMA_Usable): New macro.
14989 (CPUID_FMA): Likewise
14990 (HAS_FMA): Defined with bit_FMA_Usable.
14991
51367701
RM
149922012-10-01 Roland McGrath <roland@hack.frob.com>
14993
14994 * bits/types.h (__swblk_t): Type removed.
14995 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
14996 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
14997 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14998 (__SWBLK_T_TYPE): Likewise.
14999 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15000 (__SWBLK_T_TYPE): Likewise.
15001 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15002 (__SWBLK_T_TYPE): Likewise.
15003 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
15004 (__SWBLK_T_TYPE): Likewise.
15005
4d57bf63 150062012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 15007 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
15008
15009 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
15010 (xdr_mapname): Use YPMAXMAP as maxsize.
15011 (xdr_peername): Use YPMAXPEER as maxsize.
15012 (xdr_keydat): Use YPAXRECORD as maxsize.
15013 (xdr_valdat): Use YPMAXRECORD as maxsize.
15014
93c65d43
RM
150152012-10-01 Roland McGrath <roland@hack.frob.com>
15016
497a03d6
RM
15017 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
15018
93c65d43
RM
15019 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
15020 * csu/init-first.c: ... here.
15021 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
15022 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
15023 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
15024 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
15025 * sysdeps/i386/init-first.c: File removed.
15026 * sysdeps/sh/init-first.c: File removed.
15027
bec749fd
JM
150282012-10-01 Joseph Myers <joseph@codesourcery.com>
15029
15030 [BZ #14645]
15031 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
15032 if x * y might underflow to zero and z is zero.
15033 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15034 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15035 * math/libm-test.inc (min_subnorm_value): New variable.
15036 (fma_test): Add more tests.
15037 (fma_test_towardzero): Likewise.
15038 (fma_test_downward): Likewise
15039 (fma_test_upward): Likewise.
15040 (initialize): Set min_subnorm_value.
15041
8ec5b013
JM
150422012-09-29 Joseph Myers <joseph@codesourcery.com>
15043
15044 [BZ #14638]
15045 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
15046 0 + 0.
15047 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
15048 mode for addition resulting in exact zero.
15049 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
15050 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
15051 exact 0 + 0.
15052 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15053 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15054 * math/libm-test.inc (fma_test): Add more tests.
15055 (fma_test_towardzero): New function.
15056 (fma_test_downward): Likewise.
15057 (fma_test_upward): Likewise.
15058 (main): Call the new functions.
15059
b1fa802e
DM
150602012-09-28 David S. Miller <davem@davemloft.net>
15061
15062 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
15063
d3b9fd9e
RM
150642012-09-28 Roland McGrath <roland@hack.frob.com>
15065
ea4d37b3
RM
15066 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
15067 instead of SIGALRM.
15068
ac51c949
RM
15069 * sysdeps/gnu/_G_config.h: Moved to ...
15070 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
15071 * sysdeps/mach/hurd/_G_config.h: Moved to ...
15072 * sysdeps/generic/_G_config.h: ... here.
15073
28c195f7
RM
15074 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
15075
848917f9
RM
15076 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
15077
6bacf05b
RM
15078 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
15079 Conditionalize target on [libnss_test1.so-version].
15080
91363dbb
RM
15081 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
15082
cc87f7d8
RM
15083 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
15084 (elfobjdir): Move out of conditionals.
15085
b1c608fe
RM
15086 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
15087 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
15088 (__nss_lookup_function): Conditionalize label remove_from_tree on
15089 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 15090
1d9a6d96
DM
150912012-09-28 David S. Miller <davem@davemloft.net>
15092
15093 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
15094 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
15095 file.
15096 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
15097 sysdep_routines.
15098 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
15099 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
15100 when HWCAP_SPARC_CRYPTO is present.
15101
72581615
PT
151022012-09-28 Pino Toscano <toscano.pino@tiscali.it>
15103
15104 * io/tst-mknodat.c: Create a FIFO instead of a socket.
15105
715a900c
JL
151062012-09-28 Andreas Schwab <schwab@linux-m68k.org>
15107
15108 [BZ #6530]
15109 * stdio-common/vfprintf.c (process_string_arg): Revert
15110 2000-07-22 change.
15111
151122011-09-28 Jonathan Nieder <jrnieder@gmail.com>
15113
15114 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
15115 for testcase.
15116 * stdio-common/tst-sprintf.c: Include <locale.h>
15117 (main): Test sprintf's handling of incomplete multibyte
15118 characters.
15119
9bac1d86
L
151202012-09-28 H.J. Lu <hongjiu.lu@intel.com>
15121
15122 * elf/dl-runtime.c (VERSYMIDX): Removed.
15123 * elf/dl-version.c (VERSYMIDX): Likewise.
15124 * elf/do-rel.h (VERSYMIDX): Likewise.
15125 (VALIDX): Likewise.
15126 * elf/dynamic-link.h (VERSYMIDX): Likewise.
15127 * elf/rtld.c (VALIDX): Likewise.
15128 (ADDRIDX): Likewise.
9bac1d86
L
15129 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
15130 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
15131 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
15132 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
15133 (VALIDX): Likewise.
15134 (ADDRIDX): Likewise.
9bac1d86 15135
b31606c0
PT
151362012-09-28 Pino Toscano <toscano.pino@tiscali.it>
15137
15138 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
15139
11541177
JL
151402012-09-28 Dmitry V. Levin <ldv@altlinux.org>
15141
15142 [BZ #11438]
15143 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
15144 to global scope.
15145 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
15146 addresses are in the same scope as 192.0.2/24.
15147 * posix/gai.conf: Document new scope table defaults.
15148
adb26fae
SP
151492012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15150
15151 [BZ #5298]
15152 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
15153 for ftell. Compute offsets from write pointers instead.
15154 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
15155
4573c6b0
SP
151562012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15157
15158 [BZ #14543]
15159 * libio/Makefile (tests): New test case tst-fseek.
15160 * libio/tst-fseek.c: New test case to verify that fseek/ftell
15161 combination works in wide mode.
15162 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
15163 state when the external buffer state changes.
15164
aa9bbfe6
DM
151652012-09-27 David S. Miller <davem@davemloft.net>
15166
15167 [BZ #14376]
15168 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
15169 pass reloc->r_addend in as the 'high' argument to
15170 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
15171
784421e7
DM
15172 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15173
c39bc8b8
PT
151742012-09-28 Pino Toscano <toscano.pino@tiscali.it>
15175
15176 * rt/tst-aio2.c: Include <pthread.h>.
15177 * rt/tst-aio3.c: Likewise.
15178
1ccc2399
SE
151792012-09-27 Steve Ellcey <sellcey@mips.com>
15180
15181 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
15182
31ed4153
L
151832012-09-27 H.J. Lu <hongjiu.lu@intel.com>
15184
25f5f885
L
15185 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
15186 contents on [SHARED].
31ed4153 15187
b7bfe116
MP
151882012-09-26 Marek Polacek <polacek@redhat.com>
15189
15190 [BZ #14530]
15191 [BZ #13741]
15192 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
15193 for C++ and GCC <4.3 as well as for non GCC compilers.
15194
43c4edba
MT
151952012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
15196
15197 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15198
6a1bf82f
RM
151992012-09-25 Roland McGrath <roland@hack.frob.com>
15200
15201 * Makefile.in (all, install): Declare with .PHONY.
15202 Reported by Michael Hope <michael.hope@linaro.org>.
15203
8ad11b9a
TMQMF
152042012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15205
15206 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
15207 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
15208 system header.
15209 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
15210 Likewise.
15211 (sydep_routines): Add the new and the internal functions.
15212 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
15213 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
15214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
15215 (GLIBC_2.17): Add the new function.
15216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
15217 (GLIBC_2.17): Likewise.
15218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
15219 (GLIBC_2.17): Likewise.
15220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
15221 (GLIBC_2.17): Likewise.
15222 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
15223
7e2fca8d
AM
152242012-09-25 Alan Modra <amodra@gmail.com>
15225
15226 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
15227 Add release barrier before setting once_control to say
15228 initialisation is done. Add hints on lwarx. Use macro in
15229 place of isync.
15230 (clear_once_control): Add release barrier.
15231
b87c4b24
JM
152322012-09-25 Joseph Myers <joseph@codesourcery.com>
15233
d032e0d2
JM
15234 [BZ #13629]
15235 * math/s_clog.c (__clog): Handle more values close to |z| = 1
15236 specially.
15237 * math/s_clog10.c (__clog10): Likewise.
15238 * math/s_clog10f.c (__clog10f): Likewise.
15239 * math/s_clog10l.c (__clog10l): Likewise.
15240 * math/s_clogf.c (__clogf): Likewise.
15241 * math/s_clogl.c (__clogl): Likewise.
15242 * math/Makefile (libm-calls): Add x2y2m1.
15243 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
15244 (__x2y2m1): Likewise.
15245 (__x2y2m1l): Likewise.
15246 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
15247 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
15248 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
15249 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
15250 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
15251 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
15252 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
15253 * sysdeps/i386/fpu/libm-test-ulps: Update.
15254 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15255
b87c4b24
JM
15256 [BZ #14621]
15257 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
15258 int as type of variable DEPTH.
15259 (glob): Use size_t instead of int as type of variables NEWCOUNT
15260 and OLD_PATHC.
15261
6d3bf199
LD
152622012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15263
22bf5c17
LD
15264 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
15265 Add s_sincosf-sse2.
15266 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
15267 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
15268 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
15269 macros for using routine as __sincosf_ia32.
15270 Use macro for function declaration and weak_alias.
15271 * sysdeps/i386/fpu/libm-test-ulps: Update.
15272
15273 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
15274 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15275
15276 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
15277 subnormal argument.
15278 * math/s_cexpf.c (__cexpf): Likewise.
15279 * math/s_csinf.c (__csinf): Likewise.
15280 * math/s_csinhf.c (__csinhf): Likewise.
15281 * math/s_ctanf.c (__ctanf): Likewise.
15282 * math/s_ctanhf.c (__ctanhf): Likewise.
15283 * math/s_ccosh.c (__ccoshf): Likewise.
15284 * math/s_cexp.c (__cexpl): Likewise.
15285 * math/s_csin.c (__csin): Likewise.
15286 * math/s_csinh.c (__csinh): Likewise.
15287 * math/s_ctan.c (__ctan): Likewise.
15288 * math/s_ctanh.c (ctanh): Likewise.
15289 * math/s_ccoshl.c (__ccoshl): Likewise.
15290 * math/s_cexpl.c (__cexpl): Likewise.
15291 * math/s_csinl.c (__csinl): Likewise.
15292 * math/s_csinhl.c (__csinhl): Likewise.
15293 * math/s_ctanl.c (__ctanl): Likewise.
15294 * math/s_ctanhl.c (__ctanhl): Likewise.
15295
203e5603
JM
152962012-09-25 Joseph Myers <joseph@codesourcery.com>
15297
15298 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
15299 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
15300 (_IO_off_t): Define to __off_t, not _G_off_t.
15301 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
15302 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
15303 (_IO_wint_t): Define to wint_t, not _G_wint_t.
15304 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
15305 type of __dummy and __dummy2 fields.
15306 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
15307 (_G_ssize_t): Likewise.
15308 (_G_off_t): Likewise.
15309 (_G_pid_t): Likewise.
15310 (_G_uid_t): Likewise.
15311 (_G_wchar_t): Likewise.
15312 (_G_wint_t): Likewise.
15313 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
15314 (_G_ssize_t): Likewise.
15315 (_G_off_t): Likewise.
15316 (_G_pid_t): Likewise.
15317 (_G_uid_t): Likewise.
15318 (_G_wchar_t): Likewise.
15319 (_G_wint_t): Likewise.
15320 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
15321 (_G_ssize_t): Likewise.
15322 (_G_off_t): Likewise.
15323 (_G_pid_t): Likewise.
15324 (_G_uid_t): Likewise.
15325 (_G_wchar_t): Likewise.
15326 (_G_wint_t): Likewise.
15327
9fab36eb
SP
153282012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15329
15330 * malloc/arena.c: Include malloc-sysdep.h.
15331 (shrink_heap): Use check_may_shrink_heap to decide if madvise
15332 is sufficient to shrink the heap or an unmap is needed.
15333 * sysdeps/generic/malloc-sysdep.h: New file. Define
15334 new function check_may_shrink_heap.
15335 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
15336 new function check_may_shrink_heap.
15337
2b4f00d1
SP
153382012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15339
15340 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
15341 comments.
15342
9a9028b1
DL
153432012-09-24 Dmitry V. Levin <ldv@altlinux.org>
15344
57c69bef
DL
15345 * catgets/test-gencat.sh: Add "set -e".
15346 * elf/tst-pathopt.sh: Likewise.
15347 * grp/tst_fgetgrent.sh: Likewise.
15348 * iconvdata/run-iconv-test.sh: Likewise.
15349 * intl/tst-gettext.sh: Likewise.
15350 * intl/tst-gettext2.sh: Likewise.
15351 * intl/tst-gettext4.sh: Likewise.
15352 * intl/tst-gettext6.sh: Likewise.
15353 * intl/tst-translit.sh: Likewise.
15354 * io/ftwtest-sh: Likewise.
15355 * libio/test-freopen.sh: Likewise.
15356 * malloc/tst-mtrace.sh: Likewise.
15357 * posix/globtest.sh: Likewise.
15358 * posix/tst-getconf.sh: Likewise.
15359 * posix/wordexp-tst.sh: Likewise.
15360 * stdio-common/tst-printf.sh: Likewise.
15361 * stdio-common/tst-unbputc.sh: Likewise.
15362 * stdlib/tst-fmtmsg.sh: Likewise.
15363 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
15364 * catgets/Makefile: Do not specify -e option when running
15365 testsuite shell scripts.
15366 * elf/Makefile: Likewise.
15367 * grp/Makefile: Likewise.
15368 * iconvdata/Makefile: Likewise.
15369 * intl/Makefile: Likewise.
15370 * io/Makefile: Likewise.
15371 * libio/Makefile: Likewise.
15372 * malloc/Makefile: Likewise.
15373 * posix/Makefile: Likewise.
15374 * stdio-common/Makefile: Likewise.
15375 * stdlib/Makefile: Likewise.
15376 * sysdeps/x86_64/Makefile: Likewise.
15377
9a9028b1
DL
15378 * io/ftwtest-sh: Add copyright header.
15379 * posix/globtest.sh: Likewise.
15380 * posix/tst-getconf.sh: Likewise.
15381 * posix/wordexp-tst.sh: Likewise.
15382 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
15383
ced6f16e
L
153842012-09-24 H.J. Lu <hongjiu.lu@intel.com>
15385
94b32c39
L
15386 [BZ #13679]
15387 * Makeconfig (+link): Defined as $(+link-static) if
15388 $(build-shared) isn't yes.
15389 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
15390 isn't yes.
15391 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
15392
189e935b
L
15393 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
15394
ced6f16e
L
15395 [BZ #14562]
15396 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
15397 new chunk size with MALLOC_ALIGN_MASK.
15398
a9f8e53a
JM
153992012-09-24 Joseph Myers <joseph@codesourcery.com>
15400
15401 [BZ #5044]
15402 * stdio-common/printf_fphex.c: Include <stdbool.h> and
15403 <rounding-mode.h>.
15404 (__printf_fphex): Determine rounding using get_rounding_mode and
15405 round_away.
15406 * stdio-common/tst-printf-round.c (struct hex_test): New
15407 structure.
15408 (hex_tests): New variable.
15409 (test_hex_in_one_mode): New function.
15410 (do_test): Also run tests for hex float output.
15411
43153109
JM
154122012-09-21 Joseph Myers <joseph@codesourcery.com>
15413
15414 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
15415 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
15416 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
15417 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
15418 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
15419 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
15420 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
15421 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
15422
8a26625d
JM
154232012-09-20 Joseph Myers <joseph@codesourcery.com>
15424
15425 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
15426 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
15427 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
15428 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
15429
f3fd569c
DL
154302012-09-19 Dmitry V. Levin <ldv@altlinux.org>
15431
15432 [BZ #14579]
15433 * elf/rtld.c (dl_main): Limit the check for self loading to normal
15434 mode only.
15435 * elf/tst-rtld-load-self.sh: New test.
15436 * elf/Makefile: Run it.
15437
63bbedd4
JM
154382012-09-18 Joseph Myers <joseph@codesourcery.com>
15439
15440 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
15441 (tst-writev-ENV): Remove.
15442 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
15443
626f8b6a
CM
154442012-09-17 Chris Metcalf <cmetcalf@tilera.com>
15445
15446 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
15447
b7aaa4d6
JM
154482012-09-17 Joseph Myers <joseph@codesourcery.com>
15449
15450 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
15451 unconditional.
15452 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
15453 Likewise.
15454 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
15455 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
15456 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
15457 Likewise.
15458
65513990
L
154592012-09-14 H.J. Lu <hongjiu.lu@intel.com>
15460
15461 [BZ #14587]
15462 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
15463 * config.make.in (have-cpp-asm-debuginfo): Removed.
15464 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
15465 * configure: Regenerated.
15466
784761be
JM
154672012-09-14 Joseph Myers <joseph@codesourcery.com>
15468
15469 [BZ #5044]
15470 * stdio-common/printf_fp.c: Include <stdbool.h> and
15471 <rounding-mode.h>.
15472 (___printf_fp): Determine rounding using get_rounding_mode and
15473 round_away.
15474 * stdio-common/tst-printf-round.c: New file.
15475 * stdio-common/Makefile (tests): Add tst-printf-round.
15476 (link-libm): New variable.
15477 ($(objpfx)tst-printf-round): Depend in $(link-libm).
15478
9503345f
L
154792012-09-13 H.J. Lu <hongjiu.lu@intel.com>
15480
15481 [BZ #14576]
15482 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
15483 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
15484 Likewise.
15485 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
15486 Likewise.
15487
ad35fc00
JM
154882012-09-13 Joseph Myers <joseph@codesourcery.com>
15489
15490 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
15491 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15492 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15493 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15494
6c9b0f68
JM
154952012-09-12 Joseph Myers <joseph@codesourcery.com>
15496
15497 [BZ #14518]
15498 * include/rounding-mode.h: New file.
15499 * sysdeps/generic/get-rounding-mode.h: Likewise.
15500 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
15501 * stdlib/strtod_l.c: Include <rounding-mode.h>.
15502 (MAX_VALUE): New macro.
15503 (MIN_VALUE): Likewise.
15504 (overflow_value): New function.
15505 (underflow_value): Likewise.
15506 (round_and_return): Use overflow_value and underflow_value to
15507 determine return values in overflow and underflow cases. Use
15508 round_away to determine rounding depending on rounding mode.
15509 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
15510 determine return values in overflow and underflow cases.
15511 * stdlib/tst-strtod-round.c: Include <fenv.h>.
15512 (struct test_results): New structure.
15513 (struct test): Use struct test_results to store expected results
15514 for all rounding modes.
15515 (TEST): Include expected results for all rounding modes.
15516 (test_in_one_mode): New function.
15517 (do_test): Use test_in_one_mode to compute and check results.
15518 Check results for all rounding modes.
15519 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
15520 $(link-libm).
15521
19fcedd5
AM
155222012-12-09 Allan McRae <allan@archlinux.org>
15523
1e9d84cd 15524 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 15525
8bbfd2f1
JM
155262012-09-11 Joseph Myers <joseph@codesourcery.com>
15527
15528 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
15529 (_G_int32_t): Likewise.
15530 (_G_uint16_t): Likewise.
15531 (_G_uint32_t): Likewise.
15532 (_G_HAVE_BOOL): Likewise.
15533 (_G_HAVE_ATEXIT): Likewise.
15534 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
15535 (_G_HAVE_IO_FILE_OPEN): Likewise.
15536 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
15537 (_G_int32_t): Likewise.
15538 (_G_uint16_t): Likewise.
15539 (_G_uint32_t): Likewise.
15540 (_G_HAVE_BOOL): Likewise.
15541 (_G_HAVE_ATEXIT): Likewise.
15542 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
15543 (_G_HAVE_IO_FILE_OPEN): Likewise.
15544 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
15545 (_G_int32_t): Likewise.
15546 (_G_uint16_t): Likewise.
15547 (_G_uint32_t): Likewise.
15548 (_G_HAVE_BOOL): Likewise.
15549 (_G_HAVE_ATEXIT): Likewise.
15550 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
15551 (_G_HAVE_IO_FILE_OPEN): Likewise.
15552
b1dc5912
L
155532012-09-11 H.J. Lu <hongjiu.lu@intel.com>
15554
15555 * csu/libc-tls.c: Update copyright years.
15556
0e886ef9
JM
155572012-09-10 Joseph Myers <joseph@codesourcery.com>
15558
28361c5e
JM
15559 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
15560 [!_G_USING_THUNKS]: Remove conditional code.
15561 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
15562 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
15563
0e886ef9
JM
15564 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
15565 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
15566 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15567 (_G_VTABLE_LABEL_PREFIX): Likewise.
15568 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15569 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15570 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15571 (_G_VTABLE_LABEL_PREFIX): Likewise.
15572 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
15573 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15574 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15575 (_G_VTABLE_LABEL_PREFIX): Likewise.
15576 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
15577
bcba7aa2
L
155782012-09-10 H.J. Lu <hongjiu.lu@intel.com>
15579
15580 * libio/Makefile: Include ../Makeconfig before tests.
15581 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
15582 only if $(build-shared) is yes.
15583
06585ee8
L
15584 * iconv/gconv_db.c: Update copyright years.
15585
80ccd52c
LD
155862012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15587
15588 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
15589 unwind info if defined PIC. Fix special cases description.
15590 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
15591
15592 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
15593 DP_HI_MASK entry.
15594 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
15595
691bc9c1
L
155962012-09-07 H.J. Lu <hongjiu.lu@intel.com>
15597
3d9b46b3
L
15598 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
15599
de2139a9
L
15600 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
15601 is NULL.
15602
5ca78dd0
L
15603 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
15604 (LDLIBS-tst-chk4): This.
15605 (LDFLAGS-tst-chk5): Renamed to ...
15606 (LDLIBS-tst-chk5): This.
15607 (LDFLAGS-tst-chk6): Renamed to ...
15608 (LDLIBS-tst-chk6): This.
15609 (LDFLAGS-tst-lfschk4): Renamed to ...
15610 (LDLIBS-tst-lfschk4): This.
15611 (LDFLAGS-tst-lfschk5): Renamed to ...
15612 (LDLIBS-tst-lfschk5): This.
15613 (LDFLAGS-tst-lfschk6): Renamed to ...
15614 (LDLIBS-tst-lfschk6): This.
15615
691bc9c1
L
15616 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
15617 on $(common-objpfx)soversions.mk.
15618
65cafb1c
JM
156192012-09-07 Joseph Myers <joseph@codesourcery.com>
15620
15621 [BZ #10014]
15622 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
15623 example host name.
15624
c78ab094
SP
156252012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
15626
15627 * malloc/arena.c (arena_get_retry): New function that gets
15628 another arena for the caller to try its request on.
15629 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
15630 current arena cannot fulfill the request.
15631 (__libc_memalign): Likewise.
15632 (__libc_memalign): Likewise.
15633 (__libc_pvalloc): Likewise.
15634 (__libc_calloc): Likewise.
15635
01f49f59
JT
156362012-09-05 John Tobey <john.tobey@gmail.com>
15637
15638 [BZ #13542]
15639 * manual/arith.texi (Operations on Complex): Fix description
15640 of carg branch cut.
15641
4c23fed5
JM
156422012-09-06 Joseph Myers <joseph@codesourcery.com>
15643
1d3c8572
JM
15644 [BZ #10014]
15645 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
15646 host name.
15647
4c23fed5
JM
15648 [BZ #10038]
15649 * manual/memory.texi (Memory): Make order of menu items match
15650 order of sections.
15651
04570aaa
L
156522012-09-06 H.J. Lu <hongjiu.lu@intel.com>
15653
15654 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
15655 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
15656 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
15657
b80af2f4
L
156582012-09-06 H.J. Lu <hongjiu.lu@intel.com>
15659
15660 * csu/libc-tls.c (static_dtv): Renamed to ...
15661 (_dl_static_dtv): This. Make it global.
15662 (_dl_initial_dtv): Removed.
15663 (__libc_setup_tls): Updated.
15664 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
15665 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
15666 DL_INITIAL_DTV.
15667
2abe9f15
PM
156682012-09-06 Petr Machata <pmachata@redhat.com>
15669
15670 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
15671 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
15672 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
15673 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
15674
0948c3af
L
156752012-09-06 H.J. Lu <hongjiu.lu@intel.com>
15676
15677 [BZ #14545]
15678 * csu/libc-tls.c (_dl_initial_dtv): New variable.
15679 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
15680 freeing dtv[-1].
15681
a5055ad1
L
156822012-09-06 H.J. Lu <hongjiu.lu@intel.com>
15683
15684 [BZ #14544]
15685 * Makeconfig (link-static-before-libc): Replace $(+prector)
15686 with $(+prectorT).
15687 (link-static-after-libc): Replace $(+postctor) with
15688 $(+postctorT).
15689 (link-bounded): Replace $(+prector)/$(+postctor) with
15690 $(+prectorT)/$(+postctorT).
15691 (+prectorT): New macro.
15692 (+postctorT): Likewise.
15693
ed8c2ecd
JM
156942012-09-06 Joseph Myers <joseph@codesourcery.com>
15695
15696 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
15697 (round_str): Handle values above the maximum for IBM long double
15698 as inexact.
15699 * stdlib/tst-strtod-round.c (tests): Regenerated.
15700
14c996c8
AK
157012012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15702
15703 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
15704 assembler flag.
15705 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
15706 zarch_nohighgprs around the zarch optimized routines.
15707 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
15708 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
15709 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
15710 for zarch.
15711
430d6ce6
DM
157122012-09-05 David S. Miller <davem@davemloft.net>
15713
15714 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15715
ff04dda4
DM
15716 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
15717 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
15718 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
15719 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
15720 entries.
15721
24d4e01b
AO
157222012-09-05 Alexandre Oliva <aoliva@redhat.com>
15723
15724 * malloc/arena.c: Fold copyright years.
15725 * malloc/mcheck.c, malloc/memusage.c: Likewise.
15726
61d58174
AO
157272012-09-05 Alexandre Oliva <aoliva@redhat.com>
15728
15729 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
15730
20196a5e
AO
157312012-09-05 Alexandre Oliva <aoliva@redhat.com>
15732
15733 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
15734
5c447383
AO
157352012-09-05 Alexandre Oliva <aoliva@redhat.com>
15736
15737 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
15738 change internal state upon failure.
15739
fad64255
AO
157402012-09-05 Alexandre Oliva <aoliva@redhat.com>
15741
15742 * malloc/mcheck.c (mcheck_check_all): Fix typo.
15743 * malloc/memusage.c (mmap): Likewise.
15744 (mmap64, mremap): Likewise. Adjust name in comment.
15745
1ffb8c90
SP
157462012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15747
15748 * libio/fileops.c: Fix typos in comments.
15749 * libio/oldfileops.c: Likewise.
15750 * libio/wfileops.c: Likewise.
15751
6ef9cc37
SP
157522012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15753
15754 [BZ #1349]
15755 * malloc/Makefile (tests): Add tst-malloc-usable test case.
15756 (tst-malloc-usable-ENV): Set environment for test case.
15757 * malloc/hooks.c (malloc_check_get_size): New function to get
15758 requested size.
15759 * malloc/malloc.c (musable): Use malloc_check_get_size.
15760 * malloc/tst-malloc-usable.c: New test case.
15761
4d038ae3
AS
157622012-09-05 Andreas Schwab <schwab@linux-m68k.org>
15763
15764 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
15765
c4e85184
AM
157662012-09-05 Allan McRae <allan@archlinux.org>
15767
b9dafc56 15768 [BZ #13966]
c4e85184
AM
15769 * configure.in (CXX_SYSINCLUDES): Use compiler output to
15770 determine header location.
15771 * configure: Regenerated.
15772
e1343020
AS
157732012-09-05 Andreas Schwab <schwab@linux-m68k.org>
15774
15775 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
15776 float format.
15777 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
15778 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
15779 format.
e1343020
AS
15780 (test): Regenerate.
15781
0a9f1987
DM
157822012-09-04 David S. Miller <davem@davemloft.net>
15783
15784 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
15785 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
15786 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
15787
29237804
FW
157882012-09-04 Florian Weimer <fweimer@redhat.com>
15789
15790 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
15791 failures.
15792
edb3cb88
FW
15793 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
15794
60160d83
JM
157952012-09-04 Joseph Myers <joseph@codesourcery.com>
15796
15797 [BZ #9914]
15798 * libio/iogetdelim.c: Include <limits.h>.
15799 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
15800 + len + 1 would overflow.
15801
bcd6c8dc
AJ
158022012-09-03 Andreas Jaeger <aj@suse.de>
15803
15804 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15805 * sysdeps/i386/fpu/libm-test-ulps: Update.
15806
4ffffbd2
LD
158072012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15808
15809 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
15810 Add s_sinf-sse2, s_conf-sse2.
15811
15812 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
15813 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
15814 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
15815 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
15816
15817 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
15818 for using routine as __sinf_ia32.
15819 Use macro for function declaration and weak_alias.
15820 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
15821 for using routine as __cosf_ia32.
15822 Use macro for function declaration and weak_alias.
15823
15824 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
15825 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
15826
15827 * sysdeps/x86_64/fpu/s_sinf.S: New file.
15828 * sysdeps/x86_64/fpu/s_cosf.S: New file.
15829 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15830
15831 * math/libm-test.inc (cos_test): Add more test cases.
15832 (sin_test): Likewise.
15833 (sincos_test): Likewise.
15834
511fa286
AK
158352012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15836
15837 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
15838 (IFUNC_RESOLVE): Make pointers to the specialized implementations
15839 hidden.
15840 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
15841
5f30cfec
L
158422012-09-02 H.J. Lu <hongjiu.lu@intel.com>
15843
15844 [BZ #14538]
15845 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
15846 first element of the GOT.
15847 (elf_machine_load_address): Return the difference between
15848 the runtime address of _DYNAMIC and elf_machine_dynamic ().
15849
0786794f
AM
158502012-09-01 Allan McRae <allan@archlinux.org>
15851
5f30cfec
L
15852 [BZ #13412]
15853 * configure.in (AWK): Require gawk version 3.0 or later.
15854 * configure: Regenerated.
0786794f 15855
26889eac
JM
158562012-09-01 Joseph Myers <joseph@codesourcery.com>
15857
15858 * sysdeps/unix/sysv/linux/kernel-features.h
15859 (__ASSUME_POSIX_CPU_TIMERS): Remove.
15860 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15861 [__NR_clock_getres]: Make code unconditional.
15862 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
15863 (clock_getcpuclockid): Remove code left unreachable by removal of
15864 conditionals.
15865 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
15866 code unconditional.
15867 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
15868 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
15869 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
15870 Make code unconditional.
15871 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
15872 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
15873 * sysdeps/unix/sysv/linux/clock_settime.c
15874 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
15875 conditional code.
15876 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
15877 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
15878
d22e28b0
L
158792012-08-29 H.J. Lu <hongjiu.lu@intel.com>
15880
15881 [BZ #14476]
15882 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
15883 scripts/test-installation.pl.
15884
15885 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
15886 and $ld_so_version if it is set.
15887
050af9c4
SP
158882012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15889
15890 [BZ #14516]
15891 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
15892 failure if reading from procfs failed.
15893 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
15894
ad845c0b
JM
158952012-08-27 Joseph Myers <joseph@codesourcery.com>
15896
15897 * sysdeps/unix/sysv/linux/kernel-features.h
15898 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
15899 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
15900 Remove conditional code.
15901 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15902 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
15903 Remove conditional code.
15904 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15905 * sysdeps/unix/sysv/linux/i386/fxstat.c
15906 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
15907 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15908 * sysdeps/unix/sysv/linux/i386/fxstatat.c
15909 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
15910 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15911 * sysdeps/unix/sysv/linux/i386/lxstat.c
15912 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
15913 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15914 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
15915 Remove conditional code.
15916 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15917 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
15918 Remove conditional code.
15919 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15920 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
15921 <kernel-features.h>.
15922 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
15923 Remove.
15924 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
15925 Remove conditional code.
15926 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15927 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
15928 Remove conditional.
15929
5dbf56af
MF
159302012-08-27 Mike Frysinger <vapier@gentoo.org>
15931
15932 [BZ #5400]
15933 * NEWS: Add fixed bug number.
15934
d6e70f43
JM
159352012-08-27 Joseph Myers <joseph@codesourcery.com>
15936
7efb4737
JM
15937 [BZ #14519]
15938 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
15939 underflowing exponent in case of negative sign.
15940 * stdlib/tst-strtod-round-data: Add more tests.
15941 * stdlib/tst-strtod-round.c (tests): Regenerated.
15942
af92131a
JM
15943 [BZ #3479]
15944 * stdlib/strtod_l.c (NDIG): Remove.
15945 (HEXNDIG): Likewise.
15946 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
15947 smallest representable value.
15948 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
15949 lie within an exact representation of 1/2 ulp of the result.
15950 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
15951 unconditionally.
15952 (TENS_P9_IDX): Define unconditionally.
15953 (TENS_P9_SIZE): Likewise.
15954 (TENS_P10_IDX): Likewise.
15955 (TENS_P10_SIZE): Likewise.
15956 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
15957 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
15958 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
15959 entries for 10^2^13 and 10^2^14.
15960 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
15961 (TENS_P13_IDX): Define.
15962 (TENS_P13_SIZE): Likewise.
15963 (TENS_P14_IDX): Likewise.
15964 (TENS_P14_SIZE): Likewise.
15965 (_fpioconst_pow10): Change array size to
15966 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
15967 unconditional.
15968 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
15969 1024]: Add entries for 10^2^13 and 10^2^14.
15970 [LAST_POW10 > _LAST_POW10]: Remove #error.
15971 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
15972 (_fpioconst_pow10): Change array size to
15973 FPIOCONST_POW10_ARRAY_SIZE.
15974 * stdlib/gen-fpioconst.c: New file.
15975 * stdlib/gen-tst-strtod-round.c: Likewise.
15976 * stdlib/tst-strtod-round-data: Likewise.
15977 * stdlib/tst-strtod-round.c: Likewise.
15978 * stdlib/Makefile (tests): Add tst-strtod-round.
15979
d6e70f43
JM
15980 [BZ #14459]
15981 * stdlib/strtod_l.c: Include <stdint.h>.
15982 (NDEBUG): Do not define.
15983 (round_and_return): Change EXPONENT parameter to type intmax_t.
15984 Rearrange calculations to avoid internal overflow possibilities.
15985 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
15986 Rearrange calculations to avoid internal overflow possibilities.
15987 Assert that number fits inside MPNSIZE limbs.
15988 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
15989 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
15990 calculations and add assertions to avoid internal overflow
15991 possibilities. Add casts to avoid signed/unsigned operations.
15992 * stdlib/tst-strtod-overflow.c: New file.
15993 * stdlib/Makefile (tests): Add tst-strtod-overflow.
15994
1f529f7d
MP
159952012-08-25 Marek Polacek <polacek@redhat.com>
15996
15997 * time/time.h: Fix some typos in comments.
15998
59a629f1
RM
159992012-08-23 Roland McGrath <roland@hack.frob.com>
16000
16001 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
16002 * posix/tst-rfc3484-2.c: Likewise.
16003 * posix/tst-rfc3484-3.c: Likewise.
16004
d3bafbc9
SM
160052012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
16006
16007 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
16008 (EF_ARM_ABI_FLOAT_HARD): Likewise.
16009
4efcc022
JM
160102012-08-23 Joseph Myers <joseph@codesourcery.com>
16011
16012 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
16013 #include of fxstatat64.c.
16014
3cc3ef96
RM
160152012-08-22 Roland McGrath <roland@hack.frob.com>
16016
f04e2132
RM
16017 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
16018 * shadow/getspent_r.c: Likewise.
16019 * shadow/getspnam.c: Likewise.
16020 * shadow/getspnam_r.c: Likewise.
16021 * gshadow/getsgent.c: Likewise.
16022 * gshadow/getsgent_r.c: Likewise.
16023 * gshadow/getsgnam.c: Likewise.
16024 * gshadow/getsgnam_r.c: Likewise.
16025 * inet/getnetbyad.c: Likewise.
16026 * inet/getnetbyad_r.c: Likewise.
16027 * inet/getnetbynm.c: Likewise.
16028 * inet/getnetbynm_r.c: Likewise.
16029 * inet/getnetent.c: Likewise.
16030 * inet/getnetent_r.c: Likewise.
16031 * inet/getproto.c: Likewise.
16032 * inet/getproto_r.c: Likewise.
16033 * inet/getprtent.c: Likewise.
16034 * inet/getprtent_r.c: Likewise.
16035 * inet/getprtname.c: Likewise.
16036 * inet/getprtname_r.c: Likewise.
16037 * inet/getrpcbyname.c: Likewise.
16038 * inet/getrpcbyname_r.c: Likewise.
16039 * inet/getrpcbynumber.c: Likewise.
16040 * inet/getrpcbynumber_r.c: Likewise.
16041 * inet/getrpcent.c: Likewise.
16042 * inet/getrpcent_r.c: Likewise.
16043 * inet/getaliasent.c: Likewise.
16044 * inet/getaliasent_r.c: Likewise.
16045 * inet/getaliasname.c: Likewise.
16046 * inet/getaliasname_r.c: Likewise.
16047 * nscd/getgrgid_r.c: Likewise.
16048 * nscd/getgrnam_r.c: Likewise.
16049 * nscd/gethstbyad_r.c: Likewise.
16050 * nscd/gethstbynm3_r.c: Likewise.
16051 * nscd/getpwnam_r.c: Likewise.
16052 * nscd/getpwuid_r.c: Likewise.
16053 * nscd/getsrvbynm_r.c: Likewise.
16054 * nscd/getsrvbypt_r.c: Likewise.
16055 * nscd/gai.c: Likewise.
16056
c53d909c
RM
16057 * configure.in (build_nscd): New substituted variable, set
16058 by --disable-build-nscd and defaults to $use_nscd.
16059 * configure: Regenerated.
16060 * config.make.in (build-nscd): New substituted variable.
16061 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
16062 Change conditional to require [$(build-nscd) = yes] as well.
16063 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
16064
3cc3ef96
RM
16065 [BZ# 13696]
16066 * configure.in (use_nscd): New substituted variable, set by
16067 --disable-nscd. If enabled, define USE_NSCD.
16068 * configure: Regenerated.
16069 * config.h.in: Add USE_NSCD.
16070 * config.make.in (use-nscd): New substituted variable.
16071 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
16072 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
16073 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
16074 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
16075 (CFLAGS-getgrnam_r.c): Likewise.
16076 (CFLAGS-initgroups.c): Likewise.
16077 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
16078 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
16079 Variables removed.
16080 * inet/getnetgrent_r.c
16081 (nscd_setnetgrent): New function, broken out of ...
16082 (setnetgrent): ... here. Call it.
16083 (innetgr): Conditionalize nscd bits on [USE_NSCD].
16084 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
16085 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
16086 * nscd/Makefile (routines, aux): Move definitions after include of
16087 Makeconfig. Conditionalize on [$(use-nscd) != no].
16088 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
16089 Conditionalize on [USE_NSCD].
16090 (is_nscd, nscd_init_cb): Likewise.
16091 (nss_load_library): Conditionalize init callback on [USE_NSCD].
16092 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
16093 * nss/nss_db/db-init.c: Likewise.
16094 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
16095 [USE_NSCD].
16096 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
16097 (make_request): Use it.
16098 (cache_valid_p): New function.
16099 (__check_pf): Use it.
16100 * NEWS: Add item for --disable-nscd.
16101
07e51550
DL
161022012-08-22 Dmitry V. Levin <ldv@altlinux.org>
16103
16104 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
16105 to support sed >= 4.2.1-20-ga9bf076.
16106 * configure: Regenerated.
16107
35a5b08b
RM
161082012-08-22 Roland McGrath <roland@hack.frob.com>
16109
16110 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
16111 Conditionalize whole body on [IREL].
16112
8479f23a
JL
161132012-08-22 Jeff Law <law@redhat.com>
16114
16115 [BZ #14505]
16116 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
16117 if the family is PF_UNSPEC.
16118
48da0b21
MF
161192012-08-22 Mike Frysinger <vapier@gentoo.org>
16120
16121 * Makerules (lib-version): Rename from V.
16122 (install-lib-nosubdir): Change V to lib-version.
16123
15d0da8c
WS
161242012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
16125
16126 [BZ #14252]
16127 * powerpc32/power6/wcschr.c: New file.
16128 * powerpc32/power6/wcscpy.c: New file.
16129 * powerpc32/power6/wcsrchr.c: New file.
16130 * powerpc64/power6/wcschr.c: New file.
16131 * powerpc64/power6/wcscpy.c: New file.
16132 * powerpc64/power6/wcsrchr.c: New file.
16133
bcca0895
MK
161342012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
16135
16136 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
16137 (two_way_short_needle): Use it.
5a4aaa33
RM
16138 * string/strstr.c (AVAILABLE1_USES_J): Define.
16139 * string/strcasestr.c: Likewise.
99677e57
MK
16140
16141 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
16142 array references.
16143 * string/strcasestr.c (TOLOWER): Make side-effect safe.
16144
400726de
MK
16145 [BZ #11607]
16146 * NEWS: Add an entry.
16147 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
16148 define their defaults.
16149 (two_way_short_needle): Detect end-of-string on-the-fly.
16150 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
16151 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
16152 * string/bug-strcasestr1.c: New test.
16153 * string/Makefile: Run it.
16154
20a71f2c
MK
161552012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
16156
16157 [BZ #11607]
16158 * string/str-two-way.h (two_way_short_needle): Optimize matching of
16159 the first character.
16160
21ad0558
RM
161612012-08-21 Roland McGrath <roland@hack.frob.com>
16162
16163 * csu/elf-init.c (__libc_csu_irel): Function removed.
16164 * csu/libc-start.c (apply_irel): New function.
16165 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
16166
0e1d9911
JM
161672012-08-21 Joseph Myers <joseph@codesourcery.com>
16168
16169 * sysdeps/unix/sysv/linux/kernel-features.h
16170 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
16171 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
16172 <kernel-features.h>.
16173 [__NR_fadvise64_64]: Make code unconditional.
16174 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
16175 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
16176 !__NR_fadvise64_64)]: Likewise.
16177 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
16178 !__NR_fadvise64_64))]: Likewise.
16179 [__NR_fadvise64]: Make code unconditional.
16180 [!__NR_fadvise64]: Remove conditional code.
16181 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
16182 <kernel-features.h>.
16183 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16184 unconditional.
16185 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16186 conditional code.
16187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
16188 not include <kernel-features.h>.
16189 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16190 unconditional.
16191 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16192 conditional code.
16193 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
16194 include <kernel-features.h>.
16195 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16196 unconditional.
16197 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16198 conditional code.
16199
14a50c9d
WS
162002012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
16201
16202 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
16203 slight instruction rearrangements per scrollpipe analysis.
16204 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
16205
c0f4faf0
RM
162062012-08-20 Roland McGrath <roland@hack.frob.com>
16207
696da859
RM
16208 * manual/syslog.texi (syslog; vsyslog, closelog):
16209 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
16210 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
16211
c0f4faf0
RM
16212 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
16213 DSOCAPS to match condition on defining it.
16214
348363b2
JM
162152012-08-20 Joseph Myers <joseph@codesourcery.com>
16216
a35cbf28
JM
16217 * sysdeps/unix/sysv/linux/kernel-features.h
16218 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
16219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
16220 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16221 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
16223 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16224 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
16226 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16227 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16228
445f7ecd
JM
16229 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
16230 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
16231
348363b2
JM
16232 * sysdeps/unix/sysv/linux/kernel-features.h
16233 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
16234 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
16235 unconditional.
16236 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16237 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
16238 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
16239 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16240 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
16241 Make code unconditional.
16242 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16243 (__mmap64) [!__NR_mmap2]: Likewise.
16244 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
16245 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
16246 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16247 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
16248 [__NR_mmap2]: Make code unconditional.
16249 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16250 (__mmap64) [!__NR_mmap2]: Likewise.
16251
bc5bc0e5
AK
162522012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16253
16254 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
16255
88d506de
AJ
162562012-08-18 Andreas Jaeger <aj@suse.de>
16257
16258 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
16259
493387d2
MF
162602012-08-18 Mike Frysinger <vapier@gentoo.org>
16261
16262 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
16263 * include/unistd.h (__have_sock_cloexec): Likewise.
16264 (__have_pipe2): Likewise.
16265 (__have_dup3): Likewise.
16266
a277af22
MF
162672012-08-18 Mike Frysinger <vapier@gentoo.org>
16268
16269 [BZ #9685]
16270 * include/unistd.h (__have_pipe2): Change define into an extern int.
16271 (__have_dup3): Likewise.
16272 * socket/have_sock_cloexec.c: Include fcntl.h.
16273 (__have_pipe2): New variable.
16274 (__have_dup3): Likewise.
16275
fdab8fd3
MF
162762012-08-17 Mike Frysinger <vapier@gentoo.org>
16277
16278 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
16279
31035e80
MP
162802012-08-17 Marek Polacek <polacek@redhat.com>
16281
16282 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
16283 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
16284
3bd9e993
RM
162852012-08-17 Roland McGrath <roland@hack.frob.com>
16286
c91c505f
RM
16287 * configure.in: Add AC_SUBST for sysheaders.
16288 * configure: Regenerated.
16289 * config.make.in (sysheaders): New substituted variable.
16290
7c6f9d53
RM
16291 * sysdeps/unix/mkfifo.c: Moved ...
16292 * sysdeps/posix/mkfifo.c: ... here.
16293 * sysdeps/unix/mkfifoat.c: Moved ...
16294 * sysdeps/posix/mkfifoat.c: ... here.
16295
16296 * sysdeps/unix/utime.c: Moved ...
16297 * sysdeps/posix/utime.c: ... here.
16298
16299 * sysdeps/unix/time.c: Moved ...
16300 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
16301 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
16302 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
16303
16304 * sysdeps/unix/nice.c: Moved ...
16305 * sysdeps/posix/nice.c: ... here.
16306
16307 * sysdeps/unix/alarm.c: Moved ...
16308 * sysdeps/posix/alarm.c: ... here.
16309
3bd9e993
RM
16310 * intl/Makefile ($(codeset_mo)): Depend on the input file.
16311
d1f09384
JL
163122012-08-17 Jeff Law <law@redhat.com>
16313
16314 * intl/Makefile (codeset_mo): New variable.
16315 ($(codeset_mo)): New target.
16316 (tst-codeset.out): Depend on that. Remove explicit rule.
16317 (tst-gettext3.out, tst-gettext5.out): Likewise.
16318 (LOCPATH-ENV, tst-codeset-ENV): New variables.
16319 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
16320 * intl/tst-codeset.sh: Remove.
16321 * intl/tst-gettext3.sh: Likewise.
16322 * intl/tst-gettext5.sh: Likewise.
16323
2ae1ae5c
RM
163242012-08-17 Roland McGrath <roland@hack.frob.com>
16325
c31fdb83
RM
16326 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
16327 * sysdeps/unix/syscalls.list: ... here.
16328
a0844057
RM
16329 * sysdeps/posix/getaddrinfo.c
16330 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
16331 (gaiconf_init, gaiconf_reload): Use them.
16332 [!_STATBUF_ST_NSEC]
16333 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
16334 Define using time_t rather than struct timespec.
16335
750c1f2a
RM
16336 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
16337 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
16338 Macros removed.
16339 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
16340 [!NO_THREADS].
16341 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
16342 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
16343 Likewise.
16344
2ae1ae5c
RM
16345 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
16346 __libc_cleanup_push argument.
16347
e66a42f5
RM
16348 * bits/param.h: New file.
16349 * misc/sys/param.h: New file.
16350 * include/sys/param.h: New file.
16351 * misc/Makefile (headers): Add bits/param.h.
16352 * sysdeps/generic/sys/param.h: File removed.
16353 * sysdeps/unix/sysv/linux/bits/param.h: New file.
16354 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
16355 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 16356 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 16357
b7c08a66
RM
16358 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
16359 last change.
16360
b2e1c562
RM
16361 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
16362 [_IO_MTSAFE_IO].
16363 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
16364 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
16365 New macros.
16366
c75ccd4c
RM
16367 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
16368 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
16369 rather than -D_IO_MTSAFE_IO conditionally.
16370 * stdio-common/Makefile (CPPFLAGS): Likewise.
16371 * wcsmbs/Makefile (CPPFLAGS): Likewise.
16372 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
16373 Use $(libio-mtsafe).
16374 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
16375 of -D_IO_MTSAFE_IO.
16376 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
16377 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
16378 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
16379 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
16380 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
16381 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
16382 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
16383 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
16384 (CFLAGS-fread_u_chk.c): Likewise.
16385 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
16386 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
16387 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
16388 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
16389 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
16390 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
16391 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
16392 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
16393 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
16394
16395 * libio/Makefile: Test [$(libc-reentrant) = yes]
16396 instead of [$(filter %REENTRANT, $(defines)) nonempty].
16397
16398 * Makeconfig
16399 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
16400 * sysdeps/pthread/configure: File removed.
16401 * sysdeps/pthread/Makeconfig: New file.
16402 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
16403 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
16404
d9195db8
GB
164052012-08-16 Gary Benson <gbenson@redhat.com>
16406
16407 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
16408 unmapping the first object in a namespace.
16409
86466cd9
RM
164102012-08-16 Roland McGrath <roland@hack.frob.com>
16411
16412 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
16413 (__internal_setnetgrent): ... this. Add internal_function to
16414 definition. Add libc_hidden_def.
16415 (setnetgrent): Update caller.
16416 (internal_endnetgrent): Renamed to ...
16417 (__internal_endnetgrent): ... this. Add internal_function to
16418 definition. Add libc_hidden_def.
16419 (endnetgrent): Update caller.
16420 (internal_getnetgrent_r): Renamed to ...
16421 (__internal_getnetgrent_r): ... this. Add internal_function to
16422 definition. Add libc_hidden_def.
16423 (__getnetgrent_r): Update caller.
16424 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
16425
c3c8283c
JM
164262012-08-16 Joseph Myers <joseph@codesourcery.com>
16427
16428 * stdlib/longlong.h: Update from GCC.
16429
db1ee0a8
RM
164302012-08-16 Roland McGrath <roland@hack.frob.com>
16431
16432 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
16433 on _QL, which is set by umul_ppmm but never used.
16434 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
16435 variables, which are set by GMP macros but never used.
16436 * stdio-common/_itowa.c (_itowa): Likewise.
16437 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
16438 * stdlib/mod_1.c (mpn_mod_1): Likewise.
16439
30f69637
CD
164402012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
16441
16442 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
16443 struct La_sh_regs is not constant.
16444 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
16445 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
16446 and struct La_sparc64_regs are not constant.
16447
93a78ac4
JM
164482012-08-16 Joseph Myers <joseph@codesourcery.com>
16449
16450 * sysdeps/unix/sysv/linux/kernel-features.h
16451 (__ASSUME_POSIX_TIMERS): Remove.
16452 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16453 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16454 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
16455 Make code unconditional.
16456 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16457 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
16458 Make code unconditional.
16459 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16460 * sysdeps/unix/sysv/linux/clock_nanosleep.c
16461 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
16462 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16463 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
16464 Make code unconditional.
16465 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16466 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
16467 (__libc_missing_posix_timers): Remove.
16468
dd924cd7
RM
164692012-08-15 Roland McGrath <roland@hack.frob.com>
16470
4b4f2771
RM
16471 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
16472 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
16473
601c888b
RM
16474 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
16475
176790a7
RM
16476 * elf/dl-sym.c: Include <stdlib.h>.
16477
329bc018
RM
16478 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
16479 constants, which avoids warnings in 32-bit builds.
16480
e04e272d
RM
16481 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
16482 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
16483
952bf94a
RM
16484 * misc/lseek.c: File moved to ...
16485 * io/lseek.c: ... here.
16486
7c99b50a
RM
16487 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
16488
dd924cd7
RM
16489 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
16490 shifting LEN more than 31 bits at once.
16491
b3f479a8
LD
164922012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16493
16494 [BZ #14195]
8c4ae0d4
RM
16495 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
16496 segmentation fault for a case of two empty input strings.
b3f479a8
LD
16497 * string/test-strncasecmp.c (check1): Renamed to...
16498 (bz12205): ...this.
16499 (bz14195): Add new testcase for two empty input strings and N > 0.
16500 (test_main): Call new testcase, adapt for renamed function.
16501
9c55864e
AJ
165022012-08-15 Andreas Jaeger <aj@suse.de>
16503
16504 [BZ #14090]
16505 * crypt/md5test2.c: New test, based on test supplied by Serge
16506 Belyshev <belyshev@depni.sinp.msu.ru>.
16507 * crypt/Makefile (xtests): Add md5test-giant..
16508 * crypt/Makefile ($(objpfx)md5test-giant): Add.
16509
02dcb6c5
PE
165102012-08-15 Paul Eggert <eggert@cs.ucla.edu>
16511
16512 [BZ #14090]
16513 * crypt/md5.c (md5_process_block): Don't assume the buffer
16514 length is less than 2**32.
16515 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
16516 length is less than 2**64.
16517
a3f95dcc
RM
165182012-08-15 Roland McGrath <roland@hack.frob.com>
16519
be75d758
RM
16520 * string/str-two-way.h: Include <sys/param.h>.
16521 (MAX): Macro removed.
16522
7312ca90
RM
16523 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
16524 Move #define and #undef of memmove to just before and after
16525 including <string.h>.
16526
9a0a5486
RM
16527 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
16528 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
16529 and after including <string.h>. Move declarations of
16530 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
16531 to before #include "string/memmove.c".
16532
67cc348d
RM
16533 * include/dirent.h: Declare __getdirentries.
16534
a3f95dcc
RM
16535 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
16536 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
16537
ca98e171
MF
165382012-08-14 Mike Frysinger <vapier@gentoo.org>
16539
16540 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
16541 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
16542 * sysdeps/i386/configure: Regenerated.
16543 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
16544 STABS_CURRENT_FILE, and STABS_FUN.
16545 (END): Remove call to STABS_FUN_END.
16546 (STABS_CURRENT_FILE1): Delete.
16547 (STABS_CURRENT_FILE): Likewise.
16548 (STABS_FUN): Likewise.
16549 (STABS_FUN_END): Likewise.
16550 (STABS_FUN2): Likewise.
16551 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
16552 * sysdeps/x86_64/configure: Regenerated.
16553
5908bf46
RM
165542012-08-14 Roland McGrath <roland@hack.frob.com>
16555
16556 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 16557 * elf/dl-lookup.c: Likewise.
5908bf46 16558
f2c05b9e
JM
165592012-08-14 Joseph Myers <joseph@codesourcery.com>
16560
16561 * sysdeps/unix/sysv/linux/kernel-features.h
16562 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
16563 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
16564 unconditionally.
16565 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
16566 unconditionally.
16567 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
16568 condition on __ASSUME_CLONE_THREAD_FLAGS.
16569
e11f5155
AJ
165702012-08-14 Andreas Jaeger <aj@suse.de>
16571
16572 * sysdeps/i386/fpu/libm-test-ulps: Update.
16573
51a9ba86
MK
165742012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
16575
2fdd4f78
AJ
16576 * include/atomic.h (atomic_exchange_and_add): Split into ...
16577 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
16578 New atomic macros.
51a9ba86 16579
ba6cba9e
MT
165802012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
16581
16582 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16583
42443a47
JL
165842012-08-13 Jeff Law <law@redhat.com>
16585
16586 * manual/stdio.texi (snprintf): Clarify handling of the trailing
16587 null byte in the output string.
16588
121dce05
JM
165892012-08-10 Joseph Myers <joseph@codesourcery.com>
16590
16591 * sysdeps/unix/sysv/linux/kernel-features.h
16592 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
16593 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
16594 (__ASSUME_ARG_MAX_STACK_BASED): Define.
16595 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
16596 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
16597 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
16598 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
16599
bf51f568
JL
166002012-08-09 Jeff Law <law@redhat.com>
16601
16602 [BZ #13939]
16603 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
16604 When avoid_arena is set, don't retry in the that arena. Pick the
16605 next one, whatever it might be.
16606 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
16607 (arena_lock): Pass in new parameter to arena_get2.
16608 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
16609 arena_get2.
16610 (__libc_malloc): Unify retrying after main arena failure with
16611 __libc_memalign version.
16612 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
16613
f85fa270
L
166142012-08-09 H.J. Lu <hongjiu.lu@intel.com>
16615
16616 [BZ #14166]
16617 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
16618 to __redirect_strstr.
16619 (__strstr_sse42): Use typeof __redirect_strstr.
16620 (__strstr_ia32): Likewise.
16621 (__libc_strstr): New prototype.
16622 (strstr): Renamed to ...
16623 (__libc_strstr): This.
16624 (strstr): New strong alias of __libc_strstr.
16625 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
16626 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
16627 __redirect_time.
16628 Include <time.h>.
16629 (__libc_time): New prototype.
16630 (time_ifunc): Replace time with __libc_time.
16631 (time): New strong alias and hidden definition of __libc_time.
16632 (__GI_time): Remove strong alias.
16633 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
16634 Include <stddef.h>.
16635 (memmove): Redefined to __redirect_memmove.
16636 (__memmove_sse2): Use typeof __redirect_memmove.
16637 (__memmove_ssse3): Likewise.
16638 (__memmove_ssse3_back): Likewise.
16639 (__libc_memmove): New prototype.
16640 (memmove): Renamed to ...
16641 (__libc_memmove): This.
16642 (memmove): New strong alias of __libc_memmove.
16643
33b4a91e
MS
166442012-08-08 Mark Salter <msalter@redhat.com>
16645
16646 * elf/elf.h
16647 (R_MN10300_TLS_GD): Define.
16648 (R_MN10300_TLS_LD): Likewise.
16649 (R_MN10300_TLS_LDO): Likewise.
16650 (R_MN10300_TLS_GOTIE): Likewise.
16651 (R_MN10300_TLS_IE): Likewise.
16652 (R_MN10300_TLS_LE): Likewise.
16653 (R_MN10300_TLS_DTPMOD): Likewise.
16654 (R_MN10300_TLS_DTPOFF): Likewise.
16655 (R_MN10300_TLS_TPOFF): Likewise.
16656 (R_MN10300_SYM_DIFF): Likewise.
16657 (R_MN10300_ALIGN): Likewise.
16658 (R_MN10300_NUM): Update.
16659
b36137f1
JM
166602012-08-08 Joseph Myers <joseph@codesourcery.com>
16661
16662 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
16663 Remove.
16664
cdd915fd
RM
166652012-08-08 Roland McGrath <roland@hack.frob.com>
16666
a2433aac
RM
16667 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
16668
cdd915fd
RM
16669 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
16670 sysdeps/unix -> sysdeps/posix move.
16671 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
16672
bf9b740a
AM
166732012-08-07 Allan McRae <allan@archlinux.org>
16674
16675 [BZ #14303]
16676 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
16677 (SUNOS_CPP): Likewise.
16678 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
16679 not found.
16680 (open_input): Call CPP using execvp.
16681
93df14ee
JM
166822012-08-07 Joseph Myers <joseph@codesourcery.com>
16683
16684 * sysdeps/unix/sysv/linux/kernel-features.h
16685 (__ASSUME_PROT_GROWSUPDOWN): Remove.
16686 (__ASSUME_NO_CLONE_DETACHED): Likewise.
16687 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
16688 (__ASSUME_WAITID_SYSCALL): Likewise.
16689 * sysdeps/unix/sysv/linux/dl-execstack.c
16690 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
16691 code unconditional.
16692 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
16693 conditional code.
16694 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
16695 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
16696 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
16697 code.
16698 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
16699 unconditional.
16700 [__ASSUME_WAITID_SYSCALL]: Likewise.
16701 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
16702
d34689de
RM
167032012-08-07 Roland McGrath <roland@hack.frob.com>
16704
a281decc
RM
16705 * sysdeps/unix/closedir.c: Renamed to ...
16706 * sysdeps/posix/closedir.c: ... here.
16707 * sysdeps/unix/dirfd.c: Renamed to ...
16708 * sysdeps/posix/dirfd.c: ... here.
16709 * sysdeps/unix/dirstream.h: Renamed to ...
16710 * sysdeps/posix/dirstream.h: ... here.
16711 * sysdeps/unix/fdopendir.c: Renamed to ...
16712 * sysdeps/posix/fdopendir.c: ... here.
16713 * sysdeps/unix/opendir.c: Renamed to ...
16714 * sysdeps/posix/opendir.c: ... here.
16715 * sysdeps/unix/readdir.c: Renamed to ...
16716 * sysdeps/posix/readdir.c: ... here.
16717 * sysdeps/unix/readdir_r.c: Renamed to ...
16718 * sysdeps/posix/readdir_r.c: ... here.
16719 * sysdeps/unix/rewinddir.c: Renamed to ...
16720 * sysdeps/posix/rewinddir.c: ... here.
16721 * sysdeps/unix/seekdir.c: Renamed to ...
16722 * sysdeps/posix/seekdir.c: ... here.
16723 * sysdeps/unix/telldir.c: Renamed to ...
16724 * sysdeps/posix/telldir.c: ... here.
16725 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
16726 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
16727 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
16728 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
16729
22895b47
RM
16730 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
16731 * bits/fcntl.h: ... here.
16732
707a53b6
RM
16733 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
16734 not 0.
16735 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
16736 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
16737 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
16738 (struct flock): Move l_start, l_len to the beginning.
16739 Use __pid_t for l_pid.
16740 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
16741 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
16742 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
16743 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
16744 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
16745 [__USE_LARGEFILE64] (struct flock64): New type.
16746 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
16747
f0bd3e25
RM
16748 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
16749 * bits/dirent.h: ... here.
16750
d34689de
RM
16751 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
16752 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
16753
6dad2c06
JM
167542012-08-07 Joseph Myers <joseph@codesourcery.com>
16755
16756 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16757 Change from 2.6.0 to 2.6.16.
16758 * sysdeps/unix/sysv/linux/configure: Regenerated.
16759 * sysdeps/unix/sysv/linux/kernel-features.h
16760 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
16761 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
16762 version.
16763 (__ASSUME_UTIMES): Likewise.
16764 (__ASSUME_CLONE_STOPPED): Remove.
16765 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
16766 architectures, not kernel version.
16767 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
16768 (__ASSUME_NO_CLONE_DETACHED): Likewise.
16769 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
16770 (__ASSUME_WAITID_SYSCALL): Likewise.
16771 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
16772 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
16773 * README: State 2.6.16 as minimum Linux kernel version. Do not
16774 refer to older versions.
16775
03af9520
RM
167762012-08-06 Roland McGrath <roland@hack.frob.com>
16777
8e49df1d
RM
16778 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
16779 Define alphasort64 as an alias.
16780 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
16781 Define versionsort64 as an alias.
16782 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
16783 Define scandir64 as an alias.
16784 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
16785 Define scandirat64 as an alias.
16786 * dirent/alphasort64.c (alphasort64):
16787 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
16788 * dirent/versionsort64.c: Likewise.
16789 * dirent/scandir64.c: Likewise.
16790 * dirent/scandirat64.c: Likewise.
16791 * sysdeps/wordsize-64/alphasort.c: File removed.
16792 * sysdeps/wordsize-64/alphasort64.c: File removed.
16793 * sysdeps/wordsize-64/scandir.c: File removed.
16794 * sysdeps/wordsize-64/scandir64.c: File removed.
16795 * sysdeps/wordsize-64/scandirat.c: File removed.
16796 * sysdeps/wordsize-64/scandirat64.c: File removed.
16797 * sysdeps/wordsize-64/versionsort.c: File removed.
16798 * sysdeps/wordsize-64/versionsort64.c: File removed.
16799 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
16800 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
16801 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
16802 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
16803 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
16804 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
16805 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
16806 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
16807
16808 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
16809 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
16810 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
16811 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16812 [defined __arch64__ || defined __sparcv9]
16813 (__INO_T_MATCHES_INO64_T): New macro.
16814 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
16815 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
16816 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
16817 * sysdeps/unix/sysv/linux/bits/dirent.h
16818 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
16819 (_DIRENT_MATCHES_DIRENT64): New macro.
16820
03af9520
RM
16821 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
16822 Define lockf64 as an alias.
16823 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
16824 Define fseeko64 as an alias.
16825 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
16826 Define ftello64 as an alias.
16827 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
16828 Define _IO_fgetpos64 and fgetpos64 as aliases.
16829 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
16830 Define _IO_fsetpos64 and fsetpos64 as aliases.
16831 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
16832 Conditionalize body on this.
16833 * libio/fseeko64.c: Likewise.
16834 * libio/ftello64.c: Likewise.
16835 * libio/iofgetpos64.c: Likewise.
16836 * libio/iofsetpos64.c: Likewise.
16837 * sysdeps/wordsize-64/lockf.c: File removed.
16838 * sysdeps/wordsize-64/lockf64.c: File removed.
16839 * sysdeps/wordsize-64/fseeko.c: File removed.
16840 * sysdeps/wordsize-64/fseeko64.c: File removed.
16841 * sysdeps/wordsize-64/ftello.c: File removed.
16842 * sysdeps/wordsize-64/ftello64.c: File removed.
16843 * sysdeps/wordsize-64/iofgetpos.c: File removed.
16844 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
16845 * sysdeps/wordsize-64/iofsetpos.c: File removed.
16846 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
16847 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
16848 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
16849 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
16850 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
16851 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
16852 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
16853 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
16854 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
16855 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
16856 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
16857
16858 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
16859 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
16860 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
16861 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16862 [defined __arch64__ || defined __sparcv9]
16863 (__OFF_T_MATCHES_OFF64_T): New macro.
16864 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
16865 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
16866 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16867 (__OFF_T_MATCHES_OFF64_T): New macro.
16868
c5757acd
L
168692012-08-06 H.J. Lu <hongjiu.lu@intel.com>
16870
16871 * stdlib/secure-getenv.c (__secure_getenv): Replace
16872 GLIBC_2_16 with GLIBC_2_17.
16873
3a31811e
L
168742012-08-06 H.J. Lu <hongjiu.lu@intel.com>
16875
16876 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
16877 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
16878
faa2bccb
DM
168792012-08-03 David S. Miller <davem@davemloft.net>
16880
16881 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16882
85fe1997
JM
168832012-08-03 Joseph Myers <joseph@codesourcery.com>
16884
16885 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
16886 Remove.
16887 (__ASSUME_CORRECT_SI_PID): Likewise.
16888 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
16889 (__ASSUME_TMPFS_NAME): Likewise.
16890 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
16891 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
16892 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
16893 (HAVE_AUX_SECURE): Make definition unconditional.
16894 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
16895 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
16896
4f75b7a0
RM
168972012-08-03 Roland McGrath <roland@hack.frob.com>
16898
16899 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
16900 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
16901 * sysdeps/mach/hurd/eloop-threshold.h: New file.
16902 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
16903 __eloop_threshold instead of SYMLOOP_MAX.
16904
16905 * sysdeps/generic/eloop-threshold.h: New file.
16906 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
16907 of MAXSYMLINKS.
16908 * elf/chroot_canon.c (chroot_canon): Likewise.
16909
7aab07e4
JM
169102012-08-03 Joseph Myers <joseph@codesourcery.com>
16911
16912 [BZ #13717]
16913 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16914 Change to 2.6.0 everywhere.
16915 * sysdeps/unix/sysv/linux/configure: Regenerated.
16916 * sysdeps/unix/sysv/linux/kernel-features.h
16917 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
16918 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
16919 kernel versions.
16920 (__ASSUME_POSIX_TIMERS): Define unconditionally.
16921 (__ASSUME_FUTEX_REQUEUE): Remove.
16922 (__ASSUME_STATFS64): Define unconditionally.
16923 (__ASSUME_AT_SECURE): Likewise.
16924 (__ASSUME_CORRECT_SI_PID): Likewise.
16925 (__ASSUME_TGKILL): Define without depending on kernel version for
16926 i386.
16927 (__ASSUME_UTIMES): Likewise.
16928 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
16929 kernel version.
16930 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
16931 (__ASSUME_TMPFS_NAME): Likewise.
16932 * README: Update reference to Linux kernel versions.
16933
b67e9372
MP
169342012-08-02 Marek Polacek <polacek@redhat.com>
16935
1f529f7d 16936 [BZ# 14150]
b67e9372
MP
16937 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
16938 libc_cv_asm_type_prefix with %.
16939 * configure: Regenerated.
d2441631
RM
16940 * include/libc-symbols.h: Remove comment about
16941 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
16942 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
16943 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
16944 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
16945 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
16946 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
16947 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
16948 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
16949 * elf/tst-unique2mod1.c: Likewise.
16950 * elf/tst-unique1mod2.c: Likewise.
16951 * elf/tst-unique1mod1.c: Likewise.
16952 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
16953 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
16954 Replace ASM_TYPE_DIRECTIVE with .type.
16955 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16956 * sysdeps/i386/sysdep.h: Likewise.
16957 * sysdeps/x86_64/sysdep.h: Likewise.
16958 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
16959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
16960 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 16961 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
16962 * sysdeps/powerpc/powerpc32/sysdep.h:
16963 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
16964 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
16965 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16966 * sysdeps/i386/fpu/e_powf.S: Likewise.
16967 * sysdeps/i386/fpu/e_expl.S: Likewise.
16968 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
16969 * sysdeps/i386/fpu/e_acosh.S: Likewise.
16970 * sysdeps/i386/fpu/e_pow.S: Likewise.
16971 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
16972 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
16973 * sysdeps/i386/fpu/s_expm1.S: Likewise.
16974 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
16975 * sysdeps/i386/fpu/e_log2.S: Likewise.
16976 * sysdeps/i386/fpu/e_log2l.S: Likewise.
16977 * sysdeps/i386/fpu/e_scalb.S: Likewise.
16978 * sysdeps/i386/fpu/e_powl.S: Likewise.
16979 * sysdeps/i386/fpu/e_log10f.S: Likewise.
16980 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
16981 * sysdeps/i386/fpu/e_logl.S: Likewise.
16982 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
16983 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
16984 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
16985 * sysdeps/i386/fpu/e_log2f.S: Likewise.
16986 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
16987 * sysdeps/i386/fpu/e_log.S: Likewise.
16988 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
16989 * sysdeps/i386/fpu/e_logf.S: Likewise.
16990 * sysdeps/i386/fpu/e_log10l.S: Likewise.
16991 * sysdeps/i386/fpu/e_atanh.S: Likewise.
16992 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
16993 * sysdeps/i386/fpu/e_log10.S: Likewise.
16994 * sysdeps/i386/fpu/s_frexp.S: Likewise.
16995 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
16996 * sysdeps/i386/fpu/s_asinh.S: Likewise.
16997 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
16998 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
16999 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
17000 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
17001 * sysdeps/i386/i686/strtok.S: Likewise.
17002 * sysdeps/i386/i386-mcount.S: Likewise.
17003 * sysdeps/i386/strtok.S: Likewise.
17004 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
17005 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
17006 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17007 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
17008 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
17009 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
17010 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
17011 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
17012 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
17013 * sysdeps/x86_64/_mcount.S: Likewise.
17014 * sysdeps/x86_64/strtok.S: Likewise.
17015 * sysdeps/sh/_mcount.S: Likewise.
17016
2747bf9a
RM
170172012-08-01 Roland McGrath <roland@hack.frob.com>
17018
17019 * libio/iofopen.c: Include <fcntl.h>.
17020 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
17021 (_IO_fopen64, fopen64): Define as aliases.
17022 * libio/iofopen64.c: Include <fcntl.h>.
17023 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
17024 Conditionalize body on this.
17025 * sysdeps/wordsize-64/iofopen.c: File removed.
17026 * sysdeps/wordsize-64/iofopen64.c: File removed.
17027
3fb791b8
MP
170282012-08-01 Marek Polacek <polacek@redhat.com>
17029
17030 * libc/Makeconfig: Use elf in place of binfmt-subdir.
17031 Use dlfcn directly instead of a variable.
17032 (binfmt-subdir): Do not define.
17033 (dlfcn): Likewise.
17034
a9f1039f
JM
170352012-08-01 Joseph Myers <joseph@codesourcery.com>
17036
23bddc06
JM
17037 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
17038 Remove all definitions.
17039 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
17040 <kernel-features.h>.
17041 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
17042 (miss_F_GETOWN_EX): Remove all definitions.
17043 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
17044 macro definition.
17045 [!__ASSUME_FCNTL64]: Remove conditional code.
17046 [__ASSUME_FCNTL64]: Make code unconditional.
17047 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
17048 <kernel-features.h>.
17049 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
17050 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
17051 (lockf64) [__NR_fcntl64]: Make code unconditional.
17052 (lockf64) [__ASSUME_FCNTL64]: Likewise.
17053
a9f1039f
JM
17054 * sysdeps/unix/sysv/linux/kernel-features.h
17055 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
17056 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
17057 Make code unconditional.
17058 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17059 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
17061 [__NR_vfork]: Make code unconditional.
17062 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17063 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
17065 [__NR_vfork]: Make code unconditional.
17066 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17067 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17068
09c0ee5f
RM
170692012-08-01 Roland McGrath <roland@hack.frob.com>
17070
48aec5b9
RM
17071 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
17072 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
17073
cd97c966
RM
17074 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17075 Define mkstemp64 as an alias.
3f55550c
RM
17076 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17077 Define mkstemps64 as an alias.
cd97c966
RM
17078 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17079 Define mkostemp64 as an alias.
b8625cfc
RM
17080 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17081 Define mkostemps64 as an alias.
cd97c966
RM
17082 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
17083 Conditionalize body on this.
17084 * misc/mkostemp64.c: Likewise.
b8625cfc 17085 * misc/mkostemps64.c: Likewise.
3f55550c 17086 * misc/mkstemps64.c: Likewise.
cd97c966
RM
17087 * sysdeps/wordsize-64/mkstemp64.c: File removed.
17088 * sysdeps/wordsize-64/mkostemp64.c: File removed.
17089 * sysdeps/wordsize-64/mkostemp.c: File removed.
17090 * sysdeps/wordsize-64/mkstemp.c: File removed.
17091 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
17092 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
17093 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
17094 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
17095
09c0ee5f
RM
17096 [BZ #14138]
17097 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
17098 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
17099 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
17100 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
17101
17102 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
17103 compat_symbol macros from <shlib-compat.h> rather than the underlying
17104 default_symbol_version and symbol_version macros, so that DEFAULT
17105 lines in shlib-versions are respected.
17106 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
17107
7e66ee51
FW
171082012-08-01 Florian Weimer <fweimer@redhat.com>
17109
17110 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
17111 Declare with warn_unused_result.
17112 (setgid, setregid, setegid, setresgid): Likewise.
17113 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
17114 Likewise.
17115 * WUR-REPORT: Remove set*id functions.
17116
d2a54255
PT
171172012-07-31 Pino Toscano <toscano.pino@tiscali.it>
17118
17119 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
17120
7ecdb005
RM
171212012-07-31 Roland McGrath <roland@hack.frob.com>
17122
b4180a5e 17123 [BZ #10191]
789bd351
RM
17124 * include/sys/socket.h (__libc_accept, __libc_accept4):
17125 Add attribute_hidden.
17126 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
17127
40ce302d
RM
17128 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
17129 use of PTR_MANGLE.
17130 * inet/getnetgrent_r.c (setup): Likewise.
17131
7ecdb005
RM
17132 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
17133
e2eabb2c
DM
171342012-07-31 David S. Miller <davem@davemloft.net>
17135
17136 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17137
d0419dbf
JM
171382012-07-31 Joseph Myers <joseph@codesourcery.com>
17139
17140 [BZ #13629]
17141 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
17142 value between 1.0 and 2.0 and smaller part has absolute value less
17143 than 1.0.
17144 * math/s_clog10.c (__clog10): Likewise.
17145 * math/s_clog10f.c (__clog10f): Likewise.
17146 * math/s_clog10l.c (__clog10l): Likewise.
17147 * math/s_clogf.c (__clogf): Likewise.
17148 * math/s_clogl.c (__clogl): Likewise.
17149 * math/libm-test.inc (clog_test): Add more tests.
17150 (clog10_test): Likewise.
17151 * sysdeps/i386/fpu/libm-test-ulps: Update.
17152 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17153
2bc13872
FW
171542012-07-31 Florian Weimer <fweimer@redhat.com>
17155
17156 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
17157 Exit with zero in case no suitable GID is found, and write a
17158 message to standard error.
17159
bea9b193
RM
171602012-07-30 Roland McGrath <roland@hack.frob.com>
17161
17162 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
17163 rather than to 1.
17164 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
17165 (MAXPATHLEN): Removed.
17166 (NOGROUP, NODEV): New macros.
17167 (setbit, clrbit, isset, isclr): New macros.
17168 (howmany, roundup, powerof2): New macros.
17169 (DEV_BSIZE): New macro.
17170
17171 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
17172 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
17173
17174 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
17175 definition on [!__NO_LONG_DOUBLE_MATH].
17176
17177 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
17178 PTR_MANGLE and PTR_DEMANGLE.
17179
17180 * socket/accept4.c (accept4): Rename to __libc_accept4.
17181 Define accept4 as a weak alias.
17182
17183 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
17184 on [_DIRENT_HAVE_D_TYPE].
17185 * io/ftw.c (ftw_dir): Likewise.
17186
17187 * io/xmknod.c (__xmknod): Don't check PATH for being null.
17188
17189 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
17190
17191 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
17192 Use the BSD numbers rather than the arbitrary ones we had.
17193 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
17194 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
17195 (SIGXCPU, SIGXFSZ): New macros.
17196 (_NSIG): Now 32.
17197
17198 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
17199 initializer on [_LIBC_REENTRANT].
17200
17201 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
17202 definitions inside [_POSIX_MAPPED_FILES].
17203
17204 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
17205
17206 * dirent/opendir.c: Include <fcntl.h>.
17207
17208 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
17209 (__libc_getspecific): Likewise.
17210 (__libc_key_create): Likewise.
17211
17212 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
17213 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
17214 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
17215 (tmpfile64): Define as alias.
17216 * sysdeps/wordsize-64/tmpfile.c: File removed.
17217 * sysdeps/wordsize-64/tmpfile64.c: File removed.
17218 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
17219 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
17220
17221 * stdio-common/vfscanf.c: Include <stdbool.h>.
17222 * nss/makedb.c: Likewise.
17223 * stdio-common/_i18n_number.h: Likewise.
17224 * argp/argp-help.c: Likewise.
17225 * posix/wordexp.c: Likewise.
17226 * sysdeps/posix/spawni.c: Likewise.
17227 * nss/nss_files/files-initgroups.c: Likewise.
17228 * stdio-common/reg-modifier.c: Include <stdlib.h>.
17229 * nss/nss_files/files-initgroups.c: Likewise.
17230 * nss/nss_db/db-netgrp.c: Likewise.
17231 * nss/nss_db/db-initgroups.c: Likewise.
17232 * io/fchmodat.c: Include <sys/stat.h>.
17233
17234 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
17235 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
17236
17237 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
17238 [HAVE_MMAP].
17239
17240 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
17241 Add multiple inclusion protection.
17242
e5abc686
DM
172432012-07-27 David S. Miller <davem@davemloft.net>
17244
17245 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17246
815e6fa3
GB
172472012-07-27 Gary Benson <gbenson@redhat.com>
17248
17249 [BZ #14298]
17250 * elf/rtld.c: Include <stap-probe.h>.
17251 (dl_main): Added static probes "init_start" and "init_complete".
17252 * elf/dl-load.c: Include <stap-probe.h>.
17253 (lose): Take new parameter "nsid".
17254 Added static probe "map_failed".
17255 (_dl_map_object_from_fd): Pass namespace id to lose.
17256 Added static probe "map_start".
17257 (open_verify): Pass namespace id to lose.
17258 * elf/dl-open.c: Include <stap-probe.h>.
17259 (dl_open_worker) Added static probes "map_complete", "reloc_start"
17260 and "reloc_complete".
17261 * elf/dl-close.c: Include <stap-probe.h>.
17262 (_dl_close_worker): Added static probes "unmap_start" and
17263 "unmap_complete".
17264 * elf/rtld-debugger-interface.txt: New file documenting the above.
17265
9f98c16c
RM
172662012-07-26 Roland McGrath <roland@hack.frob.com>
17267
17268 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
17269 rather than a string variable.
17270 * sunrpc/rpc_main.c (h_output): Likewise.
17271 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
17272
f3c22df3
PT
172732012-07-26 Pino Toscano <toscano.pino@tiscali.it>
17274
17275 * inet/check_native.c: New file.
17276
3129cfc6
JM
172772012-07-26 Joseph Myers <joseph@codesourcery.com>
17278
da865e95
JM
17279 [BZ #13629]
17280 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
17281 if larger part has absolute value 1.0.
17282 * math/s_clog10.c (__clog10): Likewise.
17283 * math/s_clog10f.c (__clog10f): Likewise.
17284 * math/s_clog10l.c (__clog10l): Likewise.
17285 * math/s_clogf.c (__clogf): Likewise.
17286 * math/s_clogl.c (__clogl): Likewise.
17287 * math/libm-test.inc (clog_test): Add more tests.
17288 (clog10_test): Likewise.
17289 * sysdeps/i386/fpu/libm-test-ulps: Update.
17290 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17291
3129cfc6
JM
17292 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
17293 (pltexit): Likewise.
17294 (La_regs): Likewise.
17295 (La_retval): Likewise.
17296 (int_retval): Likewise.
17297 Update #error for removed macros to refer only to definitions in
17298 tst-audit.h.
17299 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
17300 macro.
17301 (pltexit): Likewise.
17302 (La_regs): Likewise.
17303 (La_retval): Likewise.
17304 (int_retval): Likewise.
17305 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
17306 macro.
17307 (pltexit): Likewise.
17308 (La_regs): Likewise.
17309 (La_retval): Likewise.
17310 (int_retval): Likewise.
17311 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
17312 macro.
17313 (pltexit): Likewise.
17314 (La_regs): Likewise.
17315 (La_retval): Likewise.
17316 (int_retval): Likewise.
17317 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
17318 macro.
17319 (pltexit): Likewise.
17320 (La_regs): Likewise.
17321 (La_retval): Likewise.
17322 (int_retval): Likewise.
17323 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
17324 macro.
17325 (pltexit): Likewise.
17326 (La_regs): Likewise.
17327 (La_retval): Likewise.
17328 (int_retval): Likewise.
17329 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
17330 macro.
17331 (pltexit): Likewise.
17332 (La_regs): Likewise.
17333 (La_retval): Likewise.
17334 (int_retval): Likewise.
17335 * sysdeps/generic/tst-audit.h: Update comment to refer only to
17336 macro definitions in tst-audit.h.
17337 * sysdeps/i386/tst-audit.h: New file.
17338 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
17339 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
17340 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
17341 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
17342 * sysdeps/sh/tst-audit.h: Likewise.
17343 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
17344 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
17345 * sysdeps/x86_64/tst-audit.h: Likewise.
17346
bfc07087
AJ
173472012-07-26 Andreas Jaeger <aj@suse.de>
17348
b1b2aaf8
AJ
17349 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
17350 ptrace.
17351
17352 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
17353 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
17354 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
17355 PTRACE_O_MASK.
17356 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
17357 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
17358 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
17359
bfc07087
AJ
17360 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
17361 value.
17362
17363 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
17364 _sigsys.
17365 (si_call_addr, si_syscall, si_arch): Define new macro.
17366 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
17367 _sigsys.
17368 (si_call_addr, si_syscall, si_arch): Define new marcro.
17369 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
17370 _sigsys.
17371 (si_call_addr, si_syscall, si_arch): Define new macro.
17372 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
17373 _sigsys.
17374 (si_call_addr, si_syscall, si_arch): Define new macro.
17375
89b4b02f
JM
173762012-07-25 Joseph Myers <joseph@codesourcery.com>
17377
17378 [BZ #13717]
17379 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17380 Change to 2.4.21 where previously 2.4.1.
17381 * sysdeps/unix/sysv/linux/configure: Regenerated.
17382 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
17383 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
17384 Linux kernel version.
17385 (__ASSUME_STD_AUXV): Remove.
17386 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
17387 kernel version.
17388 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
17389 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
17390 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
17391 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
17392 (__ASSUME_NETLINK_SUPPORT): Likewise.
17393 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
17394 (__no_netlink_support): Remove conditional definition.
17395 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
17396 Remove.
17397 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
17398 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
17399 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
17400 (if_nameindex_ioctl): Remove.
17401 (if_nameindex_netlink): Do not handle __no_netlink_support.
17402 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
17403 code.
17404 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
17405 Remove conditional code.
17406 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
17407 code.
17408 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
17409 unconditional.
17410 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
17411 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
17412 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
17413 Remove.
17414 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
17415 [!__ASSUME_STD_AUXV]: Remove conditional code.
17416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
17417 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
17418 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
17419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
17420 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
17421 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
17422 code.
17423 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
17424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17425 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
17426 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
17427 conditional code.
17428 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
17429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
17430 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
17431 code.
17432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17433 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
17434 conditional code.
17435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
17436 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17437 code unconditional.
17438 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17439 conditional code.
17440 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17441 unconditional.
17442 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17443 conditional code.
17444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17445 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17446 unconditional.
17447 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17448 conditional code.
17449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
17450 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17451 code unconditional.
17452 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17453 conditional code.
17454 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17455 unconditional.
17456 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17457 conditional code.
17458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
17459 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17460 code unconditional.
17461 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17462 conditional code.
17463 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17464 unconditional.
17465 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17466 conditional code.
17467
842a39cd
AS
174682012-07-25 Andreas Schwab <schwab@linux-m68k.org>
17469
17470 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
17471 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
17472 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
17473 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
17474 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
17475 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
17476 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
17477 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
17478 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
17479 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
17480 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
17481 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
17482 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
17483 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
17484 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
17485 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
17486 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
17487 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
17488 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
17489 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
17490 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
17491 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
17492 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
17493
84b3fd84
FW
174942012-07-25 Florian Weimer <fweimer@redhat.com>
17495
17496 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
17497 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
17498 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
17499 Introduce __libc_secure_getenv.
0c7936d5
FW
17500 * stdlib/Versions (2.17): Add secure_getenv
17501 (GLIBC_PRIVATE): Add __libc_secure_getenv.
17502 * stdlib/secure-getenv.c: Rename __secure_getenv to
17503 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
17504 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
17505 * stdlib/tst-secure-getenv.c: New.
17506 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
17507 * manual/startup.texi (Environment Access): Document
17508 secure_getenv.
84b3fd84
FW
17509 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
17510 __libc_secure_getenv.
17511 * inet/ruserpass.c (ruserpass): Likewise.
17512 * malloc/mtrace.c (mtrace): Likewise.
17513 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 17514 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
17515 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
17516 * sysdeps/posix/tempname.c: Likewise. Evaluate
17517 HAVE_SECURE_GETENV.
17518 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 17519 __secure_getenv to __libc_secure_getenv.
84b3fd84 17520 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
17521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17522 Likewise.
17523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17524 Likewise.
17525 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
17526 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
17527 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17528 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
17529 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
17530 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17531 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 17532
56e49b71
JM
175332012-07-25 Joseph Myers <joseph@codesourcery.com>
17534
17535 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
17536 (struct La_i86_retval): Likewise.
17537 (struct La_x86_64_regs): Likewise.
17538 (struct La_x86_64_retval): Likewise.
17539 (struct La_x32_regs): Likewise.
17540 (struct La_x32_retval): Likewise.
17541 (struct La_ppc32_regs): Likewise.
17542 (struct La_ppc32_retval): Likewise.
17543 (struct La_ppc64_regs): Likewise.
17544 (struct La_ppc64_retval): Likewise.
17545 (struct La_sh_regs): Likewise.
17546 (struct La_sh_retval): Likewise.
17547 (struct La_s390_32_regs): Likewise.
17548 (struct La_s390_32_retval): Likewise.
17549 (struct La_s390_64_regs): Likewise.
17550 (struct La_s390_64_retval): Likewise.
17551 (struct La_sparc32_regs): Likewise.
17552 (struct La_sparc32_retval): Likewise.
17553 (struct La_sparc64_regs): Likewise.
17554 (struct La_sparc64_retval): Likewise.
17555 (struct audit_ifaces): Remove architecture-specific pltenter and
17556 pltexit members.
17557 * sysdeps/i386/ldsodefs.h: New file.
17558 * sysdeps/powerpc/ldsodefs.h: Likewise.
17559 * sysdeps/s390/ldsodefs.h: Likewise.
17560 * sysdeps/sh/ldsodefs.h: Likewise.
17561 * sysdeps/sparc/ldsodefs.h: Likewise.
17562 * sysdeps/x86_64/ldsodefs.h: Likewise.
17563
354691b7
MP
175642012-07-25 Marek Polacek <polacek@redhat.com>
17565
17566 [BZ #6808]
17567 * math/libm-test.inc (yn_test): Add another test.
17568 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
17569 to ERANGE when the result is +-Inf.
17570 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
17571 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
17572 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
17573 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
17574
bf9e2071
JM
175752012-07-24 Joseph Myers <joseph@codesourcery.com>
17576
17577 * conform/data/time.h-data (NULL): Use macro-constant. Require
17578 equal to 0.
17579 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
17580 clock_t.
17581 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
17582
57633811
TS
175832012-07-23 Thomas Schwinge <thomas@codesourcery.com>
17584
17585 * configure.in <sysdeps resolving>: Correct printing
17586 Implies_before.
17587 * configure: Regenerate.
17588
c23c33b0
TS
175892012-07-22 Thomas Schwinge <thomas@codesourcery.com>
17590
17591 * math/w_ilogb.c: Include <limits.h>.
17592 * math/w_ilogbl.c: Likewise.
17593
b5982523
JM
175942012-07-20 Joseph Myers <joseph@codesourcery.com>
17595
17596 * manual/lang.texi (__va_copy): Document primarily as ISO C99
17597 va_copy. Document allowing for unavailable va_copy only as
17598 pre-C99 compatibility.
17599 * manual/string.texi (Copying and Concatenation): Use va_copy
17600 instead of __va_copy in concat example.
17601
ac4ea442
PT
176022012-07-20 Pino Toscano <toscano.pino@tiscali.it>
17603
17604 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
17605 (__sendto): Use create_address_port. Initialize APORT and deallocate
17606 it if not null.
17607
f98eafbd
PT
17608 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
17609 with O_NOLINK passed to __file_name_lookup.
17610
898c7aab
PT
17611 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
17612 with O_NOLINK passed to __file_name_lookup.
17613
0ced335a
PT
17614 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
17615 negative N or less than NGIDS.
17616
b3404dbd
PT
17617 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
17618 type to string_t. Set ERANGE as errno and return it if NAME is not big
17619 enough. Use memcpy instead of strncpy.
17620
0f48659e
JM
176212012-07-20 Joseph Myers <joseph@codesourcery.com>
17622
17623 * elf/Makefile (check-data): Remove.
17624 (localplt.data): New vpath directive.
17625 ($(objpfx)check-localplt.out): Use localplt.data from vpath
17626 instead of $(check-data).
17627 * scripts/data/localplt-generic.data: Move to ...
17628 * sysdeps/generic/localplt.data: ... here.
17629 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
17630 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
17631 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
17632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
17633 ... here.
17634 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
17635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
17636 ... here.
17637 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
17638 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
17639 ... here.
17640 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
17641 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
17642 ... here.
17643 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
17644 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
17645 ... here.
17646 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
17647 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
17648 ... here.
17649
d37cbdaa
AZ
176502012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17651
17652 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
17653 PPC32 and PPC64 files.
17654 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
17655 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
17656
46f85fc2
AK
176572012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17658
17659 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
17660 __makecontext_ret to ...
17661 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
17662 ... here and call exit if uc_link is NULL. New file.
17663 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
17664 __makecontext_ret.S.
17665 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
17666 __makecontext_ret to ...
17667 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
17668 ... here and call exit if uc_link is NULL. New file.
17669 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
17670 __makecontext_ret.S.
17671
08f43f9b
AK
176722012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17673
17674 * elf/elf.h (R_390_IRELATIVE): New definition.
17675 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
17676 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
17677 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
17678 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
17679 (elf_machine_lazy_rel): Likewise.
17680 * sysdeps/s390/dl-irel.h: New file.
17681 * sysdeps/s390/s390-64/memcpy.S: New asm code.
17682 * sysdeps/s390/s390-64/memset.S: New asm code.
17683 * sysdeps/s390/s390-64/memcmp.S: New asm code.
17684 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
17685 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
17686 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
17687 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
17688 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
17689 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
17690 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
17691 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
17692 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
17693 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
17694 * sysdeps/s390/s390-32/memcpy.S: New asm code.
17695 * sysdeps/s390/s390-32/memset.S: New asm code.
17696 * sysdeps/s390/s390-32/memcmp.S: New asm code.
17697
3b05db33
MP
176982012-07-17 Marek Polacek <polacek@redhat.com>
17699
17700 [BZ #14349]
17701 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
17702 * sysdeps/s390/s390-64/configure.in: Likewise.
17703 * sysdeps/sparc/configure.in: Likewise.
17704 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
17705 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
17706 * sysdeps/i386/configure.in: Likewise.
17707 * sysdeps/x86_64/configure.in: Likewise.
17708 * sysdeps/sh/configure.in: Likewise.
17709 * sysdeps/s390/s390-32/configure: Regenerated.
17710 * sysdeps/s390/s390-64/configure: Likewise.
17711 * sysdeps/x86_64/configure: Likewise.
17712 * sysdeps/sh/configure: Likewise.
17713 * sysdeps/powerpc/powerpc64/configure: Likewise.
17714 * sysdeps/powerpc/powerpc32/configure: Likewise.
17715 * sysdeps/sparc/configure: Likwise.
17716 * sysdeps/i386/configure: Likewise.
17717
a66877c6
MP
17718 * elf/dl-open.c: Comment fixes.
17719
cfc82fd8
JM
177202012-07-17 Joseph Myers <joseph@codesourcery.com>
17721
bd29910a
JM
17722 * Makefile [CXX] (check-data): Remove.
17723 [CXX] (c++-types.data): New vpath directive.
17724 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
17725 vpath. Do not allow for C++ type data being missing.
17726 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
17727 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
17728 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
17729 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
17730 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
17731 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
17732 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
17733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
17734 ... here.
17735 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
17736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
17737 ... here.
17738 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
17739 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
17740 ... here.
17741 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
17742 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
17743 ... here.
17744 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
17745 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
17746 ... here.
17747 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
17748 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
17749 ... here.
17750 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
17751 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
17752 ... here.
17753 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
17754 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
17755
cfc82fd8
JM
17756 * elf/tls-macros.h (TLS_LE): Move architecture-specific
17757 definitions to architecture-specific files.
17758 (TLS_IE): Likewise.
17759 (TLS_LD): Likewise.
17760 (TLS_GD): Likewise.
17761 * sysdeps/i386/tls-macros.h: New file.
17762 * sysdeps/powerpc/tls-macros.h: Likewise.
17763 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
17764 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
17765 * sysdeps/sh/tls-macros.h: Likewise.
17766 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
17767 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
17768 * sysdeps/x86_64/tls-macros.h: Likewise.
17769
f7db3170
TS
177702012-07-17 Thomas Schwinge <thomas@codesourcery.com>
17771
07cbfc23
TS
17772 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
17773 zero value for regular exit case.
17774
f7db3170
TS
17775 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
17776 (__start_context): Preserve zero value for regular exit case.
17777
dc97c227
TS
177782012-07-17 Thomas Schwinge <thomas@codesourcery.com>
17779 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17780
17781 * manual/setjmp.texi (setcontext): Clarify normal process
17782 termination when uc_link is the null pointer.
17783 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
17784 exit call.
17785
d0cd7d02
AS
177862012-07-16 Andreas Schwab <schwab@linux-m68k.org>
17787
17788 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
17789 preprocessor. Test for each exception mask separately.
17790
dd318934
AJ
177912012-07-16 Andreas Jaeger <aj@suse.de>
17792
17793 * po/ru.po: Update from translation team.
17794
8048311a
JM
177952012-07-15 Joseph Myers <joseph@codesourcery.com>
17796
17797 * conform/data/string.h-data (NULL): Use macro-constant. Require
17798 equal to 0.
17799 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
17800 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
17801 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
17802 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
17803 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17804
b637d46e
AJ
178052012-07-13 Andreas Jaeger <aj@suse.de>
17806
17807 * po/fr.po: Update from translation team.
17808
541428fe
MP
178092012-07-12 Marek Polacek <polacek@redhat.com>
17810
17811 [BZ #14173]
17812 * math/libm-test.inc (yn_test): Add test for BZ #14173.
17813 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
17814 loop condition.
17815
ec332e94
JM
178162012-07-12 Joseph Myers <joseph@codesourcery.com>
17817
17818 [BZ #13717]
17819 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17820 Change to 2.4.1 where previously 2.4.0.
17821 * sysdeps/unix/sysv/linux/configure: Regenerated.
17822 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
17823 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
17824 version.
17825 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
17826 (__ASSUME_AT_CLKTCK): Remove.
17827 (__ASSUME_AT_PAGESIZE): Likewise.
17828 (__ASSUME_AT_XID): Likewise.
17829 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
17830 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
17831 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
17832 unconditionally.
17833 (HAVE_AUX_PAGESIZE): Likewise.
17834 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
17835 [__ASSUME_AT_CLKTCK]: Make code unconditional.
17836 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
17837
7b6e99be
JB
178382012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
17839
17840 [BZ #14307]
17841 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
17842 the temporary buffer used to invoke __gethostbyname2_r,
17843 __gethostbyaddr_r and gethostbyname4_r to make room for struct
17844 host_data / struct gaih_addrtuple.
17845 * resolv/nss_dns/dns-host.c (global scope): Move definition of
17846 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
17847 header file nss/nsswitch.h.
17848 * nss/nsswitch.h (global scope): Add definition of implementation
17849 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
17850 resolv/nss_dns/dns-host.c).
17851
608404eb
AJ
178522012-07-11 Andreas Jaeger <aj@suse.de>
17853
17854 * po/fr.po: Update from translation team.
17855
71220aca
AJ
17856 * po/sv.po: Update from translation team
17857 * po/fr.po: Another update from translation team.
17858
28cfe843
AZ
178592012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17860
17861 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
17862 for subnormals or multiply small sinh result by itself.
17863 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
17864 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17865
6b90f981
DM
178662012-07-11 David S. Miller <davem@davemloft.net>
17867
17868 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17869
c6825772
AS
178702012-07-10 Andreas Schwab <schwab@linux-m68k.org>
17871
17872 [BZ #14347]
17873 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
17874 (INTERNAL_MARK): Shift it here.
17875
7b8e0d49
MP
178762012-07-10 Marek Polacek <polacek@redhat.com>
17877
17878 [BZ #14151]
17879 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
17880 libc_cv_asm_global_directive with .globl.
17881 * configure: Regenerated.
17882 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
17883 with .globl.
17884 * sysdeps/i386/configure: Regenerated.
17885 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
17886 with .globl.
17887 * sysdeps/x86_64/configure: Regenerated.
17888 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
17889 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
17890 * elf/tst-unique2mod2.c: Likewise.
17891 * elf/tst-unique2mod1.c: Likewise.
17892 * elf/tst-unique1mod2.c: Likewise.
17893 * elf/tst-unique1mod1.c: Likewise.
17894 * sysdeps/s390/s390-32/sysdep.h: Likewise.
17895 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
17896 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17897 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17898 * sysdeps/mach/sysdep.h: Likewise.
17899 * sysdeps/i386/sysdep.h: Likewise.
17900 * sysdeps/i386/i386-mcount.S: Likewise.
17901 * sysdeps/x86_64/_mcount.S: Likewise.
17902 * sysdeps/x86_64/sysdep.h: Likewise.
17903 * sysdeps/sh/_mcount.S: Likewise.
17904 * sysdeps/sh/sysdep.h: Likewise.
17905 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
17906 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
17907 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
17908 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
17909 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
17910 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
17911 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
17912 * locale/localeinfo.h: Likewise.
17913 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
17914 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
17915
6c55cda3
RM
179162012-07-09 Roland McGrath <roland@hack.frob.com>
17917
17918 [BZ #14336]
17919 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
17920 system".
17921 * manual/message.texi (The Uniforum approach): Likewise.
17922 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
17923 (glibc iconv Implementation): Likewise.
17924
638a572e
JM
179252012-07-09 Joseph Myers <joseph@codesourcery.com>
17926
17927 [BZ #14337]
17928 * math/s_clog.c (__clog): Avoid scaling a value down where that
17929 could result in underflow.
17930 * math/s_clog10.c (__clog10): Likewise.
17931 * math/s_clog10f.c (__clog10f): Likewise.
17932 * math/s_clog10l.c (__clog10l): Likewise.
17933 * math/s_clogf.c (__clogf): Likewise.
17934 * math/s_clogl.c (__clogl): Likewise.
17935 * math/libm-test.inc (clog_test): Add more tests.
17936 (clog10_test): Likewise.
17937 * sysdeps/i386/fpu/libm-test-ulps: Update.
17938 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17939
261f4859
AS
179402012-07-06 Andreas Schwab <schwab@linux-m68k.org>
17941
0abaf3e4
AS
17942 [BZ #14283]
17943 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
17944 by 7 not 8 to examine high bit of fractional part.
17945
261f4859
AS
17946 [BZ #14042]
17947 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
17948 for call to __mcount_internal.
17949 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
17950 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
17951 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
17952
f17ac40d
JM
179532012-07-06 Joseph Myers <joseph@codesourcery.com>
17954
9ad63c23
JM
17955 [BZ #14154]
17956 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
17957 approximation for values within 0x1p-13f of an odd multiple of
17958 pi/4.
17959 * math/libm-test.inc (tan_test): Do not allow spurious underflow
17960 exception. Add more tests.
17961 * sysdeps/i386/fpu/libm-test-ulps: Update.
17962
f17ac40d
JM
17963 [BZ #6778]
17964 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
17965 inputs and return -1 for them. Do not check for +Inf in case not
17966 reachable for +Inf.
17967 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
17968 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
17969 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
17970 and return -1 for them. Do not check for +Inf in case not
17971 reachable for +Inf.
17972 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
17973 define.
17974 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
17975 and return -1 for them. Do not check for +Inf in case not
17976 reachable for +Inf.
17977 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
17978 spurious underflow.
17979 * sysdeps/i386/fpu/libm-test-ulps: Update.
17980 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17981
fb21f89b
MF
179822012-07-06 Mike Frysinger <vapier@gentoo.org>
17983
17984 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
17985
cdfe2c5e
JM
179862012-07-05 Joseph Myers <joseph@codesourcery.com>
17987
17988 [BZ #14157]
17989 [BZ #14331]
17990 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
17991 could result in spurious underflow. Scale down values above
17992 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
17993 * math/s_csqrtf.c (__csqrtf): Likewise.
17994 * math/s_csqrtl.c (__csqrtl): Likewise.
17995 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
17996 spurious underflow.
17997 * sysdeps/i386/fpu/libm-test-ulps: Update.
17998 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17999
70d35b67
AS
180002012-07-04 Andreas Schwab <schwab@linux-m68k.org>
18001
704bc459
AS
18002 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
18003 xopen-msg.sed.
18004 * catgets/xopen-msg.awk: New file.
18005 * catgets/xopen-msg.sed: Removed.
18006
70d35b67
AS
18007 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
18008 po2text.sed.
18009 * intl/po2test.awk: New file.
18010 * intl/po2test.sed: Removed.
18011
ca61cf32
JM
180122012-07-04 Joseph Myers <joseph@codesourcery.com>
18013
18014 [BZ #14328]
18015 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
18016 or multiply small sinh result by itself.
18017 * math/s_ctanf.c (__ctanf): Likewise.
18018 * math/s_ctanh.c (__ctanh): Likewise.
18019 * math/s_ctanhf.c (__ctanhf): Likewise.
18020 * math/s_ctanhl.c (__ctanhl): Likewise.
18021 * math/s_ctanl.c (__ctanl): Likewise.
18022 * math/libm-test.inc (ctan_test_tonearest): New function.
18023 (ctan_test_towardzero): Likewise.
18024 (ctan_test_downward): Likewise.
18025 (ctan_test_upward): Likewise.
18026 (ctanh_test_tonearest): Likewise.
18027 (ctanh_test_towardzero): Likewise.
18028 (ctanh_test_downward): Likewise.
18029 (ctanh_test_upward): Likewise.
18030 (main): Call these new functions.
18031 * sysdeps/i386/fpu/libm-test-ulps: Update.
18032 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18033
ca48a46a
MF
180342012-07-03 Mike Frysinger <vapier@gentoo.org>
18035
18036 * .gitignore: Delete /ports entry.
18037
9d63d37d
AJ
180382012-07-03 Andreas Jaeger <aj@suse.de>
18039
18040 * po/bg.po: Update from translation team.
18041 * po/cs.po: Likewise.
18042 * po/de.po: Likewise.
18043 * po/hr.po: Likewise.
18044 * po/nl.pl: Likewise.
18045 * po/pl.po: Likewise.
18046 * po/vi.po: Likewise.
18047
370ca3d2
JM
180482012-07-03 Joseph Myers <joseph@codesourcery.com>
18049
95f5a9a8
JM
18050 * Makeconfig [!+link] (+link-before-libc): New variable.
18051 [!+link] (+link-after-libc): Likewise.
18052 [!+link] (+link-tests): Likewise.
18053 [!+link] (+link): Define in terms of $(+link-before-libc) and
18054 $(+link-after-libc).
18055 [!+link-static] (+link-static-before-libc): New variable.
18056 [!+link-static] (+link-static-after-libc): Likewise.
18057 [!+link-static] (+link-static-tests): Likewise.
18058 [!+link-static] (+link-static): Define in terms of
18059 $(+link-static-before-libc) and $(+link-static-after-libc).
18060 [build-shared] (link-libc-before-gnulib): New variable.
18061 [build-shared] (link-libc-tests): Likewise.
18062 [build-shared] (link-libc): Define in terms of
18063 $(link-libc-before-gnulib).
18064 [!build-shared] (link-libc-tests): New variable.
18065 (link-libc-static-tests): New variable.
18066 [!gnulib] (gnulib-arch): New variable.
18067 [!gnulib] (gnulib-tests): Likewise.
18068 [!gnulib] (static-gnulib-arch): Likewise.
18069 [!gnulib] (static-gnulib-tests): Likewise.
18070 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
18071 Define with "=" instead of ":=".
18072 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
18073 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
18074 * Rules (binaries-all-notests): New variable.
18075 (binaries-all-tests): Likewise.
18076 (binaries-static-notests): Likewise.
18077 (binaries-static-tests): Likewise.
18078 (binaries-all): Define using $(binaries-all-notests) and
18079 $(binaries-all-tests).
18080 (binaries-static): Define using $(binaries-static-notests) and
18081 $(binaries-static-tests).
18082 (binaries-shared-tests): New variable.
18083 (binaries-shared-notests): Likewise.
18084 (binaries-shared): Remove variable.
18085 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
18086 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
18087 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
18088 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
18089 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
18090 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
18091 * elf/Makefile (sln-modules): New variable.
18092 (extra-objs): Add $(sln-modules:=.o).
18093 (ldconfig-modules): Add static-stubs.
18094 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
18095 * elf/static-stubs.c: New file.
18096
7a845b2c
JM
18097 [BZ #14283]
18098 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
18099 by 7 not 8 to examine high bit of fractional part. Use volatile
18100 variables when splitting into final array of floats if
18101 __FLT_EVAL_METHOD__ != 0.
18102 * math/libm-test.inc (cos_test): Add another test.
18103 (sin_test): Likewise.
18104 * sysdeps/i386/fpu/libm-test-ulps: Update.
18105
e2283f38
JM
18106 [BZ #14273]
18107 * math/libm-test.inc (cosh_test): Add more tests.
18108
370ca3d2
JM
18109 * version.h (RELEASE): Set to "development".
18110 (VERSION): Set to "2.16.90".
18111
ee9247c3
CD
181122012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
18113
18114 * NEWS: Update copyright. Remove last-updated date.
18115 Mention math library bug fixes and timezone data changes.
18116 * README: Mention GNU/Hurd, x32, and HPPA support status.
18117
4648c381
TS
181182012-06-28 Thomas Schwinge <thomas@codesourcery.com>
18119
18120 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
18121
aac78a43
AJ
181222012-06-27 Andreas Jaeger <aj@suse.de>
18123
18124 * manual/contrib.texi (Contributors): Add Samuel Thibault.
18125
ed3dbfad
AJ
181262012-06-25 Andreas Jaeger <aj@suse.de>
18127
18128 * sysdeps/s390/fpu/libm-test-ulps: Update.
18129
4d0ee855
AS
181302012-06-23 Andreas Schwab <schwab@linux-m68k.org>
18131 Thomas Schwinge <thomas@codesourcery.com>
18132
18133 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
18134 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
18135 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
18136 fanotify_mark.
18137
af1bce34
TS
181382012-06-23 Thomas Schwinge <thomas@codesourcery.com>
18139
a9fa33ba
TS
18140 * sysdeps/mach/start.c: Remove file.
18141 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
18142 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
18143 * sysdeps/sh/init-first.c: Likewise.
18144
58f902b8
TS
18145 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
18146 registers for frame unwinding purposes, add CFI directives.
18147 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
18148 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
18149 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
18150 Likewise.
18151
1518f58b
TS
18152 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
18153 __fortify_fail returning.
18154 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
18155
db9b5059
TS
18156 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
18157 sysdeps/sh/____longjmp_chk.S.
18158 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
18159 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
18160 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
18161 (gen-as-const-headers): Append sigaltstack-offsets.sym.
18162
967705fe
TS
18163 * sysdeps/sh/abort-instr.h: New file.
18164 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
18165 process in case exit returns.
18166
a9def8c4
TS
18167 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
18168 initialize the GOT register before use.
18169
2a649725
TS
18170 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
18171 calculation of ARGC > 4.
18172
af1bce34
TS
18173 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
18174 meaningful names to some local labels.
18175
d230f50a
KK
181762012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
18177 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18178
18179 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
18180 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
18181 (__arch_compare_and_exchange_val_16_acq): Likewise.
18182 (__arch_compare_and_exchange_val_32_acq): Likewise.
18183 (atomic_exchange_and_add): Fix gUSA sequence.
18184 (atomic_add): Likewise.
18185 (atomic_add_negative): Likewise.
18186 (atomic_add_zero): Likewise.
18187 (atomic_bit_test_set): Likewise.
18188
0479b305
AS
181892012-06-22 Andreas Schwab <schwab@redhat.com>
18190
18191 [BZ #13579]
18192 * include/link.h (struct link_map): Add l_free_initfini.
18193 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
18194 l_initfini.
18195 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
18196 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
18197 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
18198 set.
18199
0e3933b9
CD
182002012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
18201
18202 * configure.in: Use AC_LANG_SOURCE.
18203 * configure: Regenerate.
18204
4248b1b1
RM
182052012-06-22 Roland McGrath <roland@hack.frob.com>
18206
18207 * configure.in (libc_cv_localstatedir): New substituted variable.
18208 * configure: Regenerated.
18209 * config.make.in (localstatedir): New variable, substituted from
18210 libc_cv_localstatedir.
18211 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
18212 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
18213 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
18214 * sysdeps/gnu/configure: Regenerated.
18215
006dd861
JL
182162012-06-21 Jeff Law <law@redhat.com>
18217
18218 [BZ #14277]
18219 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
18220 free. Simplify list management for _LIBC case.
18221
79662d42
JM
182222012-06-21 Joseph Myers <joseph@codesourcery.com>
18223
b7abb4bf
JM
18224 [BZ #14273]
18225 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
18226 Clear sign bit of 64-bit integer value before comparing against
18227 overflow value.
18228
79662d42
JM
18229 * sysdeps/mach/configure: Regenerated.
18230
1f150908
L
182312012-06-21 H.J. Lu <hongjiu.lu@intel.com>
18232
18233 [BZ #14278]
18234 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
18235
28363bbf
JL
182362012-06-21 Jeff Law <law@redhat.com>
18237
18238 [BZ #13882]
18239 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
18240 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 18241 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
18242 * elf/dl-open.c (dl_open_worker): Likewise.
18243
09615db4
CD
182442012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
18245
18246 * scripts/list-sources.sh: Scan PORTS for translations.
18247 * po/libc.pot: Regenerated.
18248
2174c6dd
AJ
182492012-06-21 Andreas Jaeger <aj@suse.de>
18250
18251 [BZ #12194]
18252 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
18253 warning.
18254 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
18255 * bits/byteswap-16.h (__bswap_16): Likewise.
18256 * bits/byteswap.h (__bswap_constant_16): Likewise.
18257
3ee947b1
L
182582012-06-18 H.J. Lu <hongjiu.lu@intel.com>
18259
18260 [BZ #14117]
a2f34833
L
18261 * sysdeps/i386/fpu_control.h: Removed.
18262 * sysdeps/x86_64/fpu_control.h: Moved to ...
18263 * sysdeps/x86/fpu_control.h: Here.
18264
3ee947b1
L
18265 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
18266 (_FPU_SETCW): Likewise.
18267
ed1825f8
L
182682012-06-15 H.J. Lu <hongjiu.lu@intel.com>
18269
25f1282a
L
18270 [BZ #14117]
18271 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
18272 * sysdeps/x86/fpu/bits/mathinline.h: This.
18273 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
18274
ed1825f8
L
18275 [BZ #14050]
18276 [BZ #14117]
18277 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
18278 functions if __x86_64__ is defined.
18279
36d54b74
CLT
182802012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
18281
18282 * string/endian.h: Add !__ASSEMBLER__ condition for including
18283 conversion interfaces.
18284
10285c21
JM
182852012-06-15 Joseph Myers <joseph@codesourcery.com>
18286
18287 [BZ #14241]
18288 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
18289 of ABS(x) in calculating zero to negative powers other than odd
18290 integers.
18291 * math/libm-test.inc (pow_test): Add more tests.
18292
06c5abbd
AJ
182932012-06-15 Andreas Jaeger <aj@suse.de>
18294
18295 * manual/contrib.texi (Contributors): Update entry of Liubov
18296 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
18297 Machado Filho.
18298
a3aeac40
CH
182992012-06-15 Cyril Hrubis <metan@ucw.cz>
18300
18301 * string/string.h: Add __wur to GNU version of strerror_r.
18302
49bdf4c1
L
183032012-06-14 H.J. Lu <hongjiu.lu@intel.com>
18304
18305 [BZ #14229]
18306 * string/Makefile (tests): Add tst-strtok_r.
18307 * string/tst-strtok_r.c: New file.
18308 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
18309 RAX_LP/RDX_LP on SAVE_PTR.
18310
834f9b8d
RM
183112012-06-14 Roland McGrath <roland@hack.frob.com>
18312
18313 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
18314
75fa1921
JM
183152012-06-14 Joseph Myers <joseph@codesourcery.com>
18316
18317 * libm_test.inc (csqrt_test): Allow more spurious underflow
18318 exceptions.
18319 (j0_test): Likewise.
18320 (j1_test): Likewise.
18321 (y0_test): Likewise.
18322 (y1_test): Likewise.
18323
771766df
CD
183242012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
18325
18326 * po/Makefile (libc.pot): Use UTF-8 charset.
18327
ceb9e56b
PP
183282012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
18329
18330 [BZ #14210]
18331 Suppress sign-conversion warning from FD_SET.
18332 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
18333 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
18334 not unsigned long int.
18335 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
18336
ddb28975
L
183372012-06-12 H.J. Lu <hongjiu.lu@intel.com>
18338
18339 [BZ #14050]
18340 [BZ #14117]
18341 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
18342 __extern_always_inline instead of __extern_inline.
18343 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
18344 (__signbit): Likewise.
18345 (__signbitl): Support C++ namespace.
18346 (lrintf): New inline function.
18347 (lrint): Likewise.
18348 (llrintf): Likewise.
18349 (llrint): Likewise.
18350 (fmaxf): Likewise.
18351 (fmax): Likewise.
18352 (fminf): Likewise.
18353 (fmin): Likewise.
18354 (rint): Likewise.
18355 (rintf): Likewise.
18356 (ceil): Likewise.
18357 (ceilf): Likewise.
18358 (floor): Likewise.
18359 (floorf): Likewise.
18360 (nearbyint): Likewise.
18361 (nearbyintf): Likewise.
18362
d7b4fb26
TS
183632012-06-12 Thomas Schwinge <thomas@codesourcery.com>
18364
18365 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
18366 non-default versions.
18367
eb55f5c2
RM
183682012-06-11 Roland McGrath <roland@hack.frob.com>
18369
18370 [BZ #14218]
18371 * manual/argp.texi (Argp): Reword argp_parse description slightly.
18372
366af02c
TS
183732012-06-09 Thomas Schwinge <thomas@codesourcery.com>
18374
99ff6e5c
TS
18375 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
18376 (FE_UPWARD, FE_DOWNWARD): Don't define.
18377 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
18378 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
18379
366af02c
TS
18380 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
18381 reading it.
18382 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
18383 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18384
793ea851
KK
183852012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18386
18387 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
18388 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
18389 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
18390 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
18391
a728a38f
L
183922012-06-06 H.J. Lu <hongjiu.lu@intel.com>
18393
18394 [BZ #14117]
c08010c7
L
18395 * sysdeps/i386/fpu/bits/fenv.h: Removed.
18396 * sysdeps/i386/fpu/Implies: New file.
18397 * sysdeps/x86_64/fpu/Implies: Likewise.
18398 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
18399 * sysdeps/x86/fpu/bits/fenv.h: This.
18400
a728a38f
L
18401 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
18402 __SSE_MATH__.
18403
6e230d11
SP
184042012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
18405
18406 [BZ #14134]
18407 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
18408 character 0xffff that matches the last element of the
18409 conversion table.
18410
1b671feb
AZ
184112012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18412
18413 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
18414 fmodl commit.
18415
6043738b
AZ
184162012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18417
18418 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
18419 values higher than 25.6283.
18420
34ae0b32
AZ
184212012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18422
18423 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
18424 subnormal exponent extraction and add some __builtin_expect.
18425 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
18426 Fix for subnormal mantissa calculation.
18427
1214ec8f
MF
184282012-06-04 Mike Frysinger <vapier@gentoo.org>
18429
18430 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
18431 cpu2 is -1 and errno is not ENOSYS.
18432
f3d1f93c
L
184332012-06-04 H.J. Lu <hongjiu.lu@intel.com>
18434
18435 [BZ #14117]
0e4a3cd7
L
18436 * sysdeps/i386/i486/bits/string.h: Renamed to ...
18437 * sysdeps/x86/bits/string.h: This.
18438 * sysdeps/x86_64/bits/string.h: Removed.
18439
6704c645
L
18440 * sysdeps/i386/i486/bits/string.h: Define inline functions only
18441 if not compiling for x86-64, but compiling for >= i486.
18442
48495318
L
18443 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
18444 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
18445
14adcbfc
L
18446 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
18447 New macro from Linux kernel 3.4.0.
18448 (FP_XSTATE_MAGIC2): Likewise.
18449 (FP_XSTATE_MAGIC2_SIZE): Likewise.
18450 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
18451 (struct _fpx_sw_bytes): New struct.
18452 (struct _xsave_hdr): Likewise.
18453 (struct _ymmh_state): Likewise.
18454 (struct _xstate): Likewise.
18455
68e408ab
L
18456 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
18457 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
18458 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
18459 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
18460 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
18461 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
18462
f3d1f93c
L
18463 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
18464 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
18465 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
18466 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
18467 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
18468 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
18469
d9dc34cd
TMQMF
184702012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18471
18472 [BZ #13743]
18473 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
18474 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
18475 (sysdep_headers): Include sys/platform/ppc.h.
18476 * sysdeps/powerpc/test-gettimebase.c: Test for
18477 __ppc_get_timebase() to catch future ISA opcode/insn changes.
18478 * manual/Makefile (appendices): Include platform.texi.
18479 * manual/contrib.texi (Contributors): Update @node pointers.
18480 * manual/maint.texi (Maintenance): Likewise.
18481 (Platform): New node.
18482 * manual/platform.texi: New file. Document the new features.
18483
4af3879c
SP
184842012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18485 Jakub Jelinek <jakub@redhat.com>
18486
18487 [BZ #14188]
18488 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
18489 where __builtin_expect is unavailable.
18490
2fd6ff13
DM
184912012-06-03 David S. Miller <davem@davemloft.net>
18492
18493 * stdlib/longlong.h: Updated from GCC.
18494
173f7220
AS
184952012-06-02 Andreas Schwab <schwab@linux-m68k.org>
18496
18497 [BZ #14042]
18498 * sysdeps/powerpc/powerpc32/mcount.c: New file.
18499 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
18500 __mcount_internal.
18501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
18502 (GLIBC_2.16): Likewise.
18503
f34a1c6f
L
185042012-06-01 H.J. Lu <hongjiu.lu@intel.com>
18505
18506 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
18507
88a4576f
JM
185082012-06-01 Joseph Myers <joseph@codesourcery.com>
18509
ea32bcdd
JM
18510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
18511 (default-abi): New variable.
18512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
18513 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
18514 variable.
18515 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
18516 Likewise.
18517 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
18518 Likewise.
18519 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
18520 Likewise.
18521
88a4576f
JM
18522 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
18523 definition. Document in comment.
18524
402fe938
DM
185252012-06-01 David S. Miller <davem@davemloft.net>
18526
18527 * stdlib/longlong.h: Updated from GCC.
18528
3553723f
L
185292012-06-01 H.J. Lu <hongjiu.lu@intel.com>
18530
18531 [BZ #14117]
3bd872c4
L
18532 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
18533 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
18534 sys/debugreg.h sys/io.h here.
18535 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
18536 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
18537 sys/io.h.
18538 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
18539 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
18540 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
18541 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
18542 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
18543 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
18544
3553723f
L
18545 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
18546 Define only if __x86_64__ is defined.
18547
4842e4fe
JM
185482012-06-01 Joseph Myers <joseph@codesourcery.com>
18549
c5bfe3d5
JM
18550 [BZ #14048]
18551 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
18552 Use int64_t for variable i.
18553 * math/libm-test.inc (fmod_test): Add more tests.
18554
4842e4fe
JM
18555 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
18556 z computation is not scheduled after fetestexcept.
18557 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
18558 Use math_force_eval instead of asm to ensure calculation scheduled
18559 before exception test.
18560 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
18561 Ensure a1 + u.d computation is not scheduled after fetestexcept.
18562
efb73488
AJ
185632012-06-01 Aurelien Jarno <aurelien@aurel32.net>
18564
18565 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
18566 computation is not scheduled after fetestexcept.
18567
29bcce7c
L
185682012-06-01 H.J. Lu <hongjiu.lu@intel.com>
18569
18570 [BZ #14117]
18571 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
18572 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
18573
73a68f94
AZ
185742012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18575
18576 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
18577 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
18578
67b6df78
L
185792012-05-31 H.J. Lu <hongjiu.lu@intel.com>
18580
edf2933a 18581 [BZ #14117]
ebc64a18
L
18582 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
18583 <bits/wordsize.h>.
18584 (__WCHAR_MIN): Support __WORDSIZE == 64.
18585 (__WCHAR_MAX): Likewise.
18586
edf2933a
L
18587 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
18588 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
18589
57c6cf40
L
18590 [BZ #14183]
18591 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
18592 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
18593
67b6df78 18594 [BZ #14117]
8eb6281e
L
18595 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
18596 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
18597
aac639f4
L
18598 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
18599 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
18600
67b6df78
L
18601 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
18602 Defined to 1 if __x86_64__ isn't defined.
18603 (_STAT_VER_LINUX_OLD): New.
18604 (st_atime): Remove duplicate.
18605 (st_mtime): Likewise.
18606 (st_ctime): Likewise.
18607
1c2cfe81
DM
186082012-05-31 David S. Miller <davem@davemloft.net>
18609
18610 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
18611 entries.
18612
5be8418c
AS
186132012-06-01 Andreas Schwab <schwab@linux-m68k.org>
18614
e7725326
AS
18615 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
18616 gen-libm-test.pl.
18617
5be8418c
AS
18618 [BZ #14132]
18619 * elf/dl-reloc.c: Include <_itoa.h>.
18620 (_dl_reloc_bad_type): Remove use of INTUSE.
18621 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
18622 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
18623 * stdio-common/psiginfo.c (psiginfo): Likewise.
18624 * stdio-common/psignal.c (psignal): Likewise.
18625 * string/strsignal.c (strsignal): Likewise.
18626 * include/signal.h (_sys_siglist): Declare hidden proto.
18627 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
18628 INTVARDEF with libc_hidden_data_def.
18629 * stdio-common/itoa-udigits.c: Likewise.
18630 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
18631 (_itoa_lower_digits_internal): Remove declaration.
18632 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
18633 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
18634 (_sys_sigabbrev_internal): Remove aliases.
18635 (_sys_siglist): Define hidden alias.
18636
507352f1
MT
186372012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
18638
18639 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18640 bits/sysctl.h.
18641
42bbb1c3
L
186422012-05-31 H.J. Lu <hongjiu.lu@intel.com>
18643
18644 [BZ #14117]
6bd784b6
L
18645 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
18646 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
18647
8bca20f0
L
18648 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
18649 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
18650 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
18651 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
18652 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
18653 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
18654
f9e890a9
L
18655 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
18656 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
18657 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
18658
471101a1
L
18659 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
18660 with __addr.
18661 (insw): Likewise.
18662 (insl): Likewise.
18663 (outsb): Likewise.
18664 (outsw): Likewise.
18665 (outsl): Likewise.
18666
6451c862
L
18667 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
18668 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
18669 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
18670
a254b8c9
L
18671 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
18672 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
18673 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
18674 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
18675 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
18676 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
18677
b8dfdd92
L
18678 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
18679 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
18680
578cd270
L
18681 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
18682 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
18683
de662f5f
L
18684 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
18685 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
18686 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
18687
25653439
L
18688 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
18689 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
18690 to ...
18691 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
18692
6bad24a0
L
18693 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
18694 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
18695 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
18696
42bbb1c3
L
18697 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
18698 for x86-64.
18699 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
18700
2d10d547
JM
187012012-05-31 Joseph Myers <joseph@codesourcery.com>
18702
18703 * math/math.h (M_El): Use two more decimal places.
18704 (M_LOG2El): Likewise.
18705 (M_LOG10El): Likewise.
18706 (M_LN2l): Likewise.
18707 (M_LN10l): Likewise.
18708 (M_PIl): Likewise.
18709 (M_PI_2l): Likewise.
18710 (M_PI_4l): Likewise.
18711 (M_1_PIl): Likewise.
18712 (M_2_PIl): Likewise.
18713 (M_2_SQRTPIl): Likewise.
18714 (M_SQRT2l): Likewise.
18715 (M_SQRT1_2l): Likewise.
18716
f230c29b
DM
187172012-05-31 David S. Miller <davem@davemloft.net>
18718
18719 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
18720 values between float registers.
18721 * sysdeps/sparc/sparc64/memset.S: Likewise.
18722 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
18723
fed806c3
MF
187242012-05-31 Mike Frysinger <vapier@gentoo.org>
18725
18726 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
18727 -D_FORTIFY_SOURCE=1.
18728 (CPPFLAGS-tst-longjmp_chk.c): Define.
18729 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
18730 (CPPFLAGS-tst-longjmp_chk2.c): Define.
18731 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
18732 CFLAGS-tst-wchar-h.c.
18733
30917259
MP
187342012-05-31 Marek Polacek <polacek@redhat.com>
18735
18736 [BZ #14132]
18737 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
18738 __endmntent_internal): Remove declaration.
18739 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
18740 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
18741 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
18742
1c58d5dc
DM
187432012-05-30 David S. Miller <davem@davemloft.net>
18744
18745 * sysdeps/sparc/sparc32/soft-fp/q_util.c
18746 (___Q_simulate_exceptions): Use real FP ops rather than writing
18747 into the %fsr.
18748 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
18749 Likewise.
18750
7dc00e0d
L
187512012-05-30 H.J. Lu <hongjiu.lu@intel.com>
18752
18753 [BZ #14117]
0bd53985
L
18754 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
18755 * sysdeps/x86/bits/xtitypes.h: This.
18756
3a257e66
L
18757 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
18758 * sysdeps/x86/bits/wordsize.h: This.
18759
62f62904
L
18760 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
18761 * sysdeps/x86/bits/huge_vall.h: This.
18762
404fe9d9
L
18763 * sysdeps/i386/bits/select.h: Removed.
18764 * sysdeps/x86_64/bits/select.h: Renamed to ...
18765 * sysdeps/x86/bits/select.h: This.
18766
d48d0446
L
18767 * sysdeps/i386/bits/setjmp.h: Removed.
18768 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
18769 * sysdeps/x86/bits/setjmp.h: This.
18770
7dc00e0d
L
18771 * sysdeps/i386/bits/mathdef.h: Removed.
18772 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
18773 * sysdeps/x86/bits/mathdef.h: This.
18774
03277f8f
AS
187752012-05-30 Andreas Schwab <schwab@linux-m68k.org>
18776
18777 [BZ #14132]
18778 * include/sys/socket.h (__connect_internal)
18779 (__libc_sa_len_internal): Remove declaration.
18780 (__connect, __libc_sa_len): Declare hidden_proto.
18781 (SA_LEN): Remove use of INTUSE.
18782 * socket/connect.c: Add libc_hidden_def.
18783 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
18784 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
18785 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
18786 alias.
18787 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
18788 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
18789 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
18790 of adding _internal alias.
18791
13764867
L
187922012-05-30 H.J. Lu <hongjiu.lu@intel.com>
18793
18794 [BZ #14117]
6bd97696
L
18795 * sysdeps/i386/bits/link.h: Removed.
18796 * sysdeps/i386/bits/linkmap.h: Likewise.
18797 * sysdeps/x86_64/bits/link.h: Renamed to ...
18798 * sysdeps/x86/bits/link.h: This.
18799 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
18800 * sysdeps/x86/bits/linkmap.h: This.
18801
f726f0bb
L
18802 * sysdeps/i386/bits/endian.h: Removed.
18803 * sysdeps/x86_64/bits/endian.h: Renamed to ...
18804 * sysdeps/x86/bits/endian.h: This.
18805
13764867
L
18806 * sysdeps/i386/bits/byteswap.h: Removed.
18807 * sysdeps/i386/bits/byteswap-16.h: Likewise.
18808 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
18809 * sysdeps/x86/bits/byteswap.h: This.
18810 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
18811 * sysdeps/x86/bits/byteswap-16.h: This.
18812 * sysdeps/i386/Implies: Add x86.
18813 * sysdeps/x86_64/Implies: Likewise.
18814
ae251b0b
DM
188152012-05-30 David S. Miller <davem@davemloft.net>
18816
18817 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
18818 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
18819 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
18820 (FP_TRAPPING_EXCEPTIONS): Define.
18821 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
18822 (FP_TRAPPING_EXCEPTIONS): Define.
18823 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
18824 subnormals only when inexact has been signalled or underflow
18825 exceptions are enabled.
18826 (_FP_PACK_CANONICAL): Likewise.
18827
d5c90867
L
188282012-05-30 H.J. Lu <hongjiu.lu@intel.com>
18829
18830 [BZ #14183]
18831 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
18832 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
18833
63f1549e
RH
188342012-05-30 Richard Henderson <rth@twiddle.net>
18835
8d8f2279
RH
18836 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
18837 with #ifndef NOT_IN_libc.
18838
63f1549e
RH
18839 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
18840 marked to avoid plt entry.
18841
0ab0291b
L
188422012-05-30 H.J. Lu <hongjiu.lu@intel.com>
18843
18844 [BZ #14112]
18845 * Makeconfig (default-abi): New macro.
18846 (abi-includes): Likewise.
18847 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
18848 $(abi-$(default-abi)-lib-soname) for soname if defined.
18849 ($(common-objpfx)gnu/lib-names.stmp): Generate from
18850 abi-variants.
18851 * Makefile (installed-stubs): Likewise.
18852 * include/stubs-biarch.h: Removed.
18853 * scripts/lib-names.awk: Only handle one library at a time.
18854 * scripts/soversions.awk: Remove WORDSIZE support.
18855 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
18856 entries.
18857 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
18858 Removed.
18859 (syscall-list-default-condition): Likewise.
18860 (syscall-list-default-condition): Likewise.
18861 (syscall-list-includes): Likewise.
18862 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
18863 syscall-list-* with abi-*. Handle undefined abi-variants.
18864 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
18865 * sysdeps/unix/sysv/linux/i386/Implies: New file.
18866 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
18867 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
18868 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
18869 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
18870 Removed.
18871 (syscall-list-32-options): Likewise.
18872 (syscall-list-32-condition): Likewise.
18873 (syscall-list-64-options): Likewise.
18874 (syscall-list-64-condition): Likewise.
18875 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
18876 macro.
18877 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
18878 Renamed to ...
18879 (abi-*): This.
18880 (abi-64-ld-soname): New macro.
18881 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
18882 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
18883 Renamed to ...
18884 (abi-*): This.
18885 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
18886 * sysdeps/x86_64/x32/shlib-versions: Likewise.
18887
4da0431d
JM
188882012-05-30 Joseph Myers <joseph@codesourcery.com>
18889
3a85279c
JM
18890 * sysdeps/unix/sysv/linux/kernel-features.h
18891 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
18892 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
18893 include <kernel-features.h>.
18894 [!__NR_ftruncate64]: Remove conditional code.
18895 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18896 [__NR_ftruncate64]: Make code unconditional.
18897 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18898 * sysdeps/unix/sysv/linux/truncate64.c: Do not
18899 include <kernel-features.h>.
18900 [!__NR_ftruncate64]: Remove conditional code.
18901 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18902 [__NR_ftruncate64]: Make code unconditional.
18903 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
18905 include <kernel-features.h>.
18906 [!__NR_ftruncate64]: Remove conditional code.
18907 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18908 [__NR_ftruncate64]: Make code unconditional.
18909 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
18911 include <kernel-features.h>.
18912 [!__NR_ftruncate64]: Remove conditional code.
18913 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18914 [__NR_ftruncate64]: Make code unconditional.
18915 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18916
4da0431d
JM
18917 * configure.in (libc_cv_fpie): Weaken to a compile test using
18918 LIBC_TRY_CC_OPTION.
18919 * configure: Regenerated.
18920
11ef492c
AK
189212012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18922
18923 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
18924 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
18925 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
18926 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18927 Refreshed.
18928 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
18929 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
18930 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
18931 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
18932 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
18933 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18934 Refreshed.
18935
d66ef399
DM
189362012-05-27 David S. Miller <davem@davemloft.net>
18937
18938 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
18939 (___Q_zero): New.
18940 (__Q_simulate_exceptions): Return void. Change to simulate
18941 exceptions by writing into the %fsr.
18942 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
18943 (__Qp_handle_exceptions): Likewise.
18944 (numbers): Delete.
18945 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
18946 __Qp_handle_exceptions.
18947 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
18948 __Qp_handle_exceptions.
18949 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
18950 as unused and give dummy FP_RND_NEAREST initializer.
18951 (FP_INHIBIT_RESULTS): Define.
18952 (___Q_simulate_exceptions): Update declaration.
18953 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
18954 formatting.
18955 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
18956 as unused and give dummy FP_RND_NEAREST initializer.
18957 (__Qp_handle_exceptions): Update declaration.
18958 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
18959 formatting.
18960
04fb54b5
TS
189612012-05-27 Thomas Schwinge <thomas@codesourcery.com>
18962
18963 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
18964 the temporary FPU control word.
18965 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
18966 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
18967 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
18968 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
18969 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
18970 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
18971 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
18972 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
18973 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
18974 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
18975 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18976
3f99608f
KK
189772012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18978
18979 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
18980 fields.
18981
65a4de4e
CLT
189822012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
18983
18984 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
18985 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
18986 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
18987 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
18988 Likewise.
18989 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
18990 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
18991 Likewise.
18992
15749d40
UD
189932012-05-27 Ulrich Drepper <drepper@gmail.com>
18994
18995 * po/h.po: Update from translation team.
18996
25dbcb27
AS
189972012-05-26 Andreas Schwab <schwab@linux-m68k.org>
18998
3d3f8e55
AS
18999 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
19000
25dbcb27
AS
19001 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
19002 handling of denormals.
19003 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19004 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
19005 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
19006 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
19007 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19008 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
19009 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
19010 Likewise.
19011
7ad47a80 190122012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
19013
19014 [BZ #14152]
19015 * math/libm-test.inc (fma_test): Don't always expect underflow
19016 exception.
19017
9c6ea9fa
SP
190182012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19019
19020 [BZ #12416]
19021 * elf/tst-execstack.c: Include stackinfo.h.
19022 (do_test): Adjust test case to ensure that pthread_getattr_np
19023 behaviour remains the same after marking stack executable.
19024
a8239222
JM
190252012-05-25 Joseph Myers <joseph@codesourcery.com>
19026
19027 * sysdeps/unix/sysv/linux/kernel-features.h
19028 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
19029 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
19030 kernel-features.h.
19031 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
19032 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
19033 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
19034 kernel-features.h.
19035 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
19036 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
19037
918b5606
L
190382012-05-25 H.J. Lu <hongjiu.lu@intel.com>
19039
19040 * configure.in: Define the default includes to being none.
19041 * configure: Regenerated.
19042
3a097cc7
RM
190432012-05-25 Roland McGrath <roland@hack.frob.com>
19044
8422c9a5
RM
19045 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
19046 * sysdeps/x86_64/setjmp.S: Likewise.
19047 * sysdeps/i386/bsd-setjmp.S: Likewise.
19048 * sysdeps/i386/bsd-_setjmp.S: Likewise.
19049 * sysdeps/i386/setjmp.S: Likewise.
19050 * sysdeps/i386/__longjmp.S: Likewise.
19051 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
19052 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
19053
3a097cc7
RM
19054 * include/stap-probe.h: New file.
19055 * configure.in: Handle --enable-systemtap.
19056 * configure: Regenerated.
19057 * config.h.in (USE_STAP_PROBE): New #undef.
19058 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
19059 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
19060 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
19061
21708942
JM
190622012-05-25 Joseph Myers <joseph@codesourcery.com>
19063
19064 [BZ #13717]
19065 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
19066 to 2.4.0 where earlier.
19067 * sysdeps/unix/sysv/linux/configure: Regenerated.
19068 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
19069 <kernel-features.h>.
19070 [__ASSUME_32BITUIDS]: Make code unconditional.
19071 [!__ASSUME_32BITUIDS]: Remove conditional code.
19072 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
19073 <kernel-features.h>.
19074 [__ASSUME_32BITUIDS]: Make code unconditional.
19075 [!__ASSUME_32BITUIDS]: Remove conditional code.
19076 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
19077 [__ASSUME_32BITUIDS]: Make code unconditional.
19078 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
19079 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
19080 <kernel-features.h>.
19081 [__ASSUME_32BITUIDS]: Make code unconditional.
19082 [!__ASSUME_32BITUIDS]: Remove conditional code.
19083 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
19084 <kernel-features.h>.
19085 [__ASSUME_32BITUIDS]: Make code unconditional.
19086 [!__ASSUME_32BITUIDS]: Remove conditional code.
19087 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
19088 <kernel-features.h>.
19089 [__ASSUME_32BITUIDS]: Make code unconditional.
19090 [!__ASSUME_32BITUIDS]: Remove conditional code.
19091 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
19092 <kernel-features.h>.
19093 [__ASSUME_32BITUIDS]: Make code unconditional.
19094 [!__ASSUME_32BITUIDS]: Remove conditional code.
19095 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
19096 <kernel-features.h>.
19097 [__ASSUME_32BITUIDS]: Make code unconditional.
19098 [!__ASSUME_32BITUIDS]: Remove conditional code.
19099 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
19100 <kernel-features.h>.
19101 [__ASSUME_32BITUIDS]: Make code unconditional.
19102 [!__ASSUME_32BITUIDS]: Remove conditional code.
19103 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
19104 <kernel-features.h>.
19105 [__ASSUME_32BITUIDS]: Make code unconditional.
19106 [!__ASSUME_32BITUIDS]: Remove conditional code.
19107 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
19108 <kernel-features.h>.
19109 [__ASSUME_32BITUIDS]: Make code unconditional.
19110 [!__ASSUME_32BITUIDS]: Remove conditional code.
19111 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
19112 <kernel-features.h>.
19113 [__ASSUME_32BITUIDS]: Make code unconditional.
19114 [!__ASSUME_32BITUIDS]: Remove conditional code.
19115 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
19116 <kernel-features.h>.
19117 [__ASSUME_32BITUIDS]: Make code unconditional.
19118 [!__ASSUME_32BITUIDS]: Remove conditional code.
19119 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
19120 <kernel-features.h>.
19121 [__NR_setresgid] (__setresgid): Do not declare.
19122 [__ASSUME_32BITUIDS]: Make code unconditional.
19123 [!__ASSUME_32BITUIDS]: Remove conditional code.
19124 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
19125 <kernel-features.h>.
19126 [__NR_setresuid] (__setresuid): Do not declare.
19127 [__ASSUME_32BITUIDS]: Make code unconditional.
19128 [!__ASSUME_32BITUIDS]: Remove conditional code.
19129 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
19130 <kernel-features.h>.
19131 [__ASSUME_32BITUIDS]: Make code unconditional.
19132 [!__ASSUME_32BITUIDS]: Remove conditional code.
19133 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
19134 <kernel-features.h>.
19135 [__ASSUME_32BITUIDS]: Make code unconditional.
19136 [!__ASSUME_32BITUIDS]: Remove conditional code.
19137 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
19138 <kernel-features.h>.
19139 [__ASSUME_32BITUIDS]: Make code unconditional.
19140 [!__ASSUME_32BITUIDS]: Remove conditional code.
19141 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
19142 <kernel-features.h>.
19143 [__ASSUME_32BITUIDS]: Make code unconditional.
19144 [!__ASSUME_32BITUIDS]: Remove conditional code.
19145 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
19146 <kernel-features.h>.
19147 [__ASSUME_32BITUIDS]: Make code unconditional.
19148 [!__ASSUME_32BITUIDS]: Remove conditional code.
19149 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
19150 <kernel-features.h>.
19151 [__ASSUME_32BITUIDS]: Make code unconditional.
19152 [!__ASSUME_32BITUIDS]: Remove conditional code.
19153 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
19154 <kernel-features.h>.
19155 [__ASSUME_32BITUIDS]: Make code unconditional.
19156 [!__ASSUME_32BITUIDS]: Remove conditional code.
19157 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
19158 <kernel-features.h>.
19159 [__ASSUME_32BITUIDS]: Make code unconditional.
19160 [!__ASSUME_32BITUIDS]: Remove conditional code.
19161 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
19162 <kernel-features.h>.
19163 [__ASSUME_32BITUIDS]: Make code unconditional.
19164 [!__ASSUME_32BITUIDS]: Remove conditional code.
19165 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
19166 <kernel-features.h>.
19167 [__ASSUME_32BITUIDS]: Make code unconditional.
19168 [!__ASSUME_32BITUIDS]: Remove conditional code.
19169 * sysdeps/unix/sysv/linux/kernel-features.h
19170 (__ASSUME_SETRESUID_SYSCALL): Remove.
19171 (__ASSUME_SETRESGID_SYSCALL): Likewise.
19172 (__ASSUME_32BITUIDS): Likewise.
19173 (__ASSUME_LDT_WORKS): Likewise.
19174 (__ASSUME_O_DIRECTORY): Likewise.
19175 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
19176 architecture but not kernel version.
19177 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
19178 (__ASSUME_MMAP2_SYSCALL): Likewise.
19179 (__ASSUME_STAT64_SYSCALL): Likewise.
19180 (__ASSUME_IPC64): Likewise.
19181 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
19182 <kernel-features.h>.
19183 [__ASSUME_32BITUIDS]: Make code unconditional.
19184 [!__ASSUME_32BITUIDS]: Remove conditional code.
19185 * sysdeps/unix/sysv/linux/opendir.c: Do not include
19186 <kernel-features.h>.
19187 [__ASSUME_O_DIRECTORY]: Make code unconditional.
19188 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
19189 132096]: Remove conditional code.
19190 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
19191 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
19192 <kernel-features.h>.
19193 [__ASSUME_32BITUIDS]: Make code unconditional.
19194 [!__ASSUME_32BITUIDS]: Remove conditional code.
19195 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
19196 <kernel-features.h>.
19197 [__ASSUME_32BITUIDS]: Make code unconditional.
19198 [!__ASSUME_32BITUIDS]: Remove conditional code.
19199 * sysdeps/unix/sysv/linux/setegid.c: Do not include
19200 <kernel-features.h>.
19201 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
19202 unconditional.
19203 (__setresgid): Do not declare.
19204 [__ASSUME_32BITUIDS]: Make code unconditional.
19205 [!__ASSUME_32BITUIDS]: Remove conditional code.
19206 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
19207 <kernel-features.h>.
19208 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
19209 unconditional.
19210 (__setresuid): Do not declare.
19211 [__ASSUME_32BITUIDS]: Make code unconditional.
19212 [!__ASSUME_32BITUIDS]: Remove conditional code.
19213 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
19214 <kernel-features.h>.
19215 [__ASSUME_32BITUIDS]: Make code unconditional.
19216 [!__ASSUME_32BITUIDS]: Remove conditional code.
19217 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
19218 <kernel-features.h>.
19219 [__ASSUME_32BITUIDS]: Make code unconditional.
19220 [!__ASSUME_32BITUIDS]: Remove conditional code.
19221
a386f1cc
RH
192222012-05-25 Richard Henderson <rth@twiddle.net>
19223
19224 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
19225 dl_hwcap to ifunc resolver.
19226 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
19227 elf_ifunc_invoke.
19228 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
19229 dl_hwcap to ifunc resolver.
19230 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
19231
b6550497
JM
192322012-05-24 Joseph Myers <joseph@codesourcery.com>
19233
19234 [BZ #14153]
19235 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
19236 for |x| <= 2**-26, not 2**-57.
19237 * math/libm-test.inc (acos_test): Do not allow spurious underflow
19238 exception.
19239
b0bc23a1
JL
192402012-05-24 Jeff Law <law@redhat.com>
19241
19242 * stdio-common/Makefile (tests): Add bug25.
19243 * stdio-common/bug25.c: New test.
19244
347c92e9
L
192452012-05-24 H.J. Lu <hongjiu.lu@intel.com>
19246
19247 [BZ #13576]
19248 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
19249 multiple of MALLOC_ALIGNMENT in size.
19250 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
19251
6bcc8b3f
JM
192522012-05-24 Joseph Myers <joseph@codesourcery.com>
19253
19254 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
19255 Require >= 256.
19256 (FILENAME_MAX): Use macro-int-constant.
19257 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
19258 (_IOFBF): Use macro-int-constant.
19259 (_IOLBF): Likewise.
19260 (_IONBF): Likewise.
19261 (SEEK_CUR): Likewise.
19262 (SEEK_END): Likewise.
19263 (SEEK_SET): Likewise.
19264 (TMP_MAX): Likewise.
19265 (EOF): Use macro-int-constant. Require < 0.
19266 (NULL): Use macro-constant. Require == 0.
19267 (stdin): Require type to be FILE *.
19268 (stdout): Likewise.
19269 (stderr): Likewise.
19270 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
19271 macro-int-constant.
19272 (EXIT_SUCCESS): Likewise.
19273 (NULL): Use macro-constant. Require == 0.
19274 (RAND_MAX): Use macro-int-constant.
19275 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
19276 [C99-based standards] (strtof): Require function.
19277 [C99-based standards] (strtold): Likewise.
19278 [C99-based standards] (strtoll): Likewise.
19279 [C99-based standards] (strtoull): Likewise.
19280 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
19281 [ISO || ISO99 || ISO11] (limits.h): Likewise.
19282 [ISO || ISO99 || ISO11] (math.h): Likewise.
19283 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
19284 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
19285 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19286
d18ea0c5
AS
192872012-05-24 Andreas Schwab <schwab@linux-m68k.org>
19288
19289 [BZ #14132]
56d25bb8
AS
19290 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
19291 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
19292 * intl/dgettext.c (DCGETTEXT): Likewise.
19293 * intl/gettext.c (DCGETTEXT): Likewise.
19294 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
19295 * posix/regex_internal.h (gettext): Likewise.
19296 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
19297 Remove declaration.
19298 * include/argz.h (__argz_count_internal)
19299 (__argz_stringify_internal): Remove declaration.
19300 (__argz_count, __argz_stringify): Declare hidden proto.
19301 * intl/dcgettext.c: Remove use of INTDEF.
19302 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
19303 * string/argz-stringify.c: Likewise.
19304 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
19305 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
19306 Declare hidden proto.
d18ea0c5
AS
19307 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
19308 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
19309 Declare hidden proto.
19310 * include/stdio.h (__asprintf_internal): Don't declare.
19311 (__asprintf): Don't define as macro. Declare hidden proto.
19312 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
19313 (__fsetlocking): Declare hidden proto.
19314 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
19315 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
19316 hidden proto.
19317 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
19318 (_IO_setlinebuf): Remove use of INTUSE.
19319 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
19320 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
19321 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
19322 Remove declaration.
19323 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
19324 (_IO_do_flush): Remove use of INTUSE.
19325 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
19326 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
19327 (_IO_adjust_column, _IO_least_wmarker)
19328 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
19329 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
19330 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
19331 (_IO_default_doallocate, _IO_wdefault_doallocate)
19332 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
19333 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
19334 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
19335 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
19336 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
19337 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
19338 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
19339 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
19340 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
19341 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
19342 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
19343 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
19344 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
19345 proto.
19346 (_IO_flush_all_internal, _IO_adjust_column_internal)
19347 (_IO_default_uflow_internal, _IO_default_finish_internal)
19348 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
19349 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
19350 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
19351 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
19352 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
19353 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
19354 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
19355 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
19356 (_IO_file_close_internal, _IO_file_close_it_internal)
19357 (_IO_file_underflow_internal, _IO_file_overflow_internal)
19358 (_IO_file_init_internal, _IO_file_attach_internal)
19359 (_IO_file_fopen_internal, _IO_file_read_internal)
19360 (_IO_file_sync_internal, _IO_file_seek_internal)
19361 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
19362 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
19363 (_IO_str_underflow_internal, _IO_str_overflow_internal)
19364 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
19365 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
19366 (_IO_list_all_internal, _IO_link_in_internal)
19367 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
19368 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
19369 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
19370 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
19371 (_IO_do_write_internal, _IO_padn_internal)
19372 (_IO_getline_info_internal, _IO_getline_internal)
19373 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
19374 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
19375 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
19376 (_IO_vfscanf_internal, _IO_vfprintf_internal)
19377 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
19378 (_IO_init_internal, _IO_un_link_internal): Don't declare.
19379 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
19380 with libc_hidden_ver, remove use of INTUSE.
19381 * libio/genops.c: Likewise.
19382 * libio/freopen.c: Likewise.
19383 * libio/freopen64.c: Likewise.
19384 * libio/iofclose.c: Likewise.
19385 * libio/iofdopen.c: Likewise.
19386 * libio/iofflush.c: Likewise.
19387 * libio/iofflush_u.c: Likewise.
19388 * libio/iofgets.c: Likewise.
19389 * libio/iofgets_u.c: Likewise.
19390 * libio/iofopen.c: Likewise.
19391 * libio/iofopncook.c: Likewise.
19392 * libio/iofread.c: Likewise.
19393 * libio/iofread_u.c: Likewise.
19394 * libio/ioftell.c: Likewise.
19395 * libio/iofwrite.c: Likewise.
19396 * libio/iogetline.c: Likewise.
19397 * libio/iogets.c: Likewise.
19398 * libio/iogetwline.c: Likewise.
19399 * libio/iopadn.c: Likewise.
19400 * libio/iopopen.c: Likewise.
19401 * libio/ioseekoff.c: Likewise.
19402 * libio/ioseekpos.c: Likewise.
19403 * libio/iosetbuffer.c: Likewise.
19404 * libio/iosetvbuf.c: Likewise.
19405 * libio/ioungetc.c: Likewise.
19406 * libio/ioungetwc.c: Likewise.
19407 * libio/iovdprintf.c: Likewise.
19408 * libio/iovsprintf.c: Likewise.
19409 * libio/iovsscanf.c: Likewise.
19410 * libio/memstream.c: Likewise.
19411 * libio/obprintf.c: Likewise.
19412 * libio/oldfileops.c: Likewise.
19413 * libio/oldiofclose.c: Likewise.
19414 * libio/oldiofdopen.c: Likewise.
19415 * libio/oldiofopen.c: Likewise.
19416 * libio/oldiopopen.c: Likewise.
19417 * libio/oldstdfiles.c: Likewise.
19418 * libio/putc.c: Likewise.
19419 * libio/setbuf.c: Likewise.
19420 * libio/setlinebuf.c: Likewise.
19421 * libio/stdfiles.c: Likewise.
19422 * libio/strops.c: Likewise.
19423 * libio/vasprintf.c: Likewise.
19424 * libio/vscanf.c: Likewise.
19425 * libio/vsnprintf.c: Likewise.
19426 * libio/vswprintf.c: Likewise.
19427 * libio/wfiledoalloc.c: Likewise.
19428 * libio/wfileops.c: Likewise.
19429 * libio/wgenops.c: Likewise.
19430 * libio/wmemstream.c: Likewise.
19431 * libio/wstrops.c: Likewise.
19432 * libio/__fpurge.c: Likewise.
19433 * libio/__fsetlocking.c: Likewise.
19434 * assert/assert.c: Likewise.
19435 * debug/fgets_chk.c: Likewise.
19436 * debug/fgets_u_chk.c: Likewise.
19437 * debug/fread_chk.c: Likewise.
19438 * debug/fread_u_chk.c: Likewise.
19439 * debug/gets_chk.c: Likewise.
19440 * debug/obprintf_chk.c: Likewise.
19441 * debug/vasprintf_chk.c: Likewise.
19442 * debug/vdprintf_chk.c: Likewise.
19443 * debug/vsnprintf_chk.c: Likewise.
19444 * debug/vsprintf_chk.c: Likewise.
19445 * malloc/mtrace.c: Likewise.
19446 * misc/error.c: Likewise.
19447 * misc/syslog.c: Likewise.
19448 * stdio-common/asprintf.c: Likewise.
19449 * stdio-common/fxprintf.c: Likewise.
19450 * stdio-common/getw.c: Likewise.
19451 * stdio-common/isoc99_fscanf.c: Likewise.
19452 * stdio-common/isoc99_scanf.c: Likewise.
19453 * stdio-common/isoc99_vfscanf.c: Likewise.
19454 * stdio-common/isoc99_vscanf.c: Likewise.
19455 * stdio-common/isoc99_vsscanf.c: Likewise.
19456 * stdio-common/printf-prs.c: Likewise.
19457 * stdio-common/printf_fp.c: Likewise.
19458 * stdio-common/printf_fphex.c: Likewise.
19459 * stdio-common/printf_size.c: Likewise.
19460 * stdio-common/putw.c: Likewise.
19461 * stdio-common/scanf.c: Likewise.
19462 * stdio-common/sprintf.c: Likewise.
19463 * stdio-common/tmpfile.c: Likewise.
19464 * stdio-common/vfprintf.c: Likewise.
19465 * stdio-common/vfscanf.c: Likewise.
19466 * stdlib/strfmon_l.c: Likewise.
19467 * sunrpc/openchild.c: Likewise.
19468 * sunrpc/xdr_stdio.c: Likewise.
19469 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
19470 * sysdeps/mach/hurd/tmpfile.c: Likewise.
19471
d6c33fda
RM
194722012-05-24 Roland McGrath <roland@hack.frob.com>
19473
c1487492
RM
19474 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
19475
19476 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
19477 in the third column, to generate for the shared library an IFUNC
19478 that uses _dl_vdso_vsym.
19479 * Makerules (COMPILE.c, compile-stdin.c): New variables.
19480 * Makeconfig (object-suffixes-noshared): New variable.
19481
19482 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
19483 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
19484 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
19485 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
19486
d6c33fda
RM
19487 [BZ #14132]
19488 * include/sys/time.h (__gettimeofday): Remove macro.
19489 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
19490 * time/gettimeofday.c (__gettimeofday): Remove #undef.
19491 Remove INTDEF.
19492 (__gettimeofday): Add libc_hidden_def.
19493 (gettimeofday): Add libc_hidden_weak.
19494 * sysdeps/mach/gettimeofday.c: Likewise.
19495 * sysdeps/posix/gettimeofday.c: Likewise.
19496 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
19497 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
19498 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
19499 (__gettimeofday_internal): Remove strong_alias.
19500 (__gettimeofday): Add libc_hidden_def.
19501 (gettimeofday): Add libc_hidden_weak.
19502 * sysdeps/unix/syscalls.list (gettimeofday):
19503 Remove __gettimeofday_internal alias.
19504
b5a2bbe6
L
195052012-05-24 Daniel Jacobowitz <drow@false.org>
19506 H.J. Lu <hongjiu.lu@intel.com>
19507
19508 [BZ #12495]
19509 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
19510 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
19511 (largebin_index_32_big): New.
19512 (largebin_index): Use it for 16-byte alignment.
19513 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
19514 correction with front_misalign.
19515
cfba4fda
L
195162012-05-24 H.J. Lu <hongjiu.lu@intel.com>
19517
7f907421
L
19518 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
19519 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
19520 Likewise.
19521 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
19522 Likewise.
19523 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
19524 Likewise.
19525 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
19526 Likewise.
19527 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
19528 Likewise.
19529 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
19530 Likewise.
19531 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
19532 Likewise.
19533 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
19534 Likewise.
19535 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
19536 Likewise.
19537 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
19538 Likewise.
19539 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
19540 Likewise.
19541 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
19542 Likewise.
19543
cfba4fda
L
19544 * scripts/data/c++-types-x32-linux-gnu.data: New file.
19545 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
19546
80bad0cc
JM
195472012-05-24 Joseph Myers <joseph@codesourcery.com>
19548
7a25eb06
JM
19549 [BZ #10846]
19550 [BZ #14036]
19551 * math/libm-test.inc (exp_test): Add test from bug 14036.
19552 (pow_test): Add test from bug 10846.
19553
795405f9
JM
19554 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
19555 and other flags.
19556 (special_function): Do not include flags in test name.
19557 (parse_args): Likewise.
19558 * sysdeps/i386/fpu/libm-test-ulps: Update.
19559 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19560 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19561 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19562 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19563
80bad0cc
JM
19564 * math/gen-libm-test.pl (%beautify): Add entries for underflow
19565 exceptions.
19566 * math/libm-test.inc ("Philosophy"): Update comment about
19567 exception testing.
19568 (UNDERFLOW_EXCEPTION): New macro.
19569 (UNDERFLOW_EXCEPTION_OK): Likewise.
19570 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
19571 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
19572 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
19573 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
19574 (INVALID_EXCEPTION_OK): Update value.
19575 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
19576 (OVERFLOW_EXCEPTION_OK): Likewise.
19577 (IGNORE_ZERO_INF_SIGN): Likewise.
19578 (test_exceptions): Handle underflow exceptions.
19579 (acos_test): Update for underflow exception expectations.
19580 (cexp_test): Likewise.
19581 (clog_test): Likewise.
19582 (clog10_test): Likewise.
19583 (csqrt_test): Likewise.
19584 (ctan_test): Likewise.
19585 (ctanh_test): Likewise.
19586 (exp_test): Likewise.
19587 (exp10_test): Likewise.
19588 (exp2_test): Likewise.
19589 (expm1_test): Likewise.
19590 (fma_test): Likewise.
19591 (j0_test): Likewise.
19592 (jn_test): Likewise.
19593 (nexttoward_test): Likewise.
19594 (pow_test): Likewise.
19595 (scalbn_test): Likewise.
19596 (scalbln_test): Likewise.
19597 (tan_test): Likewise.
19598 (y1_test): Likewise.
19599 * sysdeps/i386/fpu/libm-test-ulps: Update.
19600 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19601
9e0e3d0b
DM
196022012-05-23 David S. Miller <davem@davemloft.net>
19603
19604 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
19605 (__libc_sigaction): Remove unused local variables.
19606
ccd0a08f
L
196072012-05-23 H.J. Lu <hongjiu.lu@intel.com>
19608
19609 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
19610
62bdf9a6
PE
196112012-05-23 Paul Eggert <eggert@cs.ucla.edu>
19612
f8591f80
PE
19613 mktime: avoid signed integer overflow
19614 * time/mktime.c (__mktime_internal): Do not mishandle the case
19615 where diff == INT_MIN.
19616
94c7d826
PE
19617 mktime: simplify computation of average
19618 * time/mktime.c (ranged_convert): Use new time_t_avg function
19619 instead of rolling our own (probably-slower) code.
19620
ce73d683
PE
19621 mktime: do not assume signed right shift propagates sign bit
19622 * time/mktime.c (isdst_differ): New static function.
19623 (__mktime_internal): No need to normalize tm_isdst now.
19624 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
19625 tm_isdst values.
19626
72a22e59
PE
19627 mktime: merge another wrapv change from gnulib
19628 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
19629 from some compilers.
19630
68605433
PE
19631 mktime: remove incorrect attempt at unusual arithmetics
19632 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
19633 The code didn't really work on such machines anyway.
19634 (TYPE_MINIMUM): Assume two's complement.
19635 (twos_complement_arithmetic): Verify that long_int and time_t
19636 are two's complement (or unsigned, in the latter case).
19637
03cf7fe3
PE
19638 mktime: check signed shifts on long_int and time_t, too
19639 * time/mktime.c (SHR): Check that shifts work as desired
19640 on the types long_int and time_t too, as SHR is used on
19641 such types.
19642
f04dfbc2
PE
19643 mktime: do not assume 'long' is wide enough
19644 * time/mktime.c (verify): Move decl up.
19645 (long_int): New type.
19646 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
19647 to remove assumption in the code that 'long' is wide enough to
19648 store year values. This assumption is not true on x32 and on
19649 some non-glibc platforms.
19650
62bdf9a6
PE
19651 mktime: merge wrapv change from gnulib
19652 * time/mktime.c (WRAPV): New macro.
19653 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
19654 (guess_time_tm, __mktime_internal): Do not assume that signed
19655 integer overflow wraps around; modern compilers generate code
19656 where this assumption is no longer valid.
19657
5e292e4f
L
196582012-05-23 H.J. Lu <hongjiu.lu@intel.com>
19659
19660 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
19661 Replace "jmp L(pseudo_end)" with "ret".
19662 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
19663 Likewise.
19664
8caf8c87
AJ
196652012-05-23 Andreas Jaeger <aj@suse.de>
19666
19667 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
19668 * sysdeps/unix/sysv/linux/poll.c: Remove file.
19669
1a09dc56
AJ
196702012-05-23 Andreas Jaeger <aj@suse.de>
19671 Maximilian Attems <max@stro.at>
19672
19673 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
19674 New macros.
19675
1c87aba0
L
196762012-05-23 H.J. Lu <hongjiu.lu@intel.com>
19677
19678 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
19679 code so that pseudo_end is just ret and the stack pointer is
19680 correct also for static library in error case.
19681
40e45bd5
JM
196822012-05-23 Joseph Myers <joseph@codesourcery.com>
19683
c2670533
JM
19684 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
19685 move to syscalls.list.
19686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
19687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
19688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
19689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
19690
40e45bd5
JM
19691 * manual/install.texi (Running make install): Do not mention Linux
19692 kernel version for which pt_chown is not needed.
19693 (Linux): Do not mention problems with nscd with 2.0 kernels.
19694 * INSTALL: Regenerated.
19695
be08eda5
AJ
196962012-05-23 Andreas Jaeger <aj@suse.de>
19697
19698 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
19699 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
19700 macro.
19701 * sysdeps/unix/sysv/linux/s390/bits/mman.h
19702 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19703 * sysdeps/unix/sysv/linux/sh/bits/mman.h
19704 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19705 * sysdeps/unix/sysv/linux/i386/bits/mman.h
19706 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19707 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
19708 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19709 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
19710 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19711 * sysdeps/unix/sysv/linux/bits/in.h
19712 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
19713
a6a056bb
RM
197142012-05-22 Roland McGrath <roland@hack.frob.com>
19715
19716 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
19717 (PREPARE_VERSION): Just use assert instead, it will be elided
19718 under [NDEBUG] anyway.
19719
c9009328
L
197202012-05-22 H.J. Lu <hongjiu.lu@intel.com>
19721
19722 * sysdeps/unix/sysv/linux/Makefile: Include
19723 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 19724 (sysdep_routines): Remove sysctl.
c9009328
L
19725 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
19726 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
19727 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
19728 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
19729 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
19730
73338355
AJ
197312012-05-22 Andreas Jaeger <aj@suse.de>
19732
19733 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
19734 that pseudo_end is just ret and the stack pointer is correct also
19735 for static library in error case.
19736
d44638b0
PP
197372012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
19738
19739 [BZ #14122]
19740 * nss/nsswitch.c (defconfig_entries): New variable.
19741 (__nss_database_lookup): Don't leak defconfig entries.
19742 (nss_parse_service_list): Don't leak on error paths.
19743 (free_database_entries): New function.
19744 (free_defconfig): New function.
19745 (free_mem): Move common code to free_database_entries.
19746
31a39bd8
L
197472012-05-22 H.J. Lu <hongjiu.lu@intel.com>
19748
da0331a8
L
19749 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
19750 Add arch_prctl.
19751 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
19752
31a39bd8
L
19753 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
19754 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
19755 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
19756 New macro.
19757 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
19758 (INTERNAL_SYSCALL_TYPES): Likewise.
19759 (LOAD_ARGS_TYPES_[1-6]): Likewise.
19760 (LOAD_REGS_TYPES_[1-6]): Likewise.
19761 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
19762 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
19763
45470df3
AZ
197642012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19765
19766 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
19767 copysignl for GLIBC_2_0.
19768 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
19769 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
19770 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
19771 logbl for GLIBC_2_0.
19772 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
19773 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
19774
98a61bcb
L
197752012-05-22 H.J. Lu <hongjiu.lu@intel.com>
19776
a4f6e481
L
19777 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
19778 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
19779
f63d5db6
L
19780 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
19781 Use "neg %eax".
19782
98a61bcb
L
19783 * time/mktime.c: Update copyright years.
19784
95770f14
PE
197852012-05-22 Paul Eggert <eggert@cs.ucla.edu>
19786
6226efbd
PE
19787 mktime: merge comment-quoting-style change from gnulib
19788 * time/mktime.c: Quote 'like this' in comments.
19789 The GNU coding standards suggest that we no longer quote `like this',
19790 as "`" and "'" are typically rendered asymmetrically nowadays.
19791 The typical gnulib style is to quote 'like this' when quoting
19792 code, and "like this" when quoting English.
19793
b99e4f78
PE
19794 * time/mktime.c (compile-command): Add "-I.".
19795
643e01e6
PE
19796 mktime: merge mktime-internal.h change from gnulib
19797 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
19798
2554247d
PE
19799 mktime: merge time_r change from gnulib
19800 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
19801
826dd0ab
PE
19802 mktime: merge DEBUG change from gnulib
19803 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
19804 case system <time.h> has a #define.
19805
bd83aabe
PE
19806 mktime: merge <sys/types.h> change from gnulib
19807 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
19808 since <time.t> is now guaranteed to define time_t.
19809
95770f14
PE
19810 mktime: merge HAVE_CONFIG_H change from gnulib
19811 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
19812
5e1a27a9
L
198132012-05-22 H.J. Lu <hongjiu.lu@intel.com>
19814
0e44a77e
L
19815 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
19816 Use "neg %eax".
19817
5e1a27a9
L
19818 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
19819 __rlim_t cast.
19820 (struct rusage): Use anonymous union to pad each field to
19821 __syscall_slong_t.
19822
46259bec
DM
198232012-05-21 David S. Miller <davem@davemloft.net>
19824
19825 * Makefules (o-iterator): Remove .s cases.
19826 (compile-command.s): Delete.
19827 (COMPILE.s): Delete.
19828 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
19829
59f0c22e
JM
198302012-05-21 Joseph Myers <joseph@codesourcery.com>
19831
19832 * configure.in (libc_cv_predef_stack_protector): Only consider
19833 "foobar" and "__stack_chk_fail" lines in libc_undefs.
19834 * configure: Regenerated.
19835
20c07380
L
198362012-05-21 H.J. Lu <hongjiu.lu@intel.com>
19837
bbb3154b
L
19838 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
19839 New macro. Use R*LP on int and pointer.
19840 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
19841 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
19842 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
19843 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
19844
20c07380
L
19845 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
19846 [__WORDSIZE_TIME64_COMPAT32] instead of
19847 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
19848 (struct utmp): Likewise.
19849 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
19850 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
19851 Renamed to ...
19852 (__WORDSIZE_TIME64_COMPAT32): This.
19853 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
19854 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
19855 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
19856 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
19857 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
19858 (__WORDSIZE_TIME64_COMPAT32): New macro.
19859
d8d1017e
AJ
198602012-05-21 Andreas Jaeger <aj@suse.de>
19861
19862 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
19863 only if [SHARED]. Add prototype for __wcschr_ia32.
19864
6c7fb145
RM
198652012-05-21 Roland McGrath <roland@hack.frob.com>
19866
19867 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
19868 of %rbp unmolested in the jmp_buf while mangling the low bits.
19869 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
19870 unmolested high bits of %rbp while demangling the low bits.
19871 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
19872
66274218
AJ
198732012-05-21 Andreas Jaeger <aj@suse.de>
19874
07c58f8f
AJ
19875 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
19876 * sunrpc/svc_simple.c: Use it for registerrpc.
19877 * sunrpc/xcrypt.c: Use it for passwd2des.
19878
66274218
AJ
19879 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
19880
61f65140
L
198812012-05-21 H.J. Lu <hongjiu.lu@intel.com>
19882
19883 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
19884 Don't define if [__SYSCALL_WORDSIZE != 32].
19885 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
19886 New macro.
19887
5fefb436
AJ
198882012-05-21 Bruno Haible <bruno@clisp.org>
19889 Andreas Jaeger <aj@suse.de>
19890
19891 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
19892 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
19893 inptr and inend for must_buffer_ch.
19894 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
19895 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
19896 * stdio-common/Makefile (tests): Remove bug15.
19897 (bug15-ENV): Remove macro.
19898 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
19899 anymore.
19900
d8e272ab
AJ
199012012-05-19 Andreas Jaeger <aj@suse.de>
19902 Roland McGrath <roland@hack.frob.com>
19903
19904 * manual/contrib.texi: Completely rewritten. It contains now an
19905 alphabetical list of contributors and their contributions.
19906
4a56a162
RH
199072012-05-21 Richard Henderson <rth@twiddle.net>
19908
19909 * misc/getauxval.c (__getauxval): Use unsigned long int.
19910 * misc/sys/auxv.h: Include <sys/cdefs.h>.
19911 (getauxval): Use unsigned long int.
19912
d024d23c
L
199132012-05-21 H.J. Lu <hongjiu.lu@intel.com>
19914
19915 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
19916
cbc00a03
RM
199172012-05-21 Roland McGrath <roland@hack.frob.com>
19918
19919 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
19920 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
19921 __alignof__ (long double).
19922
478143fa
AZ
199232012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19924
19925 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19926
c7683a6d
RH
199272012-05-20 Richard Henderson <rth@twiddle.net>
19928
19929 * misc/getauxval.c: New file.
19930 * misc/sys/auxv.h: New file.
19931 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
19932 (routines): Add getauxval.
19933 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
19934 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
19935 * elf/dl-sysdep.c (_dl_auxv): Remove.
19936 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
19937 * elf/dl-support.c (_dl_auxv): New variable.
19938 (_dl_aux_init): Initialize it.
19939 * manual/startup.texi (Auxiliary Vector): New node.
19940 * sysdeps/generic/bits/hwcap.h: New file.
19941 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
19942 * sysdeps/powerpc/sysdep.h: ... here. Include it.
19943 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
19944 * sysdeps/sparc/sysdep.h: ... here. Include it.
19945 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
19946 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
19947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19948 Update.
c7683a6d
RH
19949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
19950 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
19951 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
19952 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
19953 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
19954 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
19955 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
19956 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
19957
a6f1845d
AZ
199582012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19959
19960 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19961
cbcbe830
DM
199622012-05-19 David S. Miller <davem@davemloft.net>
19963
19964 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19965
e0b16cc2
JM
199662012-05-19 Joseph Myers <joseph@codesourcery.com>
19967
19968 [BZ #14123]
19969 * math/s_ccosh.c: Include <float.h>
19970 (__ccosh): Avoid internal overflow calculating sinh and cosh
19971 values before multiplying by sin and cos values.
19972 * math/s_ccoshf.c: Likewise.
19973 * math/s_ccoshl.c: Likewise.
19974 * math/s_csin.c: Likewise.
19975 * math/s_csinf.c: Likewise.
19976 * math/s_csinl.c: Likewise.
19977 * math/s_csinh.c: Likewise.
19978 * math/s_csinhf.c: Likewise.
19979 * math/s_csinhl.c: Likewise.
19980 * math/libm-test.inc (ccos_test): Add more tests.
19981 (ccosh_test): Likewise.
19982 (csin_test): Likewise.
19983 (csinh_test): Likewise.
19984 * sysdeps/i386/fpu/libm-test-ulps: Update.
19985 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19986
6ad13e08
L
199872012-05-19 H.J. Lu <hongjiu.lu@intel.com>
19988
f66f0ce8
L
19989 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
19990 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
19991
6ad13e08
L
19992 * sysdeps/x86_64/x32/_itoa.h: Add comment.
19993
b1d072a7
JM
199942012-05-19 Joseph Myers <joseph@codesourcery.com>
19995
19996 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
19997 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
19998 * sysdeps/powerpc/soft-fp/Versions: Likewise.
19999 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
20000 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
20001 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
20002 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
20003 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
20004 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
20005 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
20006 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
20007 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
20008 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
20009 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
20010 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
20011 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
20012 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
20013 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
20014 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
20015 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
20016 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
20017 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
20018 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
20019 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
20020 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
20021 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
20022 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
20023 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
20024 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
20025 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
20026 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
20027
9eae47cb
AJ
200282012-05-18 Andreas Jaeger <aj@suse.de>
20029
20030 * csu/.gitignore: Delete.
20031
bb07f69f
L
200322012-05-18 H.J. Lu <hongjiu.lu@intel.com>
20033
20034 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
20035 (timex): Use __syscall_slong_t.
20036
e6bdb741
AJ
200372012-05-18 Andreas Jaeger <aj@suse.de>
20038 Carlos O'Donell <carlos_odonell@mentor.com>
20039
20040 * manual/install.texi (Configuring and compiling): Update
20041 description about files modified in the source directory.
d6c33fda 20042 * INSTALL: Regenerated.
e6bdb741 20043
1b74487e
L
200442012-05-18 H.J. Lu <hongjiu.lu@intel.com>
20045
20046 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
20047 value. Use "or" to set return value to -1.
20048 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
20049 negate return value.
20050
a88b64b9
TMQMF
200512012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20052
20053 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
20054 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
20055 failure if the compiler has Graphite support disabled.
20056 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
20057 Likewise.
20058 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
20059 CFLAGS-memmove.c): Likewise.
20060 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
20061 Likewise.
20062
3707636e
L
200632012-05-18 H.J. Lu <hongjiu.lu@intel.com>
20064
610b8622
L
20065 * sysdeps/x86_64/x32/_itoa.h: New file.
20066
7cd195df
L
20067 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
20068 getdents system call only if kernel and user dirents have the
20069 same d_ino and d_off.
20070
94b07d20
L
20071 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
20072 LLONG_MAX != LONG_MAX.
20073 (_itoa_word): Use _ITOA_WORD_TYPE on value.
20074 (_fitoa_word): Likewise.
20075
18298070
L
20076 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
20077 years.
20078 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
20079 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
20080 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
20081
553c7ea4
L
20082 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
20083 include <bits/wordsize.h>. Check __x86_64__ instead of
20084 __WORDSIZE.
20085 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
20086 if __x86_64__ is defined. Use anonymous union on fpstate.
20087
3707636e
L
20088 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
20089 anonymous union.
20090
b53ef01a
AS
200912012-05-18 Andreas Schwab <schwab@linux-m68k.org>
20092
37fb1dc0
AS
20093 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
20094 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
20095 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
20096 Refer to _rtld_local_ro instead of _rtld_global_ro.
20097 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
20098 Likewise.
20099 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
20100 Likewise.
20101 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
20102 Likewise.
20103 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
20104 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
20105 of _rtld_global, and rtld_progname instead of _dl_argv[0].
20106
b53ef01a
AS
20107 * sysdeps/powerpc/powerpc32/dl-machine.c
20108 (__elf_machine_runtime_setup) [PROF]: Don't reference
20109 _dl_prof_resolve.
20110
7a185db2
AJ
201112012-05-18 Andreas Jaeger <aj@suse.de>
20112
20113 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
20114 function only available for GCCs before 3.4 since GCC 3.4
20115 introduced a builtin.
20116 (lrint): Likewise.
20117 (llrintf): Likewise.
20118 (llrint): Likewise.
20119 (fmaxf): Likewise.
20120 (fmax): Likewise.
20121 (fminf): Likewise.
20122 (fmin): Likewise.
20123 (rint): Likewise.
20124 (rintf): Likewise.
20125 (nearbyint): Likewise.
20126 (nearbyintf): Likewise.
20127 (ceil): Likewise.
20128 (ceilf): Likewise.
20129 (floor): Likewise.
20130 (floorf): Likewise.
20131
3e5aef87
L
201322012-05-17 H.J. Lu <hongjiu.lu@intel.com>
20133
428bd707
L
20134 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
20135 on both fields and cast pointer to __syscall_ulong_t.
20136
3e5aef87
L
20137 * bits/types.h (__fsword_t): New type.
20138 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
20139 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
20140 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20141 (__FSWORD_T_TYPE): Likewise.
20142 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20143 (__FSWORD_T_TYPE): Likewise.
20144 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20145 (__FSWORD_T_TYPE): Likewise.
20146 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
20147 (__FSWORD_T_TYPE): Likewise.
20148 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
20149 __SWORD_TYPE with __fsword_t.
20150 (statfs64): Likewise.
20151
1ba7c3dc
DM
201522012-05-17 David S. Miller <davem@davemloft.net>
20153
20154 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
20155
59910343
AJ
201562012-05-17 Andreas Jaeger <aj@suse.de>
20157
20158 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
20159 warning.
20160
2e4c1e9e
L
201612012-05-17 H.J. Lu <hongjiu.lu@intel.com>
20162
20163 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
20164
de7f5ce7
AJ
201652012-05-17 Andreas Jaeger <aj@suse.de>
20166
20167 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
20168 when it is used.
20169
286abc3d
CM
201702012-05-17 Chris Metcalf <cmetcalf@tilera.com>
20171
20172 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
20173
477cc68e
L
201742012-05-17 H.J. Lu <hongjiu.lu@intel.com>
20175
20176 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
20177 * sysdeps/x86_64/tst-mallocalign1.c: New file.
20178
1a0994f5
CD
201792012-05-17 Andreas Jaeger <aj@suse.de>
20180 Carlos O'Donell <carlos_odonell@mentor.com>
20181
20182 [BZ #14059]
20183 * sysdeps/x86_64/multiarch/init-arch.h
20184 (bit_YMM_Usable): Rename to...
20185 (bit_AVX_Usable): ... this.
20186 (bit_FMA4_Usable): New macro.
20187 (bit_XMM_state): New macro.
20188 (bit_YMM_state): New macro.
20189 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
20190 [__ASSEMBLER__] (index_AVX_Usable): ... this.
20191 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
20192 (CPUID_OSXSAVE): New macro.
20193 (CPUID_AVX): New macro.
20194 (CPUID_FMA4): New macro.
20195 (index_YMM_Usable): Rename to...
20196 (index_AVX_Usable): ... this.
20197 (HAS_AVX): Use HAS_ARCH_FEATURE.
20198 (HAS_FMA4): Likewise.
20199 (HAS_YMM_USABLE): Remove.
20200 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20201 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
20202 are present.
20203 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
20204 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
20205 * sysdeps/x86_64/multiarch/Makefile: Likewise.
20206 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
20207 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
20208
0af797de
CM
202092012-05-17 Chris Metcalf <cmetcalf@tilera.com>
20210
20211 * math/libm-test.c: Support platforms without multiple rounding modes.
20212 * math/bug-nextafter.c: Support platforms without FP exceptions.
20213 * math/bug-nexttoward.c: Likewise.
20214 * math/test-fenv.c: Likewise.
20215 * math/test-misc.c: Likewise.
20216 * stdlib/bug-getcontext.c: Likewise.
20217
e39745ff
AJ
202182012-05-17 Andreas Jaeger <aj@suse.de>
20219
20220 * manual/examples/search.c (critter_cmp): Change signature to
20221 avoid warnings.
20222 * manual/string.texi (Collation Functions): Likewise.
20223
48970aba
L
202242012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20225
20226 * bits/types.h: Fold copyright years.
20227 * bits/typesizes.h: Likewise.
20228 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
20229 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
20230 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
20231 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
20232 * time/time.h: Likewise.
20233
bedee953
PP
202342012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
20235
20236 [BZ #208]
20237 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
20238 in instead of returning them. Return void.
20239 (__libc_mallinfo): Accumulate over all arenas.
20240 (__malloc_stats): Adjust for change in int_mallinfo interface.
20241
61653dfb
RM
202422012-05-16 Roland McGrath <roland@hack.frob.com>
20243
30b99d79
RM
20244 [BZ #10375]
20245 * configure.in (NM): Add AC_CHECK_TOOL for it.
20246 (libc_extra_cflags): New substituted variable.
20247 Check for -fstack-protector being used implicitly.
20248 * configure: Regenerated.
20249 * config.make.in (config-extra-cflags): New variable,
20250 gets @libc_extra_cflags@.
20251 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
20252
61653dfb
RM
20253 [BZ #10375]
20254 * configure.in: Check for _FORTIFY_SOURCE being predefined.
20255 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
20256 * configure: Regenerated.
20257 * config.make.in (CPPUNDEFS): New substituted variable.
20258 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
20259 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
20260 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
20261
661768bb
L
202622012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20263
20264 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
20265 (mq_attr): Use __syscall_slong_t.
20266
d4261567
L
202672012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20268
20269 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
20270 Check __x86_64__ instead of __WORDSIZE.
20271 (_STAT_VER_LINUX): Likewise.
20272 (stat): Check __x86_64__ instead of __WORDSIZE. Use
20273 __syscall_ulong_t and __syscall_slong_t.
20274 (stat64): Likewise.
20275
cf3ff365
L
202762012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20277
20278 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
20279
76cf3e4d
L
202802012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20281
20282 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
20283
a637753a
L
202842012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20285
20286 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
20287 __syscall_ulong_t.
20288
d5e05119
L
20289 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
20290 include <bits/wordsize.h>. Check __x86_64__ instead of
20291 __WORDSIZE.
20292 (greg_t): Use "__extension__ long long int" if __x86_64__ is
20293 defined.
20294 (mcontext_t): Replace "unsigned long" with "unsigned long long".
20295
f62ee380
L
20296 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
20297 include <bits/wordsize.h>. Check __x86_64__ instead of
20298 __WORDSIZE.
20299 (user_regs_struct): Use "__extension__ unsigned long long"
20300 instead of "unsigned long" if __x86_64__ is defined.
20301 (user): Likewise. Pad after pointer field if __ILP32__ is
20302 defined.
20303
4e124ced
JM
203042012-05-16 Joseph Myers <joseph@codesourcery.com>
20305
6a3951a0
JM
20306 * configure.in (makeinfo): Require version 4.5 or later. Allow
20307 versions 5 to 9.
20308 * configure: Regenerated.
20309 * manual/install.texi (texinfo): Increase version requirement to
20310 4.5 or later.
20311 * INSTALL: Regenerated.
20312
4e124ced
JM
20313 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
20314
953ca31a
L
203152012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20316
20317 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
20318
617aca05
L
20319 * sysdeps/x86_64/x32/ffs.c: New file.
20320
5762f7ae
L
20321 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
20322 __syscall_ulong_t.
20323 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
20324 defined. Use __syscall_ulong_t.
20325 (shminfo): Use __syscall_ulong_t.
20326 (shm_info): Likewise.
20327
a26b6856
L
20328 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
20329 __syscall_ulong_t.
20330
cb2b9ef7
L
20331 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
20332 <bits/wordsize.h>.
20333 (msgqnum_t): Use __syscall_ulong_t.
20334 (msglen_t): Likewise.
20335 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
20336 __syscall_ulong_t.
20337
34683bb0
L
20338 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
20339 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
20340
84a68786
L
20341 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
20342
48baa5f1
L
20343 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
20344 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
20345
180be88b
L
20346 * sysvipc/sys/msg.h (msgbuf): Replace long int with
20347 __syscall_slong_t.
20348
5e90c8ad
L
20349 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
20350 include <bits/wordsize.h>. Check __x86_64__ instead of
20351 __WORDSIZE.
20352
23dfb58b
L
20353 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
20354 "unsigned long long int" if __x86_64__ is defined.
20355 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
20356
ce5d54b0
L
20357 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
20358 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
20359 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
20360
13dc9eac
L
20361 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
20362 <stdint.h>.
20363 (GET_PC): Cast to uintptr_t first.
20364 (GET_FRAME): Likewise.
20365 (GET_STACK): Likewise.
20366
a7895d15
L
20367 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
20368 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
20369 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
20370 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
20371 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
20372 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
20373 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
20374 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
20375 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
20376 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
20377 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
20378 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
20379 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
20380 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
20381 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
20382 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
20383 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
20384 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
20385 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
20386 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
20387 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
20388 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
20389 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
20390 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
20391 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
20392 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
20393 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
20394 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
20395 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
20396
656416c9
AS
203972012-05-16 Andreas Schwab <schwab@linux-m68k.org>
20398
5bd66283
AS
20399 * Makerules (+depfiles): Also collect depfiles from .oS in
20400 $(extra-objs).
20401 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
20402 .oS, $(libnldbl-routines)).
20403
656416c9
AS
20404 * Makerules (native-compile-mkdep-flags): Define.
20405 * sunrpc/Makefile (extra-objs): Add $(addprefix
20406 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
20407 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
20408 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
20409 calling $(make-target-directory).
20410
a46f2169
L
204112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20412
20413 * bits/types.h (__snseconds_t): Removed.
20414 * time/time.h (struct timespec): Replace __snseconds_t with
20415 __syscall_slong_t.
20416 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
20417 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
20418 Likewise.
20419 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20420 (__SNSECONDS_T_TYPE): Likewise.
20421 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20422 (__SNSECONDS_T_TYPE): Likewise.
20423 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20424 (__SNSECONDS_T_TYPE): Likewise.
20425
6af6528b
L
204262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20427
20428 * sysdeps/mach/hurd/bits/typesizes.h
20429 (__SYSCALL_SLONG_TYPE): New macro.
20430 (__SYSCALL_ULONG_TYPE): Likewise.
20431
de986b56
L
204322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20433
20434 * bits/types.h (__syscall_slong_t): New type.
20435 (__syscall_ulong_t): Likewise.
20436
20437 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
20438 (__SYSCALL_ULONG_TYPE): Likewise.
20439 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20440 (__SYSCALL_SLONG_TYPE): Likewise.
20441 (__SYSCALL_ULONG_TYPE): Likewise.
20442 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20443 (__SYSCALL_SLONG_TYPE): Likewise.
20444 (__SYSCALL_ULONG_TYPE): Likewise.
20445 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20446 (__SYSCALL_SLONG_TYPE): Likewise.
20447 (__SYSCALL_ULONG_TYPE): Likewise.
20448
85736dc7
L
204492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20450
20451 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
20452 Add sigaltstack-offsets.sym.
20453 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
20454 <sigaltstack-offsets.h>.
20455 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
20456 longjmp_msg pointer.
20457 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
20458 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
20459 signal stack.
20460 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
20461
cc03b296
JM
204622012-05-15 Joseph Myers <joseph@codesourcery.com>
20463
a9538892
JM
20464 * elf/stackguard-macros.h: Remove file.
20465 * sysdeps/generic/stackguard-macros.h: New file.
20466 * sysdeps/i386/stackguard-macros.h: Likewise.
20467 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
20468 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
20469 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
20470 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
20471 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
20472 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
20473 * sysdeps/x86_64/stackguard-macros.h: Likewise.
20474 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
20475 <elf/stackguard-macros.h>.
20476
cc03b296
JM
20477 [BZ #14109]
20478 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
20479 __aligned__ in attribute.
20480 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
20481 (gregset_t): Likewise.
20482
93171016
L
204832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20484
20485 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
20486 * sysdeps/x86_64/64/Implies-after: Here. New file.
20487 * sysdeps/x86_64/x32/Implies-after: New file.
20488
d86813a0
L
204892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20490
20491 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
20492 and access return value for _dl_profile_fixup. Use R10_LP to
20493 load frame size.
20494
2953ec75
L
204952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20496
20497 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
20498
3b550e9e
L
204992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20500
20501 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
20502 * sysdeps/x86_64/x32/sysdep.h: New file.
20503
eda41706
L
205042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20505
20506 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
20507 * sysdeps/x86_64/setjmp.S: Likewise.
20508
9ea01d93
AZ
205092012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20510
20511 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
20512 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
20513 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
20514 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
20515 remove unused global constant.
20516
02a91938
CM
205172012-05-15 Chris Metcalf <cmetcalf@tilera.com>
20518
20519 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
20520 include of <not-cancel.h>.
20521
6540185f
RM
205222012-05-15 Roland McGrath <roland@hack.frob.com>
20523
20524 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
20525
509072a0
AJ
205262012-05-15 Jeff Law <law@redhat.com>
20527 Andreas Jaeger <aj@suse.de>
20528
20529 [BZ #13594]
20530 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
20531 out from...
20532 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
20533 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
20534 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
20535 code changing __hst_map_handle.map.
20536
ba75122d
RM
205372012-05-15 Roland McGrath <roland@hack.frob.com>
20538
20539 * configure.in (sysnames): Look for Implies-before and Implies-after
20540 files.
20541 * configure: Regenerated.
20542
890d8bd8
L
205432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20544
20545 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
20546 8-byte data alignment with LP_SIZE alignment.
20547
f6ee6623
L
205482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20549
20550 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
20551 into R10_LP.
20552
ea2626f6
L
205532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20554
20555 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
20556
085f715e
L
205572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20558
20559 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
20560 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
20561 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
20562 Likewise.
20563 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
20564
be8498fc
L
205652012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20566
20567 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
20568 (stackinfo_sub_sp): Likewise.
20569
70bc83b9
L
205702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20571
20572 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
20573 RAX_LP.
20574
9bc0b730
L
205752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20576
20577 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
20578 into R*_LP.
20579
6d2850e7
L
205802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20581
20582 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
20583 sizes into R*_LP.
20584
3cb84561
L
205852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20586
20587 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
20588
54e2ed81
L
205892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20590
20591 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
20592 into R11_LP and load __x86_64_shared_cache_size_half into
20593 R8_LP.
20594
8a17f349
L
205952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20596
20597 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
20598 R8_LP.
20599
777b1eea
AZ
206002012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20601
20602 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
20603 logb for POWER7.
20604 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
20605 logbf for POWER7.
20606 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
20607 logbl for POWER7.
20608 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
20609 powerpc32/power7/fpu/s_logb.c via #include.
20610 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
20611 powerpc32/power7/fpu/s_logbf.c via #include.
20612 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
20613 powerpc32/power7/fpu/s_logbl.c via #include.
20614
d20d4ac2
JM
206152012-05-15 Joseph Myers <joseph@codesourcery.com>
20616
20617 * README.libm: Remove file.
20618
6cdef1ab
L
206192012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20620
20621 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
20622 count for x32. Use R*_LP and omit operand-size suffix.
20623
0b254d8f
L
206242012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20625
20626 * shlib-versions: Move x86_64-.*-linux.* entries to ...
20627 * sysdeps/x86_64/64/shlib-versions: Here. New file.
20628 * sysdeps/x86_64/x32/shlib-versions: New file.
20629
ceb809dc
RM
206302012-05-14 Roland McGrath <roland@hack.frob.com>
20631
20632 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
20633 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
20634 Use _dl_fatal_printf instead.
20635
37f1abd4
JM
206362012-05-14 Joseph Myers <joseph@codesourcery.com>
20637
20638 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
20639 set if not set by the user. Do not allow for being unset.
20640 * sysdeps/unix/sysv/linux/configure: Regenerated.
20641
11de3a33
L
206422012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20643
20644 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
20645 the `q' suffix from lea and replace .quad with ASM_ADDR.
20646
e02f153a
L
206472012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20648
20649 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
20650 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
20651 instead of $17.
20652 (PTR_DEMANGLE): Likewise.
20653
520ae0fd
L
206542012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20655
20656 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
20657 (LP_OP): Likewise.
20658 (ASM_ADDR): Likewise.
20659 (RAX_LP): Likewise.
20660 (RBP_LP): Likewise.
20661 (RBX_LP): Likewise.
20662 (RCX_LP): Likewise.
20663 (RDI_LP): Likewise.
20664 (RSI_LP): Likewise.
20665 (RSP_LP): Likewise.
20666 (R8_LP): Likewise.
20667 (R9_LP): Likewise.
20668 (R10_LP): Likewise.
20669 (R10_LP): Likewise.
20670 (R11_LP): Likewise.
20671 (R12_LP): Likewise.
20672 (R13_LP): Likewise.
20673 (R14_LP): Likewise.
20674 (R15_LP): Likewise.
20675
b985be81
L
206762012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20677
20678 * sysdeps/x86_64/x32/dl-machine.h: New file.
20679
6a4888ff
AJ
206802012-05-14 Andreas Jaeger <aj@suse.de>
20681
20682 * manual/Makefile (subdir): Remove export of subdir.
20683 (all): Remove target.
20684 (.PHONY): Remove all from list.
20685 (mkinstalldirs): Remove.
20686 (.PHONY): Remove installdirs from list.
20687 ($(inst_infodir)/libc.info): Use make-target-directory.
20688 (installdirs): Remove.
20689 (subdir_%): Remove.
20690 (glibc-targets): Remove.
20691 (lib): Remove.
20692 (stubs): Remove.
20693 ($(objpfx)stubs ../po/manual.pot): Remove.
20694 ($(objpfx)stamp%): Remove.
20695 (make-target-directory): Remove.
20696 (subdir_install): Remove.
20697 (routines): Remove.
20698 (aux): Remove.
20699 (sources): Remove.
20700 (objects): Remove.
20701 (headers): Remove.
20702
20703 [BZ #13750]
20704 * manual/.gitignore: Remove, it's not needed anymore.
20705 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
20706 all files in it.
20707 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
20708 directory.
20709 (texis): Renamed to $(objpfx)texis.
20710 (texis-path): New, contains path to generated files.
20711 (chapters.%): Use texis-path for complete path, add extra argument
20712 libc-texinfo.sh.
20713 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
20714 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
20715 (summary,texi, stamp-summary): Use complete path of
20716 files. Generate files in build dir.
20717 (dir-add.texi): Build in build dir.
20718 (libm-err.texi,stamp-libm-err): Likewise.
20719 (version.texi, stamp-version): Likewise.
20720 (.%c.texi): Likewise.
20721 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
20722 (mostlyclean): Remove target.
20723 (realclean): Remove target.
20724 (generated): Add new variable with contents from mostlyclean and
20725 realclean, remove entries duplicated in common-mostlyclean, add
20726 stamp-libm-err and stamp-version.
20727 (generated-dirs): Add libc directory.
20728 ($(inst_infodir)/libc.info): Install files from build dir.
20729
20730 * manual/install.texi (Configuring and compiling): Adjust since
20731 the info files are not part of the tar ball anymore.
20732
7ac77294
AJ
207332012-05-14 Andreas Jaeger <aj@suse.de>
20734
20735 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
20736 variable.
20737
ffb7875d
JM
207382012-05-14 Joseph Myers <joseph@codesourcery.com>
20739
20740 [BZ #13717]
20741 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
20742 to 2.2.0 where earlier.
20743 * sysdeps/unix/sysv/linux/configure: Regenerated.
20744 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
20745 Remove conditional code.
20746 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
20747 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
20748 Remove conditional code.
20749 [!__NR_lchown]: Likewise.
20750 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20751 [__NR_lchown]: Likewise.
20752 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
20753 comment referencing __ASSUME_LCHOWN_SYSCALL.
20754 * sysdeps/unix/sysv/linux/i386/sigaction.c
20755 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20756 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20757 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
20758 Remove conditional code.
20759 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
20760 (__protocol_available): Remove #if 0 code.
20761 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
20762 conditional code.
20763 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
20764 * sysdeps/unix/sysv/linux/kernel-features.h
20765 (__ASSUME_GETCWD_SYSCALL): Don't define.
20766 (__ASSUME_REALTIME_SIGNALS): Likewise.
20767 (__ASSUME_PREAD_SYSCALL): Likewise.
20768 (__ASSUME_PWRITE_SYSCALL): Likewise.
20769 (__ASSUME_POLL_SYSCALL): Likewise.
20770 (__ASSUME_LCHOWN_SYSCALL): Likewise.
20771 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
20772 non-SPARC.
20773 (__ASSUME_SIOCGIFNAME): Don't define.
20774 (__ASSUME_MSG_NOSIGNAL): Likewise.
20775 (__ASSUME_SENDFILE): Define unconditionally.
20776 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
20777 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
20778 conditional code.
20779 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
20780 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
20781 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
20782 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20783 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
20784 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
20785 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
20787 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20788 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
20790 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20791 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
20793 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20794 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
20796 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20797 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
20799 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20800 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
20802 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20803 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
20805 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20806 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
20808 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20809 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20810 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
20811 Remove conditional code.
20812 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20813 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
20814 Remove conditional code.
20815 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20816 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
20817 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
20818 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
20819 Remove conditional code.
20820 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20821 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
20822 Remove conditional code.
20823 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20824 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
20825 Remove conditional code.
20826 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20827 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
20828 Remove conditional code.
20829 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20830 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
20831 Remove conditional code.
20832 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20833 * sysdeps/unix/sysv/linux/sh/pwrite64.c
20834 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20835 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20836 * sysdeps/unix/sysv/linux/sigaction.c
20837 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20838 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20839 * sysdeps/unix/sysv/linux/sigpending.c
20840 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20841 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20842 * sysdeps/unix/sysv/linux/sigprocmask.c
20843 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20844 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20845 * sysdeps/unix/sysv/linux/sigsuspend.c
20846 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20847 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20848 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
20849 (__libc_missing_rt_sigs): Remove.
20850 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
20851 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
20852 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
20853 Remove conditional code.
20854 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
20855 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
20856 return 1.
20857 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
20858 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
20859 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
20860 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
20861
1bfb7291
AJ
208622012-05-14 Andreas Jaeger <aj@suse.de>
20863
caae5a81
AJ
20864 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
20865 it's not used in glibc.
20866 (__coshm1): Likewise.
20867 (__acosh1p): Likewise.
20868 (__sgn): Likewise.
20869
1bfb7291
AJ
20870 * manual/string.texi (Copying and Concatenation): Add missing
20871 variable in concat example.
20872 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
20873
c044d724
L
208742012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20875
144c5467 20876 [BZ #14103]
c044d724
L
20877 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
20878 __builtin_clzl with __builtin_clzll.
20879
2523c62b
L
208802012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20881
20882 [BZ #14104]
20883 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
20884 libc_freeres_ptr.
20885
d7bb4c42
LD
208862012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20887
20888 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
20889 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
20890 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
20891 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
20892
9dc4e1fb
MF
208932012-05-14 Mike Frysinger <vapier@gentoo.org>
20894
20895 * NEWS: Update ia64 info.
20896
c7df0112
AS
208972012-05-12 Andreas Schwab <schwab@linux-m68k.org>
20898
20899 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
20900 used as bcopy.
20901
dc70356c
TS
209022012-05-12 Thomas Schwinge <thomas@codesourcery.com>
20903
20904 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
20905 * sysdeps/unix/syscalls.list (dup3): Likewise.
20906 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
20907 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
20908
9fb1a21f
L
209092012-05-11 H.J. Lu <hongjiu.lu@intel.com>
20910
20911 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
20912 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
20913
4822a2a5
L
209142012-05-11 H.J. Lu <hongjiu.lu@intel.com>
20915
20916 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
20917 thread pointer.
20918 (TLS_IE): Use mov/add instead of movq/addq to load thread
20919 pointer.
20920 (TLS_GD_PREFIX): New.
20921 (TLS_GD): Use it.
20922
842b81d6
DM
209232012-05-11 David S. Miller <davem@davemloft.net>
20924
20925 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
20926 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
20927 (_FPU_SETCW): Likewise.
20928
1cf463cd
L
209292012-05-10 H.J. Lu <hongjiu.lu@intel.com>
20930
20931 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
20932 is 32-byte aligned.
20933
60cc4a18
AS
209342012-05-11 Andreas Schwab <schwab@linux-m68k.org>
20935
20936 [BZ #11837]
20937 * iconvdata/gb18030.c: Update tables.
20938 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
20939 characters specially.
20940 (BODY for TO_LOOP): Add encoding of missing ranges.
20941
febb44a4
TS
209422012-05-11 Thomas Schwinge <thomas@codesourcery.com>
20943
20944 [BZ #13673]
20945 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
20946 * sysdeps/mach/hurd/dup3.c: Likewise.
20947 * sysdeps/mach/hurd/readlinkat.c: Likewise.
20948 * sysdeps/powerpc/memmove.c:: Likewise.
20949
0a10fb9e
L
209502012-05-10 H.J. Lu <hongjiu.lu@intel.com>
20951
20952 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
20953 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
20954
df8a552f
L
209552012-05-10 H.J. Lu <hongjiu.lu@intel.com>
20956
20957 * elf/elf.h (R_X86_64_RELATIVE64): New.
20958 (R_X86_64_NUM): Updated.
20959 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
20960 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
20961 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
20962 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
20963 tst-quad1pie tst-quad2pie
20964 (modules-names): Add tst-quadmod1 tst-quadmod2.
20965 ($(objpfx)tst-quad1): New dependency.
20966 ($(objpfx)tst-quad2): Likewise.
20967 ($(objpfx)tst-quad1pie): Likewise.
20968 ($(objpfx)tst-quad2pie): Likewise.
20969 * sysdeps/x86_64/tst-quad1.c: New file.
20970 * sysdeps/x86_64/tst-quad1pie.c: New file.
20971 * sysdeps/x86_64/tst-quad2.c: Likewise.
20972 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
20973 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
20974 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
20975 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
20976 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
20977
f34d6f84
ST
209782012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20979
f42d41d1
ST
20980 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
20981 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
20982 * streams/stropts.h (t_scalar_t): Define type.
20983
3c3571fc
ST
20984 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
20985 (_PATH_PRESERVE): Set to "/var/lib".
20986 (_PATH_RWHODIR): Set to "/var/spool/rwho".
20987
61f06bd3
ST
20988 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
20989 instead of int.
20990
918d4d71
ST
20991 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
20992 if __dir_mkfile succeeded.
20993
f34d6f84
ST
20994 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
20995 checking for _hurd_dtablesize. Unlock it right after having
20996 finished _hurd_dtable allocation.
20997
10589b4a
TS
209982012-05-10 Thomas Schwinge <thomas@schwinge.name>
20999
674cdbc7
TS
21000 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
21001 * sysdeps/mach/hurd/configure: Regenerated.
21002 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
21003 special-casing to...
21004 * sysdeps/gnu/configure.in: ... this new file.
21005 * sysdeps/unix/sysv/linux/configure: Regenerated.
21006 * sysdeps/gnu/configure: New generated file.
21007
8e41b99f
TS
21008 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
21009 for Linux: use nsec instead of usec, as well as:
21010 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
21011 members of type struct timespec.
21012 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
21013 New macros.
21014 (struct stat64): Likewise.
21015 (_STATBUF_ST_NSEC): New macro.
21016 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
21017
10589b4a
TS
21018 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
21019 __strtoul_internal rather than strtoul.
21020
63643c85
PT
210212012-05-10 Pino Toscano <toscano.pino@tiscali.it>
21022
21023 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
21024 and reject them.
21025
3faebe6a
ST
210262012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21027
21028 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
21029 which preserves existing values.
21030 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
21031
c6474b07
PT
210322012-05-10 Pino Toscano <toscano.pino@tiscali.it>
21033
21034 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
21035 TIMEOUT values. Return EINVAL for NFDS values either negative or
21036 greater than FD_SETSIZE.
21037
1043890b
ST
210382012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21039
21040 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
21041 allocated, call __vm_protect to finish enabling the existing space, and
21042 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
21043 allocate the remainder.
21044
37ed8b9b
PT
210452012-05-10 Pino Toscano <toscano.pino@tiscali.it>
21046
21047 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
21048 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
21049
db653660
ST
210502012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21051
37ed8b9b
PT
21052 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
21053 sysdeps/mach/hurd/readlink.c.
b29d4053 21054
db653660
ST
21055 * posix/tst-sysconf.c (posix_options): Only use
21056 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
21057 _POSIX_SYNCHRONIZED_IO when they are defined
21058 * sysdeps/mach/hurd/bits/posix_opt.h:
21059 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
21060 (_XOPEN_REALTIME): Undefine macro.
21061 (_XOPEN_REALTIME_THREADS): Undefine macro.
21062 (_XOPEN_SHM): Undefine macro.
21063 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
21064 macro to -1.
21065 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
21066 macro to -1.
21067 (_POSIX_ASYNC_IO): Undefine macro.
21068 (_POSIX_PRIORITIZED_IO): Undefine macro.
21069 (_POSIX_SPIN_LOCKS): Define macro to -1.
21070
ee16e894
ST
21071 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
21072 SA_NODEFER, SA_RESETHAND.
21073 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
21074 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
21075 F_DUPFD_CLOEXEC.
21076
6103ae3b
TS
210772012-05-10 Thomas Schwinge <thomas@schwinge.name>
21078
21079 * elf/Makefile (pldd-modules): Define unconditionally.
21080
80b4e5f3
TS
210812012-05-10 Thomas Schwinge <thomas@schwinge.name>
21082
21083 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
21084
edadcbd6
ST
210852012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21086
21087 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
21088 Return ENOENT when name is empty.
21089 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
21090
80694780
TS
210912012-05-10 Thomas Schwinge <thomas@schwinge.name>
21092
1792c087
TS
21093 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
21094
80694780
TS
21095 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
21096
6b645f0d
ST
210972012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21098
80694780
TS
21099 Fix mlock in all cases except non-readable pages.
21100 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
21101 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 21102
6b645f0d
ST
21103 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
21104 (__mkdir): When path is `/', just fail with EEXIST.
21105 * sysdeps/mach/hurd/mkdirat.c: Likewise.
21106
e468f8a3
TS
211072012-05-10 Thomas Schwinge <thomas@schwinge.name>
21108
21109 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
21110 <sys/uio.h> (for writev).
21111 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
21112 and <sys/param.h> (for MIN).
21113
a4186cff
PT
211142012-05-10 Pino Toscano <toscano.pino@tiscali.it>
21115
21116 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
21117 REQUESTED_TIME. Properly set the remaining time and return EINTR
21118 if interrupted.
21119
510bbf14
TS
211202012-05-10 Thomas Schwinge <thomas@schwinge.name>
21121
21122 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
21123 Depend on against $(link-rpcuserlibs).
21124
5d5722e8
ST
211252012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21126
a4186cff
PT
21127 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
21128 (__libc_stack_end): Do not use attribute_relro.
21129 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
21130 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 21131 to libthread-provided value.
a4186cff
PT
21132 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
21133 attribute_relro.
5d5722e8 21134
37233df9
TS
211352012-05-10 Thomas Schwinge <thomas@schwinge.name>
21136
be971a2b
TS
21137 [BZ #3748]
21138 * bits/libc-lock.h (__libc_once_get): New macro.
21139 * sysdeps/mach/bits/libc-lock.h: Likewise.
21140 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
21141 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
21142 instead of using implementation details.
21143
37233df9
TS
21144 * libio/fileops.c: Unconditionally include <kernel-features.h>.
21145 * libio/freopen.c: Likewise.
21146 * libio/freopen64.c: Likewise.
21147 * misc/syslog.c: Likewise.
21148 * nscd/connections.c: Likewise.
21149 * nscd/netgroupcache.c: Likewise.
21150 * sysdeps/posix/getcwd.c: Likewise.
21151
38de94a5
RM
211522012-05-10 Roland McGrath <roland@hack.frob.com>
21153
21154 * math/w_ilogbf.c: Add #include <limits.h>.
21155
67530489
ST
211562012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21157
a4186cff 21158 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
21159 path instead of returning without unlocking.
21160
67530489
ST
21161 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
21162 immediate-write ioctls.
21163 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
21164
5aa3a74a
TS
211652012-05-10 Thomas Schwinge <thomas@schwinge.name>
21166
18bad2ae
TS
21167 * sysdeps/mach/hurd/i386/init-first.c (init): Use
21168 __builtin_frame_address instead of making assumptions about the
21169 location of the return address relative to DATA. Force early load of
21170 the return address.
21171 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
21172 __builtin_frame_address.
21173
5aa3a74a
TS
21174 dup3 for GNU Hurd.
21175 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
21176 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
21177 implement dup3 and do some further code clean-ups.
21178 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
21179 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
21180
ecd0de9a
ST
211812012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21182
cd9fa985
ST
21183 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
21184
a4186cff
PT
21185 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
21186 HURD_CRITICAL_END around holding _hurd_dtable_lock.
21187 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
21188 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
21189 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
21190 d->port.lock.
802ca5a5 21191
a4186cff
PT
21192 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
21193 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
21194 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 21195
bcf55240
TS
211962012-05-10 Thomas Schwinge <thomas@schwinge.name>
21197
6960eb42
TS
21198 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
21199 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
21200 definitions.
21201
eb43375f
TS
21202 accept4 for GNU Hurd.
21203 * include/sys/socket.h (__libc_accept4): New prototype.
21204 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
21205 to implement __libc_accept4.
21206 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
21207 __libc_accept4.
21208 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
21209
bcf55240
TS
21210 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
21211 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
21212 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
21213 signal-defines.sym.
21214
6178c55b
ST
212152012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21216
a4186cff 21217 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 21218
6f080c2f
TS
212192012-05-10 Thomas Schwinge <thomas@schwinge.name>
21220
21221 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
21222 assertion on O_CLOEXEC flag.
21223 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
21224 * hurd/intern-fd.c: Likewise.
21225 * hurd/port2fd.c: Likewise.
21226
bcfe3a54
ST
212272012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21228
21229 [BZ #3906]
21230 * bits/in.h (IPV6_PKTINFO): Define new macro.
21231 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
21232
89c9aa49
AZ
212332012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21234
21235 [BZ #13954]
21236 [BZ #13955]
21237 [BZ #13956]
21238 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
21239 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
21240 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
21241 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
21242 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21243 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
21244 * math/libm-test.inc (logb_test) : Additional logb tests.
21245
021db4be
AJ
212462012-05-09 Andreas Schwab <schwab@linux-m68k.org>
21247 Andreas Jaeger <aj@suse.de>
21248
21249 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
21250 * configure: Regenerated.
21251 * config.h.in (LINK_OBSOLETE_RPC): New macro.
21252 * config.make.in (link-obsolete-rpc): New substituted variable.
21253 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
21254 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
21255 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
21256 (shared-only-routines): Don't set it under [link-obsolete-rpc],
21257 so that libc.a contains the symbols.
21258 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
21259 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
21260 * sunrpc/auth_none.c: Likewise.
21261 * sunrpc/auth_unix.c: Likewise.
21262 * sunrpc/authdes_prot.c: Likewise.
21263 * sunrpc/authuxprot.c: Likewise.
21264 * sunrpc/clnt_gen.c: Likewise.
21265 * sunrpc/clnt_perr.c: Likewise.
21266 * sunrpc/clnt_raw.c: Likewise.
21267 * sunrpc/clnt_simp.c: Likewise.
21268 * sunrpc/clnt_tcp.c: Likewise.
21269 * sunrpc/clnt_udp.c: Likewise.
21270 * sunrpc/clnt_unix.c: Likewise.
21271 * sunrpc/des_crypt.c: Likewise.
21272 * sunrpc/des_soft.c: Likewise.
21273 * sunrpc/get_myaddr.c: Likewise.
21274 * sunrpc/key_call.c: Likewise.
21275 * sunrpc/key_prot.c: Likewise.
21276 * sunrpc/netname.c: Likewise.
21277 * sunrpc/pm_getmaps.c: Likewise.
21278 * sunrpc/pm_getport.c: Likewise.
21279 * sunrpc/pmap_clnt.c: Likewise.
21280 * sunrpc/pmap_prot.c: Likewise.
21281 * sunrpc/pmap_prot2.c: Likewise.
21282 * sunrpc/pmap_rmt.c: Likewise.
21283 * sunrpc/publickey.c: Likewise.
21284 * sunrpc/rpc_cmsg.c: Likewise.
21285 * sunrpc/rpc_common.c: Likewise.
21286 * sunrpc/rpc_dtable.c: Likewise.
21287 * sunrpc/rpc_prot.c: Likewise.
21288 * sunrpc/rpc_thread.c: Likewise.
21289 * sunrpc/rtime.c: Likewise.
21290 * sunrpc/svc.c: Likewise.
21291 * sunrpc/svc_auth.c: Likewise.
21292 * sunrpc/svc_raw.c: Likewise.
21293 * sunrpc/svc_run.c: Likewise.
21294 * sunrpc/svc_tcp.c: Likewise.
21295 * sunrpc/svc_udp.c: Likewise.
21296 * sunrpc/svc_unix.c: Likewise.
21297 * sunrpc/svcauth_des.c: Likewise.
21298 * sunrpc/xcrypt.c: Likewise.
21299 * sunrpc/xdr.c: Likewise.
21300 * sunrpc/xdr_array.c: Likewise.
21301 * sunrpc/xdr_float.c: Likewise.
21302 * sunrpc/xdr_intXX_t.c: Likewise.
21303 * sunrpc/xdr_mem.c: Likewise.
21304 * sunrpc/xdr_rec.c: Likewise.
21305 * sunrpc/xdr_ref.c: Likewise.
21306 * sunrpc/xdr_sizeof.c: Likewise.
21307 * sunrpc/xdr_stdio.c: Likewise.
21308
b5c086a2
RM
213092012-05-10 Roland McGrath <roland@hack.frob.com>
21310
21311 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
21312 change. Update copyright years.
21313
6d74dd09
JM
213142012-05-10 Joseph Myers <joseph@codesourcery.com>
21315
21316 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
21317
28e72501
MK
213182012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
21319 Joseph Myers <joseph@codesourcery.com>
21320 Paul Pluzhnikov <ppluzhnikov@google.com>
21321
21322 [BZ #14012]
21323 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
21324 requiring rpcgen.
21325 [cross-compiling] (extra-libs): Likewise.
21326 [cross-compiling] (extra-libs-others): Likewise.
21327 [cross-compiling] (librpcsvc-routines): Likewise.
21328 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
21329 [cross-compiling] (omit-deps): Likewise.
21330 (sunrpc-CPPFLAGS): New variable.
21331 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
21332 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
21333 (cross-rpcgen-objs): New variable.
21334 (extra-objs): Append $(cross-rpcgen-objs).
21335 ($(cross-rpcgen-objs)): New rule.
21336 ($(objpfx)cross-rpcgen): Likewise.
21337 (rpcgen-cmd): Define to use $(built-program-file). Expand
21338 comment.
21339 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
21340 ($(objpfx)x%.stmp): Likewise.
21341 * sunrpc/proto.h [IS_IN_build] (_): Define.
21342 [IS_IN_build] (_libc_intl_domainname): Likewise.
21343
c8c59454
L
213442012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21345
21346 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
21347 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
21348 and R_X86_64_TPOFF64.
21349
6f27cd16
JM
213502012-05-10 Joseph Myers <joseph@codesourcery.com>
21351
21352 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
21353 sysdeps/unix/sysv/syscalls.list.
21354 (stime): Likewise.
21355 (utime): Likewise.
21356 * sysdeps/unix/sysv/syscalls.list: Remove file.
21357
02467e1c
PE
213582012-05-10 Paul Eggert <eggert@cs.ucla.edu>
21359
21360 [BZ #3440]
21361 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
21362 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
21363 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
21364 (__LC_IDENTIFICATION): Make these macros useful in #if
21365 expressions, as required by C99.
21366
da392631
AS
213672012-05-10 Andreas Schwab <schwab@linux-m68k.org>
21368
21369 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
21370 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
21371 after this.
21372
8115f29b
L
213732012-05-09 H.J. Lu <hongjiu.lu@intel.com>
21374
21375 * stdlib/longlong.h: Updated from GCC.
21376
bdd74070
AJ
213772012-05-09 Andreas Jaeger <aj@suse.de>
21378
edfe0dbe
AJ
21379 * nscd/nscd.c (run_modes): Make named enum, reorder so that
21380 default is first entry.
21381 (run_mode): Set type.
21382 (main): Remove informal message about syslog.
21383 (options): Fix typo.
21384
bcfe3a54
ST
21385 [BZ #14053]
21386 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 21387 to asm.
bcfe3a54
ST
21388 (lrint): Likewise.
21389 (llrintf): Likewise.
21390 (llrint): Likewise.
21391 (rint): Likewise.
21392 (rintf): Likewise.
21393 (nearbyint): Likewise.
21394 (nearbyintf): Likewise.
bdd74070 21395
91d8d69e
AJ
213962012-05-09 Andreas Jaeger <aj@suse.de>
21397 Pedro Alves <palves@redhat.com>
21398
21399 * nscd/nscd.c (run_mode): Use enum.
21400 (main): Cleanup coding style issue.
21401
bb90b80b
AJ
214022012-05-09 Alexandre Oliva <aoliva@redhat.com>
21403 Andreas Jaeger <aj@suse.de>
21404
bcfe3a54
ST
21405 * nscd/nscd.c (go_background): Replaced with...
21406 (run_mode): ... this.
bb90b80b 21407 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
21408 (options): Add -F --foreground.
21409 (main): Implement it.
21410 (parse_opt): Parse it.
bb90b80b 21411
1a4b75a1
AJ
214122012-05-09 Andreas Jaeger <aj@suse.de>
21413
21414 [BZ #14083]
21415 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
21416 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
21417 -Wconversion warning.
21418 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
21419 Likewise.
21420
b1cc2472
JM
214212012-05-09 Joseph Myers <joseph@codesourcery.com>
21422
21423 * conform/data/locale.h-data (NULL): Use macro-constant. Require
21424 == 0.
21425 (LC_ALL): Use macro-int-constant.
21426 (LC_COLLATE): Likewise.
21427 (LC_CTYPE): Likewise.
21428 (LC_MESSAGES): Likewise.
21429 (LC_MONETARY): Likewise.
21430 (LC_NUMERIC): Likewise.
21431 (LC_TIME): Likewise.
21432 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
21433 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
21434 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21435 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
21436 Specify type.
21437 [C99-based standards] (float_t): Expect type.
21438 [C99-based standards] (double_t): Expect type.
21439 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
21440 type.
21441 [C99-based standards] (HUGE_VALL): Likewise.
21442 [C99-based standards] (INFINITY): Likewise.
21443 [C99-based standards] (NAN): Likewise.
21444 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
21445 [C99-based standards] (FP_NAN): Likewise.
21446 [C99-based standards] (FP_NORMAL): Likewise.
21447 [C99-based standards] (FP_SUBNORMAL): Likewise.
21448 [C99-based standards] (FP_ZERO): Likewise.
21449 [C99-based standards] (FP_FAST_FMA): Use
21450 optional-macro-int-constant. Specify type. Require == 1.
21451 [C99-based standards] (FP_FAST_FMAF): Likewise.
21452 [C99-based standards] (FP_FAST_FMAL): Likewise.
21453 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
21454 [C99-based standards] (FP_ILOGBNAN): Likewise.
21455 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
21456 Specify type.
21457 [C99-based standards] (MATH_ERREXCEPT): Likewise.
21458 [C99-based standards] (math_errhandling): Specify type.
21459 [ISO99 || ISO11] (signgam): Do not allow.
21460 [non-C99-based standards] (copysignf): Do not allow.
21461 [non-C99-based standards] (exp2f): Likewise.
21462 [non-C99-based standards] (log2f): Likewise.
21463 [non-C99-based standards] (modff): Allow.
21464 [non-C99-based standards] (erff): Do not allow.
21465 [non-C99-based standards] (erfcf): Likewise.
21466 [non-C99-based standards] (gammaf): Likewise.
21467 [non-C99-based standards] (hypotf): Likewise.
21468 [non-C99-based standards] (j0f): Likewise.
21469 [non-C99-based standards] (j1f): Likewise.
21470 [non-C99-based standards] (jnf): Likewise.
21471 [non-C99-based standards] (lgammaf): Likewise.
21472 [non-C99-based standards] (tgammaf): Likewise.
21473 [non-C99-based standards] (y0f): Likewise.
21474 [non-C99-based standards] (y1f): Likewise.
21475 [non-C99-based standards] (ynf): Likewise.
21476 [non-C99-based standards] (isnanf): Likewise.
21477 [non-C99-based standards] (acoshf): Likewise.
21478 [non-C99-based standards] (asinhf): Likewise.
21479 [non-C99-based standards] (atanhf): Likewise.
21480 [non-C99-based standards] (cbrtf): Likewise.
21481 [non-C99-based standards] (expm1f): Likewise.
21482 [non-C99-based standards] (ilogbf): Likewise.
21483 [non-C99-based standards] (log1pf): Likewise.
21484 [non-C99-based standards] (logbf): Likewise.
21485 [non-C99-based standards] (nextafterf): Likewise.
21486 [non-C99-based standards] (remainderf): Likewise.
21487 [non-C99-based standards] (rintf): Likewise.
21488 [non-C99-based standards] (scalbf): Likewise.
21489 [non-C99-based standards] (copysignl): Likewise.
21490 [non-C99-based standards] (exp2l): Likewise.
21491 [non-C99-based standards] (log2l): Likewise.
21492 [non-C99-based standards] (modfl): Allow.
21493 [non-C99-based standards] (erfl): Do not allow.
21494 [non-C99-based standards] (erfcl): Likewise.
21495 [non-C99-based standards] (gammal): Likewise.
21496 [non-C99-based standards] (hypotl): Likewise.
21497 [non-C99-based standards] (j0l): Likewise.
21498 [non-C99-based standards] (j1l): Likewise.
21499 [non-C99-based standards] (jnl): Likewise.
21500 [non-C99-based standards] (lgammal): Likewise.
21501 [non-C99-based standards] (tgammal): Likewise.
21502 [non-C99-based standards] (y0l): Likewise.
21503 [non-C99-based standards] (y1l): Likewise.
21504 [non-C99-based standards] (ynl): Likewise.
21505 [non-C99-based standards] (isnanl): Likewise.
21506 [non-C99-based standards] (acoshl): Likewise.
21507 [non-C99-based standards] (asinhl): Likewise.
21508 [non-C99-based standards] (atanhl): Likewise.
21509 [non-C99-based standards] (cbrtl): Likewise.
21510 [non-C99-based standards] (expm1l): Likewise.
21511 [non-C99-based standards] (ilogbl): Likewise.
21512 [non-C99-based standards] (log1pl): Likewise.
21513 [non-C99-based standards] (logbl): Likewise.
21514 [non-C99-based standards] (nextafterl): Likewise.
21515 [non-C99-based standards] (remainderl): Likewise.
21516 [non-C99-based standards] (rintl): Likewise.
21517 [non-C99-based standards] (scalbl): Likewise.
21518 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21519 [non-C99-based standards] (FP_*): Do not allow.
21520 [C99-based standards] (FP_*): Change to
21521 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
21522 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
21523 allow.
21524 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
21525 (SIG_ERR): Likewise.
21526 [X/Open-based standards] (SIG_HOLD): Likewise.
21527 (SIG_IGN): Likewise.
21528 (SIGABRT): Use macro-int-constant. Specify type. Require
21529 positive value.
21530 (SIGFPE): Likewise.
21531 (SIGILL): Likewise.
21532 (SIGINT): Likewise.
21533 (SIGSEGV): Likewise.
21534 (SIGTER): Likewise.
21535 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
21536 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
21537 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
21538 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
21539 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
21540 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
21541 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
21542 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
21543 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
21544 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
21545 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
21546 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
21547 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
21548 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
21549 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
21550 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
21551 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
21552 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
21553 [X/Open-based standards] (SIGTRAP): Likewise.
21554 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
21555 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
21556 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
21557 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
21558 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
21559 allow.
21560
b9f1922d
IW
215612012-05-08 Ian Wienand <ianw@vmware.com>
21562
21563 [BZ #14080]
21564 * time/tzset.c (__tzset_parse_tz): Update default rules for
21565 daylight time changes in the Energy Policy Act of 2005.
21566
1db86e88
AJ
215672012-05-09 Andreas Jaeger <aj@suse.de>
21568
21569 [BZ #13983]
21570 * elf/ldconfig.c (parse_conf): Change string to make clear that
21571 ldconfig only issued a warning if ld.so.conf does not exist.
21572
dee4a4e3
DM
215732012-05-08 David S. Miller <davem@davemloft.net>
21574
ee0db190
DM
21575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
21576 movxtod instead of popping the value on the stack.
21577
dee4a4e3
DM
21578 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21579
6a43ec98
CD
215802012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
21581
21582 * config.h.in: Add HAVE_ARM_PCS_VFP.
21583
05c2c961
RMG
215842012-05-08 Roland Mc Grath <roland@hack.frob.com>
21585
bcfe3a54
ST
21586 [BZ #13979]
21587 * include/features.h: Warn if user requests __FORTIFY_SOURCE
21588 checking but the checks are disabled for any reason.
05c2c961 21589
4b30f61a
L
215902012-05-08 H.J. Lu <hongjiu.lu@intel.com>
21591
21592 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
21593 and ELF64_R_TYPE with ELFW(R_TYPE).
21594
eee2bc67
JM
215952012-05-08 Joseph Myers <joseph@codesourcery.com>
21596
7ea5391a
JM
21597 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
21598 (ulimit): Likewise.
21599
eee2bc67
JM
21600 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
21601 (settimeofday): Likewise.
21602
abb66a67
MF
216032012-05-08 Mike Frysinger <vapier@gentoo.org>
21604
21605 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
21606 a struct th_u2 inside the union, and move tu_block/tu_code into
21607 a new th_u3 union of tu_block/tu_code inside of that. Move
21608 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
21609 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
21610 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
21611 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
21612 (th_stuff): Change to th_u1.tu_stuff.
21613 (th_data): Define.
21614 (th_msg): Change to th_u1.th_u2.tu_data.
21615
7f18b530
DM
216162012-05-07 David S. Miller <davem@davemloft.net>
21617
05760585
DM
21618 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21619
7f18b530
DM
21620 [BZ #14074]
21621 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
21622 (SETUP_PIC_REG): Use it.
21623 (SETUP_PIC_REG_LEAF): Use it.
21624
495fd99f
JM
216252012-05-07 Joseph Myers <joseph@codesourcery.com>
21626
21627 [BZ #13885]
21628 [BZ #13923]
21629 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21630 USE_AS_EXPM1L.
21631 (EXPL_FINITE): Likewise.
21632 (FLDLOG): Likewise.
21633 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
21634 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
21635 e_expl.S.
21636 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21637 USE_AS_EXPM1L.
21638 (EXPL_FINITE): Likewise.
21639 (FLDLOG): Likewise.
21640 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
21641 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
21642 e_expl.S.
21643 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
21644 test of -max_value argument for long double.
21645 * sysdeps/i386/fpu/libm-test-ulps: Update.
21646 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21647
6693d694
DM
216482012-05-06 David S. Miller <davem@davemloft.net>
21649
21650 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
21651 quad soft-float symbols whose references which are compiler
21652 generated.
21653 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
21654
6c23e11c
JM
216552012-05-06 Joseph Myers <joseph@codesourcery.com>
21656
d8b82cad
JM
21657 [BZ #13884]
21658 [BZ #13914]
21659 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21660 USE_AS_EXP10L.
21661 (EXPL_FINITE): Likewise.
21662 (FLDLOG): Likewise.
21663 (c0): Likewise.
21664 (c1): Likewise.
21665 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
21666 Adjust comments for base varying.
21667 (__expl_finite): Change alias to EXPL_FINITE.
21668 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
21669 e_expl.S.
21670 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
21671 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
21672 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
21673 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
21674 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21675 USE_AS_EXP10L.
21676 (EXPL_FINITE): Likewise.
21677 (FLDLOG): Likewise.
21678 (c0): Likewise.
21679 (c1): Likewise.
21680 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
21681 Adjust comments for base varying.
21682 (__expl_finite): Change alias to EXPL_FINITE.
21683 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
21684 tests for bugs.
21685 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21686
6c23e11c
JM
21687 [BZ #14064]
21688 * math/libm-test.inc (check_float_internal): Correct ulp
21689 calculation for subnormal expected results.
21690
29ba805c
AJ
216912012-05-06 Andreas Jaeger <aj@suse.de>
21692
21693 * Makeconfig (+math-flags): New, set to -frounding-math.
21694 (+cflags): Add +math-flags so that all of glibc gets compiled with
21695 it.
21696
21697 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
21698
7b17aeda
JM
216992012-05-05 Joseph Myers <joseph@codesourcery.com>
21700
5779f134
JM
21701 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
21702 Disable one test.
21703
41498f4d
JM
21704 [BZ #13787]
21705 [BZ #13922]
21706 [BZ #14036]
21707 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
21708 (__ieee754_expl): Allow for and saturate large arguments.
21709 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
21710 (u_threshold): Likewise.
21711 (__exp): Call __ieee754_exp before checking for overflow and
21712 underflow.
21713 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
21714 (u_threshold): Likewise.
21715 (__expf): Call __ieee754_expf before checking for overflow and
21716 underflow.
21717 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
21718 (u_threshold): Likewise.
21719 (__expl): Call __ieee754_expl before checking for overflow and
21720 underflow.
21721 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
21722 (__ieee754_expl): Allow for and saturate large arguments.
21723 * math/libm-test.inc (exp_test): Add another test. Do not allow
21724 missing overflow exception on overflow.
21725 (expm1_test): Do not allow missing overflow exception on overflow.
21726
6698b8bf
JM
21727 * sysdeps/i386/fpu/e_expl.c: Move to ...
21728 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
21729 rather than using inline asm.
21730 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
21731 * sysdeps/x86_64/fpu/e_expl.S: Copy from
21732 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
21733
7b17aeda
JM
21734 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
21735 (nice): Likewise.
21736 (poll): Likewise.
21737 (signal): Likewise.
21738 (time): Likewise.
21739 (times): Likewise.
21740
f7c85819
JM
217412012-05-04 Joseph Myers <joseph@codesourcery.com>
21742
21743 * sysdeps/unix/syscalls.list (adjtime): Add entry from
21744 sysdeps/unix/common/syscalls.list.
21745 (fchmod): Likewise.
21746 (fchown): Likewise.
21747 (ftruncate): Likewise.
21748 (getrusage): Likewise.
21749 (gettimeofday): Likewise.
21750 (setpgid): Likewise.
21751 (setregid): Likewise.
21752 (setreuid): Likewise.
21753 (sigaction): Likewise.
21754 (truncate): Likewise.
21755 (vhangup): Likewise.
21756 * sysdeps/unix/common/syscalls.list: Remove file.
21757 * sysdeps/unix/bsd/Implies: Don't include unix/common.
21758 * sysdeps/unix/sysv/linux/Implies: Likewise.
21759
336270d0
L
217602012-05-04 H.J. Lu <hongjiu.lu@intel.com>
21761
21762 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
21763 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
21764 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
21765 Moved to ...
21766 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
21767 Here.
21768 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
21769 to ...
21770 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
21771 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
21772 to ...
21773 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
21774 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
21775 to ...
21776 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
21777 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
21778 to ...
21779 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
21780 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
21781 to ...
21782 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
21783 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
21784 to ...
21785 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
21786 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
21787 to ...
21788 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
21789 Here.
21790 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
21791 to ...
21792 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
21793 Here.
21794 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
21795 to ...
21796 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
21797 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
21798 Moved to ...
21799 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
21800 Here.
21801 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
21802 to ...
21803 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
21804
d128e450
JM
218052012-05-04 Joseph Myers <joseph@codesourcery.com>
21806
fa8ee516
JM
21807 * sysdeps/unix/common/bits/dirent.h: Remove file.
21808 * sysdeps/unix/common/bits/fcntl.h: Likewise.
21809
d128e450
JM
21810 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
21811 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
21812 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
21813 * sysdeps/unix/bsd/isatty.c: Likewise.
21814 * sysdeps/unix/bsd/tcdrain.c: Likewise.
21815 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
21816 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
21817
ff8faaf0 218182012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 21819
62881be4 21820 [BZ #13563]
31dc8730
AZ
21821 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
21822 long double comparison inaccuracies.
21823 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
21824 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21825
6fef930c
AS
218262012-05-04 Andreas Schwab <schwab@linux-m68k.org>
21827
21828 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
21829 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
21830
8f203e6c
JM
218312012-05-04 Joseph Myers <joseph@codesourcery.com>
21832
21833 [BZ #14049]
21834 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
21835 nonzero digits before rounding a hex value.
21836 * stdlib/tst-strtod.c (tests): Add another test.
21837
5197d9c2
AK
218382012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21839
21840 * sysdeps/s390/fpu/libm-test-ulps: Update.
21841
f0c1dedf
AJ
218422012-05-03 Andreas Jaeger <aj@suse.de>
21843
21844 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
21845 does not get optimized out.
21846 (malloc_opt_barrier): New.
21847
a65ef2ae 218482012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 21849 Roland McGrath <roland@hack.frob.com>
a65ef2ae 21850
2b942cb7 21851 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 21852 intermediate file deletion.
2b942cb7 21853 (generated): Add .symlist files.
a65ef2ae 21854
54b71e02
JM
218552012-05-03 Joseph Myers <joseph@codesourcery.com>
21856
21857 [BZ #13775]
21858 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
21859 Redirect under this condition.
21860 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
21861 [__USE_GNU] (__dprintf_chk): Not under this condition.
21862 [__USE_GNU] (__vdprintf_chk): Likewise.
21863 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
21864 under this condition.
21865 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
21866 [__USE_XOPEN2K8] (dprintf): Define under this condition.
21867 [__USE_XOPEN2K8] (vdprintf): Likewise.
21868 [__USE_GNU] (__dprintf_chk): Not under this condition.
21869 [__USE_GNU] (__vdprintf_chk): Likewise.
21870 [__USE_GNU] (dprintf): Likewise.
21871 [__USE_GNU] (vdprintf): Likewise.
21872
d3dfcc41
RM
218732012-05-03 Roland McGrath <roland@hack.frob.com>
21874
21875 * elf/Makefile (common-generated): Set this instead of generated for
21876 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
21877 $(all-built-dso)-derived lists.
21878
7ac30cc5
AJ
218792012-05-03 Andreas Jaeger <aj@suse.de>
21880
0c51e550
AJ
21881 * sysdeps/i386/fpu/libm-test-ulps: Update.
21882
7ac30cc5
AJ
21883 * FAQ: Removed.
21884 * FAQ.in: Likewise.
21885 * scripts/gen-FAQ.pl: Likewise.
21886 * manual/install.texi (Installation): Point to online location of
21887 FAQ.
21888 * Makefile (files-for-dist): Remove FAQ.
21889 (FAQ): Remove.
21890
d4c2917f
AM
218912012-05-02 Allan McRae <allan@archlinux.org>
21892
21893 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
21894 (LDFLAGS-reldepmod5.so): Likewise.
21895 (LDFLAGS-reldep6mod1.so): Likewise.
21896 (LDFLAGS-reldep6mod4.so): Likewise.
21897 (LDFLAGS-reldep8mod3.so): Likewise.
21898 (LDFLAGS-unload4mod1.so): Likewise.
21899 (LDFLAGS-unload4mod2.so): Likewise.
21900 (LDFLAGS-tst-initorder): Likewise.
21901 (LDFLAGS-tst-initordera2.so): Likewise.
21902 (LDFLAGS-tst-initordera3.so): Likewise.
21903 (LDFLAGS-tst-initordera4.so): Likewise.
21904 (LDFLAGS-tst-initorderb2.so): Likewise.
21905 (LDFLAGS-noload): Likewise.
21906 (LDFLAGS-next): Likewise.
21907 (LDFLAGS-order2mod1.so): Likewise.
21908 (LDFLAGS-order2mod2.so): Likewise.
21909 (LDFLAGS-tst-initorder2): Likewise.
21910 (LDFLAGS-tst-initorder2a.so): Likewise.
21911 (LDFLAGS-tst-initorder2b.so): Likewise.
21912 (LDFLAGS-tst-initorder2c.so): Likewise.
21913 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
21914
d77f993f
DM
219152012-05-02 David S. Miller <davem@davemloft.net>
21916
21917 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21918
171a70b4
PP
219192012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
21920
21921 [BZ #14055]
21922 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
21923
0be196ad
AJ
219242012-05-02 Andreas Jaeger <aj@suse.de>
21925
21926 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
21927 since we manipulate rounding mode.
21928 (CPPFLAGS-test-idouble.c): Likewise.
21929 (CPPFLAGS-test-ifloat.c): Likewise.
21930 (CFLAGS-test-ldouble.c): Likewise.
21931 (CFLAGS-test-double.c): Likewise.
21932 (CFLAGS-test-float.c): Likewise.
21933 (CFLAGS-test-misc.c): Likewise.
21934 (CFLAGS-test-test-fenv.c): Likewise.
21935
4f9d04aa
AZ
219362012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21937
2b942cb7
RM
21938 [BZ #2550]
21939 [BZ #2570]
21940 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
21941 comparisons to determine direction to adjust input.
4f9d04aa 21942
82a79e7d
RM
219432012-05-01 Roland McGrath <roland@hack.frob.com>
21944
f5a01ca9
RM
21945 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
21946 output to the target.
21947
90fe4186
RM
21948 * scripts/localplt.awk: New file.
21949 * elf/Makefile ($(objpfx)check-localplt): Target removed.
21950 (check-localplt-CFLAGS): Variable removed.
21951 ($(all-built-dso:=.jmprel)): New static pattern rule.
21952 (generated): Add those targets.
21953 (localplt-built-dso): New variable.
21954 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
21955
21956 * elf/check-localplt.c: File removed.
21957
82397ed6
RM
21958 * scripts/check-execstack.awk: New file.
21959 * elf/Makefile ($(objpfx)check-execstack): Target removed.
21960 (check-execstack-CFLAGS): Variable removed.
21961 ($(objpfx)check-execstack.h): Target removed.
21962 ($(objpfx)execstack-default): New target.
21963 (generated): Add that instead of check-execstack.h.
21964 ($(all-built-dso:=.phdr)): New static pattern rule.
21965 (generated): Add those targets.
21966 * elf/check-execstack.c: File removed.
21967
82a79e7d
RM
21968 * scripts/check-textrel.awk: New file.
21969 * elf/Makefile ($(objpfx)check-textrel): Target removed.
21970 (check-textrel-CFLAGS): Variable removed.
21971 (all-built-dso): Use := to define.o
21972 ($(all-built-dso:=.dyn)): New static pattern rule.
21973 (generated): Add those targets.
21974 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
21975 * config.make.in (READELF): New substituted variable.
21976 * elf/check-textrel.c: File removed.
21977
62fde54f 219782012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 21979
615605c9
JM
21980 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
21981 allow.
21982 * conform/data/ctype.h-data [C99-based standards] (isblank):
21983 Expect function.
21984 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
21985 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
21986 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21987 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
21988 Specify type. Require positive value.
21989 (EILSEQ): Likewise.
21990 (ERANGE): Likewise.
21991 [ISO || POSIX] (EILSEQ): Do not expect.
21992 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
21993 Specify type. Require positive value.
21994 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
21995 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
21996 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
21997 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
21998 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
21999 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
22000 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
22001 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
22002 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
22003 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
22004 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
22005 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
22006 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
22007 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
22008 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
22009 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
22010 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
22011 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
22012 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
22013 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
22014 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
22015 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
22016 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
22017 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
22018 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
22019 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
22020 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
22021 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
22022 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
22023 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
22024 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
22025 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
22026 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
22027 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
22028 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
22029 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
22030 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
22031 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
22032 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
22033 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
22034 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
22035 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
22036 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
22037 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
22038 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
22039 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
22040 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
22041 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
22042 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
22043 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
22044 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
22045 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
22046 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
22047 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
22048 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
22049 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
22050 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
22051 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
22052 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
22053 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
22054 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
22055 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
22056 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
22057 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
22058 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
22059 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
22060 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
22061 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
22062 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
22063 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
22064 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
22065 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
22066 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
22067 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
22068 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
22069 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
22070 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
22071 Require >= 2.
22072 (FLT_ROUNDS): Expect as macro, not constant.
22073 (FLT_MANT_DIG): Use macro-int-constant.
22074 (DBL_MANT_DIG): Likewise.
22075 (LDBL_MANT_DIG): Likewise.
22076 (FLT_DIG): Likewise.
22077 (DBL_DIG): Likewise.
22078 (LDBL_DIG): Likewise.
22079 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
22080 (DBL_MIN_EXP): Likewise.
22081 (LDBL_MIN_EXP): Likewise.
22082 (FLT_MAX_EXP): Use macro-int-constant.
22083 (DBL_MAX_EXP): Likewise.
22084 (LDBL_MAX_EXP): Likewise.
22085 (FLT_MAX_10_EXP): Likewise.
22086 (DBL_MAX_10_EXP): Likewise.
22087 (LDBL_MAX_10_EXP): Likewise.
22088 (FLT_MAX): Use macro-constant.
22089 (DBL_MAX): Likewise.
22090 (LDBL_MAX): Likewise.
22091 (FLT_EPSILON): Use macro-constant. Give upper bound.
22092 (DBL_EPSILON): Likewise.
22093 (LDBL_EPSILON): Likewise.
22094 (FLT_MIN): Likewise.
22095 (DBL_MIN): Likewise.
22096 (LDBL_MIN): Likewise.
22097 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
22098 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
22099 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
22100 [ISO11] (FLT_HAS_SUBNORM): Likewise.
22101 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
22102 [ISO11] (DBL_DECIMAL_DIG): Likewise.
22103 [ISO11] (FLT_DECIMAL_DIG): Likewise.
22104 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
22105 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
22106 [ISO11] (FLT_TRUE_MIN): Likewise.
22107 [ISO11] (LDBL_TRUE_MIN): Likewise.
22108 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22109 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
22110 (SCHAR_MIN): Use macro-int-constant. Specify type.
22111 (SCHAR_MAX): Likewise.
22112 (UCHAR_MAX): Likewise.
22113 (CHAR_MIN): Likewise.
22114 (CHAR_MAX): Likewise.
22115 (MB_LEN_MAX): Use macro-int-constant.
22116 (SHRT_MIN): Use macro-int-constant. Specify type.
22117 (SHRT_MAX): Likewise.
22118 (USHRT_MAX): Likewise.
22119 (INT_MAX): Likewise.
22120 (INT_MIN): Use macro-int-constant. Specify type. Make upper
22121 bound negative.
22122 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
22123 bound with "U".
22124 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
22125 bound with "L".
22126 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
22127 bound negative. Suffix upper bound with "L".
22128 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
22129 bound with "UL".
22130 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
22131 Specify type.
22132 [C99-based standards] (LLONG_MAX): Likewise.
22133 [C99-based standards] (ULLONG_MAX): Likewise.
22134 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
22135 == 0.
22136 [ISO11] (max_align_t): Require type.
22137 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22138
c9140a62
JM
22139 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
22140 from $CFLAGS, without defining away __attribute__ calls.
22141 (checknamespace): Use $CFLAGS_namespace.
22142
9af0bf29
JM
22143 * conform/conformtest.pl (@keywords): Only include C99 keywords
22144 for standards based on C99 or C11.
22145
343222a2
JM
22146 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
22147 Disable tests.
22148 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
22149 UNIX98]: Likewise.
22150
661f8cf0
JM
22151 * conform/conformtest.pl: Handle "macro-int-constant" and test for
22152 usability of symbols in #if.
22153
ee74b9cb
JM
22154 * conform/conformtest.pl: If macro or constant types start
22155 "promoted:", expect the symbol to be of the following type
22156 promoted by the integer promotions.
62fde54f 22157
aafc49b3
JM
22158 * conform/conformtest.pl: Parse all "constant" and "macro" lines
22159 in one place. Also handle "macro-constant".
22160
fefdf574
JM
22161 * conform/conformtest.pl: Only accept expected macro values with
22162 "==". Parse all "macro" lines in one place.
22163 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
22164
f2d922fe
JM
22165 * conform/conformtest.pl: Handle braced types on "constant" lines
22166 instead of handling "typed-constant".
22167 * conform/data/signal.h-data: Use "constant" instead of
22168 "typed-constant".
22169
d22956c9
JM
22170 * conform/conformtest.pl: Handle "optional-" at start of lines in
22171 one place rather than duplicating several cases. Handle each
22172 format of "macro" line with initial "optional-".
22173
028e2e38
JM
22174 * conform/conformtest.pl: Only accept expected constant or
22175 optional-constant values with "==". Parse all "constant" lines in
22176 one place. Parse all "optional-constant" lines in one place.
22177 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
22178 * conform/data/fmtmsg.h-data: Likewise.
22179 * conform/data/netinet/in.h-data: Likewise.
22180 * conform/data/tar.h-data: Likewise.
22181 * conform/data/limits.h-data: Use "==" form on "constant" and
22182 "optional-constant" lines.
22183
1b8f2850
JM
22184 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
22185 Use -std=c99 for XOPEN2K.
22186 (@knownproblems): Remove.
22187 (newtoken): Don't check %isknown.
22188
a05a144b
JM
22189 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
22190 Do not expect macro.
22191 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
22192 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
22193 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
22194 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
22195 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
22196 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
22197 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
22198 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
22199 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
22200 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
22201 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
22202 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
22203 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
22204 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
22205 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
22206 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
22207 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
22208 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
22209 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
22210 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
22211 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
22212 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
22213 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
22214 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
22215 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
22216 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
22217 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
22218 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
22219 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
22220 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
22221 [XPG3] (acosh): Likewise.
22222 [XPG3] (asinh): Likewise.
22223 [XPG3] (atanh): Likewise.
22224 [XPG3] (cbrt): Likewise.
22225 [XPG3] (expm1): Likewise.
22226 [XPG3] (ilogb): Likewise.
22227 [XPG3] (log1p): Likewise.
22228 [XPG3] (logb): Likewise.
22229 [XPG3] (nextafter): Likewise.
22230 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
22231 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
22232 [XPG3] (remainder): Likewise.
22233 [XPG3] (rint): Likewise.
22234 [XPG3 || XPG4 || UNIX98] (round): Likewise.
22235 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
22236 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
22237 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
22238 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
22239 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
22240 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
22241 [UNIX98 || XOPEN2K] (scalb): Expect.
22242 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
22243 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
22244 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
22245 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
22246 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
22247 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
22248 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
22249 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
22250 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
22251 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
22252 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
22253 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
22254 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
22255 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
22256 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
22257 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
22258 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
22259 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
22260 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
22261 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
22262 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
22263 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
22264 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
22265 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
22266 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
22267 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
22268 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
22269 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
22270 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
22271 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
22272 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
22273 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
22274 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
22275 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
22276 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
22277 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
22278 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
22279 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
22280 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
22281 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
22282 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
22283 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
22284 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
22285 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
22286 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
22287 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
22288 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
22289 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
22290 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
22291 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
22292 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
22293 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
22294 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
22295 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
22296 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
22297 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
22298 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
22299 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
22300 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
22301 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
22302 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
22303 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
22304 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
22305 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
22306 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
22307 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
22308 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
22309 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
22310 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
22311 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
22312 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
22313 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
22314 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
22315 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
22316 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
22317 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
22318 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
22319 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
22320 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
22321 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
22322 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
22323 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
22324 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
22325 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
22326 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
22327 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
22328 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
22329 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
22330 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
22331 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
22332 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
22333 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
22334 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
22335 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
22336 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
22337 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
22338 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
22339 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
22340 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
22341 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
22342 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
22343 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
22344 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
22345 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
22346 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
22347 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
22348 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
22349 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
22350 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
22351 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
22352 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
22353 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
22354 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
22355 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
22356 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
22357 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
22358 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
22359 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
22360 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
22361 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
22362 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
22363 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
22364 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
22365 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
22366 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
22367 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
22368 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
22369 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
22370 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
22371 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
22372 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
22373 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
22374 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
22375 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
22376 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
22377 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
22378 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
22379
73c5ebe3
JM
22380 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
22381 _XOPEN_SOURCE_EXTENDED for XPG4.
22382
39c33b6c
JM
22383 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
22384
62fde54f
JM
22385 * Makeconfig (localtime): Remove variable.
22386 (inst_localtime-file): Likewise.
22387
0741d64c
AS
223882012-05-01 Andreas Schwab <schwab@linux-m68k.org>
22389
22390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
22391 Update.
22392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22393 Update.
22394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
22395 Update.
22396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
22397 Update.
22398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
22399 Update.
22400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
22401 Update.
22402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22403 Update.
22404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
22405 Update.
22406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22407 Update.
22408
7cb029ee
JM
224092012-05-01 Joseph Myers <joseph@codesourcery.com>
22410
22411 [BZ #2550]
22412 [BZ #2570]
22413 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
22414 comparisons to determine direction to adjust input.
22415 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
22416 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
22417 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
22418 Likewise.
22419 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
22420 Likewise.
22421 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
22422 Likewise.
22423 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
22424 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
22425 Likewise.
22426 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
22427 Likewise.
22428 * math/libm-test.inc (nexttoward_test): Add more tests.
22429
412bd966
AS
224302012-05-01 Andreas Schwab <schwab@linux-m68k.org>
22431
22432 [BZ #14040]
22433 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
22434 in version GLIBC_2.1, not GLIBC_2.0.
22435 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
22436 Likewise.
22437
9568c0c2
JM
224382012-04-30 Joseph Myers <joseph@codesourcery.com>
22439
adfbc8ac
JM
22440 [BZ #13942]
22441 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
22442 (1 - x) * (1 + x).
22443 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
22444 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
22445 * math/libm-test.inc (acos_test): Add more tests.
22446 (asin_test): Likewise.
22447 * sysdeps/i386/fpu/libm-test-ulps: Update.
22448 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22449
5ba3cc69
JM
22450 [BZ #14034]
22451 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
22452 of square root.
22453 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
22454 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
22455 * math/libm-test.inc (acos_test_tonearest): New function.
22456 (acos_test_towardzero): Likewise.
22457 (acos_test_downward): Likewise.
22458 (acos_test_upward): Likewise.
22459 (asin_test_tonearest): Likewise.
22460 (asin_test_towardzero): Likewise.
22461 (asin_test_downward): Likewise.
22462 (asin_test_upward): Likewise.
22463 (main): Call the new functions.
22464 * sysdeps/i386/fpu/libm-test-ulps: Update.
22465 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22466
9568c0c2
JM
22467 [BZ #13884]
22468 [BZ #13924]
22469 * math/e_exp10.c: Include <float.h>.
22470 (__ieee754_exp10): Handle underflow here rather than multiplying
22471 large negative argument by M_LN10.
22472 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
22473 of __ieee754_expf.
22474 * math/e_exp10l.c: Include <float.h>.
22475 (__ieee754_exp10l): Handle underflow here rather than multiplying
22476 large negative argument by M_LN10l.
22477 * math/libm-test.inc (exp10_test): Add another test. Do not allow
22478 spurious overflow exception on underflow.
22479
5ac3ea17
MP
224802012-04-29 Marek Polacek <polacek@redhat.com>
22481
22482 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
22483 (__fortify_function): New macro.
22484 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
22485 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
22486 __extern_always_inline.
22487 * libio/bits/stdio2.h: Likewise.
22488 * libio/bits/stdio.h: Likewise.
22489 * string/string.h: Likewise.
22490 * string/bits/string3.h: Likewise.
22491 * include/stdio.h: Likewise.
22492 * stdlib/bits/stdlib.h: Likewise.
22493 * stdlib/stdlib.h: Likewise.
22494 * rt/bits/mqueue2.h: Likewise.
22495 * rt/mqueue.h: Likewise.
22496 * posix/bits/unistd.h: Likewise.
22497 * posix/unistd.h: Likewise.
22498 * io/bits/poll2.h: Likewise.
22499 * io/bits/fcntl2.h: Likewise.
22500 * io/fcntl.h: Likewise.
22501 * io/sys/poll.h: Likewise.
22502 * misc/bits/syslog.h: Likewise.
22503 * misc/bits/syslog-ldbl.h: Likewise.
22504 * misc/sys/syslog.h: Likewise.
22505 * socket/bits/socket2.h: Likewise.
22506 * socket/sys/socket.h: Likewise.
22507 * debug/tst-chk1.c: Likewise.
22508 * wcsmbs/bits/wchar2.h: Likewise.
22509 * wcsmbs/bits/wchar-ldbl.h: Likewise.
22510 * wcsmbs/wchar.h: Likewise.
22511
ecf0ebfb
AJ
225122012-04-29 Andreas Jaeger <aj@suse.de>
22513
22514 * Makerules (tests): Remove enable-check-abi protection.
22515 (check-abi-warn): Remove.
22516 (check-abi-%): Remove check-abi-warn usage.
22517
22518 * configure.in: Remove check-abi configure option.
22519 * configure: Regenerated.
22520 * config.make.in (enable-check-abi): Remove.
22521
6d5c57fa
AS
225222012-04-28 Andreas Schwab <schwab@linux-m68k.org>
22523
24c5d07e 22524 [BZ #14033]
ded5180a
AS
22525 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
22526 double functions to double *_finite functions.
22527
7e0d315d
AS
22528 [BZ #13941]
22529 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
22530 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
22531 LDBL_MIN_EXP.
22532 * stdio-common/Makefile (tests): Add tst-sprintf3.
22533 * stdio-common/tst-sprintf3.c: New file.
22534
6d5c57fa
AS
22535 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
22536 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
22537
0749ff8b
JM
225382012-04-28 Joseph Myers <joseph@codesourcery.com>
22539
22540 * conform/conformtest.pl: Remove duplicate typed-constant
22541 handling.
22542
8dbd5d7b
DM
225432012-04-28 David S. Miller <davem@davemloft.net>
22544
22545 * Makerules (%.abilist): Add vpath on sysdep_dirs.
22546 (check-abi-%): Remove AWK script prerequisite and explicit
22547 abilist directory.
22548 (check-abi): Rewrite to just diff the symlist with the abilist.
22549 (config-tls, config-abi-config): Delete, no longer used.
22550 (update-abi-%): Remove AWK script and explicit abilist directory.
22551 (update-abi): Rewrite to simply compare and conditionally copy the
22552 symlist and the sysdep abilist file. Remove update-abi-config
22553 checks.
22554 * abilist/ld.abilist: Remove.
22555 * abilist/libBrokenLocale.abilist: Remove.
22556 * abilist/libanl.abilist: Remove.
22557 * abilist/libcrypt.abilist: Remove.
22558 * abilist/libdl.abilist: Remove.
22559 * abilist/librt.abilist: Remove.
22560 * abilist/libthread_db.abilist: Remove.
22561 * abilist/libutil.abilist: Remove.
22562 * scripts/extract-abilist.awk: Remove.
22563 * scripts/merge-abilist.awk: Remove.
22564 * sysdeps/generic/libcidn.abilist: New file.
22565 * sysdeps/generic/libnss_compat.abilist: New file.
22566 * sysdeps/generic/libnss_db.abilist: New file.
22567 * sysdeps/generic/libnss_dns.abilist: New file.
22568 * sysdeps/generic/libnss_files.abilist: New file.
22569 * sysdeps/generic/libnss_hesiod.abilist: New file.
22570 * sysdeps/generic/libnss_nis.abilist: New file.
22571 * sysdeps/generic/libnss_nisplus.abilist: New file.
22572 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
22573 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
22574 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
22575 file.
22576 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
22577 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
22578 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
22579 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
22580 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
22581 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
22582 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
22583 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
22584 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
22585 file.
22586 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
22587 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
22588 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
22589 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
22590 file.
22591 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
22592 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
22593 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
22594 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
22595 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
22596 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
22597 file.
22598 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
22599 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
22600 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
22601 file.
22602 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
22603 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
22604 New file.
22605 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
22606 New file.
22607 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
22608 New file.
22609 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
22610 New file.
22611 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
22612 New file.
22613 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
22614 New file.
22615 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
22616 New file.
22617 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
22618 New file.
22619 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
22620 New file.
22621 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
22622 New file.
22623 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
22624 New file.
22625 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
22626 New file.
22627 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
22628 New file.
22629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
22630 file.
22631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
22632 New file.
22633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
22634 New file.
22635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
22636 file.
22637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
22638 New file.
22639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
22640 New file.
22641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
22642 file.
22643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
22644 New file.
22645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22646 New file.
22647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
22648 New file.
22649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
22650 New file.
22651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
22652 New file.
22653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
22654 New file.
22655 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
22656 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
22657 file.
22658 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
22659 New file.
22660 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
22661 file.
22662 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
22663 file.
22664 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
22665 file.
22666 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
22667 file.
22668 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
22669 file.
22670 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22671 New file.
22672 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
22673 file.
22674 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
22675 file.
22676 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
22677 New file.
22678 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
22679 file.
22680 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
22681 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
22682 file.
22683 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
22684 New file.
22685 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
22686 file.
22687 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
22688 file.
22689 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
22690 file.
22691 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
22692 file.
22693 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
22694 file.
22695 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22696 New file.
22697 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
22698 file.
22699 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
22700 file.
22701 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
22702 New file.
22703 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
22704 file.
22705 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
22706 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
22707 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
22708 file.
22709 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
22710 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
22711 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
22712 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
22713 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
22714 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
22715 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
22716 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
22717 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
22718 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
22719 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
22720 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
22721 file.
22722 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
22723 New file.
22724 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
22725 file.
22726 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
22727 file.
22728 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
22729 file.
22730 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
22731 file.
22732 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
22733 file.
22734 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
22735 New file.
22736 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
22737 New file.
22738 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
22739 file.
22740 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
22741 New file.
22742 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
22743 file.
22744 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
22745 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
22746 file.
22747 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
22748 New file.
22749 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
22750 file.
22751 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
22752 file.
22753 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
22754 file.
22755 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
22756 file.
22757 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
22758 file.
22759 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
22760 New file.
22761 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
22762 New file.
22763 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
22764 file.
22765 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
22766 New file.
22767 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
22768 file.
22769
41d73a1b
JM
227702012-04-28 Joseph Myers <joseph@codesourcery.com>
22771
22772 * conform/conformtest.pl: Fix typo in handling typed-constant from
22773 allow-header.
22774
28aeeda4
JM
227752012-04-27 Joseph Myers <joseph@codesourcery.com>
22776
adae8f5e
JM
22777 * README: Cut down references to pre-2.6 Linux kernels and
22778 Linuxthreads. Update lists of configurations in libc and ports
22779 and sort alphabetically. Say "or newer" with Linux kernel version
22780 requirements.
22781
28aeeda4
JM
22782 * config.h.in [IS_IN_build]: Allow compiling without optimization.
22783
a462cb63
RA
227842012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22785
22786 [BZ #887]
22787 * math/libm-test.inc (logb_test_downward): New test to expose
22788 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
22789 rounding mode.
22790
6ad3493e
JM
227912012-04-27 Joseph Myers <joseph@codesourcery.com>
22792
22793 [BZ #14027]
22794 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
22795 to be done.
22796 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
22797 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
22798
2ce4f015
JM
227992012-04-26 Joseph Myers <joseph@codesourcery.com>
22800
5aeb141a
JM
22801 * sysdeps/unix/i386/brk.S: Remove file.
22802 * sysdeps/unix/i386/dl-brk.S: Likewise.
22803 * sysdeps/unix/i386/pipe.S: Likewise.
22804 * sysdeps/unix/i386/sigreturn.S: Likewise.
22805 * sysdeps/unix/i386/syscall.S: Likewise.
22806 * sysdeps/unix/i386/vfork.S: Likewise.
22807 * sysdeps/unix/i386/wait.S: Likewise.
22808
7143acae
JM
22809 * sysdeps/unix/common/tcsendbrk.c: Move to ...
22810 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
22811
2ce4f015
JM
22812 * configure.in (arm*-none*): Do not allow without
22813 --enable-hacker-mode.
22814 (netbsd*): Remove case setting base_os.
22815 (386bsd*): Likewise.
22816 (freebsd*): Likewise.
22817 (bsdi*): Likewise.
22818 (osf*): Likewise.
22819 (sunos*): Likewise.
22820 (ultrix*): Likewise.
22821 (newsos*): Likewise.
22822 (dynix*): Likewise.
22823 (*bsd*): Likewise.
22824 (sysv*): Likewise.
22825 (isc*): Likewise.
22826 (esix*): Likewise.
22827 (sco*): Likewise.
22828 (minix*): Likewise.
22829 (irix4*): Likewise.
22830 (irix6*): Likewise.
22831 (solaris[2-9]*): Likewise.
22832 (none): Likewise.
22833 * configure: Regenerated.
22834
0ac229c8
AZ
228352012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22836
22837 [BZ #11521]
22838 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
22839 overflow or cancellation in calculating denominator.
22840 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
22841 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
22842 down expression to avoid unexpected rounding in newer GCCs.
22843 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
22844
33f244f4
DM
228452012-04-26 David S. Miller <davem@davemloft.net>
22846
22847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
22848 long-double compat symbols.
22849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
22850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
22851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
22852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
22853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
22854 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
22855 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
22856 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
22857 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
22858 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
22859 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
22860 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
22861 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
22862
cfa1f3e8
DM
228632012-04-25 David S. Miller <davem@davemloft.net>
22864
22865 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
22866 HWCAP_* values only after the memory barriers have been defined.
22867 (atomic_full_barrier): Define.
22868 (atomic_read_barrier): Define.
22869 (atomic_write_barrier): Define.
22870
6e236b92
SP
228712012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22872
22873 * shlib-versions: Add libgcc_s version information.
22874 * sysdeps/generic/libgcc_s.h: Remove.
22875 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
22876 libgcc_s.h.
22877 * sysdeps/gnu/unwind-resume.c: Likewise.
22878 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
22879
aab39a09
DM
228802012-04-25 David S. Miller <davem@davemloft.net>
22881
22882 * sysdeps/unix/sparc/brk.S: Delete.
22883 * sysdeps/unix/sparc/dl-brk.S: Delete.
22884 * sysdeps/unix/sparc/pipe.S: Delete.
22885 * sysdeps/unix/sparc/sysdep.S: Delete.
22886 * sysdeps/unix/sparc/sysdep.h: Delete.
22887 * sysdeps/unix/sparc/vfork.S: Delete.
22888 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
22889 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
22890 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
22891 ret_ERRVAL, r0, r1, MOVE): Define.
22892 (JUMPTARGET): Remove.
22893 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
22894 sysdeps/unix/sparc/sysdep.h
22895 (ENTRY, END): Remove.
22896 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22897
a3cc4f48
JM
228982012-04-25 Joseph Myers <joseph@codesourcery.com>
22899
2ed8cda2
JM
22900 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
22901 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
22902 -DIS_IN_build.
22903
35d76d59
JM
22904 * timezone/README: Update upstream location and email address for
22905 tzcode and tzdata.
22906 * timezone/zdump.c: Update from tzcode 2012b.
22907 * timezone/zic.c: Likewise.
22908
a3cc4f48
JM
22909 * configure.in (libc_cv_as_needed): Remove test.
22910 * configure: Regenerated.
22911 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
22912 conditional definition.
22913 [$(have-as-needed) != yes] (no-as-needed): Likewise.
22914 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
22915 * config.make.in (have-as-needed): Remove variable.
22916
ceab42c3
SP
229172012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22918 Paul Pluzhnikov <ppluzhnikov@google.com>
22919
22920 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
22921 strings correctly.
22922
3ce2865f
CLT
229232012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
22924
22925 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
22926 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
22927 * sysdeps/sh/strlen.S: Likewise.
22928
f37e0d68
JM
229292012-04-24 Joseph Myers <joseph@codesourcery.com>
22930
ae186e9a
JM
22931 * sysdeps/unix/fork.S: Remove file.
22932 * sysdeps/unix/i386/fork.S: Likewise.
22933 * sysdeps/unix/sparc/fork.S: Likewise.
22934
b96914af
JM
22935 * sysdeps/unix/system.c: Remove file.
22936 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
22937
f37e0d68
JM
22938 * sysdeps/unix/getegid.S: Remove file.
22939 * sysdeps/unix/geteuid.S: Likewise.
22940
87ef29ca
RM
229412012-04-24 Roland McGrath <roland@hack.frob.com>
22942
83bcd236
RM
22943 * scripts/check-localplt.awk: New file.
22944 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
22945 of diff.
22946 * scripts/data/localplt-generic.data: Add a comment.
22947
87ef29ca
RM
22948 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
22949 NODE when __dir_mkfile failed.
22950 * sysdeps/mach/hurd/symlinkat.c: Likewise.
22951 Reported by Ludovic Courtès <ludo@gnu.org>.
22952
e5a6e567
AJ
229532012-04-24 Andreas Jaeger <aj@suse.de>
22954
22955 * Makerules (common-clean): Also remove gen-as-const-headers
22956 files.
22957
c1820385
JM
229582012-04-24 Joseph Myers <joseph@codesourcery.com>
22959
22960 * Makerules (native-compile): Do not change working directory for
22961 build. Use $(OUTPUT_OPTION) in command.
22962 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
22963
94e02fc4
AZ
229642012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22965
22966 [BZ #13886]
22967 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
22968 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
22969 * math/libm-test.inc (floor_test): Add more tests.
22970 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
22971
3a533ca3
JM
229722012-04-24 Joseph Myers <joseph@codesourcery.com>
22973
940ab4b3
JM
22974 * sysdeps/unix/getdents.c: Remove file.
22975 * sysdeps/unix/sysv/getdents.c: Likewise.
22976 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
22977
90e037bd
JM
22978 * sysdeps/unix/syscalls.list (madvise): Add syscall from
22979 sysdeps/unix/mman/syscalls.list.
22980 (mmap): Likewise.
22981 (mprotect): Likewise.
22982 (msync): Likewise.
22983 (munmap): Likewise.
22984 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
22985 * sysdeps/unix/mman/syscalls.list: Remove.
22986 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
22987
3a533ca3
JM
22988 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
22989 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
22990 * configure: Regenerated.
22991 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
22992 $(libgcc_s_suffix).
22993 * config.make.in (libgcc_s_suffix): Remove variable.
22994
1ad743de
JM
229952012-04-23 Joseph Myers <joseph@codesourcery.com>
22996
4ad451e2
JM
22997 * sysdeps/unix/sysv/gethostname.c: Move to ...
22998 * sysdeps/posix/gethostname.c: ... here.
22999
5e37ce39
JM
23000 * sysdeps/unix/execve.S: Remove file.
23001
1ad743de
JM
23002 * sysdeps/unix/_exit.S: Remove file.
23003
4e681b5b
AJ
230042012-04-23 Andreas Jaeger <aj@suse.de>
23005
23006 [BZ #13739]
23007 * manual/Makefile: Remove make dist support, there's no
23008 need for a stand-alone documentation tar ball.
23009 (TEXI2DVI): Define always, it's not in Makeconfig.
23010 (dist): Removed.
23011 (tar-it): Removed.
23012 (edition): Removed.
23013 (glibc-doc-$(edition).tar): Removed
23014 (%.Z): Removed.
23015 (%.gz): Removed.
23016 (%.uu): Removed.
23017 (ETAGS): Remove, it's in Makeconfig.
23018 (move-if-change): Remove, it's in Makeconfig.
23019
38686a03 230202012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
23021
23022 [BZ #13970]
23023 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
23024 (strtod, strtof, strtold, strtol, strtoul, strtoq)
23025 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
23026 (strtod_l, strtof_l, strtold_l): Remove __wur.
23027 It is not necessarily an error to ignore strtol's return value.
23028 One can reliably look at the stored endptr to decide whether
23029 the number had valid syntax.
23030
7c0616fa
AJ
230312012-04-21 Andreas Jaeger <aj@suse.de>
23032
803cb6b7 23033 [BZ #13739]
7c0616fa
AJ
23034 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
23035
b0fe253f
JM
230362012-04-21 Joseph Myers <joseph@codesourcery.com>
23037
23038 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
23039 * sysdeps/unix/sysv/Versions: Remove file.
23040
8280f22d
MT
230412012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
23042
23043 [BZ #13927]
23044 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23045
75ce411f 230462012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
23047
23048 [BZ #7064]
23049 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
23050 version from __vm86.
23051
097d59fa
JM
230522012-04-20 Joseph Myers <joseph@codesourcery.com>
23053
a90f3bcb
JM
23054 * sysdeps/unix/common/lxstat.c: Remove file.
23055 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
23056
edc7ea78
JM
23057 * sysdeps/unix/sysv/Makefile: Remove file.
23058
cb78c221
JM
23059 * sysdeps/unix/sysv/direct.h: Remove file.
23060
efa6a45f
JM
23061 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
23062 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
23063 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
23064 * sysdeps/unix/sysv/bits/signum.h: Likewise.
23065 * sysdeps/unix/sysv/bits/stat.h: Likewise.
23066 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
23067 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
23068
9c9f2d0c
JM
23069 * sysdeps/unix/sysv/setrlimit.c: Remove file.
23070
4541c83b
JM
23071 * sysdeps/unix/xmknod.c: Remove file.
23072 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
23073
f5d153a0
JM
23074 * sysdeps/unix/sysv/settimeofday.c: Remove file.
23075
aa746595
JM
23076 * sysdeps/unix/sysv/i386/time.S: Remove file.
23077
cce5905e
JM
23078 * sysdeps/unix/fxstat.c: Remove file.
23079 * sysdeps/unix/xstat.c: Likewise.
23080 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
23081
37fa3841
JM
23082 * sysdeps/unix/sysv/sigaction.c: Remove file.
23083
ff1962a3
JM
23084 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
23085 (sysdep_headers): Remove variable.
23086 [termio.h not in sysdep_headers] (generated): Likewise.
23087 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
23088 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
23089 * sysdeps/unix/sysv/tcdrain.c: Likewise.
23090 * sysdeps/unix/sysv/tcflow.c: Likewise.
23091 * sysdeps/unix/sysv/tcflush.c: Likewise.
23092 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
23093 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
23094 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
23095 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
23096 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
23097
e7740d31
JM
23098 * sysdeps/unix/siglist.c: Remove file.
23099
ee06f18b
JM
23100 * sysdeps/unix/getppid.S: Remove file.
23101
097d59fa
JM
23102 * sysdeps/unix/mkdir.c: Remove file.
23103 * sysdeps/unix/rmdir.c: Likewise.
23104
ff3d51ec
AS
231052012-04-19 Andreas Schwab <schwab@linux-m68k.org>
23106
23107 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
23108 ERR_MAX value.
23109 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
23110 errlist-compat value.
23111
50f81fd7
DM
231122012-04-18 David S. Miller <davem@davemloft.net>
23113
23114 * sysdeps/generic/memcopy.h (reg_char): Delete.
23115 * debug/strcat_chk.c: Use char, not reg_char.
23116 * debug/strcpy_chk.c: Likewise.
23117 * debug/strncat_chk.c: Likewise.
23118 * debug/strncpy_chk.c: Likewise.
23119 * string/memchr.c: Likewise.
23120 * string/memrchr.c: Likewise.
23121 * string/rawmemchr.c: Likewise.
23122 * string/strcat.c: Likewise.
23123 * string/strchr.c: Likewise.
23124 * string/strchrnul.c: Likewise.
23125 * string/strcmp.c: Likewise.
23126 * string/strcpy.c: Likewise.
23127 * string/strncat.c: Likewise.
23128 * string/strncmp.c: Likewise.
23129 * string/strncpy.c: Likewise.
23130
8ff41c46
WS
231312012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
23132
23133 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
23134 __builtin_memcopy is called when src and dest ranges are known to not
23135 overlap.
23136
6b652f46
WS
231372012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
23138
23139 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
23140 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
23141 fwd_align_merge macro call.
23142 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
23143 bwd_align_merge macro call.
23144 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
23145
b282631e
WS
231462012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
23147
23148 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
23149 bwd_align_merge macros.
23150 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
23151 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
23152 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
23153
95aa737c
DM
231542012-04-18 David S. Miller <davem@davemloft.net>
23155
23156 * sysdeps/sparc/sparc64/memcopy.h: Delete.
23157
7a99a614
AJ
231582012-04-18 Andreas Jaeger <aj@suse.de>
23159
23160 [BZ# 6794]
23161 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
23162 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
23163 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23164
23165 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
23166 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
23167 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23168
23169 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
23170 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
23171 Adjust for changed ldbl-128 files.
23172
23173 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
23174 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
23175 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23176
e5270c23
DM
231772012-04-17 David S. Miller <davem@davemloft.net>
23178
23179 * sysdeps/sparc/sparc32/memcopy.h: Delete.
23180
fb5e92c9
AS
231812012-04-17 Andreas Schwab <schwab@linux-m68k.org>
23182
23183 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
23184 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
23185 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
23186 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
23187 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
23188 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
23189
76da7265
AZ
231902012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23191
23192 [BZ #6794]
23193 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
23194 * math/libm-test.inc: Add ilogb errno and exception tests.
23195 * math/w_ilogb.c: New file: ilogb wrapper.
23196 * math/w_ilogbf.c: New file: ilogbf wrapper.
23197 * math/w_ilogbl.c: New file: ilogbl wrapper.
23198 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
23199 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
23200 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
23201 exception being thrown with 0.0 as argument.
23202 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
23203 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
23204 exception being thrown with 0.0 as argument.
23205 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
23206 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
23207 exception being thrown with 0.0 as argument.
23208 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
23209 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
23210 exception being thrown with 0.0 as argument.
23211 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
23212 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 23213 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
23214 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
23215 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
23216 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
23217 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
23218 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
23219 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
23220
0396e69d
PB
232212012-04-17 Petr Baudis <pasky@ucw.cz>
23222
23223 * include/sys/uio.h: Change __vector to __iovec to avoid clash
23224 with altivec.
23225
750b5926
MP
232262012-04-16 Marek Polacek <polacek@redhat.com>
23227
23228 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
23229
751728a1
MP
232302012-04-16 Marek Polacek <polacek@redhat.com>
23231
23232 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
23233 operands of fdivp instruction.
23234
34a27407
L
232352012-04-13 H.J. Lu <hongjiu.lu@intel.com>
23236
23237 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
23238 * elf/tst-auditmod3b.c: Likewise.
23239 * elf/tst-auditmod4b.c: Likewise.
23240 * elf/tst-auditmod5b.c: Likewise.
23241 * elf/tst-auditmod6b.c: Likewise.
23242 * elf/tst-auditmod6c.c: Likewise.
23243 * elf/tst-auditmod7b.c: Likewise.
23244 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
23245 * sysdeps/x86_64/preconfigure.in: Likewise.
23246 * sysdeps/x86_64/preconfigure: Regenerated.
23247
7e73e17d
L
232482012-04-13 H.J. Lu <hongjiu.lu@intel.com>
23249
23250 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
23251 __ILP32__.
23252
c7a6ab72
AB
232532012-04-13 Antoine Balestrat <merkil33@gmail.com>
23254
23255 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23256 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
23257
a9e8e0e0
CL
232582012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
23259
23260 [BZ #13973]
23261 * locale/iso-639.def: Fix gl language name. Spotted by
23262 Yaron Shahrabani.
23263
ec98af7d
RM
232642012-04-12 Roland McGrath <roland@hack.frob.com>
23265
23266 [BZ #2074]
23267 * libio/libio.h (__io_write_fn): Update comment.
23268
247c3ede
PB
232692012-04-12 Petr Baudis <pasky@ucw.cz>
23270
23271 [BZ #2074]
23272 * stdio.texi (Hook Functions): The user provided writer function
23273 is not allowed to return -1.
23274
55939d6d
DM
232752012-04-11 David S. Miller <davem@davemloft.net>
23276
23277 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23278
90020f5a
MF
232792012-04-11 Mike Frysinger <vapier@gentoo.org>
23280
23281 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
23282 Add a leading slash to rtkaio.
23283
288f9098
JM
232842012-04-11 Jim Meyering <meyering@redhat.com>
23285
90020f5a
MF
23286 [BZ #11959]
23287 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
23288 It is not necessarily an error to ignore fwrite's return
23289 value. One can reliably use ferror to test for errors after
23290 the fact.
288f9098 23291
4be2b570
L
232922012-04-10 H.J. Lu <hongjiu.lu@intel.com>
23293
23294 * bits/types.h (__snseconds_t): New type.
23295 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
23296
23297 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
23298 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23299 (__SNSECONDS_T_TYPE): Likewise.
23300 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23301 (__SNSECONDS_T_TYPE): Likewise.
23302 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23303 (__SNSECONDS_T_TYPE): Likewise.
23304
288f9098 233052012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
23306
23307 [BZ #2636]
23308 * manual/time.texi (Processor Time): Return type of times is
23309 elapsed real time since an arbitrary point in the past.
23310 (CPU Time): Move CLK_TCK from here...
23311 (Processor Time): ...to here. Correct description.
23312 * manual/conf.texi (Constants for Sysconf): Correct description of
23313 _SC_CLK_TCK.
23314
d7dd4413
DM
233152012-04-10 David S. Miller <davem@davemloft.net>
23316
23317 [BZ #13967]
23318 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
23319 where the is a gap between DT_REL(A) and DT_JMPREL.
23320
b46068fc
L
233212012-04-10 H.J. Lu <hongjiu.lu@intel.com>
23322
23323 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
23324 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
23325 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
23326
73d65cc3
SP
233272012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23328
23329 * elf/dl-support.c (_dl_inhibit_cache): New variable.
23330 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
23331 (dl_main): Handle --inhibit-cache.
23332 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
23333 _dl_inhibit_cache.
23334 * elf/dl-load.c (_dl_map_object): Use it.
23335 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
23336
bcc8d661
JM
233372012-04-09 Joseph Myers <joseph@codesourcery.com>
23338
8f9a2fae
JM
23339 [BZ #13872]
23340 * sysdeps/i386/fpu/e_powl.S (p78): New object.
23341 (__ieee754_powl): Saturate large exponents rather than testing for
23342 overflow of y*log2(x).
23343 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23344 * math/libm-test.inc (pow_test): Do not permit spurious overflow
23345 exceptions.
23346
bcc8d661
JM
23347 [BZ #11521]
23348 * math/s_ctan.c: Include <float.h>.
23349 (__ctan): Avoid internal overflow or cancellation in calculating
23350 denominator.
23351 * math/s_ctanf.c: Likewise.
23352 * math/s_ctanl.c: Likewise.
23353 * math/s_ctanh.c: Likewise.
23354 * math/s_ctanhf.c: Likewise.
23355 * math/s_ctanhl.c: Likewise.
23356 * math/libm-test.inc (ctan_test): Add more tests.
23357 (ctanh_test): Likewise.
23358 * sysdeps/i386/fpu/libm-test-ulps: Update.
23359 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23360
823fbbb4
AJ
233612012-04-09 Andreas Jaeger <aj@suse.de>
23362
03879793
AJ
23363 [BZ #6894]
23364 * manual/filesys.texi (Directory Entries): Mention that d_namlen
23365 is an optional BSD extension.
23366
823fbbb4
AJ
23367 [BZ #10254]
23368 * manual/stdio.texi (Opening Streams): Document additional fopen
23369 parameters.
23370
8de131cb
RM
233712012-04-09 Roland McGrath <roland@hack.frob.com>
23372
23373 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
23374 %eax without telling the compiler.
23375
c0ed9d7d
CD
233762012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
23377
23378 [BZ # 13963]
23379 * manual/install.texi: Use sourceware.org.
23380
c483f6b4
JM
233812012-04-09 Joseph Myers <joseph@codesourcery.com>
23382
d7dd9453
JM
23383 [BZ #13873]
23384 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
23385 (__ieee754_pow): Generate overflow and underflow using huge*huge
23386 and tiny*tiny rather than just returning constant infinity or zero
23387 for large exponents.
23388 * math/libm-test.inc (pow_test): Require overflow exceptions for
23389 applicable cases of large exponents.
23390
c483f6b4
JM
23391 [BZ #706]
23392 * sysdeps/i386/fpu/e_pow.S (p10): New object.
23393 (__ieee754_pow): Use iterative multiplication algorithm only for
23394 integer exponents with absolute value below 1024. Check for odd
23395 integer exponents when using algorithm for real exponents.
23396 * math/libm-test.inc (pow_test): Add more tests.
23397 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23398
d2de7579
JM
233992012-04-08 Joseph Myers <joseph@codesourcery.com>
23400
23401 [BZ #13705]
23402 * math/libm-test.inc (exp_test): Do not allow overflow exception
23403 on underflow test.
23404
f77f1232
AJ
234052012-04-08 Aurelien Jarno <aurelien@aurel32.net>
23406
23407 [BZ #13705]
23408 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
23409 instead of __kernel_standard_f.
23410
3884932b
MF
234112012-04-08 Mike Frysinger <vapier@gentoo.org>
23412
23413 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
23414 * sysdeps/x86_64/memset_chk.S: Likewise.
23415
54472e9c
AJ
234162012-04-08 Andreas Jaeger <aj@suse.de>
23417
6ab0fbfc
AJ
23418 [BZ #10153]
23419 * manual/startup.texi (Environment Access): Describe return value
23420 for putenv and setenv.
23421
61efba8c
AJ
23422 [BZ #6895]
23423 * manual/filesys.texi (Directory Entries): Add description for
23424 DT_LNK.
23425
95c3f29a
AJ
23426 [BZ #6890]
23427 * manual/filesys.texi (Directory Entries): Clarify that it's file
23428 system not operating system in the description of DT_UNKNOWN.
23429
54472e9c
AJ
23430 [BZ #6578]
23431 * manual/syslog.texi (closelog): Fix reference, it's openlog.
23432
624254b1
SC
234332012-04-08 Stephen Compall <s11@member.fsf.org>
23434
23435 [BZ #6649]
23436 * manual/llio.texi (Opening and Closing Files): Add cross
23437 reference to explain mode argument.
23438
1e4920e0
MF
234392012-04-07 Mike Frysinger <vapier@gentoo.org>
23440
23441 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
23442 * sysdeps/x86_64/memset_chk.S: Likewise.
23443
5ed848f3
DM
234442012-04-07 David S. Miller <davem@davemloft.net>
23445
23446 * elf/elf.h (R_SPARC_WDISP10): Define.
23447 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
23448 R_SPARC_SIZE32.
23449 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
23450 R_SPARC_SIZE64 and R_SPARC_H34.
23451
96154cd8
CD
234522012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
23453
23454 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
23455 conditions and remove no longer applicable assertion.
23456
9904dc47
L
234572012-04-06 H.J. Lu <hongjiu.lu@intel.com>
23458
23459 * bits/byteswap.h: Include <features.h>.
23460 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
23461 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
23462
f8887d0a
L
234632012-04-06 H.J. Lu <hongjiu.lu@intel.com>
23464
23465 * bits/byteswap.h (__bswap_16): Removed.
23466 Include <bits/byteswap-16.h> to get __bswap_16.
23467 * sysdeps/i386/bits/byteswap.h: Likewise.
23468 * sysdeps/s390/bits/byteswap.h: Likewise.
23469 * sysdeps/x86_64/bits/byteswap.h: Likewise.
23470 * bits/byteswap-16.h: New file.
23471 * sysdeps/i386/bits/byteswap-16.h: Likewise.
23472 * sysdeps/s390/bits/byteswap-16.h: Likewise.
23473 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
23474 * string/Makefile (headers): Add bits/byteswap-16.h.
23475
62470f60
PP
234762012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
23477
23478 [BZ #13895]
23479 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
23480 extra indirection.
23481 * nss/Makefile (tests-static, tests): Add tst-nss-static.
23482 * nss/tst-nss-static.c: New.
23483
4dad7bab
RM
234842012-04-06 Robert Millan <rmh@gnu.org>
23485
23486 [BZ #6486]
23487 * manual/llio.texi (File Position Primitive): lseek
23488 refers to WHENCE when it really means OFFSET.
23489
e9142a17
AJ
234902012-04-06 Andreas Jaeger <aj@suse.de>
23491
2c040eff
AJ
23492 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
23493 strncmp declarations.
23494
e9142a17
AJ
23495 * abilist/libc.abilist: Add __poll and __ppoll.
23496
ff9f1c5f
DM
234972012-04-05 David S. Miller <davem@davemloft.net>
23498
dcd2ae90
DM
23499 * scripts/check-local-headers.sh: Accept a host triplet in the
23500 path matched by the exclude regexp.
23501
993eb054
DM
23502 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
23503 definition.
23504 * sysdeps/powerpc/powerpc32/dl-machine.h
23505 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
23506 * sysdeps/s390/s390-32/dl-machine.h
23507 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23508 * sysdeps/sparc/sparc32/dl-machine.h
23509 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23510 * sysdeps/sparc/sparc64/dl-machine.h
23511 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23512
ff9f1c5f
DM
23513 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
23514 lazy binding.
48e2e132 23515 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
23516 undefined symbol errors.
23517
48e2e132 23518 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
23519 DT_NEEDED entries.
23520
e80d6f94
MM
235212012-04-05 Michael Matz <matz@suse.de>
23522
23523 [BZ #13592]
23524 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
23525
349fa79f
AJ
235262012-04-05 Andreas Jaeger <aj@suse.de>
23527
23528 [BZ #13908]
23529 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
23530 comment.
23531
f402708f
KK
235322012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23533
23534 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
23535 which ROUND is no valid rounding mode.
23536
2ecccfc9
KK
235372012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23538
23539 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
23540 read again.
23541 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
23542
8a53f50f
KK
235432012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23544
23545 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
23546 an exception using FPU order intentionally.
23547
235482012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23549
23550 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
23551 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
23552 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
23553 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
23554
d653abb7
SJ
235552012-04-05 Simon Josefsson <simon@josefsson.org>
23556
23557 [BZ #12340]
23558 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
23559 EINVAL when BUFLEN is too smal.
23560
c3b1bf7d
TS
235612012-04-05 Thomas Schwinge <thomas@codesourcery.com>
23562
23563 [BZ #13553]
23564 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
23565 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
23566
b1aa60f3
AJ
235672012-04-03 Andreas Jaeger <aj@suse.de>
23568
c3b1bf7d 23569 [BZ #13938]
67f60a26
AJ
23570 * manual/setjmp.texi (System V contexts): Fix sentence.
23571
b1aa60f3
AJ
23572 [BZ #13926]
23573 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
23574 New macro for this case.
23575 [!__GNUC__] (__bswap_64): New inline function for this case.
23576 * sysdeps/x86_64/bits/byteswap.h: Likewise.
23577 * bits/byteswap.h: Likewise.
23578 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
23579 ull, guard with __GLIBC_HAVE_LONG_LONG.
23580
23581 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
23582 __GLIBC_HAVE_LONG_LONG.
23583
23584 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
23585 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
23586
39c59c35
TMQMF
235872012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23588
23589 [BZ #13691]
23590 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
23591 inptr and inend, rather than using last_ch.
23592
135ffda8
DM
235932012-04-02 David S. Miller <davem@davemloft.net>
23594
23595 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
23596 * stdio-common/printf-parse.h (read_int): Change return type to
23597 'int', return -1 on INT_MAX overflow.
23598 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
23599 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
23600 overflows INT_MAX. Check for overflow of in-format-string precision
23601 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
23602 SIZE_MAX not INT_MAX for integer overflow test.
23603 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
23604 skip the construct in the format string but do not record anything.
23605 * stdio-common/bug22.c: Adjust to test both width/prevision
23606 INT_MAX overflow as well as total length INT_MAX overflow. Check
23607 explicitly for proper errno values.
23608
228c019e
TS
236092012-04-02 Thomas Schwinge <thomas@codesourcery.com>
23610
302cadd3
TS
23611 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
23612 CHAR_MAX.
23613 * string/test-strcmp.c [! WIDE]: Likewise.
23614 * time/tst-mktime2.c: Likewise for INT_MAX.
23615 * string/test-string.h: #include <sys/param.h> for MIN.
23616
228c019e
TS
23617 * csu/init-first.c (__libc_init_first): Call __ctype_init.
23618 * sysdeps/i386/init-first.c (init): Likewise.
23619 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
23620 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
23621 * sysdeps/sh/init-first.c (init): Likewise.
23622
cfa633f5
UD
236232012-04-01 Ulrich Drepper <drepper@gmail.com>
23624
23625 * po/ru.po: Update from translation team.
d1635ef8 23626 * po/vi.po: Likewise.
cfa633f5 23627
6cd0a5ea
SP
236282012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
23629
23630 * resolv/nss_dns/dns-host.c: Merge copyright years.
23631
4b43400f
LD
236322012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23633
23634 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
23635 Optimize memcpy with prefetch if
23636 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
23637 src, dst pointers have unequal 16 byte alignments.
23638
48c41d04
SP
236392012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23640
23641 [BZ #13928]
23642 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
23643 from a CNAME entry and return the minimum ttl for the query.
23644 (gaih_getanswer_slice): Likewise.
23645
b8dc394d
JL
236462012-03-30 Jeff Law <law@redhat.com>
23647
23648 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
23649 due to long keys.
23650 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
23651 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
23652
2f5a5ed0
JL
23653 * resolv/nss_dns/dns-host.c: Update copyright year.
23654
1d39e359
UD
236552012-03-30 Ulrich Drepper <drepper@gmail.com>
23656
c030f70c 23657 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 23658 requests to save a system call. Fix check that all bytes are sent.
c030f70c 23659
1d39e359
UD
23660 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
23661 comments for sendmmsg.
23662
236632012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
23664
23665 [BZ #13691]
23666 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
23667 with only 1 character between 0x0041 and 0x01b0.
23668 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
23669 * wcsmbs/tst-mbsnrtowcs.c: New file.
23670
20fde227
DM
236712012-03-29 David S. Miller <davem@davemloft.net>
23672
23673 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
23674 small copies by hand.
23675
984a4237
JL
236762012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23677
23678 [BZ #13761]
23679 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
23680 _nss_compat_initgroups_dyn): Fall back to malloc/free
23681 for large group memberships.
23682
18c9d62b
DM
236832012-03-28 David S. Miller <davem@davemloft.net>
23684
88d85d4f
DM
23685 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
23686 that branches into memcpy.
23687 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
23688 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
23689 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
23690 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
23691 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
23692 bits.
23693 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
23694 implementation too.
23695 * sysdeps/sparc/mempcpy.S: New file.
23696
e5aa83e1
DM
23697 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
23698 the IFUNC routine in the libc case.
23699 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
23700
88570753
DM
23701 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
23702 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
23703 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
23704 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
23705 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
23706 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
23707 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
23708 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
23709
249d7567
DM
23710 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
23711 loop to 256 bytes instead of 64 bytes and fix test signedness.
23712
18c9d62b
DM
23713 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
23714 * sysdeps/sparc/sparc32/Makefile: rather than here...
23715 * sysdeps/sparc/sparc64/Makefile: and here.
23716
05f3d1f6
UD
237172012-03-28 Ulrich Drepper <drepper@gmail.com>
23718
23719 * malloc/mallocbug.c: Avoid warnings about unused variables.
23720
86ae07a8
JL
237212012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
23722
23723 [BZ #13760]
23724 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
23725 in the right place. Discard and retry query if response is
23726 larger than input buffer size.
23727
41bf21a1
JM
237282012-03-28 Joseph Myers <joseph@codesourcery.com>
23729
d6270972
JM
23730 [BZ #369]
23731 [BZ #2678]
23732 [BZ #3866]
23733 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
23734 x for large integer exponent.
23735 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
23736 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
23737 sign of result as needed afterwards.
23738 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
23739 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
23740 result for underflowing pow the same as for overflow.
23741 (__kernel_standard_l): Handle powl overflow and underflow here
23742 rather than calling __kernel_standard.
23743 * math/libm-test.inc (pow_test): Add more tests.
23744
414fca03 23745 [BZ #3868]
41bf21a1
JM
23746 [BZ #13879]
23747 [BZ #13910]
23748 [BZ #13911]
23749 [BZ #13912]
23750 [BZ #13913]
23751 [BZ #13915]
23752 [BZ #13916]
23753 [BZ #13917]
23754 [BZ #13918]
23755 [BZ #13919]
23756 [BZ #13920]
23757 [BZ #13921]
23758 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
23759 * sysdeps/ieee754/k_standard.c: Include <float.h>.
23760 (__kernel_standard_l): New function.
23761 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
23762 __kernel_standard.
23763 * math/w_acosl.c (__acosl): Likewise.
23764 * math/w_asinl.c (__asinl): Likewise.
23765 * math/w_atan2l.c (__atan2l): Likewise.
23766 * math/w_atanhl.c (__atanhl): Likewise.
23767 * math/w_coshl.c (__coshl): Likewise.
23768 * math/w_exp10l.c (__exp10l): Likewise.
23769 * math/w_exp2l.c (__exp2l): Likewise.
23770 * math/w_fmodl.c (__fmodl): Likewise.
23771 * math/w_hypotl.c (__hypotl): Likewise.
23772 * math/w_j0l.c (__j0l, __y0l): Likewise.
23773 * math/w_j1l.c (__j1l, __y1l): Likewise.
23774 * math/w_jnl.c (__jnl, __ynl): Likewise.
23775 * math/w_lgammal.c (__lgammal): Likewise.
23776 * math/w_log10l.c (__log10l): Likewise.
23777 * math/w_log2l.c (__log2l): Likewise.
23778 * math/w_logl.c (__logl): Likewise.
23779 * math/w_powl.c (__powl): Likewise.
23780 * math/w_remainderl.c (__remainderl): Likewise.
23781 * math/w_scalbl.c (sysv_scalbl): Likewise.
23782 * math/w_sinhl.c (__sinhl): Likewise.
23783 * math/w_sqrtl.c (__sqrtl): Likewise.
23784 * math/w_tgammal.c (__tgammal): Likewise.
23785 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
23786 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
23787 * math/libm-test.inc (acos_test): Add more tests.
23788 (acosh_test): Likewise.
23789 (asin_test): Likewise.
23790 (atanh_test): Likewise.
23791 (exp_test): Likewise.
23792 (exp10_test): Likewise.
23793 (exp2_test): Likewise.
23794 (expm1_test): Likewise.
23795 (lgamma_test): Likewise.
23796 (log_test): Likewise.
23797 (log10_test): Likewise.
23798 (log1p_test): Likewise.
23799 (log2_test): Likewise.
23800 (pow_test): Do not allow some spurious overflow exceptions.
23801 (sqrt_test): Add more tests.
23802 (tgamma_test): Likewise.
23803 (y0_test): Likewise.
23804 (y1_test): Likewise.
23805 (yn_test): Likewise.
23806
dd62fda6
AB
238072012-03-27 Anton Blanchard <anton@samba.org>
23808
23809 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
23810 MAP_HUGETLB.
23811 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23812 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
23813 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23814
1e3cdfda
AJ
238152012-03-27 David S. Miller <davem@davemloft.net>
23816
b855ab85
DM
23817 * conform/Makefile: Run run-conformtest.sh using $(BASH).
23818
1e3cdfda
AJ
23819 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
23820 have-as-vis3 check.
23821
238222012-03-27 Andreas Jaeger <aj@suse.de>
23823
23824 * sysdeps/x86_64/elf/configure.in: Moved to ...
23825 * sysdeps/x86_64/configure.in: ... here.
23826 * sysdeps/x86_64/elf/start.S: Moved to ...
23827 * sysdeps/x86_64/start.S: ... here.
23828 * sysdeps/x86_64/elf/configure: Delete.
23829
23830 * sysdeps/x86_64/configure.in: Merge contents from
23831 sysdeps/i386/configure.in (without i686 check).
23832
23833 * sysdeps/i386/elf/Versions: Merge into ...
23834 * sysdeps/i386/Versions: ... this.
23835 * sysdeps/i386/elf/Versions: Delete file.
23836 * sysdeps/i386/elf/start.S: Moved to ...
23837 * sysdeps/i386/start.S: ...here.
23838 * sysdeps/i386/elf/configure.in: Merge into...
23839 * sysdeps/i386/configure.in: ...here.
23840 * sysdeps/i386/elf/configure.in: Delete file.
23841 * sysdeps/i386/elf/configure: Delete file.
23842
23843 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
23844 * debug/backtracesyms.c: ... here.
23845 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
23846 * debug/backtracesymsfd.c: ... here.
23847 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
23848 * sysdeps/generic/ifunc-sel.h: ... here.
23849
23850 * sysdeps/unix/i386/start.c: Delete file.
23851 * sysdeps/unix/sparc/start.c: Delete file.
23852 * sysdeps/unix/start.c: Delete file.
23853
23854 * sysdeps/sh/elf/configure.in: Moved to ...
23855 * sysdeps/sh/configure.in: ... here.
23856 * sysdeps/sh/elf/start.S: Moved to ...
23857 * sysdeps/sh/start.S: ... here.
23858 * sysdeps/sh/elf/configure: Delete file.
23859
23860 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
23861 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
23862 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
23863 * sysdeps/powerpc/powerpc64/entry.h: ... here.
23864 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
23865 * sysdeps/powerpc/powerpc64/start.S: here.
23866 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
23867 * sysdeps/powerpc/powerpc64/Makefile: ... this.
23868 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
23869 * sysdeps/powerpc/powerpc64/configure.in: ... this.
23870 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
23871
23872 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
23873 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
23874 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
23875 * sysdeps/powerpc/powerpc32/start.S: ... here.
23876 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
23877 * sysdeps/powerpc/powerpc32/configure.in: ... this.
23878 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
23879
23880 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
23881 * sysdeps/powerpc/ifunc-sel.h: ... here.
23882 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
23883 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
23884
23885 * sysdeps/sparc/elf/configure.in: Moved to ...
23886 * sysdeps/sparc/configure.in: ... here.
23887 * sysdeps/sparc/elf/configure: Delete file.
23888 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
23889 * sysdeps/sparc/sparc32/start.S: ... here.
23890 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
23891 * sysdeps/sparc/sparc64/start.S: ... here.
23892 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
23893 * sysdeps/sparc/sparc32/Makefile: ... this.
23894 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
23895 * sysdeps/sparc/sparc64/Makefile: ... this.
23896
23897 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
23898 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
23899 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
23900 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
23901 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
23902 * sysdeps/s390/s390-32/setjmp.S: ... here.
23903 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
23904 * sysdeps/s390/s390-32/configure.in: ... here.
23905 * sysdeps/s390/s390-32/elf/configure: Delete file.
23906 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
23907 * sysdeps/s390/s390-32/start.S: ... here.
23908
23909 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
23910 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
23911 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
23912 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
23913 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
23914 * sysdeps/s390/s390-64/setjmp.S: ... here.
23915 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
23916 * sysdeps/s390/s390-64/configure.in: ... here
23917 * sysdeps/s390/s390-64/elf/configure: Delete file.
23918 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
23919 * sysdeps/s390/s390-64/start.S: ... here.
23920 * sysdeps/s390/s390-64/elf/configure: Delete.
23921
23922 * configure.in: Remove support for elf directories in sysdeps.
23923
23924 * configure: Regenerated.
23925 * sysdeps/i386/configure: Regenerated.
23926 * sysdeps/powerpc/powerpc32/configure: Regenerated.
23927 * sysdeps/powerpc/powerpc64/configure: Regenerated.
23928 * sysdeps/s390/s390-32/configure: Regenerated.
23929 * sysdeps/s390/s390-64/configure: Regenerated.
23930 * sysdeps/sh/configure: Regenerated.
23931 * sysdeps/sparc/configure: Regenerated.
23932 * sysdeps/x86_64/configure: Regenerated.
23933
a3f61311
AS
239342012-03-26 Andreas Schwab <schwab@linux-m68k.org>
23935
c876e002
AS
23936 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23937
a3f61311
AS
23938 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
23939 denormal result into account.
23940
ac4c54f0
RM
239412012-03-25 Roland McGrath <roland@hack.frob.com>
23942
23943 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
23944 Reported by Allan McRae <allan@archlinux.org>.
23945
6a9b9c02
JL
239462012-03-23 Jeff Law <law@redhat.com>
23947
23948 * nss/getnssent.c (__nss_getent): Fix typo.
23949
4c42a0c1
DM
239502012-03-23 David S. Miller <davem@davemloft.net>
23951
23952 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23953
1532c7ac
L
239542012-03-23 H.J. Lu <hongjiu.lu@intel.com>
23955
23956 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
23957 to pad to uint64_t for each field.
23958 (dl_tls_index): Replace unsigned long with uint64_t.
23959
3ff42526
PP
239602012-03-23 Daniel Jacobowitz <dmj@google.com>
23961 Paul Pluzhnikov <ppluzhnikov@google.com>
23962
23963 [BZ #6528]
23964 * grp/Makefile (otherlibs): Don't set it.
23965 * inet/Makefile (otherlibs): Likewise.
23966 * login/Makefile (otherlibs): Likewise.
23967 * nscd/Makefile (otherlibs): Likewise.
23968 * posix/Makefile (otherlibs): Likewise.
23969 * pwd/Makefile (otherlibs): Likewise.
23970 * rt/Makefile (otherlibs): Likewise.
23971 * sunrpc/Makefile (otherlibs): Likewise.
23972 * nss/Makefile (otherlibs): Likewise.
23973 Add libnss_files to routines and static-only-routines.
23974 ($(objpfx)getent): Remove rule.
23975 * resolv/Makefile: Add libnss_dns and libresolv to routines and
23976 static-only-routines.
23977
7c69cd14
JM
239782012-03-22 Joseph Myers <joseph@codesourcery.com>
23979
23980 [BZ #13892]
23981 * math/s_cexp.c: Include <float.h>.
23982 (__cexp): Handle exp result overflowing not necessarily
23983 overflowing both real and imaginary parts of result.
23984 * math/s_cexpf.c: Likewise.
23985 * math/s_cexpl.c: Likewise.
23986 * math/libm-test.inc (cexp_test): Add more tests.
23987 * sysdeps/i386/fpu/libm-test-ulps: Update.
23988 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23989
81b035fe
L
239902012-03-22 H.J. Lu <hongjiu.lu@intel.com>
23991
23992 * include/link.h (ELFW): New macro.
23993 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
23994 Replace ELF64_R_TYPE with ELFW(R_TYPE).
23995
1da7940c
L
239962012-03-22 H.J. Lu <hongjiu.lu@intel.com>
23997
23998 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
23999 with uint64_t.
24000
b749dbb9
L
240012012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24002
24003 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
24004 declaration.
24005 (struct La_x32_retval): Likewise.
24006
2ff87f3f
L
240072012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24008
24009 * sysdeps/x86_64/preconfigure.in: New file.
24010 * sysdeps/x86_64/preconfigure: New generated file.
24011
c0df8e69
JM
240122012-03-22 Joseph Myers <joseph@codesourcery.com>
24013
48e44791
JM
24014 [BZ #13824]
24015 * math/e_exp2l.c: Include <float.h>.
24016 (__ieee754_exp2l): Handle overflow and underflow cases
24017 separately. Only pass fractional part of argument to
24018 __ieee754_expl.
24019 * math/libm-test.inc (exp2_test): Add more tests.
24020
c0df8e69
JM
24021 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
24022 negating x to take absolute value.
24023 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
24024 Likewise.
24025 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
24026 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
24027 Likewise.
24028 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
24029 computing low part if x was negated.
24030 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
24031
c8e43ba7
L
240322012-03-21 H.J. Lu <hongjiu.lu@intel.com>
24033
24034 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
24035 la_x32_gnu_pltexit.
24036 (pltexit): Cast int_retval to ptrdiff_t.
24037 * elf/tst-auditmod3b.c: Likewise.
24038 * elf/tst-auditmod4b.c: Likewise.
24039 * elf/tst-auditmod5b.c: Likewise.
24040 * elf/tst-auditmod6b.c: Likewise.
24041 * elf/tst-auditmod6c.c: Likewise.
24042 * elf/tst-auditmod7b.c: Likewise.
24043
24044 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
24045 and x32_gnu_pltexit.
24046
24047 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
24048 __ELF_NATIVE_CLASS.
24049 (La_x32_regs): New macro.
24050 (La_x32_retval): Likewise.
24051 (la_x32_gnu_pltenter): New function prototype.
24052 (la_x32_gnu_pltexit): Likewise.
24053
7998fa78
AS
240542012-03-21 Andreas Schwab <schwab@linux-m68k.org>
24055
dcb33988
AS
24056 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
24057 exponent.
24058
233fc563
AS
24059 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24060
7998fa78
AS
24061 * configure.in (libc_cv_cc_nofma): Check for option to disable
24062 generation of FMA instructions.
24063 * configure: Regenerate.
24064 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
24065 * sysdeps/ieee754/dbl-64/Makefile: New file.
24066 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24067 Remove brandred-fma4.
24068 (CFLAGS-brandred-fma4.c): Remove.
24069 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
24070 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
24071 define.
24072 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
24073 define.
24074
8e95c99a
L
240752012-03-21 H.J. Lu <hongjiu.lu@intel.com>
24076
24077 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
24078 LLONG_MAX != LONG_MAX.
24079 (_itoa_word): Use _ITOA_WORD_TYPE on value.
24080 (_fitoa_word): Likewise.
24081 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
24082 LLONG_MAX != LONG_MAX.
24083 * stdio-common/_itowa.h: Include <_itoa.h>.
24084 (_itowa_word): Use _ITOA_WORD_TYPE on value.
24085 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
24086 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
24087 only if not defined.
24088 (_ITOA_WORD_TYPE): Likewise.
24089 (_itoa_word): Use _ITOA_WORD_TYPE on value.
24090 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
24091
6f4db457
DM
240922012-03-21 David S. Miller <davem@davemloft.net>
24093
24094 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24095
7785fe5a
L
240962012-03-21 H.J. Lu <hongjiu.lu@intel.com>
24097
24098 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
24099 of x86_64 when setting libc_cv_slibdir, libdir and
24100 libc_cv_localedir.
24101 * sysdeps/unix/sysv/linux/configure: Regenerated.
24102
4535cd55
JM
241032012-03-21 Joseph Myers <joseph@codesourcery.com>
24104
24105 * manual/lang.texi (Old Varargs): Remove section.
24106 (How Variadic): Update menu.
24107 (va_start): Do not mention varargs.h.
24108
17228132
TS
241092012-03-21 Thomas Schwinge <thomas@codesourcery.com>
24110 Joseph Myers <joseph@codesourcery.com>
24111
24112 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
24113 link test.
24114 * configure: Regenerated.
24115
8149f976
TS
241162012-03-21 Thomas Schwinge <thomas@codesourcery.com>
24117
05f3d1f6
UD
24118 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
24119 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
24120 conformtest.pl
8149f976 24121
1a4ac776
JM
241222012-03-21 Joseph Myers <joseph@codesourcery.com>
24123
be22ce65
JM
24124 * NOTES: Remove.
24125 * Makefile (files-for-dist): Remove NOTES.
24126 (NOTES): Remove rule.
24127 * README: Don't refer to NOTES.
24128 * manual/creature.texi: Don't include macros.texi.
24129 * manual/intro.texi (creature.texi): Remove comment referring to
24130 NOTES.
24131
40b601fb
JM
24132 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
24133 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
24134 * configure: Regenerated.
24135 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
24136 LIBC_TRY_CC_OPTION.
24137 (libc_cv_as_i686): Likewise.
24138 (libc_cv_cc_avx): Likewise.
24139 (libc_cv_cc_sse2avx): Likewise.
24140 (libc_cv_cc_fma4): Likewise.
24141 (libc_cv_cc_novzeroupper): Likewise.
24142 * sysdeps/i386/configure: Regenerated.
24143
1a4ac776
JM
24144 [BZ #13883]
24145 * sysdeps/i386/fpu/s_cexp.S: Remove.
24146 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
24147 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
24148 * math/libm-test.inc (cexp_test): Add more tests.
24149 * sysdeps/i386/fpu/libm-test-ulps: Update.
24150 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24151
a458e7fe
AM
241522012-03-21 Allan McRae <allan@archlinux.org>
24153
24154 * timezone/Makefile: Do not install iso3166.tab and zone.tab
24155
0cb7efc5
JM
241562012-03-21 Joseph Myers <joseph@codesourcery.com>
24157
24158 [BZ #13871]
24159 * math/w_exp2.c: Do not include <float.h>.
24160 (o_threshold, u_threshold): Remove.
24161 (__exp2): Calculate result before checking finiteness and calling
24162 __kernel_standard.
24163 * math/w_exp2f.c: Likewise.
24164 * math/w_exp2l.c: Likewise.
24165 * math/libm-test.inc (exp2_test): Require overflow exception for
24166 1e6 input.
2460d3aa
JM
24167
24168 [BZ #3866]
24169 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
24170 range of signed 64-bit integers before using fistpll. Remove
24171 checks for whether integers fit in mantissa bits.
24172 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
24173 the range of signed 32-bit integers before using fistpl. Remove
24174 checks for whether integers fit in mantissa bits.
24175 * sysdeps/i386/fpu/e_powl.S (p64): New object.
24176 (__ieee754_powl): Test for y outside the range of signed 64-bit
24177 integers before using fistpll. Reduce 64-bit values to 63-bit
24178 ones as needed.
24179 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
24180 divide-by-zero is raised for zero to large negative powers.
24181 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
24182 (__ieee754_powl): Test for y outside the range of signed 64-bit
24183 integers before using fistpll. Reduce 64-bit values to 63-bit
24184 ones as needed.
24185 * math/libm-test.inc (pow_test): Add more tests.
24186
eb96ffb0
L
241872012-03-20 H.J. Lu <hongjiu.lu@intel.com>
24188
24189 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
24190 <stdio-common/_itoa.h>.
24191 * debug/segfault.c: Likewise.
24192 * elf/dl-cache.c: Likewise.
24193 * elf/dl-minimal.c: Likewise.
24194 * elf/dl-misc.c: Likewise.
24195 * elf/dl-sysdep.c: Likewise.
24196 * elf/dl-version.c: Likewise.
24197 * elf/rtld.c: Likewise.
24198 * hurd/hurdsock.c: Likewise.
24199 * hurd/lookup-retry.c: Likewise.
24200 * malloc/malloc.c: Likewise.
24201 * malloc/mtrace.c: Likewise.
24202 * nscd/nscd_getgr_r.c: Likewise.
24203 * nscd/nscd_getpw_r.c: Likewise.
24204 * nscd/nscd_getserv_r.c: Likewise.
24205 * posix/getopt_init.c: Likewise.
24206 * posix/wordexp.c: Likewise.
24207 * stdio-common/_itoa.c: Likewise.
24208 * stdio-common/printf_fphex.c: Likewise.
24209 * stdio-common/vfprintf.c: Likewise.
24210 * string/_strerror.c: Likewise.
24211 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
24212 * sysdeps/i386/i686/hp-timing.h: Likewise.
24213 * sysdeps/mach/_strerror.c: Likewise.
24214 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
24215 * sysdeps/mach/hurd/sethostid.c: Likewise.
24216 * sysdeps/mach/hurd/xmknodat.c: Likewise.
24217 * sysdeps/mach/xpg-strerror.c: Likewise.
24218 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24219 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
24220 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
24221 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
24222 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
24223 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
24224 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
24225 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
24226 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
24227 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
24228 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
24229 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
24230 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
24231 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
24232 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
24233 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
24234 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
24235 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
24236 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
24237 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
24238 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
24239
24240 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
24241
24242 * stdio-common/_itoa.h: Moved to ...
24243 * sysdeps/generic/_itoa.h: Here.
24244
24245 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
24246
24247 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
24248 instead of "_itoa.h" and "_itowa.h".
24249 * stdio-common/vfprintf.: Likewise.
24250
d1af992d
L
242512012-03-20 H.J. Lu <hongjiu.lu@intel.com>
24252
24253 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
24254 <bits/wordsize.h>.
24255 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
24256 (__signbit): Likwise.
24257 (llrintf): Likwise.
24258 (llrint): Likwise.
24259
114883e0
L
242602012-03-20 H.J. Lu <hongjiu.lu@intel.com>
24261
24262 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
24263 __WORDSIZE != 64.
24264
c135cc1b
JM
242652012-03-20 Joseph Myers <joseph@codesourcery.com>
24266
24267 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
24268 OVERFLOW_EXCEPTION_OK.
24269 * math/libm-test.inc ("Philosophy"): Update comment about
24270 exception testing.
24271 (OVERFLOW_EXCEPTION): Define.
24272 (OVERFLOW_EXCEPTION_OK): Likewise.
24273 (INVALID_EXCEPTION_OK): Renumber.
24274 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
24275 (IGNORE_ZERO_INF_SIGN): Likewise.
24276 (test_exceptions): Handle FE_OVERFLOW.
24277 (exp10_test): Expect overflow exceptions.
24278 (exp2_test): Likewise.
24279 (expm1_test): Likewise.
24280 (nextafter_test): Likewise.
24281 (pow_test): Likewise.
24282 (scalbn_test): Likewise.
24283 (scalbln_test): Likewise.
24284
95443d88
L
242852012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24286
24287 * sysdeps/x86_64/bits/atomic.h
24288 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
24289 64bit integer.
24290 (atomic_exchange_acq): Likewise.
24291 (__arch_exchange_and_add_body): Likewise.
24292 (__arch_add_body): Likewise.
24293 (atomic_add_negative): Likewise.
24294 (atomic_add_zero): Likewise.
24295
490df6c4
L
242962012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24297
c2722551 24298 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
24299 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
24300
5e52b189
L
243012012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24302
24303 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
24304 Check __x86_64__ instead of __WORDSIZE.
24305
a9879d4c
L
243062012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24307
24308 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
24309
5df98260
DM
243102012-03-19 David S. Miller <davem@davemloft.net>
24311
e1497744
DM
24312 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24313
5df98260
DM
24314 * sysdeps/sparc/fpu/fenv_private.h: New file.
24315 * sysdeps/sparc/fpu/math_private.h: Use it.
24316 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
24317 Remove.
24318 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
24319 (libc_feholdexcept_setroundl): Remove.
24320 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
24321 Remove.
24322 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
24323 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
24324
b4c35121
L
243252012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24326
24327 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
24328 int64_t instead of long int.
24329 (INSERT_WORDS64): Likwise.
24330
56965fd7
L
243312012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24332
24333 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
24334 _Unwind_GetCFA return to _Unwind_Ptr first.
24335
83d1aec8
JM
243362012-03-19 Joseph Myers <joseph@codesourcery.com>
24337
1897ad44
JM
24338 [BZ #13629]
24339 * math/s_clog.c: Include <float.h>.
24340 (__clog): Scale large or subnormal inputs.
24341 * math/s_clogf.c: Likewise.
24342 * math/s_clogl.c: Likewise.
24343 * math/s_clog10.c: Include <float.h>.
24344 (M_LOG10_2): Define.
24345 (__clog10): Scale large or subnormal inputs.
24346 * math/s_clog10f.c: Likewise.
24347 * math/s_clog10l.c: Likewise.
24348 * math/libm-test.inc (clog_test): Add more tests.
24349 (clog10_test): Likewise.
24350 * sysdeps/i386/fpu/libm-test-ulps: Update.
24351 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24352
7726d6a9
JM
24353 [BZ #11451]
24354 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
24355 x and y.
24356 * math/libm-test.inc (atan2_test): Add another test.
24357
83d1aec8
JM
24358 * Makerules (common-objdir-compile): Remove.
24359 * sysdeps/unix/Makefile (config-generated): Do not add
24360 $(unix-generated) to variable.
24361 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
24362 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
24363 Remove rule.
24364 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
24365 Likewise.
24366 [generic bits/local_lim.h] (before-compile): Do not append to
24367 variable.
24368 [generic bits/local_lim.h] (common-generated): Likewise.
24369 [generic sys/param.h] (before-compile): Do not append to variable.
24370 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
24371 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
24372 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
24373 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
24374 include.
24375 [generic sys/param.h] (sys/param.h-includes): Remove variable.
24376 [generic sys/param.h] (sys/param.h-includes): Remove rule.
24377 [generic sys/param.h] ($(addprefix
24378 $(common-objpfx),$(sys/param.h-includes))): Likewise.
24379 [generic sys/param.h] (common-generated): Do not append to
24380 variable.
24381 [generic sys/param.h] (sysdep_headers): Likewise.
24382 [generic bits/errno.h] (before-compile): Do not append to
24383 variable.
24384 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
24385 rule.
24386 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
24387 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
24388 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
24389 [generic bits/errno.h] (common-generated): Do not append to
24390 variable.
24391 [generic bits/ioctls.h] (before-compile): Do not append to
24392 variable.
24393 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
24394 rule.
24395 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
24396 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
24397 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
24398 rule.
24399 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
24400 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
24401 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
24402 [generic bits/ioctls.h] (common-generated): Do not append to
24403 variable.
24404 [generic sys/syscall.h] (syscall.h): Remove variable.
24405 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
24406 rule.
24407 [generic sys/syscall.h] (before-compile): Do not append to
24408 variable.
24409 [generic sys/syscall.h] (common-generated): Likewise.
24410 * sysdeps/unix/errnos-tmpl.c: Remove file.
24411 * sysdeps/unix/errnos.awk: Likewise.
24412 * sysdeps/unix/ioctls-tmpl.c: Likewise.
24413 * sysdeps/unix/ioctls.awk: Likewise.
24414 * sysdeps/unix/mk-local_lim.c: Likewise.
24415 * sysdeps/unix/snarf-ioctls: Likewise.
24416
4851a949
RH
244172012-03-19 Richard Henderson <rth@twiddle.net>
24418
bd37f2ee
RH
24419 * sysdeps/i386/fpu/fenv_private.h: New file.
24420 * sysdeps/i386/fpu/math_private.h: Use it.
24421 (math_opt_barrier, math_force_eval): Remove.
24422 (libc_feholdexcept_setround_53bit): Remove.
24423 (libc_feupdateenv_53bit): Remove.
24424 * sysdeps/x86_64/fpu/math_private.h: Likewise.
24425 (math_opt_barrier, math_force_eval): Remove.
24426 (libc_feholdexcept): Remove.
24427 (libc_feholdexcept_setround): Remove.
24428 (libc_fetestexcept, libc_fesetenv): Remove.
24429 (libc_feupdateenv_test): Remove.
24430 (libc_feupdateenv, libc_feholdsetround): Remove.
24431 (libc_feresetround): Remove.
24432
d0adc922
RH
24433 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
24434 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
24435
0fe0f1f8
RH
24436 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
24437 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
24438 (libc_feupdateenv_testl): New.
24439 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
24440 (libc_feupdateenv_testf): New.
24441 (libc_feupdateenv): Use libc_feupdateenv_test.
24442 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
24443 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
24444
eb92c487
RH
24445 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
24446 (libc_feholdsetroundf, libc_feholdsetroundl): New.
24447 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
24448 (libc_feresetround_noex): New.
24449 (libc_feresetround_noexf): New.
24450 (libc_feresetround_noexl): New.
24451 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
24452 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
24453 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
24454 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
24455 SET_RESTORE_ROUND.
24456 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
24457 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
24458 (__cos): Likewise.
24459 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
24460 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
24461 SET_RESTORE_ROUND_NOEX.
24462 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
24463 SET_RESTORE_ROUND_NOEXF.
24464 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
24465 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
24466 (libc_feholdsetroundf): New.
24467 (libc_feresetround, libc_feresetroundf): New.
24468
7d2e8012
RH
24469 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
24470 (libc_feholdexcept_setround_53bit): Convert from macro to function.
24471 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
24472
b4dabbb4
RH
24473 * sysdeps/generic/math_private.h: Include <fenv.h>.
24474 (default_libc_feholdexcept): New.
24475 (default_libc_feholdexcept_setround): New.
24476 (default_libc_fesetenv, default_libc_feupdateenv): New.
24477 (libc_feholdexcept): Only define if undefined.
24478 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
24479 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
24480 (libc_feholdexcept_setroundl): Likewise.
24481 (libc_feholdexcept_setround_53bit): Likewise.
24482 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
24483 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
24484 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
24485 (libc_feupdateenv_53bit): Likewise.
24486 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
24487 (libc_feholdexcept): Convert from macro to inline function.
24488 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
24489 (libc_fesetenv, libc_feupdateenv): Likewise.
24490
4851a949
RH
24491 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
24492 not previously defined.
24493 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
24494 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
24495 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
24496 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
24497 * sysdeps/ieee754/flt-32/math_private.h: New file.
24498 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
24499 math_private.h below SET_FLOAT_WORD.
24500 (__isnan, __isinf_ns, __finite): Remove.
24501 (__isnanf, __isinf_nsf, __finitef): Remove.
24502
e79d442e
AS
245032012-03-18 Andreas Schwab <schwab@linux-m68k.org>
24504
24505 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24506
90b80344
DM
245072012-03-17 David S. Miller <davem@davemloft.net>
24508
24509 [BZ #6471]
24510 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
24511 for 2.16.
24512
edc21804
DM
245132012-03-16 David S. Miller <davem@davemloft.net>
24514
77e927af
DM
24515 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
24516 warnings.
24517
374976dd
DM
24518 [BZ #6471]
24519 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
24520 properly.
24521 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
24522 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
24523 sysdep_routines when subdir is sysvipc.
24524 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
24525 __getshmlba helper.
24526
edc21804
DM
24527 * sysdeps/sparc/fpu/libm-test/ulps: Update.
24528
473c3ef3
L
245292012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24530
24531 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
24532 [__LP64__].
24533
eb0f39b6
L
245342012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24535
24536 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
24537 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
24538 (__lround): Renamed to ...
24539 (__llround): This. Replace long int with long long int.
24540 Define lround functions as aliases of llround functions.
24541 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
24542
6b6cd74b
L
245432012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24544
24545 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
24546 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
24547 adresses to uintptr_t. Replace "long int" and "unsigned long
24548 int" with "greg_t" on va_arg.
24549
f1a77b01
L
245502012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24551
24552 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
24553 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
24554
24555 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
24556 Move e_machine check before EI_CLASS check. Handle x32
24557 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
24558 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
24559 SKIP_EM_IA_64 and include
24560 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
24561
24562 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
24563 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
24564 (add_system_dir): New macro.
24565
24566 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
24567 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
24568
11b90b9f
JM
245692012-03-16 Joseph Myers <joseph@codesourcery.com>
24570
c36e1d23
JM
24571 [BZ #2551]
24572 [BZ #2552]
24573 [BZ #2553]
24574 [BZ #2554]
24575 [BZ #2562]
24576 [BZ #2563]
24577 [BZ #2565]
24578 [BZ #2566]
24579 [BZ #2576]
24580 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
24581 (y0): Likewise.
24582 * math/w_j0f.c (j0f): Likewise.
24583 (y0f): Likewise.
24584 * math/w_j0l.c (__j0l): Likewise.
24585 (__y0l): Likewise.
24586 * math/w_j1.c (j1): Likewise.
24587 (y1): Likewise.
24588 * math/w_j1f.c (j1f): Likewise.
24589 (y1f): Likewise.
24590 * math/w_j1l.c (__j1l): Likewise.
24591 (__y1l): Likewise.
24592 * math/w_jn.c (jn): Likewise.
24593 (yn): Likewise.
24594 * math/w_jnf.c (jnf): Likewise.
24595 (ynf): Likewise.
24596 * math/w_jnl.c (__jnl): Likewise.
24597 (__ynl): Likewise.
24598 * math/libm-test.inc (j0_test): Add more tests.
24599 (j1_test): Likewise.
24600 (jn_test): Likewise. Add trailing semicolon to existing test.
24601 (y0_test): Likewise.
24602 (y1_test): Likewise.
24603 * sysdeps/i386/fpu/libm-test-ulps: Update.
24604 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24605
11b90b9f
JM
24606 [BZ #13851]
24607 [BZ #13854]
24608 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
24609 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
24610 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
24611 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
24612 (__tanl): Set errno for infinite argument.
24613 * sysdeps/i386/fpu/mptan.c: Remove.
24614 * sysdeps/i386/fpu/s_tan.S: Likewise.
24615 * sysdeps/i386/fpu/s_tanl.S: Likewise.
24616 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
24617 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
24618 * math/libm-test.inc (tan_test): Add more tests and enable more
24619 tests for double and long double.
24620 * sysdeps/i386/fpu/libm-test-ulps: Update.
24621 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24622
6a1bd2a1
JK
246232012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
24624
24625 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
24626 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
24627
10a803e0
RM
246282012-03-16 Roland McGrath <roland@hack.frob.com>
24629
24630 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
24631 * configure.in: Use it for both main tree and add-ons.
24632 * configure: Regenerated.
24633
f196c7f7
L
246342012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24635
24636 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
24637
8848d99d
JM
246382012-03-16 Joseph Myers <joseph@codesourcery.com>
24639
96cbe7f4
JM
24640 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
24641 in comment.
24642
8848d99d
JM
24643 [BZ #13851]
24644 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
24645 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
24646 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
24647 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
24648 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
24649 infinite argument.
24650 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
24651 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
24652 != 0 for prec == 2.
24653 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
24654 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
24655 * sysdeps/i386/fpu/s_cosl.S: Likewise.
24656 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
24657 * sysdeps/i386/fpu/s_sinl.S: Likewise.
24658 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
24659 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
24660 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
24661 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
24662 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
24663 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
24664 * math/libm-test.inc (cos_test): Add more tests and enable more
24665 tests for long double.
24666 (sin_test): Likewise.
24667 (sincos_test): Likewise.
24668 * sysdeps/i386/fpu/libm-test-ulps: Update.
24669 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24670
dd7f4703
DM
246712012-03-16 David S. Miller <davem@davemloft.net>
24672
24673 * sysdeps/sparc/fpu/math_private.h: New file.
24674
006f1daa
DM
246752012-03-15 David S. Miller <davem@davemloft.net>
24676
c0c83bc8
DM
24677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
24678 file.
e6a62e18 24679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
24680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
24681 file.
e6a62e18
DM
24682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
24683 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
24684 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
24685 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
24686 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
24687 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
24688 sysdep routines.
24689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
24690
88cb87d9
DM
24691 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
24692 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
24693
006f1daa 24694 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
24695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
24696 sparc-ifunc.h
006f1daa 24697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
24698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
24699 Likewise.
24700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
24701 Likewise.
006f1daa
DM
24702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
24703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
24704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
24705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
24706 Likewise.
006f1daa
DM
24707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
24708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
24709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
24710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
24711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
24712 Likewise.
24713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
24714 Likewise.
006f1daa
DM
24715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
24716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
24717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
24718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
24719 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
24720 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
24721 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
24722 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
24723 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
24724 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
24725 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
24726 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
24727 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
24728 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
24729 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
24730 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
24731 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
24732 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
24733 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
24734 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
24735 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
24736 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
24737 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
24738 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
24739
11e0098e
AS
247402012-03-15 Andreas Schwab <schwab@linux-m68k.org>
24741
24742 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
24743 scaling.
24744 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24745
e85b09d0
AJ
247462012-03-15 Andreas Jaeger <aj@suse.de>
24747
24748 [BZ #13852]
24749 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
24750 ieee754/flt-32 implementation for sin, cos and sincos.
24751 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
24752 * sysdeps/i386/fpu/s_cosf.S: Likewise.
24753 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
24754 * sysdeps/i386/fpu/s_sinf.S: Likewise.
24755 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
24756 ieee754/flt-32 implementation for tan.
24757
24758 * math/libm-test.inc (cos_test): Enable some large input tests for
24759 float as well
24760 (sin_test): Likewise.
24761 (sincos_test): Likewise.
24762 (tan_test): Add tests for large input.
24763
24764 * sysdeps/i386/fpu/libm-test-ulps: Update.
24765
81c64153
AJ
247662012-03-15 Andreas Jaeger <aj@suse.de>
24767
24768 [BZ #13658]
24769 * math/libm-test.inc (cos_test): Add more test cases.
24770 (sin_test): Likewise.
24771 (sincos_test): Likewise.
24772
7bbfa5c6
AJ
247732012-03-15 Andreas Jaeger <aj@suse.de>
24774
24775 [BZ #13837]
24776 * math/libm-test.inc (cos_test): Add a test case for large input
24777 value.
24778 (sin_test): Likewise.
24779 (sincos_test): Likewise.
24780
247812012-03-15 Andreas Jaeger <aj@suse.de>,
24782 Joseph Myers <joseph@codesourcery.com>
24783
24784 [BZ #13658]
0671f479 24785 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
24786 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
24787 * sysdeps/i386/fpu/branred.c: Likewise.
24788 * sysdeps/i386/fpu/dosincos.c: Likewise.
24789 * sysdeps/i386/fpu/mpa.c: Likewise.
24790 * sysdeps/i386/fpu/s_cos.S: Likewise.
24791 * sysdeps/i386/fpu/s_sin.S: Likewise.
24792 * sysdeps/i386/fpu/s_sincos.S: Likewise.
24793 * sysdeps/i386/fpu/sincos32.c: Likewise.
24794
24795 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
24796 Define.
24797 (libc_feupdateenv_53bit): Define.
24798 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
24799 Define.
24800 (libc_feupdateenv_53bit): Define.
24801
24802 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
24803 53 bit (without extend i386 double precision).
24804
24805 * math/libm-test.inc (sincos_test): Add tests for large input.
24806 (sin): Likewise.
24807 (cos): Likewise.
24808
24809 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
24810
9cad04ea
AS
248112012-03-15 Andreas Schwab <schwab@linux-m68k.org>
24812
24813 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24814
f7062b9a
DM
248152012-03-15 David S. Miller <davem@davemloft.net>
24816
24817 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
24818 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
24819 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
24820 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
24821 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
24822 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
24823 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
24824 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
24825 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
24826 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
24827 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
24828 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
24829 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
24830 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
24831 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
24832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
24833 file.
f7062b9a 24834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
24835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
24836 file.
f7062b9a 24837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
24838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
24839 file.
f7062b9a 24840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
24841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
24842 file.
f7062b9a
DM
24843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
24844 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
24845 fmin/fmax sysdep routines.
24846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
24847
7bd951ff
DM
248482012-03-14 David S. Miller <davem@davemloft.net>
24849
559398ab
DM
24850 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
24851 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
24852 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
24853 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
24854 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
24855 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
24856 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
24857 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
24858 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
24859 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
24860 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
24861 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
24862 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
24863 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
24864 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
24865 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
24866 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
24867 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
24868 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
24869 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
24870 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
24871 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
24872 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
24873 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
24874 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
24875 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
24876 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
24877 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
24878 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
24879 routines.
24880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
24881 file.
559398ab 24882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
24883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
24884 file.
559398ab 24885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
24886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
24887 file.
559398ab 24888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
24889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
24890 file.
559398ab 24891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
24892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
24893 file.
559398ab 24894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
24895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
24896 file.
24897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
24898 file.
24899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
24900 file.
24901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
24902 file.
24903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
24904 New file.
24905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
24906 file.
24907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
24908 file.
559398ab 24909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
24910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
24911 file.
559398ab 24912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
24913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
24914 file.
559398ab 24915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
24916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
24917 file.
559398ab 24918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
24919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
24920 VIS3 routines.
559398ab
DM
24921
24922 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
24923 New file.
24924
5a1c1e32
DM
24925 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24926
eae47a36
DM
24927 * sysdeps/sparc/configure.in: New file.
24928 * sysdeps/sparc/configure: Generate.
24929 * configure.in (libc_cv_sparc_as_vis3): Substitute.
24930 * configure: Regenerate.
24931 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
24932 * config.make.in (have-as-vis3): New.
24933 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
24934 available use -Av9d instead of -Av9a.
24935 * sysdeps/sparc/sparc64/Makefile: Likewise.
24936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
24937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
24938 New file.
24939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
24940 file.
24941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
24942 New file.
24943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
24944 file.
eae47a36
DM
24945 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
24946 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
24947 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
24948 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
24949 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
24950
c0c83bc8
DM
24951 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
24952 fzeros/fnegs to load 0x80000000 into a float register instead of
24953 using the stack.
7bd951ff
DM
24954 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
24955
bd951ccb
JM
249562012-03-14 Joseph Myers <joseph@codesourcery.com>
24957
24958 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24959 bits/syscall.h.
24960 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
24961 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
24962 ($(inst_includedir)/bits/syscall.h): Remove rule.
24963 ($(objpfx)bits/syscall.d): Include instead of
24964 $(objpfx)syscall-list.d.
24965 (generated): Change syscall-list.h and syscall-list.d to
24966 bits/syscall.h and bits/syscall.d.
24967
bb4e6db2
RM
249682012-03-14 Roland McGrath <roland@hack.frob.com>
24969
24970 [BZ #13846]
24971 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
24972
aa4a2ae1
JM
249732012-03-14 Joseph Myers <joseph@codesourcery.com>
24974
e456826d
JM
24975 [BZ #13841]
24976 * math/s_csqrt.c: Include <float.h>.
24977 (__csqrt): Scale large or subnormal inputs.
24978 * math/s_csqrtf.c: Likewise.
24979 * math/s_csqrtl.c: Likewise.
24980 * math/libm-test.inc (csqrt_test): Add more tests.
24981 * sysdeps/i386/fpu/libm-test-ulps: Update.
24982 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24983
aa4a2ae1
JM
24984 [BZ #13840]
24985 * math/libm-test.inc (hypot_test): Add more tests.
24986
7c10fd35
DM
249872012-03-13 David S. Miller <davem@davemloft.net>
24988
24989 [BZ #13840]
24990 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
24991 double-precision for the calculation instead of scaling.
24992
f453b98b
JM
249932012-03-13 Joseph Myers <joseph@codesourcery.com>
24994
24995 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
24996 manipulate bits before adding and subtracting TWO52[sx].
24997 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
24998 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
24999 Likewise.
25000 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
25001
09a3453f
DM
250022012-03-13 David S. Miller <davem@davemloft.net>
25003
8e59da90
DM
25004 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
25005 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
25006 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
25007 rtld-global-offsets.h
25008 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25009
2a8ab7f2
DM
25010 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
25011 large parameters.
25012
10f62770
DM
25013 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
25014
5f0bdb18
DM
25015 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
25016 'err' in the ifdef scope in which it is actually used.
25017
09a3453f
DM
25018 * nss/nss_db/db-init.c: Include string.h
25019
b4b2eb5e
DM
250202012-03-12 David S. Miller <davem@davemloft.net>
25021
98bb2f1c
DM
25022 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
25023 masking out of the most significant byte of random value used.
25024 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25025 Fix coding style in previous change.
25026
b4b2eb5e
DM
25027 * sysdeps/unix/sysv/linux/kernel-features.h
25028 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
25029 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
25030 expression.
25031 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
25032 later.
25033
6e226b09
DM
250342012-03-11 David S. Miller <davem@davemloft.net>
25035
a1bcbd40
DM
25036 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
25037 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
25038 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
25039 for 'resultvar' otherwise things get truncated on 64-bit.
25040
cb9d6174
DM
25041 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25042 Fix masking out of the most significant byte of random value used.
25043
6e226b09
DM
25044 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25045
058c132d
AS
250462012-03-10 Andreas Schwab <schwab@linux-m68k.org>
25047
25048 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25049
2d2cd515
DM
250502012-03-09 David S. Miller <davem@davemloft.net>
25051
25052 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
25053 variables with appropriate CPP guards.
25054 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
25055 frame pointer, not the stack pointer. Correct layout comments. Fix test
25056 on resulting framesize and the management of the outregs buffer for pltexit.
25057 Preserve floating point return values across _dl_call_pltexit call.
25058 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
25059 framesize and the management of the outregs buffer for pltexit.
25060 Preserve floating point return values across _dl_call_pltexit
25061 call.
25062 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
25063 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
25064 (print_exit): Fix format string for return register value.
25065
9a07f9d0
JM
250662012-03-10 Joseph Myers <joseph@codesourcery.com>
25067
25068 * sunrpc/Makefile (others): Add rpcgen.
25069 ($(objpfx)rpcgen): Remove special build rule and dependency on
25070 libc.
25071 * sunrpc/rpcgen.c: New file.
25072
547b5e30
PE
250732012-03-09 Paul Eggert <eggert@cs.ucla.edu>
25074
c524201a
PE
25075 [BZ #13673]
25076 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
25077 * stdio-common/bug-vfprintf-nargs.c: Likewise.
25078 * sysdeps/i386/crti.S: Likewise.
25079 * sysdeps/i386/crtn.S: Likewise.
25080 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
25081 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
25082 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
25083 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
25084 * sysdeps/sh/crti.S: Likewise.
25085 * sysdeps/sh/crtn.S: Likewise.
25086 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
25087
7b6235f2
PE
25088 [BZ #13673]
25089 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
25090 with URL.
25091 * locale/programs/locfile-kw.gperf: Likewise.
25092 * locale/programs/charmap-kw.h: Regenerated.
25093 * locale/programs/locfile-kw.h: Likewise.
25094
547b5e30
PE
25095 [BZ #13673]
25096 * intl/plural.y: Replace FSF snail mail address with URL.
25097 * intl/plural.c: Regenerated.
25098
5f0a5dae
RH
250992012-03-09 Richard Henderson <rth@twiddle.net>
25100
25101 * include/math_private.h: Remove file.
25102 * math/math_private.h: Move file ...
25103 * sysdeps/generic/math_private.h: ... here.
25104
b8c03620
RH
25105 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
25106 * sysdeps/powerpc/fpu/math_private.h: Likewise.
25107 * sysdeps/x86_64/fpu/math_private.h: Likewise.
25108
4e234f5d 25109 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
25110 and <math_private.h>.
25111 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
25112 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
25113 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
25114 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
25115 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
25116 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
25117 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25118 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25119 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
25120 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25121 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25122 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
25123 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
25124 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25125 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
25126 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
25127 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
25128 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25129 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
25130 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
25131 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25132 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
25133 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
25134 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25135 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
25136 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25137 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
25138 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25139 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25140 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25141 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
25142 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25143 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
25144 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
25145 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
25146 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25147 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25148 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
25149 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
25150 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25151 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
25152 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
25153 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
25154 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
25155 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
25156 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25157 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
25158 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
25159 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25160 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
25161 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
25162 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
25163 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
25164 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
25165 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
25166 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
25167 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
25168 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
25169 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
25170 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
25171 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25172 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
25173 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25174 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
25175 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
25176 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25177 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25178 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25179 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
25180 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
25181 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
25182 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
25183 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
25184 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25185 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
25186 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
25187 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
25188 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25189 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
25190 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
25191 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
25192 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
25193 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
25194 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
25195 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
25196 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
25197 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
25198 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
25199 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
25200 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
25201 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
25202 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
25203 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25204 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
25205 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
25206 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
25207 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
25208 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
25209 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
25210 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
25211 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
25212 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
25213 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
25214 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
25215 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25216 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
25217 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
25218 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
25219 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25220 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25221 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25222 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25223 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
25224 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25225 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
25226 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
25227 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25228 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
25229 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25230 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
25231 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25232 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
25233 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
25234 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
25235 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25236 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
25237 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
25238 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
25239 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
25240 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
25241 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
25242 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
25243 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25244 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
25245 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
25246 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
25247 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
25248 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
25249 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
25250 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
25251 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
25252 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
25253 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
25254 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
25255 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
25256 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
25257 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
25258 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
25259 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
25260 * sysdeps/ieee754/k_standard.c: Likewise.
25261 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
25262 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
25263 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
25264 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
25265 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
25266 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
25267 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
25268 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
25269 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
25270 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
25271 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
25272 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
25273 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
25274 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
25275 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
25276 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
25277 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
25278 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
25279 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
25280 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
25281 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
25282 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
25283 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25284 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
25285 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
25286 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
25287 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
25288 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
25289 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
25290 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25291 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
25292 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
25293 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
25294 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
25295 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
25296 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
25297 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
25298 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
25299 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
25300 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
25301 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
25302 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
25303 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
25304 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
25305 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
25306 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
25307 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
25308 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
25309 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
25310 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25311 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25312 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
25313 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
25314 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
25315 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25316 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25317 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
25318 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
25319 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
25320 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
25321 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25322 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
25323 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
25324 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
25325 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
25326 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
25327 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
25328 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
25329 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
25330 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
25331 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
25332 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
25333 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
25334 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
25335 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
25336 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
25337 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
25338 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
25339 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
25340 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
25341 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
25342 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
25343 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
25344 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
25345 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
25346 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
25347 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
25348 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
25349 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
25350 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
25351 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
25352 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
25353 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
25354 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
25355 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
25356 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
25357 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
25358 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
25359 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
25360 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
25361 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
25362 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
25363 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25364 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
25365 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
25366 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25367 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25368 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
25369 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
25370 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
25371 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
25372 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
25373 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
25374 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
25375 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
25376 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
25377 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
25378 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
25379 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
25380 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
25381 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
25382 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
25383 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
25384 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
25385 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
25386 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
25387 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
25388 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
25389 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
25390 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25391 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
25392 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
25393 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
25394 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
25395 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
25396 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
25397 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
25398 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
25399 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
25400 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
25401 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
25402 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
25403 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
25404 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
25405 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
25406 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
25407 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
25408 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
25409 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
25410 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
25411 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
25412 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
25413 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
25414 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
25415 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
25416 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
25417 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
25418 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
25419 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
25420 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
25421 * sysdeps/ieee754/s_lib_version.c: Likewise.
25422 * sysdeps/ieee754/s_matherr.c: Likewise.
25423 * sysdeps/ieee754/s_signgam.c: Likewise.
25424 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
25425 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
25426 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
25427 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
25428 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
25429 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
25430 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
25431 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
25432 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
25433 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
25434 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
25435 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
25436 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
25437 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
25438 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
25439 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
25440 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25441 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
25442 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25443 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25444 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 25445
1991fa03
JM
254462012-03-09 Joseph Myers <joseph@codesourcery.com>
25447
25448 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
25449 * sunrpc/rpc_main.c: Likewise.
25450 * sunrpc/rpc_svcout.c: Likewise.
25451
60d6f5a6
DM
254522012-03-09 David S. Miller <davem@davemloft.net>
25453
25454 * include/math_private.h: New file.
25455
4962050e
JM
254562012-03-09 Joseph Myers <joseph@codesourcery.com>
25457
02a6f887
JM
25458 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
25459 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
25460 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
25461 from <bits/socket_type.h>.
25462 (enum __socket_type): Don't define here.
25463 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
25464 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25465 bits/socket_type.h.
25466
c6e013c1
JM
25467 [BZ #13566]
25468 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
25469 checking __USE_GNU.
25470
4962050e
JM
25471 * Makerules ($(inst_includedir)/%.h): New rule.
25472 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
25473 (install-others): Remove variable setting.
25474 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
25475
38842f45
RH
254762012-03-08 Richard Henderson <rth@twiddle.net>
25477
67bb6da6
RH
25478 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
25479 from macro to inline function; merge with the
25480 !__LIBC_INTERNAL_MATH_INLINES version.
25481 (__ieee754_sqrtf): Likewise.
25482
15194b4b
RH
25483 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
25484 to inline function.
25485 (__rintf, __floor, __floorf): Likewise.
25486
64e21ede
RH
25487 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
25488 macro to inline function.
25489 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
25490
38842f45
RH
25491 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
25492 not <math/math_private.h>.
25493
c64bf5fe
DM
254942012-03-08 David S. Miller <davem@davemloft.net>
25495
25496 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
25497 copyright year.
25498 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
25499
82d86f28
TS
255002012-03-08 Thomas Schwinge <thomas@codesourcery.com>
25501
25502 * resolv/gai_misc.c (handle_requests): Fix struct timespec
25503 normalization.
25504 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
25505 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
25506
aea5d727
UD
255072012-03-08 Ulrich Drepper <drepper@gmail.com>
25508
25509 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
25510 be defined individually, they must be defined as a block. Define
25511 S for printing a string instead of hidint the different by using a
25512 macro for adding the 'l'.
25513 * stdio-common/tst-fphex-wide.c: Adjust.
25514
70bca0a3
MP
255152012-03-07 Marek Polacek <polacek@redhat.com>
25516
25517 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
25518
65b81130
MP
255192012-03-08 Marek Polacek <polacek@redhat.com>
25520
25521 [BZ #13806]
25522 * stdio-common/Makefile (tests): Add tst-fphex-wide.
25523 * stdio-common/tst-fphex.c: Define a few macros to make the
25524 test reusable. Use them.
25525 * stdio-common/tst-fphex-wide.c: New file.
25526
07037eeb
JM
255272012-03-08 Joseph Myers <joseph@codesourcery.com>
25528
a7a93d50
JM
25529 [BZ #6911]
25530 * manual/macros.texi (gnusystems): New macro.
25531 (nongnusystems): Likewise.
25532 (gnulinuxhurdsystems): Likewise.
25533 (gnuhurdsystems): Likewise..
25534 (gnulinuxsystems): Likewise.
25535 * manual/charset.texi: Use new macros or @theglibc{} to refer to
25536 variants of the GNU system, not "GNU system".
25537 * manual/conf.texi: Likewise.
25538 * manual/errno.texi: Likewise. Update example of errno macro
25539 expansion.
25540 * manual/filesys.texi: Likewise.
25541 (getumask): Document as specific to GNU/Hurd.
25542 * manual/install.texi: Likewise. Reword some references to
25543 GNU/Linux.
25544 * manual/intro.texi: Likewise.
25545 * manual/io.texi: Likewise.
25546 (File Name Portability): Detail which constraints are inapplicable
25547 to all GNU systems and which are only inapplicable to GNU/Hurd.
25548 * manual/job.texi: Likewise.
25549 * manual/llio.texi: Likewise.
25550 (O_NOCTTY): Document as present on GNU/Linux.
25551 * manual/maint.texi: Likewise.
25552 * manual/memory.texi: Likewise.
25553 * manual/pattern.texi: Likewise.
25554 * manual/pipe.texi: Likewise.
25555 * manual/process.texi: Likewise.
25556 * manual/resource.texi: Likewise.
25557 (RUSAGE_CHILDREN): Remove statement about specifying a particular
25558 child on GNU/Hurd.
25559 * manual/setjmp.texi: Likewise.
25560 * manual/signal.texi: Likewise.
25561 * manual/startup.texi: Likewise.
25562 * manual/stdio.texi: Likewise.
25563 * manual/terminal.texi: Likewise.
25564 (ONLCR): Document as POSIX.
25565 (OXTABS): Document availability on GNU/Linux as XTABS.
25566 (ONOEOT): Document availability separately from other bits.
25567 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
25568 * manual/time.texi: Likewise.
25569 * manual/users.texi: Likewise.
25570 * INSTALL: Regenerated.
25571 * sysdeps/gnu/errlist.c: Regenerated.
25572
07037eeb
JM
25573 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
25574 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
25575 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
25576 puts.
25577 * configure: Regenerated.
25578
d1d3431a
JM
255792012-03-07 Joseph Myers <joseph@codesourcery.com>
25580
af6a1e37
JM
25581 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
25582 default includes instead of AC_HEADER_CHECK.
25583 * sysdeps/i386/configure: Regenerated.
25584
d1d3431a
JM
25585 [BZ #10716]
25586 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
25587 * math/s_cacoshf.c (__cacoshf): Likewise.
25588 * math/s_cacoshl.c (__cacoshl): Likewise.
25589 * math/s_casinh.c (__casinh): Set signs of result from argument.
25590 * math/s_casinhf.c (__casinhf): Likewise.
25591 * math/s_casinhl.c (__casinhl): Likewise.
25592 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
25593 (casinh_test): Add more tests.
25594 * sysdeps/i386/fpu/libm-test-ulps: Update.
25595 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25596
482ff4da
UD
255972012-03-07 Ulrich Drepper <drepper@gmail.com>
25598
872fda05
UD
25599 * po/zh_TW.po: Update from translation team.
25600
a4300c7a
UD
25601 * login/Makefile (distribute): Remove variable.
25602 * catgets/Makefile: Likewise.
25603 * mach/Makefile: Likewise.
25604 * malloc/Makefile: Likewise.
25605 * misc/Makefile: Likewise.
25606 * iconv/Makefile: Likewise.
25607 * nscd/Makefile: Likewise.
25608 * hurd/Makefile: Likewise.
25609 * manual/Makefile: Likewise.
25610 * locale/Makefile: Likewise.
25611 * intl/Makefile: Likewise.
25612 * conform/Makefile: Likewise.
25613 * nss/Makefile: Likewise.
25614 * time/Makefile: Likewise.
25615 * soft-fp/Makefile: Likewise.
25616 * dirent/Makefile: Likewise.
25617 * gmon/Makefile: Likewise.
25618 * po/Makefile: Likewise.
25619 * rt/Makefile: Likewise.
25620 * socket/Makefile: Likewise.
25621 * math/Makefile: Likewise.
25622 * signal/Makefile: Likewise.
25623 * debug/Makefile: Likewise.
25624 * elf/Makefile: Likewise.
25625 * timezone/Makefile: Likewise.
25626 * stdlib/Makefile: Likewise.
25627 * iconvdata/Makefile: Likewise.
25628 * sunrpc/Makefile: Likewise.
25629 * io/Makefile: Likewise.
25630 * argp/Makefile: Likewise.
25631 * inet/Makefile: Likewise.
25632 * hesiod/Makefile: Likewise.
25633 * grp/Makefile: Likewise.
25634 * csu/Makefile: Likewise.
25635 * wctype/Makefile: Likewise.
25636 * crypt/Makefile: Likewise.
25637 * libio/Makefile: Likewise.
25638 * string/Makefile: Likewise.
25639 * nis/Makefile: Likewise.
25640 * resolv/Makefile: Likewise.
25641 * stdio-common/Makefile: Likewise.
25642 * wcsmbs/Makefile: Likewise.
25643 * dlfcn/Makefile: Likewise.
25644 * posix/Makefile: Likewise.
25645
3b7c4e74 25646 [BZ #6959]
482ff4da
UD
25647 * timezone/Makefile: Don't install timezone files, just the programs
25648 and scripts.
25649
f72ed77d
UD
256502012-03-06 Ulrich Drepper <drepper@gmail.com>
25651
a000466f
UD
25652 * nss/databases.def: Add missing gshadow entry.
25653
f72ed77d
UD
25654 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
25655
a53b7a4e
MP
256562012-03-06 Marek Polacek <polacek@redhat.com>
25657
25658 [BZ #13726]
25659 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
25660 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
25661 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
25662 * stdio-common/tst-long-dbl-fphex.c: New file.
25663
e9258400
DM
256642012-03-06 David S. Miller <davem@davemloft.net>
25665
25666 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25667 (set_obp_int): New function.
25668 (get_obp_int): New function.
25669 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
25670 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
25671 Avoid unused variable warnings on 'val' and use builtin_expect.
25672 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
25673 __builtin_expect.
e9258400
DM
25674 (INLINE_CLONE_SYSCALL): Likewise.
25675
3bd2c723
DM
256762012-03-05 David S. Miller <davem@davemloft.net>
25677
25678 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25679
bbb78d03
AS
256802012-03-05 Andreas Schwab <schwab@linux-m68k.org>
25681
884c5db4
AS
25682 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25683
bbb78d03
AS
25684 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
25685 only for |x| >= 40.
25686 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
25687
1c9f702a 256882012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
25689
25690 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
25691 Replace gettimeofday with __vdso_gettimeofday.
25692
7be16f82
RM
25693 * sysdeps/unix/sysv/linux/x86_64/init-first.c
25694 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
25695 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
25696
25697 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
25698 time with __vdso_time.
25699
ed58a00f
JM
257002012-03-05 Joseph Myers <joseph@codesourcery.com>
25701
25702 * manual/lang.texi (size_t): Note types to which size_t may be
25703 equivalent with the GNU C Library, but do not describe when
25704 differences between them are significant.
25705
30ee4ced
AJ
257062012-03-05 Andreas Jaeger <aj@suse.de>
25707
25708 * sysdeps/i386/fpu/libm-test-ulps: Update.
25709
b7cd39e8
JM
257102012-03-05 Joseph Myers <joseph@codesourcery.com>
25711
25712 [BZ #3976]
25713 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
25714 (__ieee754_pow): Save and restore rounding mode and use
25715 round-to-nearest for main computations.
25716 * math/libm-test.inc (pow_test_tonearest): New function.
25717 (pow_test_towardzero): Likewise.
25718 (pow_test_downward): Likewise.
25719 (pow_test_upward): Likewise.
25720 (main): Call the new functions.
25721 * sysdeps/i386/fpu/libm-test-ulps: Update.
25722 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
25723
25724 [BZ #3976]
25725 * math/libm-test.inc (cosh_test_tonearest): New function.
25726 (cosh_test_towardzero): Likewise.
25727 (cosh_test_downward): Likewise.
25728 (cosh_test_upward): Likewise.
25729 (sinh_test_tonearest): Likewise.
25730 (sinh_test_towardzero): Likewise.
25731 (sinh_test_downward): Likewise.
25732 (sinh_test_upward): Likewise.
25733 (main): Call the new functions.
25734 * sysdeps/i386/fpu/libm-test-ulps: Update.
25735 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25736
6c6a98c9
TV
257372012-03-05 Tom de Vries <tom@codesourcery.com>
25738
25739 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
25740 default stack guard is set in last bytes.
25741 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
25742
21bb2d2e 257432012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 25744
21bb2d2e 25745 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 25746
21bb2d2e
AJ
25747 [BZ #13656]
25748 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
25749 possibly allocate from heap instead of stack.
25750 * stdio-common/bug-vfprintf-nargs.c: New file.
25751 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 25752
c6922934
AS
257532012-03-03 Andreas Schwab <schwab@linux-m68k.org>
25754
25755 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25756
bc957d53
MP
257572012-03-03 Marek Polacek <polacek@redhat.com>
25758
25759 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
25760 * math/math_private.h: Likewise.
25761 * stdlib/tst-strtod.c: Likewise.
25762 * sysdeps/i386/i486/bits/atomic.h: Likewise.
25763 * sysdeps/x86_64/bits/atomic.h: Likewise.
25764
6358490d
DM
257652012-03-02 David S. Miller <davem@davemloft.net>
25766
25767 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
25768 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
25769 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
25770 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
25771 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
25772 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
25773 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
25774 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
25775
01ae168d
RM
257762012-03-02 Roland McGrath <roland@hack.frob.com>
25777
d9a17c07
RM
25778 [BZ #13792]
25779 * manual/examples/README: New file, says the example source files
25780 can be used under GPL>=2.
25781 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
25782 line containing just "*/".
25783 * manual/examples/add.c: Add copyright header (GPL>=2).
25784 * manual/examples/argp-ex1.c: Likewise.
25785 * manual/examples/argp-ex2.c: Likewise.
25786 * manual/examples/argp-ex3.c: Likewise.
25787 * manual/examples/argp-ex4.c: Likewise.
25788 * manual/examples/atexit.c: Likewise.
25789 * manual/examples/db.c: Likewise.
25790 * manual/examples/dir.c: Likewise.
25791 * manual/examples/dir2.c: Likewise.
25792 * manual/examples/execinfo.c: Likewise.
25793 * manual/examples/filecli.c: Likewise.
25794 * manual/examples/filesrv.c: Likewise.
25795 * manual/examples/fmtmsgexpl.c: Likewise.
25796 * manual/examples/genpass.c: Likewise.
25797 * manual/examples/inetcli.c: Likewise.
25798 * manual/examples/inetsrv.c: Likewise.
25799 * manual/examples/isockad.c: Likewise.
25800 * manual/examples/longopt.c: Likewise.
25801 * manual/examples/memopen.c: Likewise.
25802 * manual/examples/memstrm.c: Likewise.
25803 * manual/examples/mkfsock.c: Likewise.
25804 * manual/examples/mkisock.c: Likewise.
25805 * manual/examples/mygetpass.c: Likewise.
25806 * manual/examples/pipe.c: Likewise.
25807 * manual/examples/popen.c: Likewise.
25808 * manual/examples/rprintf.c: Likewise.
25809 * manual/examples/search.c: Likewise.
25810 * manual/examples/select.c: Likewise.
25811 * manual/examples/setjmp.c: Likewise.
25812 * manual/examples/sigh1.c: Likewise.
25813 * manual/examples/sigusr.c: Likewise.
25814 * manual/examples/stpcpy.c: Likewise.
25815 * manual/examples/strdupa.c: Likewise.
25816 * manual/examples/strftim.c: Likewise.
25817 * manual/examples/strncat.c: Likewise.
25818 * manual/examples/subopt.c: Likewise.
25819 * manual/examples/swapcontext.c: Likewise.
25820 * manual/examples/termios.c: Likewise.
25821 * manual/examples/testopt.c: Likewise.
25822 * manual/examples/testpass.c: Likewise.
25823 * manual/examples/timeval_subtract.c: Likewise.
25824
01ae168d
RM
25825 [BZ #13792]
25826 * manual/time.texi (Elapsed Time): Move timeval_subtract example
25827 function to ...
25828 * manual/timeval_subtract.c.texi: ... here, new file.
25829
49efa33d
DM
258302012-03-02 David S. Miller <davem@davemloft.net>
25831
25832 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
25833
28afd92d
JM
258342012-03-02 Joseph Myers <joseph@codesourcery.com>
25835
804360ed
JM
25836 [BZ #3976]
25837 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
25838 (__sin): Save and restore rounding mode and use round-to-nearest
25839 for all computations.
25840 (__cos): Save and restore rounding mode and use round-to-nearest
25841 for all computations.
25842 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
25843 <fenv.h>.
25844 (tan): Save and restore rounding mode and use round-to-nearest for
25845 all computations.
25846 * math/libm-test.inc (cos_test_tonearest): New function.
25847 (cos_test_towardzero): Likewise.
25848 (cos_test_downward): Likewise.
25849 (cos_test_upward): Likewise.
25850 (sin_test_tonearest): Likewise.
25851 (sin_test_towardzero): Likewise.
25852 (sin_test_downward): Likewise.
25853 (sin_test_upward): Likewise.
25854 (tan_test_tonearest): Likewise.
25855 (tan_test_towardzero): Likewise.
25856 (tan_test_downward): Likewise.
25857 (tan_test_upward): Likewise.
25858 (main): Call the new functions.
25859 * sysdeps/i386/fpu/libm-test-ulps: Update.
25860 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25861
a6d06d7b
JM
25862 [BZ #10135]
25863 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
25864 small n, then large n, before computing and testing k+n.
25865 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
25866 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
25867 Likewise.
25868 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
25869 Likewise.
25870 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
25871 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
25872 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
25873 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
25874 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
25875 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
25876 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
25877 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
25878 * math/libm-test.inc (scalbn_test): Add more tests.
25879 (scalbln_test): Likewise.
25880
07e12bb3
JM
25881 * manual/filesys.texi (mode_t): Describe constraints on size and
25882 signedness, not exact equivalence to a particular type.
25883 (ino_t): Likewise.
25884 (ino64_t): Likewise.
25885 (dev_t): Likewise.
25886 (nlink_t): Likewise.
25887 (blkcnt_t): Likewise.
25888 (blkcnt64_t): Likewise.
25889 * manual/llio.texi (off_t): Likewise.
25890
28afd92d
JM
25891 [BZ #3976]
25892 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
25893 (__ieee754_exp): Save and restore rounding mode and use
25894 round-to-nearest for all computations.
25895 * math/libm-test.inc (exp_test_tonearest): New function.
25896 (exp_test_towardzero): Likewise.
25897 (exp_test_downward): Likewise.
25898 (exp_test_upward): Likewise.
25899 (main): Call the new functions.
25900 * sysdeps/i386/fpu/libm-test-ulps: Update.
25901 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25902
b1eeb65d
CD
259032012-03-01 Chris Demetriou <cgd@google.com>
25904
25905 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
25906 have predictable order.
25907
53362a4b
DM
259082012-03-01 David S. Miller <davem@davemloft.net>
25909
3c969083
DM
25910 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
25911
759707de
DM
25912 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
25913 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
25914 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
25915 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
25916
dfdb8ff2
DM
25917 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
25918 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
25919 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
25920 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
25921 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
25922 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
25923 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
25924 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
25925 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
25926
ead89f96
DM
25927 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25928
7f66bd07
DM
25929 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
25930 * sysdeps/sparc/fpu/libm-test-ulps: to here.
25931 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
25932
53362a4b
DM
25933 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
25934 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
25935 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
25936 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
25937 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
25938 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
25939 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
25940 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
25941 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
25942 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
25943 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
25944 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25945 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
25946 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
25947 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25948 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25949 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
25950 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
25951 * sysdeps/sparc/elf/configure: Regenerated.
25952
7b1902cb
JM
259532012-03-01 Joseph Myers <joseph@codesourcery.com>
25954
bec039bc
JM
25955 * configure.in (AS, LD): Require binutils 2.20 or later.
25956 * configure: Regenerated.
25957 * manual/install.texi (Tools for Compilation): Give binutils 2.20
25958 as required minimum version.
25959 * INSTALL: Regenerated.
25960
7b1902cb
JM
25961 [BZ #2541]
25962 [BZ #4108]
25963 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
25964 before squaring exponent.
25965 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
25966 bottom long double and 27 bits of top long double before squaring
25967 exponent.
25968 * math/libm-test.inc (erfc_test): Add more tests.
25969 * sysdeps/i386/fpu/libm-test-ulps: Update.
25970 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25971 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25972
f775c276
KT
259732012-03-01 Kai Tietz <ktietz@redhat.com>
25974
25975 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
25976 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
25977 containing bit-fields.
25978 * soft-fp/extended.h (_FP_UNION_E): Likewise.
25979 * soft-fp/single.h (_FP_UNION_S): Likewise.
25980 * soft-fp/double.h (_FP_UNION_D): Likewise.
25981
5b8a4d4a
JM
259822012-02-29 Joseph Myers <joseph@codesourcery.com>
25983
0bab47b6
JM
25984 [BZ #13786]
25985 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
25986 not include ../strcmp.S.
25987 [USE_AS_STRNCASECMP_L]: Likewise.
25988 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
25989 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
25990 * sysdeps/i386/i686/multiarch/strncase_l-c.c
25991 (__strncasecmp_l_ia32): Define as alias to
25992 __strncasecmp_l_nonascii.
25993
0fcad3e2
JM
25994 [BZ #5794]
25995 * math/libm-test.inc (expm1_test): Add test for bug 5794.
25996 * sysdeps/i386/fpu/libm-test-ulps: Update.
25997 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25998
5b8a4d4a
JM
25999 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
26000 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26001
8fdceb2e
JL
260022012-02-29 Jeff Law <law@redhat.com>
26003
26004 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
26005 out of bounds read.
26006
1f393a11
MP
260072012-02-29 Marek Polacek <polacek@redhat.com>
26008
26009 [BZ #13706]
26010 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
26011 * elf/Makefile: Add rules to run tst-unused-dep.out.
26012
8847f037
DM
260132012-02-28 David S. Miller <davem@davemloft.net>
26014
26015 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
26016 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
26017 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
26018 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
26019 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
26020 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
26021
169d7f11
JM
260222012-02-29 Joseph Myers <joseph@codesourcery.com>
26023
26024 * math/libm-test.inc (llround_test): Move one test from
26025 lround_test. Use TEST_f_L in moved test.
26026 (lround_test): Move misplaced test to llround_test. Add testcase
26027 from bug 2561.
26028
39adf059
UD
260292012-02-28 Ulrich Drepper <drepper@gmail.com>
26030
26031 * sysdeps/x86_64/fpu/e_expf.S: New file.
26032 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
26033
71b5d1c5
SB
260342012-02-28 Stanislav Brabec <sbrabec@suse.cz>
26035
26036 [BZ #13637]
26037 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
26038 of remain_len that may cause incomplete multi-byte character and
26039 false match.
26040 * posix/bug-regex33.c: New file.
26041 * posix/Makefile (tests): Add bug-regex33.
26042
1f77f049
JM
260432012-02-28 Joseph Myers <joseph@codesourcery.com>
26044
26045 * manual/macros.texi: New file.
26046 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
26047 * manual/libc.texinfo: Include macros.texi.
26048 * manual/creatute.texi: Likewise.
26049 * manual/install.texi: Likewise.
26050 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
26051 @glibcadj{} in references to the GNU C Library.
26052 * manual/charset.texi: Likewise.
26053 * manual/conf.texi: Likewise.
26054 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
26055 when not using those macros.
26056 * manual/creature.texi: Likewise.
26057 * manual/crypt.texi: Likewise.
26058 * manual/errno.texi: Likewise.
26059 * manual/filesys.texi: Likewise.
26060 * manual/header.texi: Likewise.
26061 * manual/install.texi: Likewise.
26062 * manual/intro.texi: Likewise.
26063 * manual/io.texi: Likewise.
26064 * manual/job.texi: Likewise.
26065 * manual/lang.texi: Likewise.
26066 * manual/libc.texiinfo: Likewise.
26067 * manual/llio.texi: Likewise.
26068 * manual/locale.texi: Likewise.
26069 * manual/maint.texi: Likewise.
26070 * manual/math.texi: Likewise.
26071 * manual/memory.texi: Likewise.
26072 * manual/message.texi: Likewise.
26073 * manual/nss.texi: Likewise.
26074 * manual/pattern.texi: Likewise.
26075 * manual/process.texi: Likewise.
26076 * manual/resource.texi: Likewise.
26077 * manual/search.texi: Likewise.
26078 * manual/setjmp.texi: Likewise.
26079 * manual/signal.texi: Likewise.
26080 * manual/socket.texi: Likewise.
26081 * manual/startup.texi: Likewise.
26082 * manual/stdio.texi: Likewise.
26083 * manual/string.texi: Likewise.
26084 * manual/sysinfo.texi: Likewise.
26085 * manual/syslog.texi: Likewise.
26086 * manual/terminal.texi: Likewise.
26087 * manual/time.texi: Likewise.
26088 * manual/users.texi: Likewise.
26089 * INSTALL: Regenerated.
26090 * NOTES: Regenerated.
d40c5d54 26091 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 26092
450bf206
AS
260932012-02-28 Andreas Schwab <schwab@linux-m68k.org>
26094
26095 * include/dirent.h: Include <dirstream.h> before
26096 <dirent/dirent.h>.
26097
741a235b
DM
260982012-02-28 David S. Miller <davem@davemloft.net>
26099
26100 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
26101 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
26102 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
26103 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
26104
d6b5aa58
DM
261052012-02-27 David S. Miller <davem@davemloft.net>
26106
1aff59a3
DM
26107 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
26108 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
26109 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
26110 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
26111
d6b5aa58
DM
26112 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
26113 frame pointer instead of stack pointer relative arg slot.
26114 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
26115 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
26116 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
26117
433f48bf
CD
261182012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
26119
26120 [BZ #3992]
26121 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
26122
d674b76d
DM
261232012-02-27 David S. Miller <davem@davemloft.net>
26124
26125 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
26126 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
26127 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
26128 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
26129 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
26130 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
26131 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
26132 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
26133
0e7727f7
JM
261342012-02-27 Joseph Myers <joseph@codesourcery.com>
26135
26136 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
26137 later. Allow versions 5-9.
43be4ca2 26138 * configure: Regenerated.
0e7727f7
JM
26139 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
26140 required minimum version and 4.6 as recommended version. Do not
26141 mention bugs in GCC 2.7 and 2.8.
43be4ca2 26142 * INSTALL: Regenerated.
0e7727f7 26143
a78bc654
DM
261442012-02-27 David S. Miller <davem@davemloft.net>
26145
428d5830
DM
26146 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
26147 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
26148 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
26149 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
26150 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
26151 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
26152 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
26153 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
26154
a78bc654
DM
26155 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
26156 manipulate bits before adding and subtracting TWO112[sx].
26157 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
26158
4579f81c
RM
261592012-02-27 Roland McGrath <roland@hack.frob.com>
26160
36c8acb4
RM
26161 [BZ #13775]
26162 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
26163 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
26164 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
26165 being in POSIX, because they are in 1003.1-2008.
26166
84ad622b
RM
26167 * rt/tst-aio.c: Include <fcntl.h>.
26168 * rt/tst-aio7.c: Likewise.
26169 * rt/tst-aio64.c: Likewise.
26170
4579f81c
RM
26171 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
26172
abd923db
JM
261732012-02-27 Joseph Myers <joseph@codesourcery.com>
26174
26175 * manual/install.texi (--with-headers): Describe headers as
26176 interface headers, not private headers.
26177 (Specific advice for GNU/Linux systems): Describe use of headers
26178 from "make headers_install", not private headers from older
26179 kernels.
43be4ca2 26180 * INSTALL: Regenerated.
abd923db
JM
26181 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
26182 Change to 2.6.19.
26183 * sysdeps/unix/sysv/linux/configure: Regenerated.
26184
6664049b
JM
26185 * manual/llio.texi (fclean): Remove documentation.
26186
bb8b6697
JM
26187 * manual/Makefile (libc-texi-generated): New variable. Include
26188 version.texi.
26189 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
26190 $(libc-texi-generated), not duplicated list of files.
26191 (version.texi, stamp-version): New rules.
26192 (realclean): Remove $(libc-texi-generated), not individual files
26193 from that list. Do not remove dir-add.texinfo.
26194 * manual/libc.texinfo: Comment out uses of edition numbers and
26195 references to printed manual. Remove last-updated dates.
26196 (EDITION): Comment out.
26197 (ISBN): Likewise.
26198 (VERSION, UPDATED): Remove.
26199 (version.texi): Include.
26200
12e5c3b9
AS
262012012-02-27 Andreas Schwab <schwab@linux-m68k.org>
26202
26203 * sysdeps/posix/spawni.c: Include <signal.h>.
26204 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
26205 * sysdeps/pthread/aio_fsync.c: Likewise.
26206
4efeffc1 262072012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 26208
ba63ba08
UD
26209 * conform/Makefile (tests): Run only when not cross-compiling and
26210 when fast-check is not defined.
26211
d94a4670
UD
26212 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
26213 * conform/data/limits.h-data: Fixes for POSIX2008.
26214 * conform/run-conformtest.sh: Run all tests.
26215 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
26216 headers.
26217 * include/bits/dlfcn.h: Likewise.
26218 * include/langinfo.h: Likewise.
26219 * include/monetary.h: Likewise.
26220 * include/sys/poll.h: Likewise.
26221
26222 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
26223 for __USE_GNU.
26224 * posix/spawn.h: Define __need_sigset_t.
26225 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
26226 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
26227 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
26228 to get sigevent_t only.
26229 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
26230 only for __USE_GNU.
26231 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26232 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
26233 process_vm_writev only for __USE_GNU.
26234 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
26235
26236 * conform/Makefile: For now ignore errors from run-conformtest.
26237 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
26238 POSIX to avoid namespace pollution. Don't prepend headers.
26239 * conform/data/aio.h-data: Fixes for POSIX testing.
26240 * conform/data/fcntl.h-data: Likewise.
26241 * conform/data/glob.h-data: Likewise.
26242 * conform/data/grp.h-data: Likewise.
26243 * conform/data/pthread.h-data: Likewise.
26244 * conform/data/pwd.h-data: Likewise.
26245 * conform/data/signal.h-data: Likewise.
26246 * conform/data/spawn.h-data: Likewise.
26247 * conform/data/stdio.h-data: Likewise.
26248 * conform/data/stdlib.h-data: Likewise.
26249 * conform/data/stropts.h-data: Likewise.
26250 * conform/data/sys/mman.h-data: Likewise.
26251 * conform/data/sys/stat.h-data: Likewise.
26252 * conform/data/sys/types.h-data: Likewise.
26253 * conform/data/sys/wait.h-data: Likewise.
26254 * conform/data/time.h-data: Likewise.
26255 * conform/data/unistd.h-data: Likewise.
26256 * conform/data/utime.h-data: Likewise.
26257
26258 * io/sys/stat.h: fchmod was always in POSIX.
26259 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
26260 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
26261 * rt/aio.h: Define __need_timespec before including <time.h>.
26262 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
26263 struct. Add forward declaration of pthread_attr_t and use it in
26264 sigevent.
26265 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
26266 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
26267 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
26268 always remove CLK_TCK definition.
26269
c20105c3
AS
262702012-02-26 Andreas Schwab <schwab@linux-m68k.org>
26271
26272 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
26273
7a270350
UD
262742012-02-25 Ulrich Drepper <drepper@gmail.com>
26275
31341567
UD
26276 * conform/run-conformtest.sh: New file.
26277 * conform/Makefile: Run run-conformtest for tests.
26278 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
26279 support.
26280
26281 * conform/data/uchar.h-data: New file.
26282 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
26283 * conform/data/arpa/inet.h-data: Likewise.
26284 * conform/data/assert.h-data: Likewise.
26285 * conform/data/complex.h-data: Likewise.
26286 * conform/data/cpio.h-data: Likewise.
26287 * conform/data/ctype.h-data: Likewise.
26288 * conform/data/dirent.h-data: Likewise.
26289 * conform/data/dlfcn.h-data: Likewise.
26290 * conform/data/errno.h-data: Likewise.
26291 * conform/data/fcntl.h-data: Likewise.
26292 * conform/data/float.h-data: Likewise.
26293 * conform/data/fmtmsg.h-data: Likewise.
26294 * conform/data/fnmatch.h-data: Likewise.
26295 * conform/data/ftw.h-data: Likewise.
26296 * conform/data/glob.h-data: Likewise.
26297 * conform/data/grp.h-data: Likewise.
26298 * conform/data/iconv.h-data: Likewise.
26299 * conform/data/inttypes.h-data: Likewise.
26300 * conform/data/langinfo.h-data: Likewise.
26301 * conform/data/libgen.h-data: Likewise.
26302 * conform/data/limits.h-data: Likewise.
26303 * conform/data/locale.h-data: Likewise.
26304 * conform/data/math.h-data: Likewise.
26305 * conform/data/monetary.h-data: Likewise.
26306 * conform/data/mqueue.h-data: Likewise.
26307 * conform/data/ndbm.h-data: Likewise.
26308 * conform/data/net/if.h-data: Likewise.
26309 * conform/data/netdb.h-data: Likewise.
26310 * conform/data/netinet/in.h-data: Likewise.
26311 * conform/data/nl_types.h-data: Likewise.
26312 * conform/data/poll.h-data: Likewise.
26313 * conform/data/pthread.h-data: Likewise.
26314 * conform/data/pwd.h-data: Likewise.
26315 * conform/data/regex.h-data: Likewise.
26316 * conform/data/sched.h-data: Likewise.
26317 * conform/data/search.h-data: Likewise.
26318 * conform/data/semaphore.h-data: Likewise.
26319 * conform/data/setjmp.h-data: Likewise.
26320 * conform/data/signal.h-data: Likewise.
26321 * conform/data/spawn.h-data: Likewise.
26322 * conform/data/stdarg.h-data: Likewise.
26323 * conform/data/stdio.h-data: Likewise.
26324 * conform/data/stdlib.h-data: Likewise.
26325 * conform/data/string.h-data: Likewise.
26326 * conform/data/strings.h-data: Likewise.
26327 * conform/data/stropts.h-data: Likewise.
26328 * conform/data/sys/ipc.h-data: Likewise.
26329 * conform/data/sys/mman.h-data: Likewise.
26330 * conform/data/sys/msg.h-data: Likewise.
26331 * conform/data/sys/resource.h-data: Likewise.
26332 * conform/data/sys/select.h-data: Likewise.
26333 * conform/data/sys/sem.h-data: Likewise.
26334 * conform/data/sys/shm.h-data: Likewise.
26335 * conform/data/sys/socket.h-data: Likewise.
26336 * conform/data/sys/stat.h-data: Likewise.
26337 * conform/data/sys/statvfs.h-data: Likewise.
26338 * conform/data/sys/time.h-data: Likewise.
26339 * conform/data/sys/timeb.h-data: Likewise.
26340 * conform/data/sys/times.h-data: Likewise.
26341 * conform/data/sys/types.h-data: Likewise.
26342 * conform/data/sys/uio.h-data: Likewise.
26343 * conform/data/sys/un.h-data: Likewise.
26344 * conform/data/sys/utsname.h-data: Likewise.
26345 * conform/data/sys/wait.h-data: Likewise.
26346 * conform/data/syslog.h-data: Likewise.
26347 * conform/data/tar.h-data: Likewise.
26348 * conform/data/termios.h-data: Likewise.
26349 * conform/data/utime.h-data: Likewise.
26350 * conform/data/utmpx.h-data: Likewise.
26351 * conform/data/varargs.h-data: Likewise.
26352 * conform/data/wchar.h-data: Likewise.
26353 * conform/data/wctype.h-data: Likewise.
26354 * conform/data/wordexp.h-data: Likewise.
26355
26356 * include/stropts.h: New file.
26357 * include/uchar.h: New file.
26358 * include/aio.h: Changes to allow conformtest.pl to use the headers.
26359 * include/assert.h: Likewise.
26360 * include/ctype.h: Likewise.
26361 * include/dirent.h: Likewise.
26362 * include/dlfcn.h: Likewise.
26363 * include/fcntl.h: Likewise.
26364 * include/fnmatch.h: Likewise.
26365 * include/glob.h: Likewise.
26366 * include/grp.h: Likewise.
26367 * include/libio.h: Likewise.
26368 * include/locale.h: Likewise.
26369 * include/math.h: Likewise.
26370 * include/net/if.h: Likewise.
26371 * include/netdb.h: Likewise.
26372 * include/netinet/in.h: Likewise.
26373 * include/pthread.h: Likewise.
26374 * include/pwd.h: Likewise.
26375 * include/regex.h: Likewise.
26376 * include/sched.h: Likewise.
26377 * include/search.h: Likewise.
26378 * include/setjmp.h: Likewise.
26379 * include/signal.h: Likewise.
26380 * include/stdio.h: Likewise.
26381 * include/stdlib.h: Likewise.
26382 * include/string.h: Likewise.
26383 * include/sys/cdefs.h: Likewise.
26384 * include/sys/mman.h: Likewise.
26385 * include/sys/msg.h: Likewise.
26386 * include/sys/resource.h: Likewise.
26387 * include/sys/select.h: Likewise.
26388 * include/sys/socket.h: Likewise.
26389 * include/sys/stat.h: Likewise.
26390 * include/sys/statvfs.h: Likewise.
26391 * include/sys/time.h: Likewise.
26392 * include/sys/times.h: Likewise.
26393 * include/sys/uio.h: Likewise.
26394 * include/sys/utsname.h: Likewise.
26395 * include/sys/wait.h: Likewise.
26396 * include/termios.h: Likewise.
26397 * include/time.h: Likewise.
26398 * include/ulimit.h: Likewise.
26399 * include/unistd.h: Likewise.
26400 * include/utime.h: Likewise.
26401 * include/wchar.h: Likewise.
26402 * include/wctype.h: Likewise.
26403 * include/wordexp.h: Likewise.
26404
26405 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
26406
7a270350
UD
26407 * time/time.h: TIME_UTC must be a macro.
26408 Make timespec_get available for ISO C11 only as well.
26409
7724defc
UD
264102012-02-24 Ulrich Drepper <drepper@gmail.com>
26411
26412 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
26413 Reported by Peng Haitao <penght@cn.fujitsu.com>.
26414
6b1d1d46
JM
264152012-02-24 Joseph Myers <joseph@codesourcery.com>
26416
26417 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 26418
0f8bbd69
JM
264192012-02-24 Joseph Myers <joseph@codesourcery.com>
26420
26421 * manual/texinfo.tex: Update to version 2012-01-19.16.
26422
66ab80bc
JM
264232012-02-24 Joseph Myers <joseph@codesourcery.com>
26424
26425 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
26426
74981cc5
RM
264272012-02-24 Roland McGrath <roland@hack.frob.com>
26428
ee968201
RM
26429 [BZ #13738]
26430 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
26431 * manual/fdl-1.3.texi: New file.
26432 * manual/fdl-1.1.texi: File removed.
26433
74981cc5
RM
26434 [BZ #13738]
26435 * manual/libc.texinfo (FDL_VERSION): New @set.
26436 Use it for mention of FDL in cover text.
26437 (Documentation License): Use it in @include file name.
26438
7bb764bc
JM
264392012-02-22 Joseph Myers <joseph@codesourcery.com>
26440 Roland McGrath <roland@hack.frob.com>
26441
26442 [BZ #5461]
26443 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
26444 not LONG_LONG_MAX and LONG_LONG_MIN.
26445 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
26446 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
26447 name.
26448 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
26449
6cbeae47
JM
264502012-02-22 Joseph Myers <joseph@codesourcery.com>
26451
26452 [BZ #2547]
26453 [BZ #11365]
26454 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
26455 manipulate bits before adding and subtracting TWO23[sx].
26456 * math/libm-test.inc (nearbyint_test): Add more tests.
26457
fe45ce09
JM
264582012-02-22 Joseph Myers <joseph@codesourcery.com>
26459
26460 [BZ #2548]
26461 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
26462 bits before adding and subtracting TWO23[sx].
26463 * math/libm-test.inc (rint_test): Add more tests.
26464 (rint_test_tonearest): Likewise.
26465 (rint_test_towardzero): Likewise.
26466 (rint_test_downward): Likewise.
26467 (rint_test_upward: Likewise.
26468
ff3b3d82
JM
264692012-02-22 Joseph Myers <joseph@codesourcery.com>
26470
26471 [BZ #10110]
26472 * include/stdc-predef.h: New file. Extracted from features.h.
26473 * include/features.h: Include stdc-predef.h.
26474 * Makefile (headers): Add stdc-predef.h.
26475 * CONFORMANCE (Compiler limitations): Update.
26476
ef0aab35
JM
264772012-02-22 Joseph Myers <joseph@codesourcery.com>
26478
26479 * manual/libc.texinfo (VERSION, UPDATED): Revert.
26480
58639409
DM
264812012-02-21 David S. Miller <davem@davemloft.net>
26482
26483 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
26484 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
26485
c0e70b25
DM
264862012-02-20 David S. Miller <davem@davemloft.net>
26487
26488 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
26489 using a normal save/restore sequence, rather than allocating a
26490 dummy stack frame just to store a frame pointer and restore.
26491 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26492
fb06851d
JM
264932012-02-21 Joseph Myers <joseph@codesourcery.com>
26494
26495 * manual/install.texi: Fix stray word in line-wrapped comment.
26496
7a8b71c3
DM
264972012-02-20 David S. Miller <davem@davemloft.net>
26498
d510c123
DM
26499 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
26500 both binutils and gcc support GOTDATA.
26501
0722d7c2
DM
26502 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
26503 "rd %pc" in the PIC register setup sequences.
26504
3d2b3019
DM
26505 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
26506 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
26507 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
26508 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
26509 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
26510 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
26511 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26512 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26513 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
26514 (SYSCALL_ERROR_HANDLER): Likewise.
26515 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
26516 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26517 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
26518 (SYSCALL_ERROR_HANDLER): Likewise.
26519
c80098a9
DM
26520 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
26521 (HAVE_GCC_GOTDATA): New.
26522 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
26523 relocation support in both binutils and gcc.
26524 * sysdeps/sparc/elf/configure: Regenerate.
26525
3a2545a0
DM
26526 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
26527 * sysdeps/sparc/sparc32/elf/configure: Delete.
26528 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
26529 * sysdeps/sparc/sparc64/elf/configure: Delete.
26530 * sysdeps/sparc/elf/configure.in: New file.
26531 * sysdeps/sparc/elf/configure: Generate.
26532
7a8b71c3
DM
26533 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
26534 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
26535 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
26536 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
26537 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
26538
f1e86fca
JM
265392012-02-21 Joseph Myers <joseph@codesourcery.com>
26540
26541 * manual/install.texi: Do not mention specific glibc version
26542 numbers.
26543 * manual/libc.texinfo (VERSION, UPDATED): Update.
26544 (@copying): Use @copyright{} and range of years.
26545
0e7dfaef
JM
265462012-02-21 Joseph Myers <joseph@codesourcery.com>
26547
26548 [BZ #13695]
26549 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
26550 [crti.S not in sysdirs] (generated): Do not append.
26551 [crti.S not in sysdirs] (omit-deps): Likewise.
26552 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
26553 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
26554 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
26555 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
26556 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
26557 Likewise.
26558 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
26559 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
26560 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
26561 * csu/defs.awk: Remove file.
26562 * sysdeps/generic/initfini.c: Likewise.
26563 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
26564 variable.
26565 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
26566 Likewise.
26567
599af3ca
JM
265682012-02-20 Joseph Myers <joseph@codesourcery.com>
26569
26570 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
26571 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
26572 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
26573 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
26574 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26575 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
26576 <bits/epoll.h>.
26577 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
26578 (__EPOLL_PACKED): Define to empty if not defined by
26579 <bits/epoll.h>.
26580 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
26581 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26582 bits/epoll.h.
26583
0e499750
JM
265842012-02-20 Joseph Myers <joseph@codesourcery.com>
26585
26586 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
26587 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
26588 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
26589 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
26590 <bits/timerfd.h>.
26591 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
26592 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26593 bits/timerfd.h.
26594
5ad91f6e
JM
265952012-02-20 Joseph Myers <joseph@codesourcery.com>
26596
26597 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
26598 in C locale.
26599 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26600 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26601 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
26602 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26603
06b99b02
AJ
266042012-02-20 Aurelien Jarno <aurelien@aurel32.net>
26605
26606 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26607 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
26608
7638c0fd
AS
266092012-02-19 Andreas Schwab <schwab@linux-m68k.org>
26610
26611 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
26612 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
26613 defined.
26614 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
26615 Likewise.
26616 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
26617 entry for 2.16.
26618
92221550
AJ
266192012-02-19 Aurelien Jarno <aurelien@aurel32.net>
26620
26621 * math/w_acos.c: Use non-signaling floating-point comparisons.
26622 * math/w_acosf.c: Likewise.
26623 * math/w_acosh.c: Likewise.
26624 * math/w_acoshf.c: Likewise.
26625 * math/w_acoshl.c: Likewise.
26626 * math/w_acosl.c: Likewise.
26627 * math/w_asin.c: Likewise.
26628 * math/w_asinf.c: Likewise.
26629 * math/w_asinl.c: Likewise.
26630 * math/w_atanh.c: Likewise.
26631 * math/w_atanhf.c: Likewise.
26632 * math/w_atanhl.c: Likewise.
26633 * math/w_exp2.c: Likewise.
26634 * math/w_exp2f.c: Likewise.
26635 * math/w_exp2l.c: Likewise.
26636 * math/w_j0.c: Likewise.
26637 * math/w_j0f.c: Likewise.
26638 * math/w_j0l.c: Likewise.
26639 * math/w_j1.c: Likewise.
26640 * math/w_j1f.c: Likewise.
26641 * math/w_j1l.c: Likewise.
26642 * math/w_jn.c: Likewise.
26643 * math/w_jnf.c: Likewise.
26644 * math/w_log.c: Likewise.
26645 * math/w_log10.c: Likewise.
26646 * math/w_log10f.c: Likewise.
26647 * math/w_log10l.c: Likewise.
26648 * math/w_log2.c: Likewise.
26649 * math/w_log2f.c: Likewise.
26650 * math/w_log2l.c: Likewise.
26651 * math/w_logf.c: Likewise.
26652 * math/w_logl.c: Likewise.
26653 * math/w_sqrt.c: Likewise.
26654 * math/w_sqrtf.c: Likewise.
26655 * math/w_sqrtl.c: Likewise.
26656 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
26657 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
26658 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26659 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
26660 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
26661
ebaf36eb
JM
266622012-02-19 Joseph Myers <joseph@codesourcery.com>
26663
26664 [BZ #9739]
26665 * manual/string.texi (strnlen): Use correct parameter name in
26666 equivalent expression.
26667
71c254a6
JM
266682012-02-19 Joseph Myers <joseph@codesourcery.com>
26669
26670 [BZ #11174]
26671 * manual/users.texi (seteuid): Consistently use neweuid for
26672 argument name.
26673
16d2c631
JM
266742012-02-19 Joseph Myers <joseph@codesourcery.com>
26675
26676 [BZ #13704]
26677 * manual/nss.texi (Services in the NSS configuration): Correct
26678 list of services in example configuration file.
26679
cd837b09
NB
266802012-02-19 Nick Bowler <nbowler@draconx.ca>
26681
26682 [BZ #11322]
26683 * manual/arith.texi: Remove statements about negative zero
26684 behaving identically to zero.
26685
02c4bbad
JM
266862012-02-18 Joseph Myers <joseph@codesourcery.com>
26687
26688 [BZ #5993]
26689 * manual/install.texi: Do not document upgrading from libc5.
26690
366842e7
JM
266912012-02-18 Joseph Myers <joseph@codesourcery.com>
26692
26693 [BZ #4596]
26694 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
26695
dd54084d
DM
266962012-02-18 David S. Miller <davem@davemloft.net>
26697
26698 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
26699 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
26700 %o7 across the call.
26701 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
26702 instead.
26703 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
26704 SETUP_PIC_REG_LEAF.
26705 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26706 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
26707 * sysdeps/sparc/crtn.S: Likewise.
26708
2bcc53a3
UD
267092012-02-17 Ulrich Drepper <drepper@gmail.com>
26710
26711 * aout/Makefile: Remove.
26712
09c093b5
RK
267132012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
26714
26715 [BZ #13058]
26716 * manual/examples/argp-ex1.c (main): Format definition in GNU
26717 style.
26718 * manual/examples/argp-ex2.c (main): Likewise.
26719 * manual/examples/argp-ex3.c (main): Likewise.
26720 * manual/examples/argp-ex4.c (main): Likewise.
26721 * manual/examples/longopt.c (main): Use new-style prototype
26722 definition.
26723 * manual/examples/strncat.c (main): Specify return type and use
26724 (void) for arguments.
26725 * manual/examples/subopt.c (main): Use char **argv argument.
26726
2ee633a2
JM
267272012-02-17 Joseph Myers <joseph@codesourcery.com>
26728
26729 [BZ #5077]
26730 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
26731 rounding modes.
26732
0520adde
FB
267332012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
26734
26735 [BZ #6907]
26736 * manual/string.texi (strchr): Change when strchrnul is
26737 recommended.
26738
3f4081cd
DGM
267392012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
26740
26741 [BZ #174]
26742 * manual/locale.texi (setlocale): Document LOCPATH.
26743
d1b10e78
JM
267442012-02-17 Joseph Myers <joseph@codesourcery.com>
26745
26746 [BZ #10210]
26747 * manual/process.texi (execle): Move @dots{} before last argument.
26748
79c6869c
PB
267492012-02-17 Paul Bolle <pebolle@tiscali.nl>
26750
26751 [BZ #12047]
26752 * manual/charset.texi (Generic Charset Conversion): Fix typo
26753 (LC_TYPE -> LC_CTYPE).
26754
cc6e48bc
NB
267552012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
26756
26757 [BZ #5805]
26758 * manual/arith.texi (scalbn): Use @var{} on parameter names.
26759 (scalbnf): Likewise.
26760 (scalbnl): Likewise.
26761 (scalbln): Likewise.
26762 (scalblnf): Likewise.
26763 (scalblnl): Likewise.
26764 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
26765 (vwarnx): Likewise.
26766 (verr): Likewise.
26767 (verrx): Likewise.
26768 * manual/filesys.texi (telldir): Use braces around return type.
26769 * manual/llio.texi (mmap): Add space after comma.
26770 (mmap64): Likewise.
26771 * manual/math.texi (jn): Use @var{} on parameter names.
26772 (jnf): Likewise.
26773 (jnl): Likewise.
26774 (yn): Likewise.
26775 (ynf): Likewise.
26776 (ynl): Likewise.
26777 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
26778 line.
26779 * manual/resource.texi (ulimit): Use @dots{} instead of literal
26780 "...".
26781 (sched_get_priority_min): Remove semicolon on @deftypefun line.
26782 (sched_get_priority_max): Likewise.
26783 * manual/signal.texi (sigvec): Add space after comma.
26784 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
26785 names.
26786 (if_indextoname): Likewise.
26787 (if_freenameindex): Likewise.
26788 (sendto): Use ',' instead of '.' in prototype.
26789 * manual/startup.texi (syscall): Use @dots{} instead of literal
26790 "...".
26791 * manual/stdio.texi (__fpending): Separate initial words of
26792 paragraph from @deftypefun line.
26793 * manual/syslog.texi (syslog): Use @dots{} instead of literal
26794 "...".
26795 (vsyslog): Use @var{} on parameter names.
26796 * manual/terminal.texi (stty): Use @var{} on parameter names.
26797 * manual/users.texi (getutmp): Use @var{} on parameter names.
26798 (getutmpx): Likewise.
26799
5b23062f
JM
268002012-02-17 Joseph Myers <joseph@codesourcery.com>
26801
26802 [BZ #6884]
26803 * manual/stdio.texi (fopen): Fix typos in description of
26804 ",ccs=STRING".
26805
8dee4833
AJ
268062012-02-17 Aurelien Jarno <aurelien@aurel32.net>
26807
26808 [BZ #4026]
26809 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
26810 get clock_id definition.
26811
9078ce93
TS
268122012-02-17 Thomas Schwinge <thomas@schwinge.name>
26813
26814 [BZ #4822]
26815 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
26816 (madvise): Cast every argument to void on its own.
26817
3835c55f
JM
268182012-02-17 Joseph Myers <joseph@codesourcery.com>
26819
26820 [BZ #9902]
26821 * manual/startup.texi (Exit Status): Fix typo.
26822
35c47e37
JM
268232012-02-17 Joseph Myers <joseph@codesourcery.com>
26824
26825 [BZ #10140]
26826 * manual/examples/argp-ex1.c: Include <stdlib.h>.
26827 * manual/examples/argp-ex2.c: Likewise.
26828 * manual/examples/argp-ex3.c: Likewise.
26829
e3b69ca7
RH
268302012-02-16 Richard Henderson <rth@redhat.com>
26831
26832 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
26833 * sysdeps/s390/s390-32/initfini.c: Remove.
26834 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
26835 * sysdeps/s390/s390-64/initfini.c: Remove.
26836
df83af67
KK
268372012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26838
26839 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
26840 compiler output for sysdeps/generic/initfini.c.
26841 * sysdeps/sh/elf/initfini.c: Remove file.
26842
f63f3380
DM
268432012-02-16 David S. Miller <davem@davemloft.net>
26844
fb59b3a4
DM
26845 [BZ #11494]
26846 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
26847
f63f3380
DM
26848 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
26849 * sysdeps/sparc/crti.S: New file.
26850 * sysdeps/sparc/crtn.S: New file.
26851 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
26852 * sysdeps/sparc/sparc64/Makefile: Likewise.
26853
df6a4a4a
MF
268542012-02-15 Mike Frysinger <vapier@gentoo.org>
26855
6dd8f3dc 26856 [BZ #3335]
df6a4a4a
MF
26857 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
26858
1cac7236
RM
268592012-02-15 Roland McGrath <roland@hack.frob.com>
26860
d2c736f8
RM
26861 [BZ #4822]
26862 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
26863
1cac7236
RM
26864 * mach/devstream.c (cookie_io_functions_t): Macro removed.
26865 (write, read, close): Likewise.
26866 Patch by Aurelien Jarno <aurelien@aurel32.net>.
26867
8e475601
JM
268682012-02-15 Joseph Myers <joseph@codesourcery.com>
26869
26870 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
26871 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
26872 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
26873 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
26874 <bits/signalfd.h>.
26875 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
26876 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26877 bits/signalfd.h.
26878
ed656b40
MP
268792012-02-14 Marek Polacek <polacek@redhat.com>
26880
26881 * sysdeps/x86_64/crti.S: New file.
26882 * sysdeps/x86_64/crtn.S: New file.
26883 * sysdeps/x86_64/elf/initfini.c: Remove file.
26884
2a979d3a
JM
268852012-02-13 Joseph Myers <joseph@codesourcery.com>
26886
26887 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
26888 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
26889 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
26890 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
26891 <bits/inotify.h>.
26892 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
26893 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26894 bits/inotify.h.
26895
2a418ac3
JM
268962012-02-13 Joseph Myers <joseph@codesourcery.com>
26897
26898 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
26899 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
26900 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
26901 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
26902 <bits/eventfd.h>.
26903 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
26904 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26905 bits/eventfd.h.
26906
fb779be7
TS
269072012-02-10 Thomas Schwinge <thomas@codesourcery.com>
26908
e19e83c5
RM
26909 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
26910 __feraiseexcept instead of feraiseexcept.
7c35ffed 26911
fb779be7
TS
26912 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
26913 nanosleep invocations.
26914 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
26915 strings, and add error checking for a nanosleep invocations.
26916
59ba27a6
PE
269172012-02-09 Paul Eggert <eggert@cs.ucla.edu>
26918
26919 Replace FSF snail mail address with URLs, as per GNU coding standards.
26920 Most of the snail mail addresses were wrong anyway, and omitting
26921 them makes the source code easier to maintain. Almost all of the
26922 changes are to license notices and to locale LC_IDENTIFICATION
26923 addresses, except for this one:
26924 * manual/libc.texinfo: In "Published by", give the FSF's URL,
26925 not its snail mail address.
26926
57b957eb
RH
269272012-02-09 Richard Henderson <rth@twiddle.net>
26928
af850b1c
RH
26929 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
26930 of kernel-features.h.
26931
57b957eb
RH
26932 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
26933
6b73181a
MP
269342012-02-08 Marek Polacek <polacek@redhat.com>
26935
26936 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
26937 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
26938 * sysdeps/gnu/_G_config.h: Likewise.
26939 * sysdeps/generic/_G_config.h: Likewise.
26940
26ecc33a
AS
269412012-02-08 Andreas Schwab <schwab@linux-m68k.org>
26942
6c6dbc63
AS
26943 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
26944 tests.
26945 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26946
e216c012
AS
26947 * sysdeps/powerpc/powerpc32/crti.S: New file.
26948 * sysdeps/powerpc/powerpc32/crtn.S: New file.
26949 * sysdeps/powerpc/powerpc64/crti.S: New file.
26950 * sysdeps/powerpc/powerpc64/crtn.S: New file.
26951
26ecc33a
AS
26952 * Makeconfig (have-initfini): Don't set.
26953 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
26954 * configure.in (nopic_initfini): Don't substitute.
26955 * config.h.in (HAVE_INITFINI): Don't #undef.
26956 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
26957 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
26958
3add8e13
JM
269592012-02-08 Joseph Myers <joseph@codesourcery.com>
26960
26961 Support crti.S and crtn.S provided directly by architectures.
26962 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
26963 [crti.S in sysdirs] (omit-deps): Likewise.
26964 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
26965 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
26966 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
26967 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
26968 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
26969 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
26970 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
26971 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
26972 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
26973 compiler output for sysdeps/generic/initfini.c.
26974 * sysdeps/i386/elf/Makefile: Remove file.
26975 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
26976
a22f12b4
MP
269772012-02-07 Marek Polacek <polacek@redhat.com>
26978
26979 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
26980 * sysdeps/gnu/_G_config.h: Likewise.
26981 * sysdeps/mach/hurd/_G_config.h: Likewise.
26982
148cf100
MP
269832012-02-07 Marek Polacek <polacek@redhat.com>
26984
26985 * math/Makefile (tests): Add tst-CMPLX2.
26986 * math/tst-CMPLX2.c: New file.
26987
cfdc0dd7
AS
269882012-02-07 Andreas Schwab <schwab@linux-m68k.org>
26989
84ba42c4
AS
26990 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26991
cfdc0dd7
AS
26992 * math/libm-test.inc (jn_test): Add missing L suffix.
26993
622c86f4
MP
269942012-02-06 Marek Polacek <polacek@redhat.com>
26995
26996 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
26997 * sysdeps/i386/fpu/e_powf.S: Likewise.
26998 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
26999 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
27000 * sysdeps/i386/fpu/e_acosh.S: Likewise.
27001 * sysdeps/i386/fpu/e_pow.S: Likewise.
27002 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
27003 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27004 * sysdeps/i386/fpu/s_expm1.S: Likewise.
27005 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
27006 * sysdeps/i386/fpu/e_log2.S: Likewise.
27007 * sysdeps/i386/fpu/e_log2l.S: Likewise.
27008 * sysdeps/i386/fpu/e_scalb.S: Likewise.
27009 * sysdeps/i386/fpu/e_powl.S: Likewise.
27010 * sysdeps/i386/fpu/s_log1p.S: Likewise.
27011 * sysdeps/i386/fpu/e_log10f.S: Likewise.
27012 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
27013 * sysdeps/i386/fpu/e_logl.S: Likewise.
27014 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
27015 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
27016 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
27017 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
27018 * sysdeps/i386/fpu/e_log2f.S: Likewise.
27019 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27020 * sysdeps/i386/fpu/e_log.S: Likewise.
27021 * sysdeps/i386/fpu/s_cexp.S: Likewise.
27022 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27023 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
27024 * sysdeps/i386/fpu/e_logf.S: Likewise.
27025 * sysdeps/i386/fpu/e_log10l.S: Likewise.
27026 * sysdeps/i386/fpu/e_atanh.S: Likewise.
27027 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
27028 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
27029 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
27030 * sysdeps/i386/fpu/e_log10.S: Likewise.
27031 * sysdeps/i386/fpu/s_frexp.S: Likewise.
27032 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27033 * sysdeps/i386/fpu/s_asinh.S: Likewise.
27034 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
27035 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27036 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
27037 * sysdeps/i386/asm-syntax.h: Likewise.
27038 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27039 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27040 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27041 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
27042 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
27043 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27044 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
27045 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
27046 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27047 * sysdeps/powerpc/sysdep.h: Likewise.
27048 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
27049 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
27050
d4a54ac6
JM
270512012-02-06 Joseph Myers <joseph@codesourcery.com>
27052
27053 [BZ #411]
27054 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
27055
314054ea
JM
270562012-02-06 Joseph Myers <joseph@codesourcery.com>
27057
27058 * sysdeps/i386/sysdep.h: Include <features.h>.
27059 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
27060 version.
27061
d8e0ca50
JM
270622012-02-05 Joseph Myers <joseph@codesourcery.com>
27063
27064 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
27065 Define.
27066 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
27067 LOAD_PIC_REG_STR.
27068
b1da7dd9
JM
270692012-02-03 Joseph Myers <joseph@codesourcery.com>
27070
27071 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
27072 (SETUP_PIC_REG): Use GET_PC_THUNK.
27073 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
27074 macro.
27075
9a1d9254
JM
270762012-02-03 Joseph Myers <joseph@codesourcery.com>
27077
27078 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
27079 for non-PIC compilation.
27080 (SETUP_PIC_REG): Add .p2align directive.
27081 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
27082 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
27083 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
27084 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
27085 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
27086 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
27087 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
27088 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
27089 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27090 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27091 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27092 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27093 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27094 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27095 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
27096 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
27097 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
27098 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
27099 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
27100 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
27101 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
27102 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
27103 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
27104 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
27105 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
27106 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
27107 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27108 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
27109 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
27110 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
27111 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
27112 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27113 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
27114 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
27115 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
27116 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
27117 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
27118 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
27119 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
27120 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
27121 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
27122
65dc3b75
JM
271232012-02-03 Joseph Myers <joseph@codesourcery.com>
27124
27125 * math/tst-CMPLX.c: Include <stdio.h>.
27126
d55bf177
JM
271272012-01-31 Joseph Myers <joseph@codesourcery.com>
27128
27129 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
27130 float.
27131 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
27132 * sysdeps/sparc/bits/mathdef.h: Likewise.
27133
69db4f8f
MP
271342012-01-31 Marek Polacek <polacek@redhat.com>
27135
27136 * libio/libio.h: Don't define _PARAMS.
27137 * locale/programs/config.h: Don't define PARAMS.
27138 * stdlib/strtol_l.c: Likewise.
27139 (__strtol_l): Remove PARAMS from the prototype.
27140
41b81892
UD
271412012-01-31 Ulrich Drepper <drepper@gmail.com>
27142
3b49edc0
UD
27143 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
27144 names. Just use the correct names. Remove unnecessary wrapper
27145 functions.
27146 * malloc/arena.c: Likewise.
27147 * malloc/hooks.c: Likewise.
27148
41b81892
UD
27149 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
27150 ARENA_TEST says not to. Simplify test for creation of a new arena.
27151 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
27152
27a25b6e
UD
271532012-01-30 Ulrich Drepper <drepper@gmail.com>
27154
27155 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
27156 into tail calls.
27157 (update_get_addr): New function.
27158 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
27159 GET_ADDR_MODULE parameter.
27160
c8a89e7d
JM
271612012-01-30 Joseph Myers <joseph@codesourcery.com>
27162
27163 * crypt/cert.c: Remove __STDC__ conditionals.
27164 * crypt/crypt-entry.c: Likewise.
27165 * crypt/crypt_util.c: Likewise.
27166 * libio/filedoalloc.c: Likewise.
27167 * libio/fileops.c: Likewise.
27168 * libio/genops.c: Likewise.
27169 * libio/iofclose.c: Likewise.
27170 * libio/iofdopen.c: Likewise.
27171 * libio/iofopen.c: Likewise.
27172 * libio/iofopen64.c: Likewise.
27173 * libio/iogetdelim.c: Likewise.
27174 * libio/iopopen.c: Likewise.
27175 * libio/obprintf.c: Likewise.
27176 * libio/oldfileops.c: Likewise.
27177 * libio/oldiofclose.c: Likewise.
27178 * libio/oldiofdopen.c: Likewise.
27179 * libio/oldiofopen.c: Likewise.
27180 * libio/oldiopopen.c: Likewise.
27181 * libio/wfiledoalloc.c: Likewise.
27182 * libio/wgenops.c: Likewise.
27183 * locale/programs/xmalloc.c: Likewise.
27184 * misc/syslog.c: Likewise.
27185 * stdio-common/xbug.c: Likewise.
27186 * string/memchr.c: Likewise.
27187 * string/memcmp.c: Likewise.
27188 * string/memrchr.c: Likewise.
27189 * string/rawmemchr.c: Likewise.
27190 * sysdeps/posix/getcwd.c: Likewise.
27191 * time/strftime_l.c: Likewise.
27192
3b100462
JM
271932012-01-30 Joseph Myers <joseph@codesourcery.com>
27194
27195 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
27196 * config.make.in (config-cflags-sse2avx): Define.
27197 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
27198 Fix typo.
27199
607998af
CM
272002012-01-29 Chris Metcalf <cmetcalf@tilera.com>
27201
27202 * scripts/config.guess: Update from upstream config git repository.
27203 * scripts/config.sub: Likewise.
27204
3601428f
CM
272052012-01-28 Chris Metcalf <cmetcalf@tilera.com>
27206
3ac8b282
CM
27207 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
27208 (EM_NUM): Update.
27209 (R_TILEPRO_*, R_TILEGX_*): New macros.
27210
e034841e
CM
27211 * scripts/firstversions.awk: Fix bug in version range handling.
27212
540d7568
CM
27213 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
27214
3601428f
CM
27215 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
27216
463de862
CM
27217 * include/sys/epoll.h: New file.
27218 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
27219 libc_hidden_def.
27220
73139a76
UD
272212012-01-28 Ulrich Drepper <drepper@gmail.com>
27222
96bc5b45
UD
27223 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
27224 Avoid unnecessary __WORDSIZE == 64 test.
27225 (fmaxf): Use VEX format if possible.
27226 (fmax): Likewise.
27227 (fminf): Likewise.
27228 (fmin): Likewise.
27229
56f6f6a2
UD
27230 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
27231 * math/math_private.h: Remove libc_fegetround* and
27232 libc_fesetround*.
27233 * sysdeps/i386/configure.in: Check for -msse2avx.
27234 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
27235 also if SSE2AVX is defined.
27236 Remove libc_fegetround* and libc_fesetround*.
27237 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
27238 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
27239 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
27240 of HAS_YMM_USABLE.
27241 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27242 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27243 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27244 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27245 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27246
73139a76
UD
27247 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
27248
d73f93a4
AZ
272492012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27250
27251 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
27252 size is not set.
27253 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
27254
6ee65ed6
UD
272552012-01-27 Ulrich Drepper <drepper@gmail.com>
27256
27257 [BZ #13618]
27258 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
27259 relocation.
27260 * Makeconfig (libm): Define.
27261 * elf/Makefile: Add rules to build and run tst-relsort1.
27262 * elf/tst-relsort1.c: New file.
27263 * elf/tst-relsort1mod1.c: New file.
27264 * elf/tst-relsort1mod2.c: New file.
27265
8db21882
JM
272662012-01-27 Joseph Myers <joseph@codesourcery.com>
27267
27268 * math/s_ldexp.c: Remove __STDC__ conditionals.
27269 * math/s_ldexpf.c: Likewise.
27270 * math/s_ldexpl.c: Likewise.
27271 * math/s_nextafter.c: Likewise.
27272 * math/s_nexttowardf.c: Likewise.
27273 * math/s_significand.c: Likewise.
27274 * math/s_significandf.c: Likewise.
27275 * math/s_significandl.c: Likewise.
27276 * math/w_jnl.c: Likewise.
27277 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
27278 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
27279 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
27280 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
27281 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
27282 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27283 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
27284 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
27285 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27286 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
27287 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
27288 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27289 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
27290 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
27291 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
27292 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
27293 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
27294 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
27295 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27296 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27297 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27298 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
27299 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
27300 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27301 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
27302 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
27303 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
27304 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
27305 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
27306 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
27307 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
27308 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
27309 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
27310 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
27311 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
27312 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
27313 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
27314 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
27315 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
27316 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
27317 * sysdeps/ieee754/k_standard.c: Likewise.
27318 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27319 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
27320 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
27321 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
27322 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
27323 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
27324 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
27325 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
27326 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
27327 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
27328 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
27329 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
27330 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
27331 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
27332 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
27333 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
27334 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
27335 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
27336 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
27337 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
27338 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27339 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
27340 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
27341 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
27342 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
27343 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
27344 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27345 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27346 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27347 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
27348 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
27349 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
27350 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
27351 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
27352 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
27353 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
27354 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
27355 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
27356 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
27357 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
27358 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
27359 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
27360 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
27361 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
27362 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
27363 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
27364 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
27365 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
27366 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
27367 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
27368 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
27369 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
27370 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27371 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
27372 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
27373 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
27374 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
27375 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27376 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27377 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27378 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
27379 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
27380 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
27381 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
27382 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
27383 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
27384 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
27385 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
27386 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
27387 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
27388 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
27389 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
27390 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
27391 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
27392 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
27393 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
27394 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
27395 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
27396 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
27397 * sysdeps/ieee754/s_matherr.c: Likewise.
27398 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
27399 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
27400 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27401 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
27402
965a54a4
JM
274032012-01-26 Joseph Myers <joseph@codesourcery.com>
27404
27405 * crypt/md5.h: Remove __STDC__ conditionals.
27406 * libio/libioP.h: Likewise.
27407 * locale/programs/config.h: Likewise.
27408 * sysdeps/generic/sysdep.h: Likewise.
27409 * sysdeps/i386/asm-syntax.h: Likewise.
27410 * sysdeps/s390/asm-syntax.h: Likewise.
27411 * sysdeps/unix/sysdep.h: Likewise.
27412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
27413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27414
7071ad79
JM
274152012-01-26 Joseph Myers <joseph@codesourcery.com>
27416
27417 * libio/libio.h: Remove __STDC__ conditionals.
27418 * malloc/obstack.h: Likewise.
27419 * math/complex.h: Likewise.
27420 * math/math.h: Likewise.
27421 * sysdeps/generic/_G_config.h: Likewise.
27422 * sysdeps/gnu/_G_config.h: Likewise.
27423 * sysdeps/mach/hurd/_G_config.h: Likewise.
27424 * sysdeps/powerpc/bits/mathdef.h: Likewise.
27425 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
27426 * sysdeps/sparc/bits/mathdef.h: Likewise.
27427
afc5ed09
UD
274282012-01-26 Ulrich Drepper <drepper@gmail.com>
27429
27430 [BZ #13583]
27431 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 27432 Clean up HAS_* macros.
afc5ed09 27433 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
27434 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
27435 possible.
27436 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
27437 HAS_AVX.
27438 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27439 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27440 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27441 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27442 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 27443
bdb6de1d
JM
274442012-01-25 Joseph Myers <joseph@codesourcery.com>
27445
27446 * elf/tst-unique3.cc (gets): Remove declaration.
27447 * elf/tst-unique3lib.cc (gets): Likewise.
27448 * elf/tst-unique3lib2.cc (gets): Likewise.
27449 * elf/tst-unique4.cc (gets): Likewise.
27450
b15549e6
UD
274512012-01-24 Ulrich Drepper <drepper@gmail.com>
27452
27453 * include/stdio.h: Add C++ protection. Add gets declarations and
27454 definitions.
27455 * debug/tst-chk1.c: Don't declare gets here.
27456 * stdio-common/tst-gets.c: Likewise.
27457
a037381f
JM
274582012-01-24 Joseph Myers <joseph@codesourcery.com>
27459
27460 * posix/glob: Remove directory.
27461
f1d4aa75
JM
274622012-01-24 Joseph Myers <joseph@codesourcery.com>
27463
27464 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
27465
81c0c964
PT
274662012-01-22 Pino Toscano <toscano.pino@tiscali.it>
27467
27468 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
27469 of the non-standard EPFNOSUPPORT.
27470
0ea698ae
ST
274712011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
27472
27473 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
27474 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
27475 ANYWHERE set to 1 only on KERN_NO_SPACE error.
27476
d220b117
UD
274772012-01-21 Ulrich Drepper <drepper@gmail.com>
27478
27479 * wcsmbs/uchar.h: Test __STDC_VERSION__.
27480
3e1aa84e
UD
274812012-01-20 Ulrich Drepper <drepper@gmail.com>
27482
27483 * nscd/aicache.c (addhstaiX): Do not cache negative results of
27484 transient errors.
27485 * nscd/grpcache.c (cache_addgr): Likewise.
27486 * nscd/hstcache.c (cache_addhst): Likewise.
27487 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27488 * nscd/pwdcache.c (cache_addpw): Likewise.
27489 * nscd/servicescache.c (cache_addserv): Likewise.
27490
400aa020
UD
274912012-01-16 Ulrich Drepper <drepper@gmail.com>
27492
d77e7869
UD
27493 * malloc/malloc.c: Various cleanups.
27494 * malloc/hooks.c: Likewise.
27495
400aa020
UD
27496 * stdlib/Makefile (tests): Add bug-fmtmsg1.
27497 * stdlib/bug-fmtmsg1.c: New file.
27498
27499 * stdlib/fmtmsg.c (init): Add missing unlock.
27500 Patch by Peng Haitao <penght@cn.fujitsu.com>.
27501
e0a309cf
MP
275022012-01-12 Marek Polacek <polacek@redhat.com>
27503
27504 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
27505 and _GNU_SOURCE.
27506
929d11c7
WS
275072012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
27508
27509 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
27510 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
27511 macro to ensure uniqueness of label name.
27512 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
27513 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
27514
41d0e869
UD
275152012-01-11 Ulrich Drepper <drepper@gmail.com>
27516
0cc5ed3b
UD
27517 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
27518
41d0e869
UD
27519 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
27520 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
27521 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
27522 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
27523
a47a831a
UD
275242012-01-10 Ulrich Drepper <drepper@gmail.com>
27525
daa891c0
UD
27526 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
27527
27528 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
27529 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
27530 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
27531
e58ef0f2
UD
27532 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
27533
a47a831a 27534 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
27535 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
27536 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 27537 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
27538
27539 * math/bits/math-finite.h: Add ldexp support.
27540
a0bfc9c7
MP
275412012-01-10 Marek Polacek <polacek@redhat.com>
27542
27543 * locale/programs/localedef.h (show_archive_content): Add noreturn
27544 attribute.
27545
d6e97a1d
UD
275462012-01-09 Ulrich Drepper <drepper@gmail.com>
27547
27548 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
27549
d5835c26
UD
275502012-01-08 Ulrich Drepper <drepper@gmail.com>
27551
e5f484c6
UD
27552 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
27553
d5835c26
UD
27554 * io/Makefile (headers): Add bits/poll2.h.
27555
d1f741e9
WS
275562011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
27557
27558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
27559 typo #include statement.
27560
ec09c1c4
UD
275612012-01-08 Ulrich Drepper <drepper@gmail.com>
27562
27563 * include/sys/cdefs.h: Define __attribute_alloc_size.
27564 * catgets/gencat.c: Add alloc_size attribute and apply consistently
27565 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
27566 * elf/pldd.c: Likewise.
27567 * iconv/iconv_charmap.c: Likewise.
27568 * iconv/iconvconfig.c: Likewise.
27569 * iconv/strtab.c: Likewise.
27570 * locale/programs/locale.c: Likewise.
27571 * locale/programs/localedef.h: Likewise.
27572 * locale/programs/simple-hash.c: Likewise.
27573 * nscd/nscd.h: Likewise.
27574 * nss/makedb.c: Likewise.
27575 * sysdeps/generic/ldconfig.h: Likewise.
27576 * locale/programs/localedef.c: Remove xmalloc prototype.
27577 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
27578
20b38e03
PP
275792012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
27580
27581 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
27582 appropriate.
27583
a0da5fe1
UD
275842012-01-08 Ulrich Drepper <drepper@gmail.com>
27585
1d5a644a 27586 * math/Makefile (tests): Add tst-CMPLX.
669704fd 27587 * math/tst-CMPLX.c: New file.
1d5a644a 27588
8784a6db
UD
27589 * math/complex.h (CMPLXL): Fix typo.
27590
d9a216c0
UD
27591 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
27592 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
27593 GLIBC_2.16.
27594 * debug/tst-chk1.c: Add poll and ppoll tests.
27595 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
27596 * include/sys/poll.h: Add hidden proto for ppoll.
27597 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
27598 * sysdeps/mach/hurd/ppoll.c: Likewise.
27599 * io/ppoll.c: Likewise.
27600 * debug/poll_chk.c: New file.
27601 * debug/ppoll_chk.c: New file.
27602 * include/bits/poll2.h: New file.
27603 * io/bits/poll2.h: New file.
27604
ac097f5c
UD
27605 [BZ #1350]
27606 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
27607
2119dcfa
UD
27608 * configure.in: static is always set to yes. Remove.
27609 * config.make.in: Don't set build-static.
27610 * Makeconfig: Remove use of build-static.
27611 * dlfcn/Makefile: Likewise.
27612 * elf/Makefile: Likewise.
27613 * math/Makefile: Likewise.
27614 * misc/Makefile: Likewise.
27615 * nptl/Makefile: Likewise.
27616 * sysdeps/mach/hurd/Makefile: Likewise.
27617
121766a9
UD
27618 * configure.in: PWD_P is not used anymore.
27619 * config.make.in: Remove PWD_P entry.
27620
51a1d39c 27621 * configure.in: Remove last remnants of RANLIB.
8720d066 27622 No need to check for signed size_t anymore.
215f4bdc
UD
27623 Don't set libc_commonpagesize and libc_relro_required here for Alpha
27624 and IA-64.
3857022a 27625 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
27626 * aclocal.m4: Likewise.
27627
d3ed7225
UD
27628 * wcsmbs/mbrtoc16.c: Implement using towc function.
27629 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
27630 * wcsmbs/wcsmbsload.c: Likewise.
27631 * iconv/gconv_simple.c: Likewise.
27632 * iconv/gconv_int.h: Likewise.
27633 * iconv/gconv_builtin.h: Likewise.
27634 * iconv/iconv_prog.c: Remove CHAR16 handling.
27635
27636 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
27637
27638 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
27639
a0da5fe1
UD
27640 * configure.in: Remove --with-elf and --enable-bounded options.
27641 Dont set base_machine for ia64. More non-ELF conditions removed.
27642 Remove testing and setting of leading underscore information.
27643 * config.make.in (build-bounded): Set to no.
27644 * config.h.in: Remove NO_UNDERSCORES entry.
27645 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
27646 them.
27647 * csu/start.c: Remove !NO_UNDERSCORE code.
27648 * locale/localeinfo.h: Likewise.
27649 * sysdeps/generic/machine-gmon.h: Likewise.
27650 * sysdeps/generic/sysdep.h: Likewise.
27651 * sysdeps/i386/sysdep.h: Likewise.
27652 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
27653 * sysdeps/mach/sysdep.h: Likewise.
27654 * sysdeps/s390/s390-32/sysdep.h: Likewise.
27655 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27656 * sysdeps/sh/sysdep.h: Likewise.
27657 * sysdeps/sparc/sparc32/alloca.S: Likewise.
27658 * sysdeps/unix/i386/sysdep.S: Likewise.
27659 * sysdeps/unix/sparc/start.c: Likewise.
27660 * sysdeps/unix/sparc/sysdep.S: Likewise.
27661 * sysdeps/unix/sparc/sysdep.h: Likewise.
27662 * sysdeps/unix/start.c: Likewise.
27663 * sysdeps/unix/x86_64/sysdep.S: Likewise.
27664 * sysdeps/x86_64/sysdep.h: Likewise.
27665
df78418a
UD
276662012-01-07 Ulrich Drepper <drepper@gmail.com>
27667
a784e502
UD
27668 [BZ #13553]
27669 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
27670 for non-gcc.
27671 * argp/argp-fmtstream.h: Use const instead __const.
27672 * argp/argp.h: Likewise.
27673 * assert/assert.h: Likewise.
27674 * bits/fenv.h: Likewise.
27675 * bits/sched.h: Likewise.
27676 * bits/sigset.h: Likewise.
27677 * bits/sigthread.h: Likewise.
27678 * catgets/nl_types.h: Likewise.
27679 * conform/data/pthread.h-data: Likewise.
27680 * crypt/crypt-private.h: Likewise.
27681 * crypt/crypt.h: Likewise.
27682 * crypt/crypt_util.c: Likewise.
27683 * ctype/ctype.h: Likewise.
27684 * debug/execinfo.h: Likewise.
27685 * debug/mbsnrtowcs_chk.c: Likewise.
27686 * debug/mbsrtowcs_chk.c: Likewise.
27687 * debug/wcsnrtombs_chk.c: Likewise.
27688 * debug/wcsrtombs_chk.c: Likewise.
27689 * debug/wcstombs_chk.c: Likewise.
27690 * dirent/dirent.h: Likewise.
27691 * dlfcn/dlfcn.h: Likewise.
27692 * elf/neededtest4.c: Likewise.
27693 * grp/grp.h: Likewise.
27694 * gshadow/gshadow.h: Likewise.
27695 * iconv/gconv.h: Likewise.
27696 * iconv/gconv_int.h: Likewise.
27697 * iconv/gconv_simple.c: Likewise.
27698 * iconv/iconv.h: Likewise.
27699 * iconv/loop.c: Likewise.
27700 * iconv/skeleton.c: Likewise.
27701 * include/aio.h: Likewise.
27702 * include/aliases.h: Likewise.
27703 * include/argz.h: Likewise.
27704 * include/arpa/inet.h: Likewise.
27705 * include/assert.h: Likewise.
27706 * include/dirent.h: Likewise.
27707 * include/dlfcn.h: Likewise.
27708 * include/execinfo.h: Likewise.
27709 * include/fcntl.h: Likewise.
27710 * include/fenv.h: Likewise.
27711 * include/glob.h: Likewise.
27712 * include/grp.h: Likewise.
27713 * include/libintl.h: Likewise.
27714 * include/mntent.h: Likewise.
27715 * include/netdb.h: Likewise.
27716 * include/pwd.h: Likewise.
27717 * include/rpc/netdb.h: Likewise.
27718 * include/sched.h: Likewise.
27719 * include/search.h: Likewise.
27720 * include/shadow.h: Likewise.
27721 * include/signal.h: Likewise.
27722 * include/stdio.h: Likewise.
27723 * include/stdlib.h: Likewise.
27724 * include/string.h: Likewise.
27725 * include/sys/socket.h: Likewise.
27726 * include/sys/stat.h: Likewise.
27727 * include/sys/statfs.h: Likewise.
27728 * include/sys/statvfs.h: Likewise.
27729 * include/sys/syslog.h: Likewise.
27730 * include/sys/time.h: Likewise.
27731 * include/sys/uio.h: Likewise.
27732 * include/time.h: Likewise.
27733 * include/unistd.h: Likewise.
27734 * include/utmp.h: Likewise.
27735 * include/wchar.h: Likewise.
27736 * include/wctype.h: Likewise.
27737 * inet/aliases.h: Likewise.
27738 * inet/arpa/inet.h: Likewise.
27739 * inet/netinet/ether.h: Likewise.
27740 * inet/netinet/in.h: Likewise.
27741 * intl/libintl.h: Likewise.
27742 * io/bits/fcntl2.h: Likewise.
27743 * io/fcntl.h: Likewise.
27744 * io/ftw.h: Likewise.
27745 * io/sys/poll.h: Likewise.
27746 * io/sys/stat.h: Likewise.
27747 * io/sys/statfs.h: Likewise.
27748 * io/sys/statvfs.h: Likewise.
27749 * io/utime.h: Likewise.
27750 * libio/bits/stdio.h: Likewise.
27751 * libio/bits/stdio2.h: Likewise.
27752 * libio/libio.h: Likewise.
27753 * libio/libioP.h: Likewise.
27754 * libio/stdio.h: Likewise.
27755 * locale/lc-ctype.c: Likewise.
27756 * locale/locale.h: Likewise.
27757 * login/utmp.h: Likewise.
27758 * malloc/arena.c: Likewise.
27759 * malloc/malloc.c: Likewise.
27760 * malloc/malloc.h: Likewise.
27761 * malloc/mcheck.c: Likewise.
27762 * malloc/mtrace.c: Likewise.
27763 * math/bits/mathcalls.h: Likewise.
27764 * math/fenv.h: Likewise.
27765 * math/math_private.h: Likewise.
27766 * misc/bits/error.h: Likewise.
27767 * misc/bits/syslog.h: Likewise.
27768 * misc/err.h: Likewise.
27769 * misc/error.h: Likewise.
27770 * misc/fstab.h: Likewise.
27771 * misc/mntent.h: Likewise.
27772 * misc/regexp.h: Likewise.
27773 * misc/search.h: Likewise.
27774 * misc/sgtty.h: Likewise.
27775 * misc/sys/mman.h: Likewise.
27776 * misc/sys/syslog.h: Likewise.
27777 * misc/sys/uio.h: Likewise.
27778 * misc/sys/xattr.h: Likewise.
27779 * misc/ttyent.h: Likewise.
27780 * nis/rpcsvc/ypclnt.h: Likewise.
27781 * nss/nss.h: Likewise.
27782 * posix/bits/unistd.h: Likewise.
27783 * posix/fnmatch.h: Likewise.
27784 * posix/glob.h: Likewise.
27785 * posix/sched.h: Likewise.
27786 * posix/spawn.h: Likewise.
27787 * posix/sys/wait.h: Likewise.
27788 * posix/unistd.h: Likewise.
27789 * posix/wordexp.h: Likewise.
27790 * pwd/pwd.h: Likewise.
27791 * resolv/netdb.h: Likewise.
27792 * resource/sys/resource.h: Likewise.
27793 * rt/aio.h: Likewise.
27794 * rt/bits/mqueue2.h: Likewise.
27795 * rt/mqueue.h: Likewise.
27796 * shadow/shadow.h: Likewise.
27797 * signal/signal.h: Likewise.
27798 * socket/send.c: Likewise.
27799 * socket/sendto.c: Likewise.
27800 * socket/sys/socket.h: Likewise.
27801 * stdio-common/printf.h: Likewise.
27802 * stdlib/bits/stdlib.h: Likewise.
27803 * stdlib/fmtmsg.h: Likewise.
27804 * stdlib/monetary.h: Likewise.
27805 * stdlib/stdlib.h: Likewise.
27806 * stdlib/ucontext.h: Likewise.
27807 * streams/stropts.h: Likewise.
27808 * string/argz.h: Likewise.
27809 * string/bits/string2.h: Likewise.
27810 * string/string.h: Likewise.
27811 * string/strings.h: Likewise.
27812 * sunrpc/rpc/auth.h: Likewise.
27813 * sunrpc/rpc/auth_des.h: Likewise.
27814 * sunrpc/rpc/clnt.h: Likewise.
27815 * sunrpc/rpc/netdb.h: Likewise.
27816 * sunrpc/rpc/pmap_clnt.h: Likewise.
27817 * sunrpc/rpc/xdr.h: Likewise.
27818 * sysdeps/generic/inttypes.h: Likewise.
27819 * sysdeps/generic/net/if.h: Likewise.
27820 * sysdeps/generic/sys/swap.h: Likewise.
27821 * sysdeps/gnu/net/if.h: Likewise.
27822 * sysdeps/gnu/utmpx.h: Likewise.
27823 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
27824 * sysdeps/i386/i486/bits/string.h: Likewise.
27825 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
27826 * sysdeps/s390/bits/string.h: Likewise.
27827 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
27828 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
27829 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
27830 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
27831 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
27832 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
27833 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
27834 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
27835 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
27836 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
27837 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
27838 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
27839 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
27840 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
27841 * sysdeps/unix/sysv/linux/readv.c: Likewise.
27842 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
27843 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
27844 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27845 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
27846 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
27847 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
27848 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
27849 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
27850 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
27851 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
27852 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
27853 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
27854 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
27855 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
27856 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
27857 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
27858 * sysvipc/sys/ipc.h: Likewise.
27859 * sysvipc/sys/msg.h: Likewise.
27860 * sysvipc/sys/sem.h: Likewise.
27861 * sysvipc/sys/shm.h: Likewise.
27862 * termios/termios.h: Likewise.
27863 * time/sys/time.h: Likewise.
27864 * time/time.h: Likewise.
27865 * wcsmbs/bits/wchar2.h: Likewise.
27866 * wcsmbs/uchar.h: Likewise.
27867 * wcsmbs/wchar.h: Likewise.
27868 * wctype/wctype.h: Likewise.
27869
0269750c
UD
27870 [BZ #13551]
27871 * Makeconfig: Remove all but ELF support including AIX support.
27872 * Makerules: Likewise.
27873 * config.h.in: Likewise.
27874 * config.make.in: Likewise.
27875 * configure: Likewise.
27876 * configure.in: Likewise.
27877 * csu/Makefile: Likewise.
27878 * csu/version.c: Likewise.
27879 * debug/Makefile: Likewise.
27880 * dlfcn/Makefile: Likewise.
27881 * elf/Makefile: Likewise.
27882 * extra-lib.mk: Likewise.
27883 * iconv/Makefile: Likewise.
27884 * include/libc-symbols.h: Likewise.
27885 * include/shlib-compat.h: Likewise.
27886 * resolv/Makefile: Likewise.
27887 * resolv/res_libc.c: Likewise.
27888 * rt/Makefile: Likewise.
27889 * sysdeps/i386/asm-syntax.h: Likewise.
27890 * sysdeps/i386/sysdep.h: Likewise.
27891 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
27892 * sysdeps/mach/sysdep.h: Likewise.
27893 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
27894 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
27895 * sysdeps/s390/asm-syntax.h: Likewise.
27896 * sysdeps/s390/s390-32/sysdep.h: Likewise.
27897 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27898 * sysdeps/sh/sysdep.h: Likewise.
27899 * sysdeps/unix/sparc/sysdep.h: Likewise.
27900 * sysdeps/wordsize-32/divdi3.c: Likewise.
27901 * sysdeps/x86_64/sysdep.h: Likewise.
27902
00bbd29b
UD
27903 * argp/Versions: Remove _argp_unlock_xxx.
27904
27905 [BZ #13559]
27906 * abilist/ld.abilist: Update. Adjust for removal of tls option.
27907 * abilist/libBrokenLocale.abilist: Likewise.
27908 * abilist/libanl.abilist: Likewise.
27909 * abilist/libc.abilist: Likewise.
27910 * abilist/libcrypt.abilist: Likewise.
27911 * abilist/libdl.abilist: Likewise.
27912 * abilist/libm.abilist: Likewise.
27913 * abilist/libnsl.abilist: Likewise.
27914 * abilist/libpthread.abilist: Likewise.
27915 * abilist/libresolv.abilist: Likewise.
27916 * abilist/librt.abilist: Likewise.
27917 * abilist/libthread_db.abilist: Likewise.
27918 * abilist/libutil.abilist: Likewise.
27919 * abilist/libnss_db.abilist: New file.
27920
27921 * scripts/abilist.awk: Add support for indirect functions.
27922
a2693a0e
UD
27923 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
27924
3f05895f
UD
27925 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
27926
ecb6fb48
UD
27927 * shlib-versions: Remove entries for ports architectures.
27928
664f8cb9
UD
27929 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
27930 files in ports.
27931 * elf/stackguard-macros.h: Remove support for IA-64.
27932 * elf/tst-auditmod1.c: Likewise.
27933 * sysdeps/generic/ldsodefs.h: Likewise.
27934
7ae81d88
UD
27935 * sysdeps/unix/sysv/linux/configure.in: Ports should define
27936 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
27937 configure files.
27938
bdeba135
UD
27939 [BZ #13552]
27940 * configure.in: Remove --enable-omitfp support.
27941 * FAQ.in: Adjust.
27942 * config.make.in: Likewise.
27943 * Makeconfig: Likewise.
27944 * manual/install.texi: Likewise.
27945
d75a0a62
UD
27946 In case anyone cares, the IA-64 architecture could move to ports.
27947 * sysdeps/ia64/*: Removed.
27948 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 27949 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 27950
dcc9756b
UD
27951 [BZ #13555]
27952 * configure.in: Remove entries for unsupported architectures.
27953
d3761ebc 27954 [BZ #13533]
9954432e
UD
27955 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
27956 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
27957 routines.
27958 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
27959 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
27960 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
27961 fall back to using wcrtomb.
27962 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
27963 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
27964 renaming.
27965 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
27966 * wcsmbs/tst-c16c32-1.c: New file.
27967
27968 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
27969 local variable.
27970
c3a87236
UD
27971 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
27972
28926a1b
UD
27973 * elf/tst-unique3.cc: Add explicit declaration of gets.
27974 * elf/tst-unique3lib.cc: Likewise.
27975 * elf/tst-unique3lib2.cc: Likewise.
27976 * elf/tst-unique4.cc: Likewise.
27977
df78418a
UD
27978 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
27979
8ecd6b2a
JM
279802012-01-06 Joseph Myers <joseph@codesourcery.com>
27981
27982 [BZ #13566]
27983 * assert/assert.h (static_assert): Don't define for C++.
27984 * libio/stdio.h (gets): Do declare for C++ <= C++11.
27985 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
27986
9f115170
UD
279872012-01-03 Ulrich Drepper <drepper@gmail.com>
27988
5e0d0300
UD
27989 * iconv/loop.c (single loop): Fix assertion in storing of
27990 remaining bytes.
27991
9f115170
UD
27992 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
27993
81fb02b0
UD
279942012-01-01 Ulrich Drepper <drepper@gmail.com>
27995
27996 * posix/getconf.c: Update copyright year.
27997 * nss/getent.c: Likewise.
a316c1f6 27998 * nss/makedb.c: Likewise.
81fb02b0
UD
27999 * iconv/iconvconfig.c: Likewise.
28000 * iconv/iconv_prog.c: Likewise.
28001 * elf/ldconfig.c: Likewise.
a316c1f6
UD
28002 * elf/pldd.c: Likewise.
28003 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
28004 * catgets/gencat.c: Likewise.
28005 * csu/version.c: Likewise.
28006 * elf/ldd.bash.in: Likewise.
28007 * elf/sprof.c (print_version): Likewise.
28008 * locale/programs/locale.c: Likewise.
28009 * locale/programs/localedef.c: Likewise.
a316c1f6 28010 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
28011 * nscd/nscd.c (print_version): Likewise.
28012 * debug/xtrace.sh: Likewise.
28013 * malloc/memusage.sh: Likewise.
28014 * malloc/mtrace.pl: Likewise.
28015 * debug/catchsegv.sh: Likewise.
28016
2ba92745
JJ
280172011-12-30 Jakub Jelinek <jakub@redhat.com>
28018
28019 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
28020 pure attribute.
28021
dadebdae
UD
280222011-12-24 Ulrich Drepper <drepper@gmail.com>
28023
d3761ebc 28024 [BZ #13533]
db6af3eb
UD
28025 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
28026 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
28027 transformations.
28028 * iconv/gconv_int.h: Likewise.
28029 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
28030 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
28031 from libc for GLIBC_2.16.
28032 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
28033 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
28034 * wcsmbs/uchar.h: Really define mbstate_t.
28035 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
28036 * wcsmbs/c16rtomb.c: New file.
28037 * wcsmbs/mbrtoc16.c: New file.
28038 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
28039 for C/POSIX locale.
28040 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
28041 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
28042
dadebdae
UD
28043 * wcsmbs/wchar.h: Add missing __restrict.
28044
67371b56
UD
280452011-12-23 Ulrich Drepper <drepper@gmail.com>
28046
74033a25
UD
28047 [BZ #13532]
28048 * time/Makefile (routines): Add timespec_get.
28049 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
28050 * time/time.h: Define TIME_UTC and declare timespec_get. Define
28051 timespec for ISO C11.
28052 * time/timespec_get.c: New file.
28053 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
28054 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
28055
380d7e87
UD
28056 [BZ #13531]
28057 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
28058 * stdlib/stdlib.h: Declare aligned_alloc.
28059 * Versions.def: Add GLIBC_2.16 for libc.
28060 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
28061
4e9e7a35
UD
28062 [BZ 13527]
28063 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
28064 ISO C11.
28065
380d7e87 28066 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
28067 code.
28068
03a71829
UD
28069 [BZ #13528]
28070 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
28071
839e283e
UD
28072 [BZ #13529]
28073 * assert/assert.h (static_assert): Define.
28074
ce5294e2 28075 * version.h: Update for 2.16 development version.
90fa7312 28076
8d44e150 28077 [BZ #13526]
d7809905
UD
28078 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
28079 _ISOC11_SOURCE.
28080
c0da14cd
UD
28081 * version.h (RELEASE): Bump for 2.15 release.
28082 * include/features.h (__GLIBC_MINOR__): Bump to 15.
28083
530a3249
MP
28084 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
28085 Patch by Marek Polacek <mpolacek@redhat.com>.
28086
67371b56
UD
28087 * bits/byteswap.h: Protect long long constants with __extension__.
28088 * sysdeps/i386/bits/byteswap.h: Likewise.
28089 * sysdeps/ia64/bits/byteswap.h: Likewise.
28090 * sysdeps/s390/bits/byteswap.h: Likewise.
28091 * sysdeps/x86_64/bits/byteswap.h: Likewise.
28092
15db4de1
LD
280932011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28094
28095 [BZ #13540]
bbe315ea
LD
28096 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
28097 destination buffer.
15db4de1
LD
28098 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
28099
2b2596b1
MP
281002011-12-23 Marek Polacek <polacek@redhat.com>
28101
28102 * elf/dl-addr.c (determine_info): Add inline keyword.
28103 * elf/tst-auditmod4b.c (check_avx): Likewise.
28104 * elf/tst-auditmod6b.c (check_avx): Likewise.
28105 * elf/tst-auditmod6c.c (check_avx): Likewise.
28106 * elf/tst-auditmod7b.c (check_avx): Likewise.
28107
70c6c246
UD
281082011-12-23 Ulrich Drepper <drepper@gmail.com>
28109
28110 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
28111 !__SSE_MATH__.
28112
c044cf14
LD
281132011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28114
15db4de1 28115 [BZ #13540]
c044cf14
LD
28116 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
28117 processing for last bytes.
28118
6b13d9d9
BH
281192011-08-06 Bruno Haible <bruno@clisp.org>
28120
d455f537
BH
28121 [BZ #13061]
28122 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
28123 U+0385, not to U+1FEE.
28124
6b13d9d9
BH
28125 [BZ #13062]
28126 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
28127 entry for U+00A5 U+0301.
28128
db910efd
UD
281292011-12-22 Ulrich Drepper <drepper@gmail.com>
28130
27deeafc
UD
28131 [BZ #13166]
28132 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
28133 buffer for the output is too small.
28134
aed9d171
UD
28135 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
28136 optimization.
28137
db910efd
UD
28138 [BZ #13185]
28139 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
28140 SSE flags if possible.
28141
2bd779ae
LD
281422011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28143
e7f9dac3 28144 [BZ #13540]
2bd779ae
LD
28145 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
28146 processing for last bytes.
28147
154bfc16
JM
281482011-12-22 Joseph Myers <joseph@codesourcery.com>
28149
28150 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
28151 (syscall-list-default-options, syscall-list-default-condition)
28152 (syscall-list-includes): Define.
28153 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
28154 list of ABIs and options and #if conditions for each ABI. Do not
28155 handle common syscalls between ABIs specially.
28156 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
28157 Remove.
28158 (syscall-list-variants, syscall-list-32bit-options)
28159 (syscall-list-32bit-condition, syscall-list-64bit-options)
28160 (syscall-list-64bit-condition): Define.
28161 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
28162 (syscall-list-variants, syscall-list-32bit-options)
28163 (syscall-list-32bit-condition, syscall-list-64bit-options)
28164 (syscall-list-64bit-condition): Define.
28165 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
28166 Remove.
28167 (syscall-list-variants, syscall-list-32bit-options)
28168 (syscall-list-32bit-condition, syscall-list-64bit-options)
28169 (syscall-list-64bit-condition): Define.
28170 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
28171 Remove.
28172 (syscall-list-variants, syscall-list-32bit-options)
28173 (syscall-list-32bit-condition, syscall-list-64bit-options)
28174 (syscall-list-64bit-condition): Define.
28175
21eaf3a5
UD
281762011-12-22 Ulrich Drepper <drepper@gmail.com>
28177
16c6f992
UD
28178 * locale/iso-639.def: Add brx entry.
28179
41043168
UD
28180 [BZ #13328]
28181 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
28182 Proposed by Mariusz_Cukr <marcukr@op.pl>.
28183
21eaf3a5
UD
28184 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
28185 __feraiseexcept_renamed.
28186
e3a851a2
UD
281872011-12-21 Ulrich Drepper <drepper@gmail.com>
28188
4920765e
UD
28189 [BZ #13538]
28190 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
28191 EPOLLET with unsigned values.
28192 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
28193 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
28194
e3a851a2
UD
28195 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
28196 to large cancellation.
28197 * math/s_cacoshf.c: Likewise.
28198 * math/s_cacoshl.c: Likewise.
28199
b27e24b8
RK
282002011-11-18 Richard B. Kreckel <kreckel@ginac.de>
28201
28202 [BZ #13305]
aebefeee 28203 [BZ #12786]
b27e24b8
RK
28204 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
28205 * math/s_cacoshf.c: Likewise.
28206 * math/s_cacoshl.c: Likewise.
28207
ee190f67
UD
282082011-12-21 Ulrich Drepper <drepper@gmail.com>
28209
28210 [BZ #13439]
28211 * iconv/gconv.h: Define __GCONV_SWAP.
28212 * iconvdata/unicode.c: The swap bit must be stored in __flags.
28213 * iconvdata/utf-16.c: Likewise.
28214 * iconvdata/utf-32.c: Likewise.
28215
707f25df
AS
282162011-12-21 Andreas Schwab <schwab@linux-m68k.org>
28217
28218 [BZ #13524]
28219 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
28220 numerator after shifting it by one limb.
28221
d2daaa1e
RÁE
282222011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
28223
28224 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
28225 under [__USE_EXTERN_INLINES].
28226
a4647e72
UD
282272011-12-17 Ulrich Drepper <drepper@gmail.com>
28228
28229 [BZ #13446]
28230 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
28231
f0b264f1
AZ
282322011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28233
28234 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
28235 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
28236 optimized code.
28237 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
28238 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
28239 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
28240 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
28241 for strncasecmp/strncasecmp_l compilation.
28242 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
28243 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
28244
8ef4f244
MP
282452011-12-08 Marek Polacek <mpolacek@redhat.com>
28246
28247 [BZ #13484]
28248 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
28249 of __asm__.
28250
97ac2654
UD
282512011-12-17 Ulrich Drepper <drepper@gmail.com>
28252
28253 [BZ #13506]
28254 * time/tzfile.c (__tzfile_read): Check values from file header.
28255
91d2a845
WS
282562011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
28257
28258 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
28259 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
28260 * powerpc/powerpc32/dl-start.S: Likewise.
28261 * powerpc/powerpc32/elf/start.S: Likewise.
28262 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
28263 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
28264 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
28265 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
28266 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
28267 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
28268 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
28269 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
28270 * powerpc/powerpc32/fpu/s_round.S: Likewise.
28271 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
28272 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
28273 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
28274 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
28275 * powerpc/powerpc32/memset.S: Likewise.
28276 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
28277 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
28278 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
28279 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
28280 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
28281 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
28282 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
28283 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
28284 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
28285 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
28286 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
28287 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
28288 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
28289
a1267ba1
AZ
282902011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28291
28292 * math/libm-test.inc: Added more nearbyint tests.
28293 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
28294 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
28295 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
28296 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
28297
ad8ac1bd
RL
282982011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
28299
28300 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
28301 FD_CLOEXEC.
28302
1d3e4b61
UD
283032011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28304
28305 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
28306 Add wcscpy-ssse3 wcscpy-c.
28307 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
28308 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
28309 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
28310 * sysdeps/x86_64/wcschr.S: New file.
28311 * sysdeps/x86_64/wcsrchr.S: New file.
28312 * string/test-strcmp.c: Remove checking of wcscmp function for
28313 wrong alignments.
28314 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
28315 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
28316 wcsrchr-sse2 wcsrchr-c.
28317 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
28318 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
28319 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
28320 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
28321 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
28322 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
28323 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
28324 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
28325 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
28326 * wcsmbc/wcschr.c (WCSCHR): New macro.
28327
5b330a2d
UD
283282011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28329
28330 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
28331 * wcsmbs/test-wcsrchr.c: New file.
28332 * string/test-strrchr.c: Add wcsrchr support.
28333 (WIDE): New macro.
28334 * wcsmbs/test-wcscpy.c: New file.
28335 * string/test-strcpy.c: Add wcscpy support.
28336 (WIDE): New macro.
26428b7c 28337
f039c043
UD
283382011-12-10 Ulrich Drepper <drepper@gmail.com>
28339
28340 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
28341 the inner loop.
28342
850fb039
AS
283432011-12-06 Andreas Schwab <schwab@linux-m68k.org>
28344
28345 [BZ #13472]
28346 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
28347
4efbd5cb
UD
283482011-12-04 Ulrich Drepper <drepper@gmail.com>
28349
52ff5dd0 28350 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 28351 Minor optimizations.
52ff5dd0 28352
4efbd5cb
UD
28353 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
28354 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
28355 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
28356
8a426e12
UD
283572011-12-03 Ulrich Drepper <drepper@gmail.com>
28358
aff2453d
UD
28359 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
28360 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
28361 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
28362 for gcc to avoid warnings.
28363 * inet/Makefile (tests): Add tst-checks.
28364 * inet/tst-checks.c: New file.
28365
28366 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
28367 warning.
28368
28369 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
28370 __wmemcmp_sse2.
28371
28372 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
28373 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
28374
8a426e12
UD
28375 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
28376
9bea3473
UD
283772011-12-02 Ulrich Drepper <drepper@gmail.com>
28378
3a965496
UD
28379 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
28380 problem.
28381
9bea3473
UD
28382 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
28383
f101631b
UD
283842011-11-29 Joseph Myers <joseph@codesourcery.com>
28385
28386 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
28387 conditional on GCC version.
28388 (__arch_compare_and_exchange_val_8_acq)
28389 (__arch_compare_and_exchange_val_16_acq)
28390 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
28391 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
28392 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
28393
a98275aa
UD
283942011-12-02 Joseph Myers <joseph@codesourcery.com>
28395
28396 * sysdeps/sh/backtrace.c: New file.
28397
d4cc29a2
AS
283982011-12-02 Andreas Schwab <schwab@redhat.com>
28399
28400 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
28401 parenthesis.
28402
6257af2d
AS
284032011-12-01 Andreas Schwab <schwab@redhat.com>
28404
28405 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
28406 falling back to utime.
28407
b5f44c1a
AS
284082011-11-30 Andreas Schwab <schwab@redhat.com>
28409
28410 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
28411 expectations for float.
28412
f3a6cc0a
AS
284132011-11-29 Andreas Schwab <schwab@redhat.com>
28414
28415 * locale/weight.h (findidx): Add parameter len.
28416 * locale/weightwc.h (findidx): Likewise.
28417 * posix/fnmatch_loop.c (FCT): Adjust caller.
28418 * posix/regcomp.c (build_equiv_class): Likewise.
28419 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
28420 * posix/regexec.c (check_node_accept_bytes): Likewise.
28421 * string/strcoll_l.c (STRCOLL): Likewise.
28422 * string/strxfrm_l.c (STRXFRM): Likewise.
28423
9d65ea3a
UD
284242011-11-17 Ulrich Drepper <drepper@gmail.com>
28425
28426 * Makefile.in: Remove CVSOPT handling.
28427 * configure.in: Remove use of AC_REVISION.
28428 * iconvdata/Makefile (distribute): No need to filter out CVS.
28429 * scripts/list-sources.sh: Remove CVS, subversion and monotone
28430 handling.
28431
5583a086
AS
284322011-11-16 Andreas Schwab <schwab@redhat.com>
28433
28434 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
28435 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
28436 [USE_AS_STRNCASECMP_L]: Likewise.
28437 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
28438 NO_TLS_DIRECT_SEG_REFS.
28439 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
28440 Fix argument offsets for non-PIC.
28441 [USE_AS_STRNCASECMP_L]: Likewise.
28442 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
28443 NO_TLS_DIRECT_SEG_REFS.
28444
d62a8200
UD
284452011-11-15 Ulrich Drepper <drepper@gmail.com>
28446
9d65ea3a 28447 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
28448 O_CLOEXEC.
28449 * locale/loadlocale.c (_nl_load_locale): Likewise.
28450
09f93bd3
AS
284512011-11-15 Andreas Schwab <schwab@redhat.com>
28452
446514f9
AS
28453 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
28454 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
28455 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
28456 (SYSCALL_GETTIME): Set errno on error.
28457
09f93bd3
AS
28458 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
28459 count references to noai6ai_cached.
28460
312be3f9
UD
284612011-11-15 Ulrich Drepper <drepper@gmail.com>
28462
28463 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
28464
28465 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
28466 FD_CLOEXEC for /proc/self/maps.
28467
28468 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
28469 FD_CLOEXEC for /proc/meminfo.
28470
28471 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
28472 gai.conf.
28473
28474 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
28475 FD_CLOEXEC for given file.
28476
28477 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
28478
28479 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
28480 FD_CLOEXEC for /etc/hosts.
28481 (_gethtent): Likewise.
28482
28483 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
28484
28485 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
28486 cancellation and set FD_CLOEXEC for /etc/netgroup.
28487
28488 * nss/nss_files/files-key.c (search): Don't allow cancellation when
28489 reading /etc/publickey.
28490
28491 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
28492 allow cancellation when reading /etc/group.
28493
28494 * nss/nss_files/files-alias.c (internal_setent): Don't allow
28495 cancellation.
28496 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
28497
28498 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
28499 when using data file.
28500
28501 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
28502
28503 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
28504 (write_nis_obj): Use "c" and "e" in fopen.
28505
28506 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
28507
28508 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
28509
28510 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
28511
28512 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
28513
28514 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
28515 locale.alias.
28516
28517 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
28518
28519 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
28520
28521 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
28522
28523 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
28524 file parsing and set FD_CLOEXEC.
28525
82af0fa8
UD
285262011-11-14 Ulrich Drepper <drepper@gmail.com>
28527
28528 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
28529
a5fb313c
AS
285302011-11-14 Andreas Schwab <schwab@redhat.com>
28531
28532 * malloc/arena.c (arena_get2): Don't call reused_arena when
28533 _int_new_arena failed.
28534
6abf3465
UD
285352011-11-14 Ulrich Drepper <drepper@gmail.com>
28536
28537 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
28538 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
28539 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
28540 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28541 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28542 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
28543 to compile strcasecmp and strncasecmp.
28544 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
28545 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
28546
28547 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
28548
76e3966e
UD
285492011-11-13 Ulrich Drepper <drepper@gmail.com>
28550
28551 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
28552 locale-defines.sym to gen-as-const-headers.
28553 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
28554 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
28555 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
28556 to compile strcasecmp and strncasecmp.
28557 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
28558 strcasecmp_l and strncasecmp_l.
28559 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
28560 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
28561 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
28562 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
28563 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
28564 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
28565 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
28566 * sysdeps/i386/i686/multiarch/strncase.S: New file.
28567 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
28568 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
28569 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
28570
ab26144e
UD
285712011-11-12 Ulrich Drepper <drepper@gmail.com>
28572
7edb22ef
UD
28573 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
28574 result of SYSDEP_GETTIME_CPU to retval.
28575 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
28576 parameter list to macro. Remove trailing semicolon. Adjust users.
28577
9694fc44
UD
28578 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
28579 variable.
28580
8ad89ef8
UD
28581 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
28582 mantissa words.
28583 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
28584
0c822ef9
UD
28585 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
28586 from unused variable.
28587
874e0564
UD
28588 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
28589 DWARF definitions.
28590 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
28591 for assembling.
28592
3a2edc79
UD
28593 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
28594 over namespaces.
28595
f3c2577f
UD
28596 * sunrpc/rpc_prot.c (rejected): Fix case value.
28597
294ce126
UD
28598 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
28599 unsigned long long int to avoid warnings in shift.
28600
5e2b63c6
UD
28601 * posix/regex_internal.c (re_string_reconstruct): Actually use result
28602 of use of trans.
28603 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
28604 variable tmp.
28605
e7f4b08e
UD
28606 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
28607 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
28608 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
28609
ab26144e
UD
28610 * nis/nis_table.c (nis_list): Use variable of correct type for
28611 result of __follow_path call.
28612
8a6d5255
AZ
286132011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28614
28615 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
28616 of math functions ceil, trunc, floor, round, and sqrt, when
28617 avaliable on the platform.
28618 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
28619 name clash.
28620 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28621 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
28622 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
28623
aaddc98c
MP
286242011-10-30 Marek Polacek <mpolacek@redhat.com>
28625
28626 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
28627 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
28628
95b7042b
RM
286292011-11-11 Roland McGrath <roland@hack.frob.com>
28630
28631 * include/unistd.h: Fix __readlink return type.
28632 Reported by Chris Metcalf <cmetcalf@tilera.com>.
28633
57769839
UD
286342011-11-11 Ulrich Drepper <drepper@gmail.com>
28635
28636 * stdlib/ucontext.h: Undo last change for makecontext.
28637
edc5984d
AS
286382011-11-11 Andreas Schwab <schwab@redhat.com>
28639
98591e58
AS
28640 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
28641
edc5984d
AS
28642 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
28643 * setjmp/setjmp.h: Mark functions as non-leaf.
28644 * setjmp/bits/setjmp2.h: Likewise.
28645 * stdlib/ucontext.h: Likewise.
28646
77cdc054
AS
286472011-11-10 Andreas Schwab <schwab@redhat.com>
28648
28649 * malloc/arena.c (_int_new_arena): Don't increment narenas.
28650 (reused_arena): Don't check arena limit.
28651 (arena_get2): Atomically check arena limit.
28652
fe72eebd
UD
286532011-11-08 Ulrich Drepper <drepper@gmail.com>
28654
5f078c32
UD
28655 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
28656 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
28657
fe72eebd
UD
28658 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
28659 instructions.
28660
ae1bc2fa
AS
286612011-11-07 Andreas Schwab <schwab@redhat.com>
28662
7583a88d
AS
28663 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
28664 handler when locking.
28665
ae1bc2fa
AS
28666 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
28667 Fix size of allocated buffer.
28668
10fb0bfa
AS
286692011-11-04 Andreas Schwab <schwab@redhat.com>
28670
998832a4
AS
28671 [BZ #10103]
28672 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
28673 declarations for long double functions.
28674 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
28675
10fb0bfa
AS
28676 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
28677
3d7ba52b
AS
286782011-11-03 Andreas Schwab <schwab@redhat.com>
28679
a9ae54a1
AS
28680 * nscd/nscd.c (main): Don't start AVC thread until credentials are
28681 installed.
28682
3d7ba52b
AS
28683 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
28684 is disabled.
28685
bc8db248
ST
286862011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
28687
28688 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
28689
45b96dd6
AS
286902011-11-01 Andreas Schwab <schwab@linux-m68k.org>
28691
647776f6
AS
28692 * include/alloca.h (stackinfo_alloca_round): Define.
28693 (extend_alloca): Use it.
28694 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
28695 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
28696 here.
28697
d91a8b93
AS
28698 * scripts/check-local-headers.sh: Ignore libaudit.h.
28699
45b96dd6
AS
28700 * nscd/Makefile (extra-objs): Make recursively expanded.
28701
432d41ce
UD
287022011-11-01 Ulrich Drepper <drepper@gmail.com>
28703
34372fc6
UD
28704 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
28705 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
28706
fadb59f8
UD
28707 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
28708 * posix/tst-rfc3484-2.c: Likewise.
28709 * posix/tst-rfc3484-3.c: Likewise.
28710
78239589
UD
28711 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
28712 process_vm_writev.
28713 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
28714 process_vm_writev.
28715 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
28716 process_vm_writev from libc using GLIBC_2.15 version.
28717
432d41ce
UD
28718 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
28719
02f9c6cf
PP
287202011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
28721
28722 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
28723 stack usage.
28724
3a2c0242
UD
287252011-10-31 Ulrich Drepper <drepper@gmail.com>
28726
f4ec4833
UD
28727 [BZ #13367]
28728 * nss/getent.c (initgroups_keys): Show error message in case no group
28729 names are given.
28730
3a2c0242
UD
28731 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
28732 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
28733 __bump_nl_timestamp.
28734 * nscd/connections (nscd_init): When host database is served open
28735 netlink socket and request notification about configuration changes.
28736 (main_loop_poll): Track netlink file descriptor and bump timestamp
28737 in case data becomes available.
28738 (main_loop_epoll): Likewise.
28739 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
28740 (database_pers_head): Add extra_data fileds.
28741 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
28742 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
28743 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
28744 Adjust caller.
28745 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
28746 in6ai data, call __free_in6ai.
28747 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
28748 Add -DHAVE_NETLINK.
28749 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
28750 interface information. Reuse previous data if netlink timestamp
28751 is not changed.
28752 (__bump_nl_timestamp): New function.
28753 (__free_in6ai): New function.
28754
636064eb
UD
287552011-10-30 Ulrich Drepper <drepper@gmail.com>
28756
28757 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
28758 close_not_cancel_no_status here.
28759 (__check_pf): Reorganize code a bit to not call close twice if OOM.
28760
9beb2334
UD
287612011-10-29 Ulrich Drepper <drepper@gmail.com>
28762
6ef76f3b
UD
28763 [BZ #13276]
28764 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
28765 return value.
28766
0ffc4f3e 28767 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
28768 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
28769 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
28770
cb95113e
UD
287712011-07-03 Andreas Jaeger <aj@suse.de>
28772
28773 [BZ #10709]
28774 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
28775 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
28776 * math/libm-test.inc (sin_test): Add test case.
28777
a1b560ff
UD
287782011-10-29 Ulrich Drepper <drepper@gmail.com>
28779
c9aaface
UD
28780 [BZ #13337]
28781 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
28782 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
28783
d272e7f1
UD
28784 * elf/chroot_canon.c (chroot_canon): Cleanups.
28785
1bc33071
UD
28786 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
28787
1760874d
TJ
28788 [BZ #13335]
28789 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
28790 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
28791
51d91b18
UD
28792 * string/test-strchr.c: Make usable for strchrnul testing.
28793 * string/test-strchrnul.c: New file.
28794 * string/Makefile (strop-tests): Add strchrnul.
28795
a1b560ff 28796 * po/it.po: Update from translation team.
b611fb81 28797 * po/es.po: Likewise.
a1b560ff 28798
a5b81e1f
UD
287992011-10-28 Ulrich Drepper <drepper@gmail.com>
28800
fd52bc6d
UD
28801 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
28802 the three constants needed as parameters. Drop the others.
28803 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
28804 __m128i_strloadu_tolower.
52e4b9eb
UD
28805 Create and initialize variable zero and use it in all the places
28806 where _mm_setzero_si128 was used.
fd52bc6d 28807
a5b81e1f
UD
28808 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
28809 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
28810 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
28811 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
28812 anymore.
28813 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
28814 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
28815 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
28816 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
28817 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
28818 __mpranred, __mptan.
28819 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
28820 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
28821 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
28822 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
28823 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
28824 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
28825 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
28826 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
28827 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
28828
b4343346
AS
288292011-10-28 Andreas Schwab <schwab@redhat.com>
28830
0c92d8a8
AS
28831 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
28832 redefine if SHARED.
28833 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
28834
b4343346
AS
28835 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
28836 wide char related routines to wcsmbs subdir.
28837
3871f58f
AS
288382011-10-27 Andreas Schwab <schwab@redhat.com>
28839
28840 [BZ #13344]
28841 * misc/sys/cdefs.h (__THROWNL): Define.
28842 * posix/unistd.h: Use __THREADNL instead of __THREAD
28843 for memory synchronization functions.
28844
94d44d9f
RM
288452011-10-26 Roland McGrath <roland@hack.frob.com>
28846
21b64b15 28847 [BZ #13349]
94d44d9f
RM
28848 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
28849 doesn't exist.
28850 * manual/stdio.texi (Obstack Streams): Node removed.
28851
f6ce9294
AS
288522011-10-26 Andreas Schwab <schwab@redhat.com>
28853
80479147
AS
28854 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
28855 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28856 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28857
f6ce9294
AS
28858 * math/math_private.h (math_force_eval): Allow non-addressable
28859 arguments.
28860 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
28861
618280a1
UD
288622011-10-25 Ulrich Drepper <drepper@gmail.com>
28863
e0016b11
UD
28864 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
28865 file is not needed.
28866
28867 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
28868 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
28869 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
28870 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
28871 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
28872 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
28873 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
28874 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
28875 Add AVX variants.
28876 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
28877 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
28878 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
28879 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
28880 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
28881 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
28882 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
28883 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
28884 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
28885 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
28886 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
28887 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
28888 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
28889 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
28890 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
28891 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
28892 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
28893 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
28894 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
28895
28896 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
28897 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
28898
618280a1
UD
28899 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
28900 place. Use VEX encoding when compiling for AVX.
28901
37822576
AS
289022011-10-25 Andreas Schwab <schwab@redhat.com>
28903
1f1e1947
AS
28904 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
28905 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
28906
37822576
AS
28907 * string/test-strchr.c (do_test): Don't generate NUL bytes.
28908
31ea014d
UD
289092011-10-25 Ulrich Drepper <drepper@gmail.com>
28910
d7826aa1 28911 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 28912 useless if() expression.
d7826aa1
UD
28913 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28914 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
28915 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28916 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28917 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28918 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28919 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28920 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28921 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28922 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28923 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28924 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28925 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
28926 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28927 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
28928 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28929 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28930 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28931 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
28932
31ea014d
UD
28933 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
28934
16437fec
AS
289352011-10-25 Andreas Schwab <schwab@redhat.com>
28936
28937 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
28938 condition.
28939 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28940
31d3cc00
UD
289412011-10-25 Ulrich Drepper <drepper@gmail.com>
28942
28943 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
28944 .text section. Avoid duplicate constants.
28945 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28946 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28947 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28948 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28949 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28950 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28951 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28952 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28953 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
28954 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
28955 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
28956 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
28957 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
28958 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
28959 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
28960 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
28961 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
28962 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
28963 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28964 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28965 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28966 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28967 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28968 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
28969 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
28970 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
28971 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
28972 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
28973 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
28974 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
28975 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
28976 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
28977 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
28978 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
28979 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
28980 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
28981 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
28982 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
28983 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
28984 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
28985 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
28986 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
28987 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
28988 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
28989 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
28990
58985aa9
UD
289912011-10-24 Ulrich Drepper <drepper@gmail.com>
28992
202c9deb
UD
28993 * sysdeps/x86_64/dla.h: Move to ...
28994 * sysdeps/x86_64/fpu/dla.h: ...here.
28995 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
28996 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 28997
af968f62
UD
28998 * config.make.in: Add have-mfma4 entry.
28999 * configure.in: Substitute libc_cv_cc_fma4.
29000 * math/Makefile (dbl-only-routines): Add sincostab.
29001 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
29002 Use __sincostab not sincos.
29003 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
29004 name is a macro.
29005 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29006 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29007 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29008 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
29009 using __copysign.
29010 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
29011 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
29012 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
29013 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
29014 and __inv.
29015 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
29016 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
29017 __copysign.
29018 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
29019 define aliases when function name is a macro.
29020 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
29021 sysdeps/ieee754/dbl-64/sincos.tbl.
29022 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
29023 fma4-enabled routines.
29024 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
29025 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
29026 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
29027 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
29028 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
29029 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
29030 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
29031 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
29032 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
29033 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
29034 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
29035 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
29036 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
29037 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
29038 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
29039 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
29040 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
29041 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
29042 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
29043 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
29044 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
29045 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
29046 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
29047 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
29048 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
29049 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
29050 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
29051 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
29052 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
29053 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
29054
58985aa9
UD
29055 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
29056 rename.
29057 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29058 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29059 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29060 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29061 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29062 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29063 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29064 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29065
a201fbcf
AS
290662011-10-24 Andreas Schwab <schwab@redhat.com>
29067
29068 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
29069
fc2ee42a
LD
290702011-10-23 Ulrich Drepper <drepper@gmail.com>
29071
bb3129bd
UD
29072 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
29073
0275fff8
UD
29074 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
29075 prediction.
29076 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
29077
2fa2ae85
UD
29078 * string/strnlen.c: Don't define STRNLEN, reverse logic.
29079 Remove unused variable magic_bits.
29080 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
29081
fc2ee42a
LD
29082 * string/strnlen.c: Define and use STRNLEN macro.
29083 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
29084 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
29085 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
29086 * wcsmbs/wcslen.c: Define and use WCSLEN.
29087 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
29088 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
29089 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
29090 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
29091 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
29092 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
29093 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
29094
ce7dd29f
LD
290952011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29096
29097 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29098 strnlen-sse2-no-bsf.
29099 Rename strlen-no-bsf to strlen-sse2-no-bsf.
29100 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
29101 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
29102 Add strnlen support.
29103 (USE_AS_STRNLEN): New macro.
29104 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
29105 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
29106 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
29107 * sysdeps/x86_64/wcslen.S: New file.
29108
979c70a3
MZ
291092011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
29110
29111 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
29112 XMM-moves are used for copying on small sizes.
29113
2d09f82f
LD
291142011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29115
29116 * wcsmbs/Makefile (strop-tests): Add wcschr.
29117 * wcsmbs/test-wcschr.c: New file.
29118 * string/test-strchr.c: Update.
29119 Add wcschr support.
29120 (WIDE): New macro.
29121
619fccca
LD
291222011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29123
2d09f82f 29124 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
29125 * wcsmbs/test-wcslen.c: New file.
29126 * string/test-strlen.c: Update.
29127 Add wcslen support.
29128 (WIDE): New macro.
29129
09f699ea
UD
291302011-10-23 Ulrich Drepper <drepper@gmail.com>
29131
29132 * po/it.po: Update from translation team.
29133
95584d3b
LD
291342011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29135
29136 * sysdeps/x86_64/wcscmp.S: Update.
29137 Fix wrong comparison semantics.
29138 wcscmp shall use signed comparison not unsigned.
29139 Don't use substraction to avoid overflow bug.
29140 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
29141 * wcsmbc/wcscmp.c: Likewise.
29142 * string/test-strcmp.c: Likewise.
29143 Add new tests to check cases with negative values.
29144
c8b3296b
UD
291452011-10-23 Ulrich Drepper <drepper@gmail.com>
29146
29147 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
29148 * sysdeps/x86_64/dla.h: ...here. New file.
29149 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
29150 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29151 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29152 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29153 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29154 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29155 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29156 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29157 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29158
246ad57a
AS
291592011-10-23 Andreas Schwab <schwab@linux-m68k.org>
29160
29161 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
29162 __ynl_finite aliases.
29163
a1a87169
UD
291642011-10-22 Ulrich Drepper <drepper@gmail.com>
29165
0d355eb7
UD
29166 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29167
a1a87169
UD
29168 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
29169 define DLA_FMA.
29170 [DLA_FMA] (EMULV): Use DLA_FMA.
29171 [DLA_FMA] (MUL12): Use EMULV.
29172 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
29173 that are not needed.
29174 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29175 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29176 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29177 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29178 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29179 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29180 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29181
ee2aafe0
AS
291822011-10-22 Andreas Schwab <schwab@linux-m68k.org>
29183
29184 * math/s_nan.c: Undef __nan.
29185 * math/s_nanf.c: Undef __nanf.
29186 * math/s_nanl.c: Undef __nanl.
29187 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
29188 "math_private.h".
29189
bc62c2fb
UD
291902011-10-22 Ulrich Drepper <drepper@gmail.com>
29191
77425c63
UD
29192 * math/s_catan.c: Add branch predictions.
29193 * math/s_catanf.c: Likewise.
29194 * math/s_catanh.c: Likewise.
29195 * math/s_catanhf.c: Likewise.
29196 * math/s_catanhl.c: Likewise.
29197 * math/s_catanl.c: Likewise.
29198 * math/s_cexp.c: Likewise.
29199 * math/s_cexpf.c: Likewise.
29200 * math/s_cexpl.c: Likewise.
29201 * math/s_clog.c: Likewise.
29202 * math/s_clog10.c: Likewise.
29203 * math/s_clog10f.c: Likewise.
29204 * math/s_clog10l.c: Likewise.
29205 * math/s_clogf.c: Likewise.
29206 * math/s_clogl.c: Likewise.
29207 * math/s_csqrt.c: Likewise.
29208 * math/s_csqrtf.c: Likewise.
29209 * math/s_csqrtl.c: Likewise.
29210 * math/s_ctanf.c: Likewise.
29211 * math/s_ctanh.c: Likewise.
29212 * math/s_ctanhf.c: Likewise.
29213 * math/s_ctanhl.c: Likewise.
29214 * math/s_ctanl.c: Likewise.
29215
bc62c2fb
UD
29216 * math/math_private.h: Define __nan, __nanf, __nanl.
29217 * math/s_cacosh.c: Include <math_private.h>.
29218 * math/s_cacoshl.c: Likewise.
29219 * math/s_casinh.c: Likewise.
29220 * math/s_casinhf.c: Likewise.
29221 * math/s_casinhl.c: Likewise.
29222 * math/s_ccos.c: Rely entire on ccosh.
29223 * math/s_ccosf.c: Rely entire on ccoshf.
29224 * math/s_ccosl.c: Rely entirely on ccoshl.
29225 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
29226 Remove tests for FE_INVALID.
29227 * math/s_ccoshf.c: Likewise.
29228 * math/s_ccoshl.c: Likewise.
29229 * math/s_csin.c: Likewise.
29230 * math/s_csinf.c: Likewise.
29231 * math/s_csinh.c Likewise.
29232 * math/s_csinhf.c: Likewise.
29233 * math/s_csinhl.c: Likewise.
29234 * math/s_csinl.c: Likewise.
29235 * math/s_ctan.c: Likewise.
29236 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
29237 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
29238 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
29239
8ec250a4
UD
292402011-10-21 Ulrich Drepper <drepper@gmail.com>
29241
c196fed8
UD
29242 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
29243 compilation problems.
29244
8ec250a4
UD
29245 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
29246 __builtin_expect.
29247
8d4f46c6
UD
292482011-10-20 Ulrich Drepper <drepper@gmail.com>
29249
ed72b654
UD
29250 * sysdeps/i386/configure.in: Test for -mfma4 option.
29251 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
29252 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
29253 COMMON_CPUID_INDEX_80000001.
29254 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
29255 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
29256 use it if FMA3 is not supported.
29257 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
29258
8d4f46c6
UD
29259 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
29260 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
29261
d45c60c2
AS
292622011-10-20 Andreas Schwab <schwab@redhat.com>
29263
29264 [BZ #12892]
29265 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
29266 it would create a cycle with a link time dependency.
29267
d9a4d2ab
UD
292682011-10-19 Ulrich Drepper <drepper@gmail.com>
29269
855d1560
UD
29270 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
29271 instruction.
29272 * string/Makefile (strop-tests): Add rawmemchr.
29273 * string/test-rawmemchr.c: New file.
29274
d9a4d2ab
UD
29275 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
29276 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
29277 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
29278 when compiling str{,n}casecmp and when AVX is available. Hook up
29279 new optimized code in initializers.
29280
8f3b1ffe
AS
292812011-10-19 Andreas Schwab <schwab@redhat.com>
29282
29283 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
29284 __feraiseexcept instead of feraiseexcept.
29285
d38f1dba
UD
292862011-10-18 Ulrich Drepper <drepper@gmail.com>
29287
d9a8d0ab
UD
29288 * math/math_private.h: Define defaults for libc_fetestexcept and
29289 libc_feupdateenv.
29290 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
29291 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
29292 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
29293 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
29294 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
29295 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
29296 libc_fetestexcept and libc_feupdateenv.
29297
4855e3dd
UD
29298 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
29299 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
29300 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
29301 * sysdeps/x86_64/fpu/math_private.h: Define special version of
29302 libc_feholdexcept_setround.
29303
581d30e3
UD
29304 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
29305 Add s_nearbyint-c and s_nearbyintf-c.
29306 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
29307 nearbyintf inlines.
29308 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
29309 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
29310 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
29311 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
29312
d38f1dba
UD
29313 * math/math_private.h: Define defaults for libc_fegetround,
29314 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
29315 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
29316 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
29317 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
29318 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
29319 standard functions.
29320 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29321 Remove comments and hacks for old compiler versions.
29322 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
29323 libc_fegetround, libc_fesetround, libc_feholdexcept, and
29324 libc_feholdexceptl.
29325
caa6c9d8
AS
293262011-10-18 Andreas Schwab <schwab@redhat.com>
29327
29328 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
29329 (__feraiseexcept_renamed): Add __NTH.
29330 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
29331 namespace violations.
29332
97c066e6
UD
293332011-10-17 Ulrich Drepper <drepper@gmail.com>
29334
99ce7b04
UD
29335 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
29336
1004d182
UD
29337 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
29338
228a984d
UD
29339 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
29340 recently added interfaces.
29341 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
29342
c8553a6a
UD
29343 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
29344 about macro parameter expansion.
29345
ed22dcf6
UD
29346 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
29347 __NO_MATH_INLINES is defined. Cleanups.
29348
29349 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
29350 and __floorf is target has SSE4.1.
29351 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
29352 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
29353 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
29354 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
29355
b171c137
UD
29356 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
29357 name.
29358 (floorf): Likewise.
29359
97c066e6
UD
29360 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
29361
629f62ef
AS
293622011-10-17 Andreas Schwab <schwab@redhat.com>
29363
49a43d80
AS
29364 * misc/sys/cdefs.h: Fix last change.
29365
629f62ef
AS
29366 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
29367 database lookup.
29368
e453f6cd
UD
293692011-10-16 Ulrich Drepper <drepper@gmail.com>
29370
aa78043a
UD
29371 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
29372
ad0f5cad
UD
29373 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
29374 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29375 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
29376 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29377 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29378 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
29379 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29380 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29381 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
29382 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
29383 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
29384 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
29385 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
29386 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
29387 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
29388 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
29389 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
29390 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
29391 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
29392 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
29393 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
29394 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
29395
29396 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
29397 ceil, ceilf, floor, floorf.
29398
29399 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
29400 Perform IRELATIVE relocations last.
29401
e453f6cd
UD
29402 * elf/do-rel.h: Add another parameter nrelative, replacing the
29403 local variable with the same name. Change name of the function
29404 to end in Rel or Rela (uppercase).
29405 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
29406 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
29407 elf_dynamic_do_##reloc function.
29408
fd5bdc09
UD
294092011-10-15 Ulrich Drepper <drepper@gmail.com>
29410
79b195b5
UD
29411 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
29412 is sufficient, at least on modern CPUs.
29413
d4a28569
UD
29414 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
29415
b61099b5
UD
29416 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
29417 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
29418
bcf01e6d
UD
29419 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
29420 __expl_finite.
29421 * math/bits/math-finite.h: Add entries for exp.
29422 * math/e_expl.c: Add __*_finite alias.
29423 * sysdeps/i386/fpu/e_exp.S: Likewise.
29424 * sysdeps/i386/fpu/e_expf.S: Likewise.
29425 * sysdeps/i386/fpu/e_expl.c: Likewise.
29426 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29427 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
29428 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
29429 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29430 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
29431 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
29432 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
29433
ba1a0d59
UD
29434 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
29435 is sufficient, at least on modern CPUs.
29436
fd5bdc09
UD
29437 * ctype/ctype-info.c (__ctype_init): Define.
29438 * include/ctype.h (__ctype_init): Declare.
29439 (__ctype_b_loc): The variable is always initialized.
29440 (__ctype_toupper_loc): Likewise.
29441 (__ctype_tolower_loc): Likewise.
29442 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
29443 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
29444
7872cfb0
AS
294452011-10-15 Andreas Schwab <schwab@linux-m68k.org>
29446
b468825a
AS
29447 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
29448
7872cfb0
AS
29449 * configure.in: Also look in $cxxmachine/include for C++ system
29450 headers.
29451
be13f7bf
LD
294522011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29453
29454 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
29455 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
29456 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
29457 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
29458 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
29459 (USE_AS_WMEMCMP): New macro.
29460 Fixing indents.
29461 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
29462 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
29463 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
29464 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
29465 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29466 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
29467 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
29468 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
29469 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
29470 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
29471 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
29472 (USE_AS_WMEMCMP): New macro.
29473 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
29474 * sysdeps/string/test-memcmp.c: Update.
29475 Fix simple_wmemcmp.
29476 Add new tests.
29477 * wcsmbs/wmemcmp.c: Update.
29478 (WMEMCMP): New macro.
29479 Fix overflow bug.
29480
556a2007
AJ
294812011-10-12 Andreas Jaeger <aj@suse.de>
29482
29483 [BZ #13268]
29484 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
29485
538faaa7
UD
294862011-10-15 Ulrich Drepper <drepper@gmail.com>
29487
ab6737ff
UD
29488 * libio/iofwide.c (do_length): Avoid warning.
29489
538faaa7
UD
29490 * ctype/ctype.h (__isctype_f): Add missing __THROW.
29491
396a21b1
UD
294922011-10-14 Ulrich Drepper <drepper@gmail.com>
29493
cdf2901f
UD
29494 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
29495
38ad40ce
UD
29496 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
29497 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
29498 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
29499 * sysdeps/i386/i686/fpu/e_log.S: New file.
29500 * sysdeps/i386/i686/fpu/e_logf.S: New file.
29501 * sysdeps/i386/i686/fpu/e_logl.S: New file.
29502
396a21b1
UD
29503 * ctype/ctype.h: Add support for inlined isXXX functions when
29504 compiling C++ code.
29505
6b1f68c9
AS
295062011-10-14 Andreas Schwab <schwab@redhat.com>
29507
349290c0
AS
29508 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29509
6b1f68c9
AS
29510 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
29511
f2282d42
RM
295122011-10-13 Roland McGrath <roland@hack.frob.com>
29513
29514 [BZ #13291]
29515 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
29516
5298ffa8
AS
295172011-10-13 Andreas Schwab <schwab@redhat.com>
29518
714fad23
AS
29519 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
29520 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
29521 feraiseexcept.
29522
81dcc7fb
AS
29523 * sysdeps/x86_64/memrchr.S: Check for zero size.
29524
5298ffa8
AS
29525 * string/stratcliff.c: Add memrchr tests.
29526
951fbcec
LD
295272011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29528
29529 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29530 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
29531 rawmemchr-sse2 rawmemchr-sse2-bsf.
29532 * sysdeps/i386/i686/multiarch/memchr.S: New file.
29533 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
29534 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
29535 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
29536 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
29537 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
29538 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
29539 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
29540 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
29541 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
29542 * string/memrchr.c (MEMRCHR): New macro.
29543
0ac5ae23
UD
295442011-10-12 Ulrich Drepper <drepper@gmail.com>
29545
29546 Add integration with gcc's -ffinite-math-only and optimize wrapper
29547 functions in libm.
29548 * Versions.def: Define GLIBC_2.15 version for libm.
29549 * math/Makefile (headers): Add bits/math-finite.h.
29550 * math/bits/math-finite.h: New file.
29551 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
29552 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
29553 * math/e_acoshl.c: Add __*_finite alias.
29554 * math/e_acosl.c: Likewise.
29555 * math/e_asinl.c: Likewise.
29556 * math/e_atan2l.c: Likewise.
29557 * math/e_atanhl.c: Likewise.
29558 * math/e_coshl.c: Likewise.
29559 * math/e_exp10.c: Likewise.
29560 * math/e_exp10f.c: Likewise.
29561 * math/e_exp10l.c: Likewise.
29562 * math/e_exp2l.c: Likewise.
29563 * math/e_fmodl.c: Likewise.
29564 * math/e_gammal_r.c: Likewise.
29565 * math/e_hypotl.c: Likewise.
29566 * math/e_j0l.c: Likewise.
29567 * math/e_j1l.c: Likewise.
29568 * math/e_jnl.c: Likewise.
29569 * math/e_lgammal_r.c: Likewise.
29570 * math/e_log10l.c: Likewise.
29571 * math/e_log2l.c: Likewise.
29572 * math/e_logl.c: Likewise.
29573 * math/e_powl.c: Likewise.
29574 * math/e_sinhl.c: Likewise.
29575 * math/e_sqrtl.c: Likewise.
29576 * math/e_scalb.c: Completely rewritten and optimized.
29577 * math/e_scalbf.c: Likewise.
29578 * math/e_scalbl.c: Likewise.
29579 * math/w_acos.c: Likewise.
29580 * math/w_acosf.c: Likewise.
29581 * math/w_acosl.c: Likewise.
29582 * math/w_acosh.c: Likewise.
29583 * math/w_acoshf.c: Likewise.
29584 * math/w_acoshl.c: Likewise.
29585 * math/w_asin.c: Likewise.
29586 * math/w_asinf.c: Likewise.
29587 * math/w_asinl.c: Likewise.
29588 * math/w_atan2.c: Likewise.
29589 * math/w_atan2f.c: Likewise.
29590 * math/w_atan2l.c: Likewise.
29591 * math/w_atanh.c: Likewise.
29592 * math/w_atanhf.c: Likewise.
29593 * math/w_atanhl.c: Likewise.
29594 * math/w_exp10.c: Likewise.
29595 * math/w_exp10f.c: Likewise.
29596 * math/w_exp10l.c: Likewise.
29597 * math/w_fmod.c: Likewise.
29598 * math/w_fmodf.c: Likewise.
29599 * math/w_fmodl.c: Likewise.
29600 * math/w_j0.c: Likewise.
29601 * math/w_j0f.c: Likewise.
29602 * math/w_j0l.c: Likewise.
29603 * math/w_j1.c: Likewise.
29604 * math/w_j1f.c: Likewise.
29605 * math/w_j1l.c: Likewise.
29606 * math/w_jn.c: Likewise.
29607 * math/w_jnf.c: Likewise.
29608 * math/w_log.c: Likewise.
29609 * math/w_logf.c: Likewise.
29610 * math/w_logl.c: Likewise.
29611 * math/w_log10.c: Likewise.
29612 * math/w_log10f.c: Likewise.
29613 * math/w_log10l.c: Likewise.
29614 * math/w_log2.c: Likewise.
29615 * math/w_log2f.c: Likewise.
29616 * math/w_log2l.c: Likewise.
29617 * math/w_pow.c: Likewise.
29618 * math/w_powf.c: Likewise.
29619 * math/w_powl.c: Likewise.
29620 * math/w_remainder.c: Likewise.
29621 * math/w_remainderf.c: Likewise.
29622 * math/w_remainderl.c: Likewise.
29623 * math/w_scalb.c: Likewise.
29624 * math/w_scalbf.c: Likewise.
29625 * math/w_scalbl.c: Likewise.
29626 * math/w_sqrt.c: Likewise.
29627 * math/w_sqrtf.c: Likewise.
29628 * math/w_sqrtl.c: Likewise.
29629 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
29630 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
29631 used.
29632 * math/math_private.h: Declare __kernel_standard_f.
29633 * math/w_cosh.c: Remove cruft and optimize a bit.
29634 * math/w_coshf.c: Likewise.
29635 * math/w_coshl.c: Likewise.
29636 * math/w_exp2.c: Likewise.
29637 * math/w_exp2f.c: Likewise.
29638 * math/w_exp2l.c: Likewise.
29639 * math/w_hypot.c: Likewise.
29640 * math/w_hypotf.c: Likewise.
29641 * math/w_hypotl.c: Likewise.
29642 * math/w_lgamma.c: Likewise.
29643 * math/w_lgamma_r.c: Likewise.
29644 * math/w_lgammaf.c: Likewise.
29645 * math/w_lgammaf_r.c: Likewise.
29646 * math/w_lgammal.c: Likewise.
29647 * math/w_lgammal_r.c: Likewise.
29648 * math/w_sinh.c: Likewise.
29649 * math/w_sinhf.c: Likewise.
29650 * math/w_sinhl.c: Likewise.
29651 * math/w_tgamma.c: Likewise.
29652 * math/w_tgammaf.c: Likewise.
29653 * math/w_tgammal.c: Likewise.
29654 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
29655 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29656 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
29657 Minor optimizations. Pretty printing. Remove cruft.
29658 * sysdeps/i386/fpu/e_acosf.S: Likewise.
29659 * sysdeps/i386/fpu/e_acosh.S: Likewise.
29660 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
29661 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
29662 * sysdeps/i386/fpu/e_acosl.c: Likewise.
29663 * sysdeps/i386/fpu/e_asin.S: Likewise.
29664 * sysdeps/i386/fpu/e_asinf.S: Likewise.
29665 * sysdeps/i386/fpu/e_atan2.S: Likewise.
29666 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
29667 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
29668 * sysdeps/i386/fpu/e_atanh.S: Likewise.
29669 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
29670 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
29671 * sysdeps/i386/fpu/e_exp10.S: Likewise.
29672 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
29673 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
29674 * sysdeps/i386/fpu/e_exp2.S: Likewise.
29675 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
29676 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
29677 * sysdeps/i386/fpu/e_fmod.S: Likewise.
29678 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
29679 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
29680 * sysdeps/i386/fpu/e_hypot.S: Likewise.
29681 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
29682 * sysdeps/i386/fpu/e_log.S: Likewise.
29683 * sysdeps/i386/fpu/e_log10.S: Likewise.
29684 * sysdeps/i386/fpu/e_log10f.S: Likewise.
29685 * sysdeps/i386/fpu/e_log10l.S: Likewise.
29686 * sysdeps/i386/fpu/e_log2.S: Likewise.
29687 * sysdeps/i386/fpu/e_log2f.S: Likewise.
29688 * sysdeps/i386/fpu/e_log2l.S: Likewise.
29689 * sysdeps/i386/fpu/e_logf.S: Likewise.
29690 * sysdeps/i386/fpu/e_logl.S: Likewise.
29691 * sysdeps/i386/fpu/e_pow.S: Likewise.
29692 * sysdeps/i386/fpu/e_powf.S: Likewise.
29693 * sysdeps/i386/fpu/e_powl.S: Likewise.
29694 * sysdeps/i386/fpu/e_remainder.S: Likewise.
29695 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
29696 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
29697 * sysdeps/i386/fpu/e_scalb.S: Likewise.
29698 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
29699 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
29700 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
29701 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
29702 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
29703 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
29704 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29705 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29706 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
29707 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29708 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
29709 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
29710 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
29711 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29712 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29713 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
29714 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
29715 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29716 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
29717 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
29718 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29719 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29720 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
29721 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29722 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29723 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
29724 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
29725 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
29726 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
29727 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
29728 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
29729 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
29730 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
29731 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
29732 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
29733 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29734 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
29735 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29736 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
29737 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
29738 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
29739 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
29740 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
29741 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
29742 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
29743 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
29744 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
29745 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
29746 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
29747 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
29748 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
29749 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
29750 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
29751 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
29752 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
29753 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
29754 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
29755 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
29756 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29757 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
29758 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
29759 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
29760 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
29761 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
29762 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
29763 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
29764 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
29765 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29766 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29767 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
29768 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
29769 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
29770 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
29771 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
29772 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
29773 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
29774 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
29775 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
29776 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
29777 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
29778 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29779 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
29780 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
29781 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
29782 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
29783 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29784 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
29785 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
29786 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
29787 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29788 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
29789 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29790 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
29791 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
29792 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
29793 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
29794 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
29795 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29796 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
29797 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
29798 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
29799 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
29800 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
29801 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
29802 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
29803 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
29804 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
29805 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
29806 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
29807 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
29808 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
29809 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
29810 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29811 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
29812 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
29813 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
29814 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
29815 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
29816 (__isnanf): Likewise.
29817 (__isinf_ns): Likewise.
29818 (__isinf_nsf): Likewise.
29819 (__finite): Likewise.
29820 (__finitef): Likewise.
29821 (__ieee754_sqrt): Define as macro.
29822 (__ieee754_sqrtf): Define as macro.
29823 (__ieee754_sqrtl): Define as macro.
29824 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
29825 inlined copy.
29826 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
29827 __FINITE_MATH_ONLY__ consistent.
29828 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
29829
12cc2fcd
AS
298302011-10-10 Andreas Schwab <schwab@linux-m68k.org>
29831
a843a204
AS
29832 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
29833 of rawmemchr.
29834
12cc2fcd
AS
29835 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
29836
c853acd5
UD
298372011-10-09 Ulrich Drepper <drepper@gmail.com>
29838
29839 * po/ja.po: Update from translation team.
29840
c658d255
RM
298412011-10-08 Roland McGrath <roland@hack.frob.com>
29842
110946e4
RM
29843 * locale/programs/locarchive.c (prepare_address_space): New function.
29844 (create_archive, enlarge_archive, open_archive): Use it.
29845
50604220
RM
29846 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
29847 inside [SHARED], where it is used.
29848
c658d255
RM
29849 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
29850
29851 * nss/getent.c (netgroup_keys): Remove unused variable.
29852 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
29853
6a621eb7
UD
298542011-10-08 Ulrich Drepper <drepper@gmail.com>
29855
7edb55ce
UD
29856 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
29857 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
29858 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
29859 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
29860 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
29861 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
29862 * math/Makefile (libm-calls): Add s_isinf_ns.
29863 * math/divtc3.c: Use __isinf_nsl instead of isinf.
29864 * math/multc3.c: Likewise.
29865 * math/s_casin.c: Likewise.
29866 * math/s_casinf.c: Likewise.
29867 * math/s_casinl.c: Likewise.
29868 * math/s_ccos.c: Likewise.
29869 * math/s_ccosf.c: Likewise.
29870 * math/s_ccosl.c: Likewise.
29871 * math/s_ctan.c: Likewise.
29872 * math/s_ctanf.c: Likewise.
29873 * math/s_ctanh.c: Likewise.
29874 * math/s_ctanhf.c: Likewise.
29875 * math/s_ctanhl.c: Likewise.
29876 * math/s_ctanl.c: Likewise.
29877 * math/w_fmod.c: Likewise.
29878 * math/w_fmodf.c: Likewise.
29879 * math/w_fmodl.c: Likewise.
29880 * math/w_remainder.c: Likewise.
29881 * math/w_remainderf.c: Likewise.
29882 * math/w_remainderl.c: Likewise.
29883 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
29884 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
29885 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
29886 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
29887 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
29888 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
29889 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
29890 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
29891
187da0ae
UD
29892 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
29893 of the number.
29894 * stdio-common/printf_fphex.c: Likewise.
29895 * stdio-common/printf_size.c: Likewise.
29896
9277c064
UD
29897 * math/e_exp10.c: Include math_private.h using <...> not "...".
29898 * math/e_exp10f.c: Likewise.
29899 * math/e_exp10l.c: Likewise.
29900 * math/e_exp2l.c: Likewise.
29901 * math/e_j0l.c: Likewise.
29902 * math/e_j1l.c: Likewise.
29903 * math/e_jnl.c: Likewise.
29904 * math/e_lgammal_r.c: Likewise.
29905 * math/e_rem_pio2l.c: Likewise.
29906 * math/e_scalb.c: Likewise.
29907 * math/e_scalbf.c: Likewise.
29908 * math/e_scalbl.c: Likewise.
29909 * math/k_cosl.c: Likewise.
29910 * math/k_sinl.c: Likewise.
29911 * math/k_tanl.c: Likewise.
29912 * math/s_cacoshf.c: Likewise.
29913 * math/s_catan.c: Likewise.
29914 * math/s_catanf.c: Likewise.
29915 * math/s_catanh.c: Likewise.
29916 * math/s_catanhf.c: Likewise.
29917 * math/s_catanhl.c: Likewise.
29918 * math/s_catanl.c: Likewise.
29919 * math/s_ccosh.c: Likewise.
29920 * math/s_ccoshf.c: Likewise.
29921 * math/s_ccoshl.c: Likewise.
29922 * math/s_cexp.c: Likewise.
29923 * math/s_cexpf.c: Likewise.
29924 * math/s_cexpl.c: Likewise.
29925 * math/s_clog.c: Likewise.
29926 * math/s_clog10.c: Likewise.
29927 * math/s_clog10f.c: Likewise.
29928 * math/s_clog10l.c: Likewise.
29929 * math/s_clogf.c: Likewise.
29930 * math/s_clogl.c: Likewise.
29931 * math/s_csin.c: Likewise.
29932 * math/s_csinf.c: Likewise.
29933 * math/s_csinh.c: Likewise.
29934 * math/s_csinhf.c: Likewise.
29935 * math/s_csinhl.c: Likewise.
29936 * math/s_csinl.c: Likewise.
29937 * math/s_csqrt.c: Likewise.
29938 * math/s_csqrtf.c: Likewise.
29939 * math/s_csqrtl.c: Likewise.
29940 * math/s_ctan.c: Likewise.
29941 * math/s_ctanf.c: Likewise.
29942 * math/s_ctanh.c: Likewise.
29943 * math/s_ctanhf.c: Likewise.
29944 * math/s_ctanhl.c: Likewise.
29945 * math/s_ctanl.c: Likewise.
29946 * math/s_ldexp.c: Likewise.
29947 * math/s_ldexpf.c: Likewise.
29948 * math/s_ldexpl.c: Likewise.
29949 * math/s_significand.c: Likewise.
29950 * math/s_significandf.c: Likewise.
29951 * math/s_significandl.c: Likewise.
29952 * math/w_acos.c: Likewise.
29953 * math/w_acosf.c: Likewise.
29954 * math/w_acosh.c: Likewise.
29955 * math/w_acoshf.c: Likewise.
29956 * math/w_acoshl.c: Likewise.
29957 * math/w_acosl.c: Likewise.
29958 * math/w_asin.c: Likewise.
29959 * math/w_asinf.c: Likewise.
29960 * math/w_asinl.c: Likewise.
29961 * math/w_atan2.c: Likewise.
29962 * math/w_atan2f.c: Likewise.
29963 * math/w_atan2l.c: Likewise.
29964 * math/w_atanh.c: Likewise.
29965 * math/w_atanhf.c: Likewise.
29966 * math/w_atanhl.c: Likewise.
29967 * math/w_cosh.c: Likewise.
29968 * math/w_coshf.c: Likewise.
29969 * math/w_coshl.c: Likewise.
29970 * math/w_dremf.c: Likewise.
29971 * math/w_exp10.c: Likewise.
29972 * math/w_exp10f.c: Likewise.
29973 * math/w_exp10l.c: Likewise.
29974 * math/w_exp2.c: Likewise.
29975 * math/w_exp2f.c: Likewise.
29976 * math/w_fmod.c: Likewise.
29977 * math/w_fmodf.c: Likewise.
29978 * math/w_fmodl.c: Likewise.
29979 * math/w_hypot.c: Likewise.
29980 * math/w_hypotf.c: Likewise.
29981 * math/w_hypotl.c: Likewise.
29982 * math/w_j0.c: Likewise.
29983 * math/w_j0f.c: Likewise.
29984 * math/w_j0l.c: Likewise.
29985 * math/w_j1.c: Likewise.
29986 * math/w_j1f.c: Likewise.
29987 * math/w_j1l.c: Likewise.
29988 * math/w_jn.c: Likewise.
29989 * math/w_jnf.c: Likewise.
29990 * math/w_jnl.c: Likewise.
29991 * math/w_lgamma.c: Likewise.
29992 * math/w_lgamma_r.c: Likewise.
29993 * math/w_lgammaf.c: Likewise.
29994 * math/w_lgammaf_r.c: Likewise.
29995 * math/w_lgammal.c: Likewise.
29996 * math/w_lgammal_r.c: Likewise.
29997 * math/w_log.c: Likewise.
29998 * math/w_log10.c: Likewise.
29999 * math/w_log10f.c: Likewise.
30000 * math/w_log10l.c: Likewise.
30001 * math/w_log2.c: Likewise.
30002 * math/w_log2f.c: Likewise.
30003 * math/w_log2l.c: Likewise.
30004 * math/w_logf.c: Likewise.
30005 * math/w_logl.c: Likewise.
30006 * math/w_pow.c: Likewise.
30007 * math/w_powf.c: Likewise.
30008 * math/w_powl.c: Likewise.
30009 * math/w_remainder.c: Likewise.
30010 * math/w_remainderf.c: Likewise.
30011 * math/w_remainderl.c: Likewise.
30012 * math/w_scalb.c: Likewise.
30013 * math/w_scalbf.c: Likewise.
30014 * math/w_scalbl.c: Likewise.
30015 * math/w_sinh.c: Likewise.
30016 * math/w_sinhf.c: Likewise.
30017 * math/w_sinhl.c: Likewise.
30018 * math/w_sqrt.c: Likewise.
30019 * math/w_sqrtf.c: Likewise.
30020 * math/w_sqrtl.c: Likewise.
30021 * math/w_tgamma.c: Likewise.
30022 * math/w_tgammaf.c: Likewise.
30023 * math/w_tgammal.c: Likewise.
30024
6a621eb7
UD
30025 * po/ja.po: Update from translation team.
30026
bf582445
AJ
300272011-09-29 Andreas Jaeger <aj@suse.de>
30028
f9efbf3a
AJ
30029 [BZ #13179]
30030 * sunrpc/netname.c (netname2host): Fix logic.
30031
bf582445
AJ
30032 [BZ #6779]
30033 [BZ #6783]
30034 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
30035 correctly.
30036 * math/w_remainder.c (__remainder): Likewise.
30037 * math/w_remainderf.c (__remainderf): Likewise.
30038 * math/libm-test.inc (remainder_test): Add test cases.
30039
48693bea
AK
300402011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30041
30042 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
30043 sdiv_qrnnd.
30044
42622229
LD
300452011-10-07 Ulrich Drepper <drepper@gmail.com>
30046
30047 * string/test-memcmp.c: Avoid unncessary #defines.
30048 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
30049
093ecf92
LD
300502011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30051
30052 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
30053 Use new sse2 version for core i3 - i7 as it's faster
30054 than sse42 version.
30055 (bit_Prefer_PMINUB_for_stringop): New.
30056 * sysdeps/x86_64/rawmemchr.S: Update.
30057 Replace with faster SSE2 version.
30058 * sysdeps/x86_64/memrchr.S: New file.
30059 * sysdeps/x86_64/memchr.S: Update.
30060 Replace with faster SSE2 version.
30061
fde56e5c
MP
300622011-09-12 Marek Polacek <mpolacek@redhat.com>
30063
30064 * elf/dl-load.c (lose): Add cast to avoid warning.
30065
21fd49a9
UD
300662011-10-07 Ulrich Drepper <drepper@gmail.com>
30067
5a06e643
UD
30068 * po/ca.po: Update from translation team.
30069
684ae515
UD
30070 * inet/getnetgrent_r.c: Hook up nscd.
30071 * nscd/Makefile (routines): Add nscd_netgroup.
30072 (nscd-modules): Add netgroupcache.
30073 (CFLAGS-netgroupcache.c): Define.
30074 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
30075 (cache_search): Add const to second parameter.
30076 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
30077 INNETGR.
30078 (dbs): Add netgrdb entry.
30079 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
30080 (verify_persistent_db): Handle netgrdb.
30081 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
30082 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
30083 GETFDNETGR.
30084 (netgroup_response_header): Define.
30085 (innetgroup_response_header): Define.
30086 (datahead): Add netgroup_response_header and innetgroup_response_header
30087 elements.
30088 * nscd/nscd.conf: Add entries for netgroup cache.
30089 * nscd/nscd.h (dbtype): Add netgrdb.
30090 (_PATH_NSCD_NETGROUP_DB): Define.
30091 (netgroup_iov_disabled): Declare.
30092 (xmalloc, xcalloc, xrealloc): Move declarations here.
30093 (cache_search): Adjust prototype.
30094 Add netgroup-related prototypes.
30095 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
30096 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
30097 (__nscd_innetgr): Declare.
30098 * nscd/selinux.c (perms): Use access_vector_t as element type and
30099 add netgroup-related initializers.
30100 * nscd/netgroupcache.c: New file.
30101 * nscd/nscd_netgroup.c: New file.
30102 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
30103 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
30104 For four parameters use innetgr.
30105 * nss/nss_files/files-init.c: Add definition and callback for netgr.
30106 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
30107 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
30108 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
30109
21fd49a9
UD
30110 * nscd/connections.c (register_traced_file): Don't register file
30111 for disabled databases.
30112
054c0457
UD
301132011-10-06 Ulrich Drepper <drepper@gmail.com>
30114
32b63198
UD
30115 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
30116
054c0457
UD
30117 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
30118 from tree and freeing node.
30119
64031225
JO
301202011-09-25 Jiri Olsa <jolsa@redhat.com>
30121
30122 * nss/nsswitch.c (__nss_database_lookup): Handle
30123 nss_parse_service_list out of memory case.
30124
0490345c
JO
301252011-09-15 Jiri Olsa <jolsa@redhat.com>
30126
30127 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
30128 out of memory case.
30129
3a62d00d
AS
301302011-10-04 Andreas Schwab <schwab@redhat.com>
30131
30132 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
30133 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
30134 pass it down.
30135 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
30136 elf_machine_rela, elf_machine_lazy_rel.
30137 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
30138 (ELF_DYNAMIC_DO_REL): Likewise.
30139 (ELF_DYNAMIC_DO_RELA): Likewise.
30140 (ELF_DYNAMIC_RELOCATE): Likewise.
30141 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
30142 to ELF_DYNAMIC_DO_REL.
30143 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
30144 (dl_main): In trace mode always set __RTLD_NOIFUNC.
30145 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
30146 elf_machine_rela.
30147 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
30148 skip_ifunc, don't call ifunc function if non-zero.
30149 (elf_machine_rela): Likewise.
30150 (elf_machine_lazy_rel): Likewise.
30151 (elf_machine_lazy_rela): Likewise.
30152 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
30153 (elf_machine_lazy_rel): Likewise.
30154 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
30155 Likewise.
30156 (elf_machine_lazy_rel): Likewise.
30157 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30158 Likewise.
30159 (elf_machine_lazy_rel): Likewise.
30160 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
30161 (elf_machine_lazy_rel): Likewise.
30162 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
30163 (elf_machine_lazy_rel): Likewise.
30164 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
30165 (elf_machine_lazy_rel): Likewise.
30166 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
30167 (elf_machine_lazy_rel): Likewise.
30168 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
30169 (elf_machine_lazy_rel): Likewise.
30170 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
30171 (elf_machine_lazy_rel): Likewise.
30172
68577918
UD
301732011-09-28 Ulrich Drepper <drepper@gmail.com>
30174
30175 * nss/nss_files/files-init.c (_nss_files_init): Use static
30176 initialization for all the *_traced_file variables.
30177
68822d74
AS
301782011-09-28 Andreas Schwab <schwab@redhat.com>
30179
30180 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30181
2056100b
RM
301822011-09-27 Roland McGrath <roland@hack.frob.com>
30183
30184 [BZ #13226]
30185 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
30186
32c76b63
AS
301872011-09-27 Andreas Schwab <schwab@redhat.com>
30188
30189 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
30190 Reread the line before reparsing it.
30191
bf972c9d
AS
301922011-09-26 Andreas Schwab <schwab@redhat.com>
30193
30194 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
30195
e057a1b5
JM
301962011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
30197 Maxim Kuvyrkov <maxim@codesourcery.com>
30198 Joseph Myers <joseph@codesourcery.com>
30199
30200 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
30201 if needed for __stack_chk_guard.
30202
bc7e1c36
RM
302032011-09-19 Roland McGrath <roland@hack.frob.com>
30204
ecb1482f
RM
30205 * sysdeps/posix/spawni.c (script_execute): Always define it.
30206 It will be optimized away if unused.
30207 (maybe_script_execute): New function.
30208 (__spawni): Call it.
30209
bc7e1c36
RM
30210 * Makerules: Don't include tls.make.
30211 (config-tls): Always set to thread.
30212 * tls.make.c: File removed.
30213
1c3b002b
MF
302142011-09-19 Mike Frysinger <vapier@gentoo.org>
30215
30216 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
30217 * config.make.in (CPPFLAGS-config): New substituted variable.
30218
2840865d
UD
302192011-09-15 Ulrich Drepper <drepper@gmail.com>
30220
88738eb6
UD
30221 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
30222
cbf645a6 30223 [BZ #13192]
2840865d
UD
30224 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
30225 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
30226
b402e91a
RM
302272011-09-15 Roland McGrath <roland@hack.frob.com>
30228
30229 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
30230 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
30231 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
30232 (CALL_FAIL): Likewise.
30233 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
30234 (CALL_FAIL): Macro removed.
30235 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
30236
4c1a1f71
UD
302372011-09-15 Ulrich Drepper <drepper@gmail.com>
30238
30239 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
30240 for __FINITE_MATH_ONLY__ == 1.
30241
edc121be
AS
302422011-09-15 Andreas Schwab <schwab@redhat.com>
30243
30244 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
30245 __ieee754_sqrt instead of sqrt.
30246 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
30247 __ieee754_sqrtf instead of sqrtf.
30248 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
30249 __floorf instead of floorf.
30250 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
30251 __floorf, __truncf instead of floorf, truncf.
30252
cd205654
UD
302532011-09-14 Ulrich Drepper <drepper@gmail.com>
30254
ee4d0315
UD
30255 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
30256
cd205654
UD
30257 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
30258 __extern_always_inline.
30259 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
30260 32-bit.
30261
48b67d71
AS
302622011-09-14 Andreas Schwab <schwab@redhat.com>
30263
30264 * elf/rtld.c (dl_main): Also relocate in dependency order when
30265 doing symbol dependency testing.
30266
1ae12c75
AS
302672011-09-13 Andreas Schwab <schwab@linux-m68k.org>
30268
30269 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30270 Always define `refsym'.
30271
995a80df
AS
302722011-09-13 Andreas Schwab <schwab@redhat.com>
30273
e529793b
AS
30274 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
30275 (__FD_ELT): Renamed from __FDELT.
30276 * misc/bits/select2.h (__FD_ELT): Likewise.
30277 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
30278 __FD_MASK instead of __FDELT, __FDMASK.
30279 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
30280 Likewise.
30281 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
30282 Likewise.
30283
52d4fef8
AS
30284 * elf/Makefile (gen-ldd): Fix pattern.
30285
995a80df
AS
30286 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
30287 (init_tls): Likewise.
30288
8682f8b0
UD
302892011-09-12 Ulrich Drepper <drepper@gmail.com>
30290
30291 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
30292
de82006d
AS
302932011-09-12 Andreas Schwab <schwab@redhat.com>
30294
a7c8e6a1
AS
30295 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
30296 `struct cmsghdr *' instead of `void *'.
30297 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
30298 Likewise.
30299
0f31fe77
AS
303002011-09-11 Andreas Schwab <schwab@linux-m68k.org>
30301
30302 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
30303 if non-absolute.
30304 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
30305 ldd_rewrite_script.
0f31fe77 30306
32b4c839
UD
303072011-09-11 Ulrich Drepper <drepper@gmail.com>
30308
83cd1420
UD
30309 * configure.in: Remove --with-tls option.
30310 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
30311 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
30312 out in case it is missing.
30313 * sysdeps/ia64/elf/configure.in: Likewise.
30314 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
30315 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
30316 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
30317 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
30318 * sysdeps/sh/elf/configure.in: Likewise.
30319 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
30320 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
30321 * sysdeps/x86_64/elf/configure.in: Likewise.
30322 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
30323 * sysdeps/mach/hurd/tls.h: Likewise.
30324
633f745d
UD
30325 [BZ #13067]
30326 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
30327
f318beb8
UD
30328 [BZ #13090]
30329 * configure.in: Fix use of AC_INIT.
30330
32b4c839
UD
30331 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
30332
3ce1f295
UD
303332011-09-10 Ulrich Drepper <drepper@gmail.com>
30334
bb016596
UD
30335 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
30336 __set_errno.
8e58439c
UD
30337 * malloc/hooks.c: Likewise.
30338
aebae053 30339 [BZ #11929]
02d46fc4
UD
30340 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
30341 variables statically.
30342 (narenas): Initialize.
30343 (list_lock): Initialize.
bb016596
UD
30344 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
30345 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
30346 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
30347 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
30348 Add initializers to main_arena and mp_.
30349 (malloc_state): Remove pagesize member. Change all users to use
30350 GLRO(dl_pagesize).
30351
30352 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
30353 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
30354 is always initialized.
30355
22a89187
UD
30356 * malloc/malloc.c: Removed unused configurations and dead code.
30357 * malloc/arena.c: Likewise.
30358 * malloc/hooks.c: Likewise.
02d46fc4 30359 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 30360
d063d164
UD
30361 * include/tls.h: Removed. USE___THREAD must always be defined.
30362 * bits/libc-tsd.h: Don't handle !USE___THREAD.
30363 * elf/dl-libc.c: Likewise.
30364 * elf/dl-tsd.c: Likewise.
30365 * include/errno.h: Likewise.
30366 * include/netdb.h: Likewise.
30367 * include/resolv.h: Likewise.
30368 * inet/herrno-loc.c: Likewise.
30369 * inet/herrno.c: Likewise.
30370 * malloc/arena.c: Likewise.
30371 * malloc/hooks.c: Likewise.
30372 * malloc/malloc.c: Likewise.
30373 * resolv/res-state.c: Likewise.
30374 * resolv/res_libc.c: Likewise.
30375 * sysdeps/i386/dl-machine.h: Likewise.
30376 * sysdeps/ia64/dl-machine.h: Likewise.
30377 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
30378 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
30379 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
30380 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
30381 * sysdeps/sh/dl-machine.h: Likewise.
30382 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
30383 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
30384 * sysdeps/unix/i386/sysdep.S: Likewise.
30385 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
30386 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
30387 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
30388 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
30389 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
30390 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
30391 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
30392 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
30393 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30394 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
30395 * sysdeps/unix/x86_64/sysdep.S: Likewise.
30396 * sysdeps/x86_64/dl-machine.h: Likewise.
30397 * tls.make.c: Likewise.
30398
3ce1f295
UD
30399 * configure.in: Remove --with-__thread option. Make tests for
30400 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
30401 tls_model attribute fail if no support is available. Remove
30402 USE_IN_LIBIO.
30403 * Makeconfig: Adjust for dropped configure option. All features are
30404 now mandatory.
30405 * Makerules: Likewise.
30406 * Versions.def: Likewise.
30407 * argp/argp-fmtstream.c: Likewise.
30408 * argp/argp-fmtstream.h: Likewise.
30409 * argp/argp-help.c: Likewise.
30410 * assert/assert.c: Likewise.
30411 * config.h.in: Likewise.
30412 * config.make.in: Likewise.
30413 * configure: Likewise.
30414 * configure.in: Likewise.
30415 * csu/Versions: Likewise.
30416 * csu/init.c: Likewise.
30417 * elf/tst-audit2.c: Likewise.
30418 * elf/tst-tls10.c: Likewise.
30419 * elf/tst-tls10.h: Likewise.
30420 * elf/tst-tls11.c: Likewise.
30421 * elf/tst-tls12.c: Likewise.
30422 * elf/tst-tls14.c: Likewise.
30423 * elf/tst-tlsmod11.c: Likewise.
30424 * elf/tst-tlsmod12.c: Likewise.
30425 * elf/tst-tlsmod13.c: Likewise.
30426 * elf/tst-tlsmod13a.c: Likewise.
30427 * elf/tst-tlsmod14a.c: Likewise.
30428 * elf/tst-tlsmod15b.c: Likewise.
30429 * elf/tst-tlsmod16a.c: Likewise.
30430 * elf/tst-tlsmod16b.c: Likewise.
30431 * elf/tst-tlsmod7.c: Likewise.
30432 * elf/tst-tlsmod8.c: Likewise.
30433 * elf/tst-tlsmod9.c: Likewise.
30434 * gmon/gmon.c: Likewise.
30435 * grp/fgetgrent_r.c: Likewise.
30436 * grp/putgrent.c: Likewise.
30437 * hurd/fopenport.c: Likewise.
30438 * include/libc-symbols.h: Likewise.
30439 * include/tls.h: Likewise.
30440 * intl/gettextP.h: Likewise.
30441 * intl/loadinfo.h: Likewise.
30442 * locale/global-locale.c: Likewise.
30443 * locale/localeinfo.h: Likewise.
30444 * mach/devstream.c: Likewise.
30445 * malloc/arena.c: Likewise.
30446 * malloc/set-freeres.c: Likewise.
30447 * misc/err.c: Likewise.
30448 * misc/getttyent.c: Likewise.
30449 * misc/mntent_r.c: Likewise.
30450 * posix/getopt.c: Likewise.
30451 * posix/wordexp.c: Likewise.
30452 * pwd/fgetpwent_r.c: Likewise.
30453 * resolv/Versions: Likewise.
30454 * resolv/res_hconf.c: Likewise.
30455 * shadow/fgetspent_r.c: Likewise.
30456 * shadow/putspent.c: Likewise.
30457 * stdio-common/printf_fphex.c: Likewise.
30458 * stdio-common/tmpfile.c: Likewise.
30459 * stdlib/abort.c: Likewise.
30460 * stdlib/fmtmsg.c: Likewise.
30461 * sunrpc/auth_unix.c: Likewise.
30462 * sunrpc/clnt_perr.c: Likewise.
30463 * sunrpc/clnt_tcp.c: Likewise.
30464 * sunrpc/clnt_udp.c: Likewise.
30465 * sunrpc/clnt_unix.c: Likewise.
30466 * sunrpc/openchild.c: Likewise.
30467 * sunrpc/svc_simple.c: Likewise.
30468 * sunrpc/svc_tcp.c: Likewise.
30469 * sunrpc/svc_udp.c: Likewise.
30470 * sunrpc/svc_unix.c: Likewise.
30471 * sunrpc/xdr.c: Likewise.
30472 * sunrpc/xdr_array.c: Likewise.
30473 * sunrpc/xdr_rec.c: Likewise.
30474 * sunrpc/xdr_ref.c: Likewise.
30475 * sunrpc/xdr_stdio.c: Likewise.
30476
1248c1c4
PB
304772011-09-09 Ulrich Drepper <drepper@gmail.com>
30478
30479 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30480
304812011-07-03 Andreas Jaeger <aj@suse.de>
30482
30483 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
30484 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
30485 regenerate with gen-libm-tests.pl.
30486
304872010-05-12 Petr Baudis <pasky@suse.cz>
30488
30489 [BZ #11589]
30490 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
30491 around j0() zero points by switching to j1().
30492 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
30493 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
30494 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30495 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30496
f22e1074
UD
304972011-09-09 Ulrich Drepper <drepper@gmail.com>
30498
f19009c1
UD
30499 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
30500 instead of 0.
30501 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 30502 instead of 0.
f19009c1
UD
30503 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30504 Patch in part by Pavel Roskin <proski@gnu.org>.
30505
3f8cc204
UD
30506 [BZ #13138]
30507 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
30508 realloc.
30509 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
30510 Free memory block if necessary.
30511
f22e1074
UD
30512 [BZ #12847]
30513 * libio/genops.c (INTDEF): For string streams the _lock pointer can
30514 be NULL. Don't lock in this case.
30515
0a2349f9
RM
305162011-09-09 Roland McGrath <roland@hack.frob.com>
30517
30518 * elf/elf.h (ELFOSABI_GNU): New macro.
30519 (ELFOSABI_LINUX): Define to that.
30520
f3cdd467
DZ
305212011-07-29 Denis Zaitceff <zaitceff@gmail.com>
30522
30523 * string/strncat.c (strncat): Undef the symbol in case it has been
30524 defined in bits/string.h.
30525
74718d13
UD
305262011-09-09 Ulrich Drepper <drepper@gmail.com>
30527
633e9e0f
UD
30528 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
30529
0a2349f9 30530 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
30531 link map.
30532
f9924780
AJ
305332011-08-17 Andreas Jaeger <aj@suse.de>
30534
30535 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
30536
7f5517aa
PP
305372011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
30538 Ian Lance Taylor <iant@google.com>
30539
30540 * math/libm-test.inc (lround_test): New testcase.
30541 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
30542
762011fe
UD
305432011-09-08 Ulrich Drepper <drepper@gmail.com>
30544
92963737
UD
30545 * Makefile: Remove support for automatic cvs check-ins.
30546 * Makerules: Likewise.
30547 * config.make.in: Likewise.
30548 * configure.in: Likewise.
30549 * intl/Makefile: Likewise.
30550 * locale/Makefile: Likewise.
30551 * po/Makefile: Likewise.
30552 * posix/Makefile: Likewise.
30553 * sysdeps/gnu/Makefile: Likewise.
30554 * sysdeps/mach/hurd/Makefile: Likewise.
30555 * sysdeps/sparc/sparc32/Makefile: Likewise.
30556
b0727fd8
JS
30557 [BZ #13118]
30558 * posix/Makefile (bug-regex32-ENV): Define.
30559 Patch by John Stanley <jpsinthemix@verizon.net>.
30560
a0f33f99
UD
30561 * misc/Makefile (headers): Add bits/select2.h.
30562 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
30563 * misc/bits/select2.h: New file.
30564 * include/bits/select2.h: New file.
30565 * debug/Makefile (routines): Add fdelt_chk.
30566 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
30567 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
30568 FD_ISSET.
30569 * debug/fdelt_chk.c: New file.
30570
762011fe
UD
30571 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
30572 * wcsmbs/test-wmemcmp.c: Likewise.
30573 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 30574 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
30575
305762011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30577
30578 * string/Makefile (strop-tests): Add memcmp.
30579 * string/test-wmemcmp.c: New file.
30580 * string/test-memcmp.c: Add wmemcmp support.
30581
7f513ec8
RM
305822011-09-08 Roland McGrath <roland@hack.frob.com>
30583
0442afb4
RM
30584 [BZ #13153]
30585 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
30586 2011-07-19 change.
30587
7f513ec8
RM
30588 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
30589 garbage value in a __mach_port_mod_refs call in the cases of the
30590 task-self and thread-self ports.
30591
a12b2239
ST
305922011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
30593
30594 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
30595
610f9ab4
AS
305962011-09-08 Andreas Schwab <schwab@redhat.com>
30597
7f513ec8 30598 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 30599
48882a1a
LD
306002011-09-07 Ulrich Drepper <drepper@gmail.com>
30601
b49865be
UD
30602 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
30603
fdc86bc9
UD
30604 * elf/dl-libc.c (dlerror_run): Pass back error code from
30605 dl_catch_error.
30606
c966526a
UD
30607 [BZ #13123]
30608 * elf/dl-load.c (lose): Free l_origin if it is valid.
30609
48882a1a
LD
30610 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
30611 names.
30612 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
30613 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
30614 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
30615 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
30616 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
30617 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
30618
77a2a8b4
AZ
306192011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30620
30621 * sysdeps/powerpc/fpu/e_hypot.c: New file.
30622 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
30623 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
30624 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
30625 * sysdeps/powerpc/fpu/k_cosf.c: New file.
30626 * sysdeps/powerpc/fpu/k_sinf.c: New file.
30627 * sysdeps/powerpc/fpu/s_cosf.c: New file.
30628 * sysdeps/powerpc/fpu/s_sinf.c: New file.
30629 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
30630 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
30631
24f579d8
AM
306322011-08-15 Alan Modra <amodra@gmail.com>
30633
30634 [BZ #13092]
30635 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
30636 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
30637 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
30638 ppc_mcount to static-only-routines.
30639 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
30640 __mcount_internal.
30641 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
30642 __mcount_internal with usual JUMPTARGET. Remove useless nop.
30643
3d4837df
UD
306442011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
30645
30646 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
30647 for finite and infinity parameters.
30648
22700377
WS
306492011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
30650
30651 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
30652 and add nop instructions for throughput optimization.
30653 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30654
5025581e
WS
306552011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
30656
30657 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
30658 aligned copy for power7 with vector-scalar instructions.
30659 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
30660
08a300c9
L
306612011-07-24 H.J. Lu <hongjiu.lu@intel.com>
30662
30663 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
30664 AVX check.
30665
59178ef9
AS
306662011-09-07 Andreas Schwab <schwab@redhat.com>
30667
30668 [BZ #13144]
30669 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
30670 last change.
30671
e38ba7ab
UD
306722011-09-07 Ulrich Drepper <drepper@gmail.com>
30673
30674 * sysdeps/unix/sysv/linux/x86_64/init-first.c
30675 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
30676 syscall wrapper around clock_gettime in __vdso_clock_gettime.
30677 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
30678 clock_gettime.
30679
d53a73ac
UD
306802011-09-06 Ulrich Drepper <drepper@gmail.com>
30681
fc8bffcc
UD
30682 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
30683 Forgot to demangle the pointer.
30684
ceaa0c5d
UD
30685 * sysdeps/i386/sysdep.h: Define atom_text_section.
30686 * sysdeps/x86_64/sysdep.h: Likewise.
30687 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
30688 section with atom_text_section.
30689 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
30690 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
30691 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
30692 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
30693 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
30694
a77d3c17
UD
30695 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
30696 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
30697 already be defined. Change to take two parameters and don't assign
30698 result to variable. Adjust all users.
30699 Define INTERNAL_GETTIME if not already defined.
30700 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
30701 call.
30702 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
30703 HAVE_CLOCK_GETTIME_VSYSCALL.
30704 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
30705
d53a73ac
UD
30706 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
30707 gettimeofday vsyscall, just use time.
30708
a8f84144
AS
307092011-09-06 Andreas Schwab <schwab@redhat.com>
30710
30711 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
30712 <errno.h>.
30713
ef606249
UD
307142011-09-06 Ulrich Drepper <drepper@gmail.com>
30715
30716 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
30717 syscall on x86-64.
30718 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
30719 syscall.
30720 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
30721 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
30722 syscall if possible.
30723
6585cb60
UD
307242011-09-05 Ulrich Drepper <drepper@gmail.com>
30725
30726 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
30727 e_ident. Don't pass to find_mapsXX.
30728 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
30729
a5f524e4
LD
307302011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30731
30732 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30733 strchr-sse2-no-bsf strrchr-sse2-no-bsf
30734 * sysdeps/x86_64/multiarch/strchr.S: Update.
30735 Check bit_slow_BSF bit.
30736 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30737 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
30738 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
30739
554881ef
UD
307402011-09-05 Ulrich Drepper <drepper@gmail.com>
30741
d96de963
UD
30742 [BZ #13134]
30743 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
30744 before glibc 2.15.
30745 (tryshell): Define.
30746 (__spawni): Change last parameter to be flag. Test
30747 SPAWN_XFLAGS_USE_PATH flag to use path or not.
30748 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
30749 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
30750 * posix/spawni.c: Likewise.
30751 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
30752 * posix/spawnp.c: Likewise. Change normal version to use
30753 SPAWN_XFLAGS_USE_PATH.
30754 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
30755 SPAWN_XFLAGS_TRY_SHELL.
30756
d48e5868
UD
30757 [BZ #13150]
30758 * posix/glob.h: Remove gcc 1.x support.
30759
554881ef
UD
30760 [BZ #13068]
30761 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
30762
693fb948
LD
307632011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30764
30765 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30766 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
30767 strrchr-sse2-bsf
30768 * sysdeps/i386/i686/multiarch/strchr.S: New file.
30769 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
30770 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
30771 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
30772 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
30773 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
30774
1b48c537
UD
307752011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30776
49d42c37
UD
30777 * sysdeps/x86_64/wcscmp.S: New file.
30778
1b48c537
UD
30779 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
30780 wcscmp-c wcscmp-sse2
30781 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
30782 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
30783 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
30784 * wcsmbs/wcscmp.c: Allow renaming.
30785
15c95c5d
DM
307862011-09-05 David S. Miller <davem@davemloft.net>
30787
30788 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
30789 stack slot, rather than the struct return pointer slot.
30790 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
30791 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
30792 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
30793 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
30794
2f0ad8f3
UD
307952011-09-05 Ulrich Drepper <drepper@gmail.com>
30796
d88ae418
UD
30797 * po/ja.po: Update from translation team.
30798
2f0ad8f3
UD
30799 [BZ #13144]
30800 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
30801 kernel in 64-bit binaries.
30802
5f4318d1
DM
308032011-09-01 David S. Miller <davem@davemloft.net>
30804
30805 * elf/elf.h (HWCAP_SPARC_*): Move to..
30806 * sysdeps/sparc/sysdep.h: this new file and add new values.
30807 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
30808 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
30809 _DL_HWCAP_COUNT to 24.
30810 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
30811 entries.
30812 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
30813 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
30814 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
30815 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
30816 instead of magic constants.
30817 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30818
3ba57516
DM
308192011-08-31 David S. Miller <davem@davemloft.net>
30820
30821 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
30822 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
30823 Reimplement to do errno handling inline.
30824 (SYSCALL_ERROR_HANDLER): New macro.
30825 (__SYSCALL_STRING): Do not do errno handling in asm.
30826 (__CLONE_SYSCALL_STRING): Delete.
30827 (__INTERNAL_SYSCALL_STRING): Delete.
30828 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
30829 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
30830 (PSEUDO): Reimplement to do errno handling inline.
30831 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
30832 (SYSCALL_ERROR_HANDLER): New macro.
30833 (__SYSCALL_STRING): Do not do errno handling in asm.
30834 (__CLONE_SYSCALL_STRING): Delete.
30835 (__INTERNAL_SYSCALL_STRING): Delete.
30836 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
30837 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
30838 i386.
30839 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
30840 (inline_syscall*): Add 'err' argument.
30841 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
30842 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
30843 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
30844 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
30845
30846 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
30847 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
30848
2bc17433
AS
308492011-08-30 Andreas Schwab <schwab@redhat.com>
30850
30851 * elf/rtld.c (dl_main): Relocate objects in dependency order.
30852
fbeb5f4d
JO
308532011-08-29 Jiri Olsa <jolsa@redhat.com>
30854
30855 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
30856 directive.
30857
ad69cc26
DM
308582011-08-24 David S. Miller <davem@davemloft.net>
30859
30860 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
30861
39dd69df
AS
308622011-08-24 Andreas Schwab <schwab@redhat.com>
30863
30864 * elf/Makefile: Add rules to build and run unload8 test.
30865 * elf/unload8.c: New file.
30866 * elf/unload8mod1.c: New file.
30867 * elf/unload8mod1x.c: New file.
30868 * elf/unload8mod2.c: New file.
30869 * elf/unload8mod3.c: New file.
30870
30871 * elf/dl-close.c (_dl_close_worker): Reset private search list if
30872 it wasn't used.
30873
2c0b250a
DM
308742011-08-23 David S. Miller <davem@davemloft.net>
30875
30876 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
30877 subtract stack bias.
30878 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
30879 %sp not %fp in calculations.
30880 (_JMPBUF_UNWINDS_ADJ): Likewise.
30881
22044b48
DM
30882 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
30883 (aio_suspend): Call it to force an exception region around the
30884 AIO_MISC_WAIT() invocation.
30885
2cae4995
AS
308862011-08-23 Andreas Schwab <schwab@redhat.com>
30887
30888 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
30889 backslash.
30890
873a772e
AJ
308912011-07-04 Aurelien Jarno <aurelien@aurel32.net>
30892
30893 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
30894 protection macro.
30895 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
30896 and <dl-machine.h>.
30897 (Elf64_FuncDesc): Remove.
30898
25ad0df1
DM
308992011-08-22 David S. Miller <davem@davemloft.net>
30900
30901 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
30902 sigaltstack check, add missing cfi directives.
30903 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
30904 missing cfi directives, and sigaltstack handling.
30905
e888bcbe
AS
309062011-08-16 Andreas Schwab <schwab@redhat.com>
30907
30908 [BZ #11724]
30909 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
30910 object is seen twice.
30911 * elf/dl-fini.c (_dl_sort_fini): Likewise.
30912
30913 * elf/Makefile (distribute): Add tst-initorder2.c.
30914 (tests): Add tst-initorder2.
30915 (modules-names): Add tst-initorder2a tst-initorder2b
30916 tst-initorder2c tst-initorder2d. Add rules to build them.
30917 ($(objpfx)tst-initorder2.out): New rule.
30918 * elf/tst-initorder2.c: New file.
30919 * elf/tst-initorder2.exp: New file.
30920
87162f46
AS
309212011-08-22 Andreas Schwab <schwab@redhat.com>
30922
70538b7f
AS
30923 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
30924
f55ffe58
AS
30925 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
30926 dependencies back to end of function.
30927
87162f46
AS
30928 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
30929 $(elfobjdir)/ld.so.
30930
91b392a4
UD
309312011-08-21 Ulrich Drepper <drepper@gmail.com>
30932
30933 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
30934 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
30935 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
30936 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
30937 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
30938 of __vdso_gettimeofday.
30939 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
30940 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
30941 attribute_hidden.
30942 (_libc_vdso_platform_setup): Remove initialization of
30943 __vdso_gettimeofday and __vdso_time.
30944
5c43483f
UD
309452011-08-20 Ulrich Drepper <drepper@gmail.com>
30946
775a77e7
UD
30947 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
30948 and fgetc_unlocked.
30949 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
30950 getc_unlocked.
89f447ed 30951
49c74ba9
UD
30952 * elf/dl-open.c (add_to_global): Report additions to the global scope
30953 for LD_DEBUG=scopes.
30954 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 30955 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 30956
5c43483f
UD
30957 [BZ #13114]
30958 * stdio-common/Makefile (tests): Add bug24.
30959 * stdio-common/bug24.c: New file.
30960
a101b025
AJ
309612011-08-19 Andreas Jaeger <aj@suse.de>
30962
30963 [BZ #13114]
30964 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
30965 non-existant file when using close-on-exec mode.
30966
c88f1766
UD
309672011-08-20 Ulrich Drepper <drepper@gmail.com>
30968
0276a718
UD
30969 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
30970 the very first instruction.
30971
c88f1766
UD
30972 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
30973 the CFI state in the end.
30974 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
30975 inclusion of dl-trampoline.h.
30976 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
30977
51ccffa0
AS
309782011-08-19 Andreas Schwab <schwab@redhat.com>
30979
94d7165f
AS
30980 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
30981 expectations for long double.
30982
51ccffa0
AS
30983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
30984 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
30985
fd708658 309862011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
30987
30988 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
30989 artificual limit depends upon the system page size.
30990
44f0a71e
UD
309912011-08-17 Ulrich Drepper <drepper@gmail.com>
30992
30993 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
30994 * resolv/Makefile: Define CFLAGS-libresolv.
30995
8de79a24
AS
309962011-08-17 Andreas Schwab <schwab@redhat.com>
30997
30998 * nss/makedb.c (compute_tables): Make variables used in nested
30999 function static.
31000
27724598
UD
310012011-08-17 Ulrich Drepper <drepper@gmail.com>
31002
c5305d88
UD
31003 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
31004 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
31005 if buffer was too small.
31006
27724598
UD
31007 * elf/pldd.c (main): Attach to all threads in the process.
31008 Rewrite /proc handling to use *at functions.
31009
076fe015
UD
310102011-08-16 Ulrich Drepper <drepper@gmail.com>
31011
174baab3
UD
31012 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
31013 specifies first scope to show.
31014 (dl_open_worker): Update callers. Move printing scope of new
31015 object to before the relocation.
44f0a71e 31016 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
31017 * sysdeps/generic/ldsodefs.h: Update declaration.
31018
076fe015
UD
31019 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
31020 string for the scope number.
31021
a60df2c3
UD
310222011-08-14 Ulrich Drepper <drepper@gmail.com>
31023
31024 * nscd/servicescache.c (cache_addserv): Make sure written is always
31025 initialized.
31026
5e4287d1
RM
310272011-08-14 Roland McGrath <roland@hack.frob.com>
31028
85ae0589
RM
31029 * sysdeps/i386/i486/bits/atomic.h
31030 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
31031 statement expression, so as to suppress "set but not used" warning.
31032 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
31033
69f63097
RM
31034 * string/strncat.c (STRNCAT): Use prototype definition.
31035
675456ef
RM
31036 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
31037 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
31038 -Iprograms here.
31039 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
31040 (localedef-modules): Add localedef.
31041 (locale-modules): Add locale.
31042
5e4287d1
RM
31043 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
31044 * elf/rtld.c (dl_main): Invert order of assignment in last change,
31045 to avoid a warning.
31046
9c96ff23
DM
310472011-08-14 David S. Miller <davem@davemloft.net>
31048
31049 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
31050 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
31051
f9ddf089
UD
310522011-08-13 Ulrich Drepper <drepper@gmail.com>
31053
44f0a71e 31054 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
31055 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
31056 * elf/rtld.c (dl_main): Set l_name of vDSO.
31057 Call _dl_show_scope when DL_DEBUG_SCOPES.
31058 (process_dl_debug): Recognize scopes flag and also set it for all.
31059 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
31060 Declare _dl_show_scope.
31061
1dc27704
UD
31062 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
31063 (do_dlopen): Pass caller_dlopen to dl_open.
31064 (__libc_dlopen_mode): Initialize caller_dlopen.
31065
f9ddf089
UD
31066 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
31067 of libc. Make tolower call locale-independent. Optimize a bit by
31068 using isdigit instead of isalnum.
31069 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
31070
9ac533d3
UD
310712011-08-12 Ulrich Drepper <drepper@gmail.com>
31072
31073 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
31074 was a dependency or dynamically loaded.
31075
89edf2e9
UD
310762011-08-11 Ulrich Drepper <drepper@gmail.com>
31077
8e999d29
UD
31078 * intl/l10nflist.c: Allow architecture-specific pop function.
31079 * sysdeps/x86_64/l10nflist.c: New file.
31080
89edf2e9
UD
31081 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
31082 classification.
31083
14d96785
AS
310842011-08-10 Andreas Schwab <schwab@redhat.com>
31085
31086 * include/dirent.h: Add libc_hidden_proto for scandirat and
31087 scandirat64. Don't declare __scandirat64.
31088 * dirent/scandirat.c: Add libc_hidden_def.
31089 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
31090 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
31091
6761ac04
DM
310922011-08-10 David S. Miller <davem@davemloft.net>
31093
31094 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
31095 enum.
31096 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31097 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31098 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31099
c55fbd1e
UD
311002011-08-09 Ulrich Drepper <drepper@gmail.com>
31101
31102 * Versions.def [libc]: Add GLIBC_2.15.
31103 * dirent/Makefile (routines): Add scandirat and scandirat64.
31104 * dirent/Versions [libc]: Export scandirat and scandirat64 for
31105 GLIBC_2.15.
31106 * dirent/dirent.h: Declare scandirat and scandirat64.
31107 * dirent/scandirat.c: New file.
31108 * dirent/scandirat64.c: New file.
31109 * sysdeps/wordsize-64/scandirat.c: New file.
31110 * sysdeps/wordsize-64/scandirat64.c: New file.
31111 * dirent/opendir.c: Define opendirat.
31112 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
31113 using scandirat.
31114 * dirent/scandir64.c: Adjust for scandir.c change.
31115 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
31116 __scandirat64, and __scandir_cancel_handler.
31117 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
31118 additional parameter and use openat instead of open (outside of ld.so).
31119 Add new __opendir as wrapper around __opendirat.
31120 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
31121 here without requiring old scandirat implementation.
31122
879165f2
UD
311232011-08-08 Ulrich Drepper <drepper@gmail.com>
31124
31125 * dirent/scandir.c (cancel_handler): Renamed to
31126 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
31127 defined. Adjust users.
31128 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
31129 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
31130
cb7e923b
UD
311312011-08-04 Ulrich Drepper <drepper@gmail.com>
31132
16292edd
UD
31133 * string/test-string.h (IMPL): Use __STRING to expand name and then
31134 stringify it.
31135
cb7e923b
UD
31136 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
31137 of cleanups.
31138
cff82933
LD
311392011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31140
31141 * string/Makefile: Update.
31142 (strop-tests): Append strncat.
31143 * string/test-wcscmp.c: New file.
31144 New comprehensive test for wcscmp.
31145 * string/test-strcmp.c: Update.
31146 (WIDE): New define.
31147
9be9bfcc
AS
311482011-07-22 Andreas Schwab <schwab@redhat.com>
31149
31150 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
31151 line.
31152
2e96f1c7
AS
311532011-07-26 Andreas Schwab <schwab@redhat.com>
31154
31155 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
31156 encoding to ACE if AI_IDN.
31157
85188888
JJ
311582011-08-01 Jakub Jelinek <jakub@redhat.com>
31159
31160 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
31161 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
31162
5fa16e9b
LD
311632011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31164
31165 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
31166 Fix overflow bug in strncat.
31167 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
31168
31169 * string/test-strncat.c: Update.
31170 Add new tests for checking overflow bugs.
31171
311722011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31173
31174 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31175 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
31176 * sysdeps/i386/i686/multiarch/strcat.S: New file.
31177 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
31178 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
31179 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
31180 * sysdeps/i386/i686/multiarch/strncat.S: New file.
31181 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
31182 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
31183
31184 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
31185 (USE_AS_STRCAT): Define.
31186 Add strcat and strncat support.
31187 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
31188
8c1a459f
AS
311892011-07-25 Andreas Schwab <schwab@redhat.com>
31190
31191 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
31192 __n bigger than INT_MAX+1.
31193 (__strncmp_g): Likewise.
31194
bba33c28
UD
311952011-07-23 Ulrich Drepper <drepper@gmail.com>
31196
798be72d
UD
31197 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
31198 * libio/stido.h: Likewise.
31199
8accd4dc
UD
31200 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
31201 (AF_NFC): Define.
31202 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
31203 (AF_NFC): Define.
31204
cbff0d96
UD
31205 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
31206 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31207 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31208 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
31209 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31210
9191c04a
UD
31211 [BZ #13021]
31212 * scripts/test-installation.pl: Don't expect libnss_test1 to be
31213 installed.
31214
bba33c28
UD
31215 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
31216 typo.
31217 (_dl_x86_64_save_sse): Likewise.
31218
90f139dd
UD
312192011-07-22 Ulrich Drepper <drepper@gmail.com>
31220
1aae088a
UD
31221 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
31222 OSXSAVE.
31223 (_dl_x86_64_save_sse): Likewise.
31224
8e2045f5
UD
31225 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
31226
90f139dd
UD
31227 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
31228
1d002f25
AS
312292011-07-21 Andreas Schwab <schwab@redhat.com>
31230
31231 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
31232 change.
31233 (_dl_x86_64_save_sse): Use correct AVX check.
31234
21137f89
UD
312352011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31236
31237 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
31238 bug in strncpy/strncat.
31239 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
31240
a65c0b7a
UD
312412011-07-21 Ulrich Drepper <drepper@gmail.com>
31242
31243 * string/tester.c (test_strcat): Add tests for different alignments
31244 of source and destination.
31245 (test_strncat): Likewise.
31246
6986b98a
UD
312472011-07-20 Ulrich Drepper <drepper@gmail.com>
31248
90bb2039
UD
31249 [BZ #12852]
31250 * posix/glob.c (glob): Check passed in values before using them in
31251 expressions to avoid some overflows.
31252 (glob_in_dir): Likewise.
31253
5644ef54
UD
31254 [BZ #13007]
31255 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
31256 check for AVX enablement so that we don't crash with old kernels and
31257 new hardware.
31258 * elf/tst-audit4.c: Add same checks here.
31259 * elf/tst-audit6.c: Likewise.
31260
31261 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 31262
bfc9dc9b
AS
312632011-07-09 Andreas Schwab <schwab@linux-m68k.org>
31264
31265 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
31266
702e64bb
UD
312672011-07-20 Ulrich Drepper <drepper@gmail.com>
31268
31269 * po/cs.po: Update from translation team.
31270 * po/bg.po: Likewise.
31271
295e904f
MP
312722011-07-12 Marek Polacek <mpolacek@redhat.com>
31273
31274 * misc/sys/cdefs.h: Add support for const attribute.
31275 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
31276 to gnu_dev_{major,minor,makedev} functions.
31277
3ff94596
MP
312782011-07-20 Marek Polacek <mpolacek@redhat.com>
31279
31280 * intl/dcigettext.c (get_output_charset): Add missing bracket.
31281
28b59fca
AS
312822011-07-20 Andreas Schwab <schwab@redhat.com>
31283
31284 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
31285 strlen results.
31286
19df733e
AK
312872011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31288
31289 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
31290 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
31291 register in order to avoid conflicts with the soft frame pointer
31292 being held in r11 when necessary.
31293 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
31294 (INTERNAL_VSYSCALL_NCS): Likewise.
31295
c8835729
MP
312962011-07-14 Marek Polacek <mpolacek@redhat.com>
31297
31298 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
31299 * elf/dl-fini.c (_dl_fini): Adjust caller.
31300 * elf/dl-close.c (_dl_close_worker): Likewise.
31301 * sysdeps/generic/ldsodefs.h: Adjust declaration.
31302
b902330c
MP
313032011-07-15 Marek Polacek <mpolacek@redhat.com>
31304
8991e135
MP
31305 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
31306 "aux_cache->nlibs < 0".
31307
b902330c
MP
31308 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
31309 in the reload-count case.
31310
99710781
LD
313112011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31312
31313 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31314 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
31315 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
31316 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
31317 * sysdeps/x86_64/multiarch/strcat.S: New file.
31318 * sysdeps/x86_64/multiarch/strncat.S: New file.
31319 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
31320 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
31321 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
31322 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
31323 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
31324 (USE_AS_STRCAT): Define.
31325 Add strcat and strncat support.
31326 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
31327 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
31328 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
31329 * string/strncat.c: Update.
31330 (USE_AS_STRNCAT): Define.
31331 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31332 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
31333 and i7.
31334 * sysdeps/x86_64/multiarch/init-arch.h
31335 (bit_Prefer_PMINUB_for_stringop): New.
31336 (index_Prefer_PMINUB_for_stringop): Likewise.
31337 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
31338 bit_Prefer_PMINUB_for_stringop.
31339
7dc6bd90
UD
313402011-07-19 Ulrich Drepper <drepper@gmail.com>
31341
31342 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
31343 buffer64.
31344 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
31345 of casting of buffer.
31346 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
31347 buffer32 and buffer64.
31348 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
31349 writes instead of casting of buffer.
31350 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
31351 buffer32.
31352 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
31353 casting of buffer.
31354
e0e72284
AS
313552011-07-19 Andreas Schwab <schwab@redhat.com>
31356
31357 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
31358
feb1eb0b
UD
313592011-07-19 Ulrich Drepper <drepper@gmail.com>
31360
31361 * nscd/nscd.c (termination_handler): Don't do anything for a database
31362 if it has not yet been initialized.
31363
298711ff
UD
313642011-07-18 Ulrich Drepper <drepper@gmail.com>
31365
31366 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
31367
313682011-07-15 Marek Polacek <mpolacek@redhat.com>
31369
31370 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
31371
f9d68389
UD
313722011-07-18 Ulrich Drepper <drepper@gmail.com>
31373
31374 * po/nl.po: Update from translation team.
31375 * po/sv.po: Likewise.
31376
db290cf5
RM
313772011-07-16 Roland McGrath <roland@hack.frob.com>
31378
31379 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
31380 now disallowed by GCC.
5c550700 31381
fd5e21c7
RM
31382 * configure.in (use-default-link): Default to yes if a test -shared
31383 link meets our qualifications.
31384 * configure: Regenerated.
31385
5c550700
RM
31386 * config.make.in (output-format): New variable.
31387 * configure.in: Check for ld --print-output-format support.
31388 * configure: Regenerated.
31389 * Makerules ($(common-objpfx)format.lds)
31390 [$(output-format) != unknown]: Just use $(output-format),
31391 instead of the linker-script munging.
31392
9fa2c032
RM
313932011-07-14 Roland McGrath <roland@hack.frob.com>
31394
a6928d51
RM
31395 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
31396 of $(common-objpfx)shlib.lds.
31397 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
31398
661607b3
RM
31399 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
31400 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
31401
9fa2c032
RM
31402 * configure.in (-z relro check): Adjust test code to add a large
31403 writable data section after it.
31404 * configure: Regenerated.
31405
defe9061
RM
314062011-07-11 Roland McGrath <roland@hack.frob.com>
31407
31408 * configure.in (-z relro check): Fix test code to make the variable
31409 truly const.
31410 * configure: Regenerated.
31411
319b9ad4
UD
314122011-07-11 Ulrich Drepper <drepper@gmail.com>
31413
31414 * nscd/nscd.h (struct traced_file): Define.
31415 (struct database_dyn): Remove inotify_descr, reset_res, and filename
31416 elements. Add traced_files.
31417 (inotify_fd): Declare.
31418 (register_traced_file): Declare.
31419 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
31420 (inotify_fd): Export.
31421 (resolv_conf_descr): Remove.
31422 (nscd_init): Move inotify descriptor creation to main.
31423 Don't register files for notification here.
31424 (register_traced_file): New function.
31425 (invalidate_cache): Don't use reset_res to determine whether to call
31426 res_init, go through the list of registered files.
31427 (main_loop_poll): The inotify descriptors are now stored in the
31428 structures for the traced files.
31429 (main_loop_epoll): Likewise
31430 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
31431 to __nss_disable_nscd.
31432 * nscd/cache.c (prune_cache): There is no single inotify descriptor
31433 for a database anymore. Check the records for all the registered
31434 files instead.
31435 * nss/Makefile (libnss_files-routines): Add files-init.
31436 (libnss_db-routines): Add db-init.
31437 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
31438 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
31439 * nss/nss_db/db-init.c: New file.
31440 * nss/nss_files/files-init.c: New file.
31441 * nss/nsswitch.c (nss_load_library): New function. Broken out of
31442 __nss_lookup_function.
31443 (__nss_lookup_function): Call nss_load_library.
31444 (nss_load_all_libraries): New function.
31445 (__nss_disable_nscd): Take parameter with callback function for files
31446 to register. Set is_nscd. Load all the DSOs for the NSS modules
31447 used for the cached services.
31448 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
31449 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
31450 options for features to all the files in nscd.
31451
31452 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
31453
23bee3e8
RM
314542011-07-10 Roland McGrath <roland@hack.frob.com>
31455
31456 * csu/elf-init.c (__libc_csu_init): Comment typo.
31457
46a5b7f0
UD
314582011-07-09 Ulrich Drepper <drepper@gmail.com>
31459
31460 * po/pl.po: Update from translation team.
31461 * po/ja.po: Likewise.
31462 * po/ru.po: Likewise.
31463 * po/ko.po: Likewise.
31464 * po/fr.po: Likewise.
31465
d30cf5bb
RM
314662011-07-09 Roland McGrath <roland@hack.frob.com>
31467
113ddea4
RM
31468 * configure.in (.ctors/.dtors header and trailer check):
31469 Use an empirical test on a built program.
31470 * configure: Regenerated.
31471
574920b4
RM
31472 * configure.in (-z relro check): Use an empirical test on a built DSO.
31473 Detect, but do not require, on ia64.
31474 * configure: Regenerated.
31475
d30cf5bb
RM
31476 * configure.in (READELF): Find it with AC_CHECK_TOOL.
31477 Update tests that use readelf to use $READELF instead.
31478 * configure: Regenerated.
31479
8538fdb3
UD
314802011-07-08 Ulrich Drepper <drepper@gmail.com>
31481
31482 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
31483 if the result is not used.
31484
04d08991
AJ
314852011-07-05 Andreas Jaeger <aj@suse.de>
31486
31487 [BZ#9696]
31488 * stdlib/tst-strtod.c: Add testcase.
31489
de283087
AD
314902011-07-07 Ulrich Drepper <drepper@gmail.com>
31491
4e5f31c8 31492 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 31493 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
31494 The latter has a higher limit. Take additional parameter to pass to
31495 the new function.
31496 (__pathconf): Pass file to __statfs_link_max.
31497 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
31498 __statfs_link_max.
31499 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
31500 __statfs_link_max.
31501
de283087
AD
31502 [BZ #12868]
31503 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
31504 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31505 Handle Lustre.
31506 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
31507 (__statfs_filesize_max): Likewise.
31508 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
31509
c75fa153
AJ
315102011-07-05 Andreas Jaeger <aj@suse.de>
31511
31512 * resolv/res_comp.c (dn_skipname): Remove unused variable.
31513
1a544854
UD
315142011-07-06 Marek Polacek <mpolacek@redhat.com>
31515
31516 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
31517 `status' variable.
31518 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
31519 Likewise.
31520
6f0eec67
UD
315212011-07-04 H.J. Lu <hongjiu.lu@intel.com>
31522
31523 * Makefile (strop-tests): Add strncat.
31524 * string/test-strncat.c: New file.
31525
aae30307
UD
315262011-06-30 Marek Polacek <mpolacek@redhat.com>
31527
31528 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
31529
c0cfb5eb
UD
315302011-06-21 Andreas Jaeger <aj@suse.de>
31531
31532 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
31533 Copy rule from iconvdata/Makefile.
31534
01636b21
UD
315352011-07-06 Ulrich Drepper <drepper@gmail.com>
31536
31537 [BZ #12922]
31538 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
31539 but no long options are defined, just return 'W'.
31540
9895c8bc
UD
315412011-06-22 Marek Polacek <mpolacek@redhat.com>
31542
31543 [BZ #9696]
31544 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
31545
5d4cf042
UD
315462011-07-06 Ulrich Drepper <drepper@gmail.com>
31547
31548 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
31549 netgroups to read.
960e5535 31550 (innetgr): Likewise.
5d4cf042 31551
751eb97e
RM
315522011-07-05 Roland McGrath <roland@hack.frob.com>
31553
31554 * config.make.in (install_root): Default to $(DESTDIR).
31555
f15f1e45
UD
315562011-07-05 Ulrich Drepper <drepper@gmail.com>
31557
31558 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
31559
4e34ac6a
RM
315602011-07-02 Roland McGrath <roland@hack.frob.com>
31561
5e9b6af4
RM
31562 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
31563
84f9ea0f
RM
31564 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
31565 containing directory rather than embedding absolute directory names.
31566
ea5ee9f7
RM
31567 * scripts/check-local-headers.sh: Rewritten using awk.
31568 Match by word, not by line. Print error messages for matches.
31569 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
31570
1b74661a
RM
31571 * Makerules [shlib-lds-flags empty]:
31572 ($(common-objpfx)libc_pic.opts): New target.
31573 ($(common-objpfx)libc_pic.os.clean): New target.
31574 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
31575
31576 * config.make.in (OBJCOPY): New variable.
31577 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
31578 * configure: Regenerated.
31579
f781ef40
RM
31580 * config.make.in (use-default-link): New variable.
31581 * configure.in (use_default_link): Grok --with-default-link to set it.
31582 * configure: Regenerated.
31583 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
31584 (shlib-lds, shlib-lds-flags): Define to empty.
31585
2d4fa81e
RM
31586 * Makerules (shlib-lds): New variable.
31587 (shlib-lds-flags): New variable.
31588 (build-shlib, build-moduile, build-module-asneeded): Use it.
31589 ($(common-objpfx)libc.so): Use $(shlib-lds).
31590 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
31591 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
31592
31fffa6b
RM
31593 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
31594 DT_FLAGS/DT_FLAGS_1 with zero flags.
31595
4e34ac6a
RM
31596 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
31597 linker script munging.
31598
fcfc776b
UD
315992011-07-02 Ulrich Drepper <drepper@gmail.com>
31600
31601 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
31602 as 128-bit value.
31603 * crypt/sha512.c (sha512_process_block): Perform total addition using
31604 128-bit if possible.
31605 (__sha512_finish_ctx): Likewise.
31606 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
31607 as 64-bit value.
31608 * crypt/sha256.c (SWAP64): Define.
31609 (sha256_process_block): Perform total addition using 64-bit if
31610 possible.
31611 (__sha256_finish_ctx): Likewise.
31612
99231d9a
UD
316132011-07-01 Ulrich Drepper <drepper@gmail.com>
31614
31615 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
31616 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31617 * nscd/hstcache.c (cache_addhst): Likewise.
31618 * nscd/grpcache.c (cache_addgr): Likewise.
31619 * nscd/aicache.c (addhstaiX): Likewise
31620 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
31621
445b4a53
TK
316222011-07-01 Thorsten Kukuk <kukuk@suse.de>
31623
31624 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
31625 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31626 * nscd/hstcache.c (cache_addhst): Likewise.
31627 * nscd/grpcache.c (cache_addgr): Likewise.
31628 * nscd/aicache.c (addhstaiX): Likewise
31629
6d4d8e8e
AS
316302011-07-01 Andreas Schwab <schwab@redhat.com>
31631
31632 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
31633 domain only when needed.
31634
89f654c5
AS
316352011-06-30 Andreas Schwab <schwab@redhat.com>
31636
31637 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
31638 is always restored.
31639
cf3b23ff
UD
316402011-06-29 Ulrich Drepper <drepper@gmail.com>
31641
31642 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
31643 are re-adding the entry.
31644 * nscd/servicescache.c (cache_addserv): Likewise.
31645
751626f9
AJ
316462011-06-30 Aurelien Jarno <aurelien@aurel32.net>
31647
31648 * sysdeps/generic/dl-irel.h: fix protection against multiple
31649 inclusions.
31650 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
31651
9113ea1f
UD
316522011-06-28 Ulrich Drepper <drepper@gmail.com>
31653
5c0b8d90
UD
31654 [BZ #12935]
31655 * malloc/memusage.sh: Fix quoting in message.
31656 * debug/xtrace.sh: Likewise.
31657
9113ea1f
UD
31658 * configure.in: Remove support for --experimental-malloc option, make
31659 it the default.
31660 * config.make.in: Likewise.
31661 * malloc/Makefile: Likewise.
31662
a4172181
AS
316632011-06-27 Andreas Schwab <schwab@redhat.com>
31664
31665 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
31666 two-byte characters.
31667
78a7eee7
RM
316682011-06-27 Roland McGrath <roland@hack.frob.com>
31669
62bede13
RM
31670 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
31671 AC_CACHE_CHECK invocation.
31672 * configure: Regenerated.
31673
78a7eee7
RM
31674 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
31675
5ce33a62
UD
316762011-06-27 Ulrich Drepper <drepper@gmail.com>
31677
034807a9
UD
31678 [BZ #12350]
31679 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
31680 bit from old_res_options.
31681
4902da17
UD
31682 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
31683
5ce33a62
UD
31684 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
31685 value type for setfct.
31686
c2344f56
L
316872011-06-23 H.J. Lu <hongjiu.lu@intel.com>
31688
31689 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
31690 __gettimeofday instead of gettimeofday.
31691
68468076
UD
316922011-06-26 Ulrich Drepper <drepper@gmail.com>
31693
31694 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
31695
acb0d739
L
316962011-06-24 H.J. Lu <hongjiu.lu@intel.com>
31697
31698 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
31699
31700 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
31701 info.
31702
8912479f
L
317032011-06-22 H.J. Lu <hongjiu.lu@intel.com>
31704
31705 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31706 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
31707 strcpy-sse2-unaligned strncpy-sse2-unaligned
31708 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
31709 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
31710 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
31711 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
31712 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
31713 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
31714 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
31715 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
31716 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
31717 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
31718 (STRCPY): Support SSE2 and SSSE3 versions.
31719
d5495a11
UD
317202011-06-24 Ulrich Drepper <drepper@gmail.com>
31721
31722 [BZ #12874]
31723 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
31724 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
31725 kernels which artificially limit size of requests.
31726
0b1cbaae
L
317272011-06-22 H.J. Lu <hongjiu.lu@intel.com>
31728
31729 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31730 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
31731 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
31732 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
31733 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
31734 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
31735 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
31736 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
31737 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
31738 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
31739 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
31740 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
31741 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
31742 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
31743 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
31744 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31745 Enable unaligned load optimization for Intel Core i3, i5 and i7
31746 processors.
31747 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
31748 Define.
31749 (index_Fast_Unaligned_Load): Define.
31750 (HAS_FAST_UNALIGNED_LOAD): Define.
31751
07f494a0
MP
317522011-06-23 Marek Polacek <mpolacek@redhat.com>
31753
31754 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
31755
fa3fc0fe
UD
317562011-06-22 Ulrich Drepper <drepper@gmail.com>
31757
31758 [BZ #12907]
31759 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
31760 until it is clear that the information is realy needed.
31761 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
31762
e12df166
AS
317632011-06-22 Andreas Schwab <schwab@redhat.com>
31764
31765 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
31766
852eb34d
UD
317672011-06-22 Ulrich Drepper <drepper@gmail.com>
31768
84e2a551
UD
31769 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
31770 /sys/devices/system/cpu/online if it is usable.
31771
852eb34d
UD
31772 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
31773 reading the information from the /proc filesystem to once a second.
31774
6e502e19
UD
317752011-06-21 Andreas Jaeger <aj@suse.de>
31776
31777 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
31778 NULL after inclusion of kernel headers.
31779
75d39ff2
UD
317802011-06-21 Ulrich Drepper <drepper@gmail.com>
31781
51f9aa6a
UD
31782 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
31783 calls to internal_setent.
31784
c0244a9d
UD
31785 [BZ #12885]
31786 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
31787 addresses using gethostbyname4_r ignore IPv4 addresses.
31788
c5e3c2ae
UD
31789 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
31790 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
31791
75d39ff2
UD
31792 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
31793
42675c6f
DM
317942011-06-20 David S. Miller <davem@davemloft.net>
31795
31796 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
31797 inclusions.
31798 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
31799
31800 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
31801 (elf_irel): Use it.
31802 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
31803 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
31804 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
31805 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
31806 * sysdeps/x86_64/dl-irel.h: Likewise.
31807
31808 * elf/dl-runtime.c: Use elf_ifunc_invoke.
31809 * elf/dl-sym.c: Likewise.
31810
57912a71
UD
318112011-06-15 Ulrich Drepper <drepper@gmail.com>
31812
31813 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
31814 need to dereference resplen2.
31815
ee22793d
AS
318162011-06-14 Andreas Schwab <schwab@redhat.com>
31817
31818 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
31819
a9e836b0
UD
318202011-06-15 Ulrich Drepper <drepper@gmail.com>
31821
77fb9117
UD
31822 * Makeconfig: Define vardbdir and inst_vardbdir.
31823 * nss/Makefile: Add rules to install db-Makefile.
31824
40c1b22c
UD
31825 * nss/nss_db/db-XXX.c: Cleanup.
31826
9f2da732
UD
31827 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
31828 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
31829 GLIBC_PRIVATE.
31830 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
31831 * nss/makedb.c: Implement -g option to specify that value strings
31832 are generated and should not be added to table iterated over for
31833 get*ent calls.
31834 * nss/nss_db/db-initgroups.c: New file.
31835
82e9a1f7
UD
31836 * nss/getent.c: Add support for initgroups lookups through getgrouplist
31837 interface.
31838
c41af17e
UD
31839 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
31840 (internal_getgrouplist): Adjust to name change.
31841 Update use_initgroups_entry if this is not the first call.
31842 * nss/databases.def: Add initgroups entry.
31843
a9e836b0
UD
31844 * nss/makedb.c (compute_tables): Check result of multiple hash table
31845 sizes to minimize maximum chain length.
31846
2666d441
UD
318472011-06-14 Ulrich Drepper <drepper@gmail.com>
31848
31849 * Versions.def: Add entry for libnss_db.
31850 * shlib-versions: Likewise.
31851 * nss/Makefile: Add rules to build libnss_db.
31852 * nss/Versions: Add libnss_db information. Organize libnss_files
31853 entries better.
31854 * nss/db-Makefile: Add gshadow support. Change rules for the new
31855 makedb progra. Some minor improvements to generate smaller files.
31856 * nss/nss_db/nss_db.h: Move NSS database header data structures to
31857 here from...
31858 * nss/makedb.c: ...here.
31859 Improve database format to be smaller and require less memory at
31860 runtime.
31861 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
31862 db anymore.
31863 * nss/nss_db/db-netgrp.c: Likewise.
31864 * nss/nss_db/db-open.c: Likewise.
31865 * nss/nss_files/flies-XXX.x: Adjust comments.
31866 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
31867 * nss/nss_files/files-grp.c: Likewise.
31868 * nss/nss_files/files-hosts.c: Likewise.
31869 * nss/nss_files/files-network.c: Likewise.
31870 * nss/nss_files/files-proto.c: Likewise.
31871 * nss/nss_files/files-pwd.c: Likewise.
31872 * nss/nss_files/files-rpc.c: Likewise.
31873 * nss/nss_files/files-service.c: Likewise.
31874 * nss/nss_files/files-sgrp.c: Likewise.
31875 * nss/nss_files/files-spwd.c: Likewise.
31876 * nss/nss_db/db-alias.c: Removed.
31877 * nss/nss_db/dummy-db.h: Removed.
31878
9ee76b5a
UD
318792011-06-02 Ulrich Drepper <drepper@gmail.com>
31880
31881 * nss/makedb.c: Rewritten to not use database library.
31882 * nss/Makefile: Update to build new makedb program.
31883
c71ca1f8
AJ
318842011-06-14 Andreas Jaeger <aj@suse.de>
31885
31886 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
31887 memset declaration.
31888
3154bfb8
UD
318892011-06-10 Andreas Schwab <schwab@redhat.com>
31890
31891 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
31892 tmpbuf.
31893
b350afab
RM
318942011-06-10 Roland McGrath <roland@hack.frob.com>
31895
decd4e50
RM
31896 * Makerules (shlib.lds): Fail if the linker script comes out empty.
31897 * elf/Makefile ($(objpfx)ld.so): Likewise.
31898
5615eaf2
RM
31899 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
31900 Don't list ld.so twice in dependencies.
31901
31902 * posix/bug-regex31.c: Include <stdlib.h>.
31903
31904 * nscd/hstcache.c (cache_addhst): Remove unused variable.
31905
31906 * nis/nss_compat/compat-spwd.c
31907 (getspent_next_nss_netgr): Remove unused variable.
31908 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
31909
31910 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
31911 nonmembers" output to use the right array.
31912
31913 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
31914
31915 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
31916
31917 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
31918 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
31919 * catgets/gencat.c (read_input_file): Likewise.
31920 * locale/programs/locarchive.c (enlarge_archive): Likewise.
31921
31922 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
31923 variable definition inside #if's controlling its use.
31924
31925 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
31926
31927 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
31928
31929 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
31930
31931 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
31932 unreachable code.
31933
31934 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
31935
b68e08db
RM
31936 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
31937 * configure: Regenerated.
31938
b350afab
RM
31939 * Makerules: Revert last change.
31940 * elf/Makefile: Likewise.
31941
28368601
RM
319422011-06-09 Roland McGrath <roland@hack.frob.com>
31943
31944 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
31945 * elf/Makefile ($(objpfx)librtld.os): Likewise.
31946 (reloc-link): Likewise.
31947
11988f8f
UD
319482011-06-09 Ulrich Drepper <drepper@gmail.com>
31949
31950 * elf/Makefile: Add rules to build pldd.
31951 * elf/pldd.c: New file.
31952 * elf/pldd-xx.c: New file.
31953
e80fab37
UD
319542011-06-07 Ulrich Drepper <drepper@gmail.com>
31955
31956 * version.h: Update for 2.15 development version.
31957
9b849836
DM
319582011-06-07 David S. Miller <davem@davemloft.net>
31959
31960 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
31961 ifuncs.
31962 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
31963 elf_machine_lazy_rel): Likewise.
31964 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
31965 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
31966 elf_machine_lazy_rel): Likewise.
31967 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
31968 dl_hwcap via passed in argument.
31969 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
31970 Likewise.
31971
5a31b283
AK
319722011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31973
31974 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
31975
069e52f8
RM
319762011-06-06 Roland McGrath <roland@hack.frob.com>
31977
31978 [BZ #12849]
31979 * manual/fdl-1.1.texi: New file, verbatim from:
31980 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
31981 * manual/lgpl-2.1.texi: New file, verbatim from:
31982 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
31983 * manual/Makefile (licenses): New variable, list those new file names.
31984 (texis): Use it.
31985 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
31986
31987 * manual/fdl.texi: File removed.
31988 * manual/lesser.texi: File removed.
31989 * manual/libc.texinfo (Copying, Documentation License):
31990 Use new @include file names, put @appendix directive before @include.
31991
f16846a5
JJ
319922011-06-04 Jakub Jelinek <jakub@redhat.com>
31993
31994 [BZ #12841]
31995 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
31996 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
31997 (mq_open): Add __NTH.
31998
3d29045b
L
319992011-06-02 H.J. Lu <hongjiu.lu@intel.com>
32000
32001 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32002 Assume Intel Core i3/i5/i7 processor if AVX is available.
32003
8c297311
UD
320042011-05-31 Ulrich Drepper <drepper@gmail.com>
32005
32006 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
32007 typo.
32008
c8fc0c91
UD
320092011-05-31 Andreas Schwab <schwab@redhat.com>
32010
32011 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
32012 memory. Use alloca_account. Fix memory leak when retrying.
32013
5b27a807
UD
320142011-05-31 Ulrich Drepper <drepper@gmail.com>
32015
356f8bc6
UD
32016 * version.h (RELEASE): Bump for 2.14 release.
32017 * include/features.h (__GLIBC_MINOR__): Bump to 14.
32018
5b27a807
UD
32019 * config.make.in (RANLIB): Remove entry.
32020
01f16ab0
UD
320212011-05-30 Ulrich Drepper <drepper@gmail.com>
32022
41fce8bd
UD
32023 * po/Makefile (po-sed-cmd): Add ksh to extensions.
32024 (libc.pot): Work around missing support for .ksh extension in xgettext.
32025
4769ae77
UD
32026 [BZ #12684]
32027 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
32028 if both request failed.
32029 (send_dg): In case of server errors clear resplen or *resplen2.
32030
6b1e7d19
UD
32031 [BZ #12454]
32032 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
32033 when there are multiple maps.
32034 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
32035 (_dl_fini): Remove test here.
32036
01f16ab0
UD
32037 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
32038
b1ebd700
UD
320392011-05-29 Ulrich Drepper <drepper@gmail.com>
32040
7ae22829
UD
32041 [BZ #12350]
32042 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
32043 bit from old_res_options.
32044 (gaih_inet): Likewise.
32045
553149f6 32046 [BZ #11099]
18a84741 32047 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
32048 as signed.
32049
652ffab1
UD
32050 * resolv/res_init.c (res_setoptions): Make the code more compact.
32051
16985fd0
UD
32052 [BZ #11558]
32053 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
32054 set RES_USEVC.
32055
0464f746
UD
32056 [BZ #11634]
32057 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
32058
7d17596c
UD
32059 * malloc/malloc.h: Mark malloc hook variables as deprecated.
32060
cf6bbbd7
UD
32061 [BZ #11781]
32062 * malloc/malloc.h: Declare malloc hook variables as volatile.
32063
13f1ab36
UD
32064 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
32065 in last patch.
32066
b1ebd700
UD
32067 [BZ #11799]
32068 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 32069 raise in the comment.
80e2212d
UD
32070 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
32071 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
32072 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 32073
ce67228d
UD
320742011-05-28 Ulrich Drepper <drepper@gmail.com>
32075
8887a920
UD
32076 [BZ #12811]
32077 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
32078 grow the buffers more if it already has to be sufficient.
32079 (build_wcs_upper_buffer): Likewise.
32080 * posix/regexec.c (check_matching): Likewise.
32081 (clean_state_log_if_needed): Likewise.
32082 (extend_buffers): Don't enlarge buffers beyond size of the input
32083 buffer.
32084 Patches mostly by Emil Wojak <emil@wojak.eu>.
32085 * posix/bug-regex32.c: New file.
32086 * posix/Makefile (tests): Add bug-regex32.
32087
4f031072
UD
32088 * locale/findlocale.c (_nl_find_locale): Return right away if
32089 _nl_explode_name failed.
32090 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
32091
d0478f0c
UD
32092 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
32093
de81b246
UD
32094 * debug/xtrace.sh: Unify messages.
32095 * malloc/memusage.sh: Likewise.
32096
c738465a
UD
32097 [BZ #12813]
32098 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
32099 time symbol from vDSO. Substitute with vsyscall if not available.
32100 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
32101 __vdso_time.
32102
f1f929d7
UD
32103 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
32104 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
32105 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
32106 Add sendmmsg and internal_sendmmsg.
32107 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
32108 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
32109 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
32110
ce67228d
UD
32111 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
32112 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
32113 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
32114
e57420c6
UD
321152011-05-27 Ulrich Drepper <drepper@gmail.com>
32116
a8509ca5
UD
32117 [BZ #12813]
32118 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
32119 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
32120 available.
32121 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
32122 __vdso_getcpu.
32123
e57420c6
UD
32124 [BZ #12814]
32125 * iconvdata/Makefile (tests): Add bug-iconv9.
32126 * iconvdata/bug-iconv9.c: New file.
32127
4d07db15
AS
321282011-05-27 Andreas Schwab <schwab@redhat.com>
32129
32130 [BZ #12814]
32131 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
32132
ea486f69
JJ
321332011-05-25 Jakub Jelinek <jakub@redhat.com>
32134
32135 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
32136 (struct user_regs_struct): Change intcs field back to cs.
32137
6f038433
UD
321382011-05-25 Ulrich Drepper <drepper@gmail.com>
32139
32140 * po/ja.po: Update from translation team.
32141
67f86a25
UD
321422011-05-23 Ulrich Drepper <drepper@gmail.com>
32143
32144 [BZ #12795]
32145 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
32146 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
32147
def7fbd6
AS
321482011-05-20 Andreas Schwab <schwab@redhat.com>
32149
32150 * stdlib/longlong.h: Update from GCC.
32151
f50ef8f1
AS
321522011-05-23 Andreas Schwab <schwab@redhat.com>
32153
32154 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
32155 parameter name.
32156 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
32157 Add parameter name.
32158 (__sysconf): Pass it down.
32159
de7ce8f1
UD
321602011-05-22 Ulrich Drepper <drepper@gmail.com>
32161
f2962a71
UD
32162 [BZ #12671]
32163 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
32164 some situations.
32165 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
32166 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
32167 add in in __libc_use_alloca calls. Adjust callers.
32168 (glob): Use malloc in some situations.
32169
de7ce8f1
UD
32170 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
32171 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
32172 pltexit.
32173
aec84f53
UD
321742011-05-21 Ulrich Drepper <drepper@gmail.com>
32175
05bb4a68
UD
32176 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
32177 and CLOCK_BOOTTIME_ALARM.
32178
7ea72f99
UD
32179 [BZ #12782]
32180 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
32181 is returned.
32182
7e4afad5
UD
32183 * string/_strerror.c (__strerror_r): Print negative errors as signed
32184 numbers.
32185
8e211fec
UD
32186 [BZ #12777]
32187 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
32188 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
32189 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
32190
f7d82dc9
UD
32191 * configure.in: Fix typo in redirection and correct removal of test
32192 files in two cases.
32193
cc9e536d
UD
32194 [BZ #12788]
32195 * locale/setlocale.c (new_composite_name): Fix test to check for
32196 identical name of all categories.
32197
aec84f53
UD
32198 [BZ #12792]
32199 * libio/filedoalloc.c (local_isatty): New function.
32200 (_IO_file_doallocate): Use local_isatty.
32201 * stdio-common/perror.c (perror): In case a new stream is used
32202 forward the stream error.
32203 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
32204 error flag.
32205
78e64fdc
RT
322062011-05-20 Ulrich Drepper <drepper@gmail.com>
32207
34a9094f
UD
32208 [BZ #11869]
32209 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
32210 alloca.
32211 * include/alloca.h (extend_alloca_account): Define.
32212
78e64fdc
RT
32213 [BZ #11857]
32214 * posix/regex.h: Fix comments with documentation of user-accessible
32215 fields after compilation and describe correct free'ing of pattern
32216 after re_compile_pattern.
32217 Patch by Reuben Thomas <rrt@sc3d.org>.
32218
457bddfc
RA
322192011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
32220
32221 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
32222 and -mno-altivec to prevent the compiler from using Altivec and/or
32223 VSX instructions when the corresponding registers are not available.
32224
a4527b51
AS
322252011-05-19 Andreas Schwab <schwab@redhat.com>
32226
32227 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
32228
ed690b2f
UD
322292011-05-19 Ulrich Drepper <drepper@gmail.com>
32230
32231 * libio/freopen.c (freopen): Use __dup2, not dup2.
32232 * libio/freopen64.c (freopen64): Likewise.
32233
8db73634
L
322342011-05-17 H.J. Lu <hongjiu.lu@intel.com>
32235
32236 [BZ #12775]
32237 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
32238 * math/Makefile (tests): Add test-powl.
32239 (CFLAGS-test-powl.c): Define.
32240 * math/test-powl.c: New file.
32241
0a197a9d
L
322422011-05-16 H.J. Lu <hongjiu.lu@intel.com>
32243
32244 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
32245
ee30c380
UD
322462011-05-17 Ulrich Drepper <drepper@gmail.com>
32247
32248 [BZ #11837]
32249 * iconvdata/gb18030.c: Update to GB18020-2005.
32250
6ce75379
UD
322512011-05-16 Ulrich Drepper <drepper@gmail.com>
32252
a4b89fd8
AR
32253 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
32254 RE_SYNTAX_POSIX_AWK): Update to match recent development.
32255 Patch by Aharon Robbins <arnold@skeeve.com>.
32256
ea389b12
UD
32257 [BZ #11892]
32258 * stdlib/putenv.c (putenv): Don't always create copy of the variable
32259 on the stack.
32260
68a3f91f
UD
32261 [BZ #11895]
32262 * misc/pselect.c (__pselect): Handle timeout value errors hidden
32263 through underflows.
32264
15cc7dd1
UD
32265 [BZ #12766]
32266 * misc/error.c (error_at_line): Ensure file_name and old_file_name
32267 point to strings before performing equality test for error_one_per_line
32268 mode.
32269
f3799213
UD
32270 [BZ #11697]
32271 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
32272
d79a9c94
UD
32273 [BZ #11820]
32274 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
32275 (struct user_fpregs_struct): Avoid __uint*_t types.
32276
56e5eb46
UD
32277 [BZ #6420]
32278 * malloc/mtrace.c (tr_where): Add additional parameter to point to
32279 symbol info. Use it instead of calling _dl_addr locally.
32280 (lock_and_info): New function.
32281 (tr_freehook): Call lock_and_info and pass symbol info as additional
32282 parameter to tr_where.
32283 (tr_mallochook): Likewise.
32284 (tr_reallochook): Likewise.
32285 (tr_memalignhook): Likewise.
32286
6ce75379
UD
32287 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
32288 used and couldn't be at all thread-safe.
32289
f8a3b5bf
UD
322902011-05-15 Ulrich Drepper <drepper@gmail.com>
32291
94b7cc37
UD
32292 * libio/freopen.c (freopen): Don't close old file descriptor
32293 before the new one is opened. Instead dup the new file descriptor
32294 to the old one after the new stream is created.
32295 * libio/freopen64.c (freopen64): Likewise.
32296 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
32297 * libio/fileops.c (_IO_new_file_close_it): Handle new
32298 _IO_FLAGS2_NOCLOSE flag.
32299 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
32300 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
32301 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
32302 _IO_FLAGS2_NOCLOSE flag.
32303 * include/unistd.h: Add hidden_proto for dup3.
32304 Define __have_dup3.
32305 * io/dup3.c: Define hidden symbol.
32306 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
32307
bd25564e
UD
32308 [BZ #7101]
32309 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
32310 when an incomplete long option is used.
32311 * posix/tst-getopt_long1.c: New file.
32312 * posix/Makefile (tests): Add tst-getopt_long1.
32313
c84cfef4
UD
32314 [BZ #10138]
32315 * scripts/config.guess: Update from autoconf-2.68.
32316 * scripts/config.sub: Likewise.
32317
3b85df27
UD
32318 [BZ #10157]
32319 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
32320 tests into ...
32321 (has_cpuclock): ...this. New function.
32322 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
32323 macro here based on has_cpuclock code.
32324
15a856b1
UD
32325 [BZ #10149]
32326 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32327 First byte (not low byte) is now always NUL.
32328 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
32329
05f399e6
UD
32330 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32331 Use non-cancelable interfaces.
32332
10a52685 32333 [BZ #9809]
94ecc67d
UD
32334 * locale/iso-639.def: Add entry for Sorani.
32335
f8a3b5bf
UD
32336 [BZ #11901]
32337 * include/stdlib.h: Move include protection to the right place.
32338 Define abort_msg_s. Declare __abort_msg with it.
32339 * stdlib/abort.c (__abort_msg): Adjust type.
32340 * assert/assert.c (__assert_fail_base): New function. Majority
32341 of code from __assert_fail. Allocate memory for __abort_msg with
32342 mmap.
32343 (__assert_fail): Now call __assert_fail_base.
32344 * assert/assert-perr.c: Remove bulk of implementation. Use
32345 __assert_fail_base.
32346 * include/assert.hL Declare __assert_fail_base.
32347 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
32348 mmap.
32349 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
32350
1af4e298
UD
323512011-05-14 Ulrich Drepper <drepper@gmail.com>
32352
f8a3b5bf 32353 [BZ #11952]
d26dfc60
MG
32354 [BZ #12453]
32355 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
32356 until all modules are registered in the DTV.
32357 * elf/Makefile: Add rules to build and run tst-tls19.
32358 * elf/tst-tls19.c: New file.
32359 * elf/tst-tls19mod1.c: New file.
32360 * elf/tst-tls19mod2.c: New file.
32361 * elf/tst-tls19mod3.c: New file.
32362 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
32363
2fc54d6f
UD
32364 [BZ #12083]
32365 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
32366 correctly.
32367
98d76b46
UD
32368 [BZ #12601]
32369 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
32370 two-byte sequence errors.
32371 * iconvdata/Makefile (tests): Add bug-iconv8.
32372 * iconvdata/bug-iconv8.c: New file.
32373
da3c19ef
UD
32374 [BZ #12626]
32375 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
32376 buf2 definition.
32377
ca408c15
UD
32378 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
32379
d6f67f7d
UD
32380 [BZ #12432]
32381 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
32382 (dummy_getcfa): New function.
32383 (init): Get _Unwind_GetCFA address, use dummy if not found.
32384 (backtrace_helper): In recursion check, also check whether CFA changes.
32385 (__backtrace): Completely initialize arg.
32386
1af4e298 32387 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
32388 storing incomplete byte sequence in state object. Avoid testing for
32389 guaranteed too small input if we know there is enough data available.
1af4e298 32390
da62f81b
AS
323912011-05-11 Andreas Schwab <schwab@redhat.com>
32392
32393 * Makeconfig (+link-pie): Indent.
32394 * Rules (binaries-pie): Define if $(have-fpie) and
32395 $(build-shared).
32396 (binaries-shared): Also filter out $(binaries-pie).
32397 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
32398 * nscd/Makefile (others-pie): Add nscd.
32399 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
32400 ($(objpfx)nscd): Remove command override.
32401 * login/Makefile (others-pie): Add pt_chown.
32402 ($(objpfx)pt_chown): Remove command override.
32403 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
32404 remove command overrides.
32405
fcabc0f8
UD
324062011-05-13 Ulrich Drepper <drepper@gmail.com>
32407
20030ae6
UD
32408 * libio/tst_putwc.c: Fix error messages.
32409
fcabc0f8
UD
32410 [BZ #12724]
32411 * libio/fileops.c (_IO_new_file_close_it): Always flush when
32412 currently writing and seek to current position when not.
32413 * libio/Makefile (tests): Add bug-fclose1.
32414 * libio/bug-fclose1.c: New file.
32415
320a5dc0
PB
324162011-05-12 Ulrich Drepper <drepper@gmail.com>
32417
32418 [BZ #12511]
32419 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
32420 don't set DF_1_NODELETE here.
32421 (do_lookup_x): When entering new entry test for copy relocation
32422 and if necessary set DF_1_NODELETE flag.
32423 * elf/tst-unique4.cc: New file.
32424 * elf/tst-unique4.h: New file.
32425 * elf/tst-unique4lib.cc: New file.
32426 * elf/Makefile: Add rules to build and run tst-unique4.
32427 Patch by Piotr Bury <pbury@goahead.com>.
32428
22836f52
UD
324292011-05-11 Ulrich Drepper <drepper@gmail.com>
32430
f574184a
UD
32431 [BZ #12052]
32432 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
32433
e1fb097f
UD
32434 [BZ #12625]
32435 * misc/mntent_r.c (addmntent): Flush the stream after the output
32436
22836f52
UD
32437 [BZ #12393]
32438 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
32439 (is_trusted_path_normalize): Skip initial colon. Append slash
32440 to empty buffer. Duplicate is_trusted_path code but allow
32441 constructed patch to be prefix.
32442 (is_dst): Allow $ORIGIN followed by /.
32443 (_dl_dst_substitute): Correct clearing of check_for_trusted.
32444 Correct testing of result of is_trusted_path_normalize
32445 (decompose_rpath): Fix warning.
32446
7b3b0b2a
UD
324472011-05-10 Ulrich Drepper <drepper@gmail.com>
32448
32449 [BZ #11257]
32450 * grp/initgroups.c (internal_getgrouplist): When we found the service
32451 list through the initgroups entry in nsswitch.conf do not always
32452 continue on a successful lookup. Don't always use the
eac80ce2 32453 __nss_group_database value if it is set.
7b3b0b2a
UD
32454 * nss/nsswitch.conf (initgroups): Change action for successful db
32455 lookup to continue for compatibility.
32456
2a81eaa5
UD
324572011-05-09 Ulrich Drepper <drepper@gmail.com>
32458
be97a69e
UD
32459 [BZ #11532]
32460 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
32461 and CP774 modules.
32462 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
32463 and CP774 modules.
32464 * iconvdata/tst-tables.sh: Likewise.
32465 * iconvdata/cp770.c: New file.
32466 * iconvdata/cp771.c: New file.
32467 * iconvdata/cp772.c: New file.
32468 * iconvdata/cp773.c: New file.
32469 * iconvdata/cp774.c: New file.
32470 * iconvdata/testdata/CP770: New file.
32471 * iconvdata/testdata/CP770..UTF8: New file.
32472 * iconvdata/testdata/CP771: New file.
32473 * iconvdata/testdata/CP771..UTF8: New file.
32474 * iconvdata/testdata/CP772: New file.
32475 * iconvdata/testdata/CP772..UTF8: New file.
32476 * iconvdata/testdata/CP773: New file.
32477 * iconvdata/testdata/CP773..UTF8: New file.
32478 * iconvdata/testdata/CP774: New file.
32479 * iconvdata/testdata/CP774..UTF8: New file.
32480
32481 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
32482 END CHARMAP line.
32483 * iconvdata/gen-8bit-gap.sh: Likewise.
32484 * iconvdata/gen-8bit.sh: Likewise.
32485
c1e9e399
UD
32486 * locale/iso-639.def: Add ary entry.
32487
24c55fb3 32488 [BZ #11258]
96b4b1b0
UD
32489 * locale/C-translit.h.in: Add U20A1 transliteration.
32490
bdc2f971
KB
32491 [BZ #12178]
32492 * locale/iso-639.def: Add wae entry.
32493 Patch by Kevin Bortis <bortis@translate-wae.ch>.
32494
2952b117
UD
32495 [BZ #12545]
32496 * locale/programs/localedef.c (construct_output_path): Use ssize_t
32497 for n.
32498
2a81eaa5
UD
32499 [BZ #12711]
32500 * locale/C-translit.h.in: Add entry for U20B9.
32501 Patch by pravin.d.s@gmail.com.
32502
28377d1b
UD
325032011-05-08 Ulrich Drepper <drepper@gmail.com>
32504
7fb90fb8
UD
32505 [BZ #12713]
32506 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
32507 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
32508 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
32509 in rtld. Use *stat64.
7fb90fb8 32510 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 32511 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 32512 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
32513 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
32514 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
32515 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
32516 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
32517 __fstatat64 macros.
7fb90fb8
UD
32518 * include/dirent.h: Add libc_hidden_proto for rewinddir.
32519 * dirent/rewinddir.c: Add libc_hidden_def.
32520 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 32521 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 32522
28377d1b
UD
32523 * include/dirent.h (__alloc_dir): Add flags parameter.
32524 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
32525 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
32526 __alloc_dir.
32527 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
32528 from fdopendir if O_CLOEXEC is already set.
32529
66bdbaa4
AM
325302011-03-15 Alan Modra <amodra@gmail.com>
32531
32532 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
32533 l_tls_firstbyte_offset non-zero. Save padding offset in
32534 l_tls_firstbyte_offset for later use.
32535 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
32536 freeing static tls block.
32537
95721191
JN
325382011-03-05 Jonathan Nieder <jrnieder@gmail.com>
32539
32540 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
32541 where #ifdef was intended. The intent is to prevent ARG_MAX from
32542 being defined by the kernel headers.
32543
f87dfb1f
UD
325442011-05-07 Ulrich Drepper <drepper@gmail.com>
32545
32546 [BZ #12734]
32547 * resolv/resolv.h: Define RES_NOTLDQUERY.
32548 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
32549 no-tld-query and set RES_NOTLDQUERY.
32550 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
32551 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
32552 modern BIND to search name as TLD unless forbidden.
32553
47c3cd7a
UD
325542011-05-07 Petr Baudis <pasky@suse.cz>
32555 Ulrich Drepper <drepper@gmail.com>
32556
32557 [BZ #12393]
32558 * elf/dl-load.c (fillin_rpath): Move trusted path check...
32559 (is_trusted_path): ...to here.
c1e9ea35 32560 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 32561 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 32562 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 32563
8a35c912
PP
325642011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
32565
32566 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
32567 __BEGIN/__END_DECLS.
32568
acd41f47
UD
325692011-05-06 Ulrich Drepper <drepper@gmail.com>
32570
32571 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
32572 NSS_STATUS_NOTFOUND if no record was found.
32573
597df647
AS
325742011-05-05 Andreas Schwab <schwab@redhat.com>
32575
32576 * sunrpc/Makefile (headers): Add rpc/netdb.h.
32577 (headers-not-in-tirpc): Remove rpc/netdb.h
32578 * resolv/netdb.h: Revert last change.
32579
b9af1301
PP
325802011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
32581
32582 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
32583 circular dependency between libgcc.a and libc.a.
32584
4e34d5f5
AS
325852011-05-05 Andreas Schwab <schwab@redhat.com>
32586
32587 * resolv/netdb.h: Don't include <rpc/netdb.h>.
32588 * nis/Makefile: Don't install rpcsvc/*.
32589 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
32590 instead of <rpc/types.h>.
32591 (MAXHOSTNAMELEN): Define.
32592
00ee369c
AS
325932011-05-03 Andreas Schwab <schwab@redhat.com>
32594
32595 * elf/ldconfig.c (add_dir): Don't crash on empty path.
32596
0b592a30
MB
325972011-04-28 Maciej Babinski <mbabinski@google.com>
32598
32599 [BZ #12714]
32600 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
32601 gethostbyname4_r when IPv6 results are possible.
32602
6e04cbbe
UD
326032011-05-02 Ulrich Drepper <drepper@gmail.com>
32604
32605 [BZ #12723]
32606 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
32607 _PC_PIPE_BUF handling.
32608
e4ecafe0
BH
326092011-04-30 Bruno Haible <bruno@clisp.org>
32610
32611 [BZ #12717]
32612 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
32613 * resolv/netdb.h (getnameinfo): Change type of flags parameter
32614 to 'int'.
32615 * inet/getnameinfo.c (getnameinfo): Likewise.
32616
125ee683
UD
326172011-04-29 Ulrich Drepper <drepper@gmail.com>
32618
32619 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
32620 to groups setting in database lookup.
32621 * nss/nsswitch.conf: Add initgroups entry.
32622
b722481a
EB
326232011-04-22 Ulrich Drepper <drepper@gmail.com>
32624
32625 [BZ #12685]
32626 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
32627 mode string.
32628 Patch by Eric Blake <eblake@redhat.com>.
32629
4df46dbd
L
326302011-04-20 H.J. Lu <hongjiu.lu@intel.com>
32631
32632 * sunrpc/Makefile (need-export-routines): Add svc_run.
32633 (routines): Remove svc_run.
32634 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
32635 * sunrpc/clnt_perr.c (clnt_perrno): Export.
32636 * sunrpc/svc_run.c (svc_run): Likewise.
32637 * sunrpc/svc_udp.c (svcudp_create): Likewise.
32638
e84142d2
UD
326392011-04-21 Ulrich Drepper <drepper@gmail.com>
32640
32641 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
32642 problem in reallocation in last patch.
32643
877175d8
UD
326442011-04-20 Ulrich Drepper <drepper@gmail.com>
32645
32646 * sunrpc/Makefile: Move inclusion of Rules.
32647
ab8eed78
UD
326482011-04-19 Ulrich Drepper <drepper@gmail.com>
32649
32650 * nss/nss_files/files-initgroups.c: New file.
32651 * nss/Makefile (libnss_files-routines): Add files-initgroups.
32652 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
32653 _nss_files_initgroups_dyn.
32654
e3d8f584
RS
326552011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
32656
32657 * elf/elf.h (R_ARM_IRELATIVE): Define.
32658
af190f45
UD
326592011-04-19 Ulrich Drepper <drepper@gmail.com>
32660
32661 * po/ru.po: Update from translation team.
32662
53cf59ef
UD
326632011-04-17 Ulrich Drepper <drepper@gmail.com>
32664
32665 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
32666 dependencies.
32667
4c559bcd
MF
326682011-02-06 Mike Frysinger <vapier@gentoo.org>
32669
32670 [BZ #12653]
32671 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
32672 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
32673 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
32674 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32675 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
32676
4420675c
AS
326772011-03-28 Andreas Schwab <schwab@linux-m68k.org>
32678
32679 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
32680 differing bytes.
32681 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
32682 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
32683 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
32684
75ea32ab
UD
326852011-04-17 Ulrich Drepper <drepper@gmail.com>
32686
32687 [BZ #12420]
32688 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
32689 storing it.
32690 * stdlib/bug-getcontext.c: New file.
32691 * stdlib/Makefile: Add rules to build and run bug-getcontext.
32692
27390476
AK
326932011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32694
32695 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
32696 instructions into .machine "z9-109".
32697 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
32698 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
32699
10442705
AK
327002011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32701
32702 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
32703 between environment variables and auxiliary vector.
32704
7b57bfe5
UD
327052011-04-16 Ulrich Drepper <drepper@gmail.com>
32706
32707 * Makefile: Add rules to build linkobj/libc.so.
32708 * include/libc-symbols.h: Define libc_hidden_nolink.
32709 * include/rpc/auth.h: Mark functions which are to be hidden.
32710 * include/rpc/auth_des.h: Likewise.
32711 * include/rpc/auth_unix.h: Likewise.
32712 * include/rpc/clnt.h: Likewise.
32713 * include/rpc/des_crypt.h: Likewise.
32714 * include/rpc/key_prot.h: Likewise.
32715 * include/rpc/pmap_clnt.h: Likewise.
32716 * include/rpc/pmap_prot.h: Likewise.
32717 * include/rpc/pmap_rmt.h: Likewise.
32718 * include/rpc/rpc_msg.h: Likewise.
32719 * include/rpc/svc.h: Likewise.
32720 * include/rpc/svc_auth.h: Likewise.
32721 * include/rpc/xdr.h: Likewise.
32722 * nis/Makefile: Link all DSOs against linkobj/libc.so.
32723 * nss/Makefile: Likewise.
32724 * sunrpc/Makefile: Don't install headers. Build library with normal
32725 entry points. Don't build rpcinfo. Link RPC tests appropriately.
32726 * sunrpc/auth_des.c: Hide exported symbols by default, export some
32727 for the compat linking library. Remove use of INTDEF/INTUSE.
32728 * sunrpc/auth_none.c: Likewise.
32729 * sunrpc/auth_unix.c: Likewise.
32730 * sunrpc/authdes_prot.c: Likewise.
32731 * sunrpc/authuxprot.c: Likewise.
32732 * sunrpc/clnt_gen.c: Likewise.
32733 * sunrpc/clnt_perr.c: Likewise.
32734 * sunrpc/clnt_raw.c: Likewise.
32735 * sunrpc/clnt_simp.c: Likewise.
32736 * sunrpc/clnt_tcp.c: Likewise.
32737 * sunrpc/clnt_udp.c: Likewise.
32738 * sunrpc/clnt_unix.c: Likewise.
32739 * sunrpc/des_crypt.c: Likewise.
32740 * sunrpc/des_soft.c: Likewise.
32741 * sunrpc/get_myaddr.c: Likewise.
32742 * sunrpc/key_call.c: Likewise.
32743 * sunrpc/key_prot.c: Likewise.
32744 * sunrpc/netname.c: Likewise.
32745 * sunrpc/pm_getmaps.c: Likewise.
32746 * sunrpc/pm_getport.c: Likewise.
32747 * sunrpc/pmap_clnt.c: Likewise.
32748 * sunrpc/pmap_prot.c: Likewise.
32749 * sunrpc/pmap_prot2.c: Likewise.
32750 * sunrpc/pmap_rmt.c: Likewise.
32751 * sunrpc/publickey.c: Likewise.
32752 * sunrpc/rpc_cmsg.c: Likewise.
32753 * sunrpc/rpc_common.c: Likewise.
32754 * sunrpc/rpc_dtable.c: Likewise.
32755 * sunrpc/rpc_prot.c: Likewise.
32756 * sunrpc/rpc_thread.c: Likewise.
32757 * sunrpc/rtime.c: Likewise.
32758 * sunrpc/svc.c: Likewise.
32759 * sunrpc/svc_auth.c: Likewise.
32760 * sunrpc/svc_authux.c: Likewise.
32761 * sunrpc/svc_raw.c: Likewise.
32762 * sunrpc/svc_run.c: Likewise.
32763 * sunrpc/svc_simple.c: Likewise.
32764 * sunrpc/svc_tcp.c: Likewise.
32765 * sunrpc/svc_udp.c: Likewise.
32766 * sunrpc/svc_unix.c: Likewise.
32767 * sunrpc/svcauth_des.c: Likewise.
32768 * sunrpc/xcrypt.c: Likewise.
32769 * sunrpc/xdr.c: Likewise.
32770 * sunrpc/xdr_array.c: Likewise.
32771 * sunrpc/xdr_float.c: Likewise.
32772 * sunrpc/xdr_intXX_t.c: Likewise.
32773 * sunrpc/xdr_mem.c: Likewise.
32774 * sunrpc/xdr_rec.c: Likewise.
32775 * sunrpc/xdr_ref.c: Likewise.
32776 * sunrpc/xdr_sizeof.c: Likewise.
32777 * sunrpc/xdr_stdio.c: Likewise.
32778
e6c61494
UD
327792011-04-10 Ulrich Drepper <drepper@gmail.com>
32780
32781 [BZ #12650]
32782 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
32783 * sysdeps/ia64/dl-tls.h: Likewise.
32784 * sysdeps/powerpc/dl-tls.h: Likewise.
32785 * sysdeps/s390/dl-tls.h: Likewise.
32786 * sysdeps/sh/dl-tls.h: Likewise.
32787 * sysdeps/sparc/dl-tls.h: Likewise.
32788 * sysdeps/x86_64/dl-tls.h: Likewise.
32789 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
32790
34fe483e
AS
327912011-03-14 Andreas Schwab <schwab@redhat.com>
32792
32793 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
32794 rpath element also skip the following colon.
32795 (expand_dynamic_string_token): Add is_path parameter and pass
32796 down to DL_DST_REQUIRED and _dl_dst_substitute.
32797 (decompose_rpath): Call expand_dynamic_string_token with
32798 non-zero is_path. Ignore empty rpaths.
32799 (_dl_map_object_from_fd): Call expand_dynamic_string_token
32800 with zero is_path.
32801
f12a32e6
AS
328022011-04-08 Andreas Schwab <schwab@linux-m68k.org>
32803
32804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
32805 Make cancelable.
32806
38a7d692
UD
328072011-04-09 Ulrich Drepper <drepper@gmail.com>
32808
32809 [BZ #12655]
32810 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
32811 Patch by Filipe David Manana <fdmanana@apache.org>.
32812
e451d22b
AS
328132011-04-07 Andreas Schwab <schwab@redhat.com>
32814
32815 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
32816 Maintain aligned stack.
32817 (CHECK_RSP): Remove unused macro.
32818
dedc7c7b
UD
328192011-04-03 Ulrich Drepper <drepper@gmail.com>
32820
32821 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
32822 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
32823
94521213
UD
328242011-04-02 Ulrich Drepper <drepper@gmail.com>
32825
32826 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
32827
8cb700c0 32828 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 32829
0354e355
L
328302011-03-26 H.J. Lu <hongjiu.lu@intel.com>
32831
32832 [BZ #12518]
32833 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
32834 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
32835 * sysdeps/x86_64/memmove.c: New file.
32836 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
32837 (memcpy): Renamed to ...
32838 (__new_memcpy): This.
32839 (memcpy): Provide GLIBC_2_14 memcpy.
32840 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
32841 (memcpy): Provide GLIBC_2_2_5 memcpy.
32842
8593482f
UD
328432011-04-01 Ulrich Drepper <drepper@gmail.com>
32844
32845 [BZ #12631]
32846 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
32847
81a5726b
AS
328482011-03-30 Andreas Schwab <schwab@redhat.com>
32849
32850 * misc/syncfs.c: New file.
32851 * misc/Makefile (routines): Add syncfs.
32852 * posix/unistd.h: Declare syncfs.
32853 * sysdeps/unix/syscalls.list: Add syncfs.
32854
00e5419f
AS
328552011-04-01 Andreas Schwab <schwab@redhat.com>
32856
32857 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
32858 open_by_handle_at.
32859 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
32860 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
32861 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32862 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32863 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32864 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
32865 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32866
748876bf
UD
328672011-04-01 Ulrich Drepper <drepper@gmail.com>
32868
658e451d
UD
32869 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
32870 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
32871 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
32872 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32873 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32874 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32875 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32876
748876bf
UD
32877 * io/Makefile: Compile fallocate.c, fallocate64.c, and
32878 sync_file_range.c with -fexceptions.
32879 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
32880 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
32881 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
32882 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
32883 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
32884 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
32885 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
32886 sync_file_range as cancellation point
32887 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
32888 now a wrapper around __call_sync_file_range with cancellation handling.
32889 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
32890 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
32891 function name to __call_sync_file_range.
32892 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
32893 Add call_sync_file_range.
748876bf 32894
6e63d5e1
AS
328952011-04-01 Andreas Schwab <schwab@redhat.com>
32896
32897 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 32898 bits/timex.h.
6e63d5e1 32899
46998f74
UD
329002011-04-01 Ulrich Drepper <drepper@gmail.com>
32901
4c1423ed
UD
32902 * iconv/iconv.h: Fix typo in comment.
32903 * io/fcntl.h: Likewise.
32904 * libio/stdio.h: Likewise.
32905 * posix/spawn.h: Likewise.
32906 * posix/unistd.h: Likewise.
32907 * stdlib/stdlib.h: Likewise.
32908 * time/time.h: Likewise.
32909 * wcsmbs/wchar.h: Likewise.
32910
158648c0
UD
32911 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
32912 open_by_handle): Add.
32913 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
32914 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
32915 Augment a few comments.
32916 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
32917 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32918 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32919 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32920 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32921 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
32922 open_by_handle.
32923
46998f74
UD
32924 * io/fcntl.h (AT_EMPTY_PATH): Define.
32925
83fe108b
UD
329262011-03-30 Ulrich Drepper <drepper@gmail.com>
32927
32928 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
32929 * sysdeps/unix/sysv/linux/bits/time.h: New file.
32930 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
32931 to...
32932 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
32933 * Versions.def: Add GLIBC_2.14.
32934 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
32935 Export.
83fe108b 32936
bb242059
UD
329372011-03-22 Ulrich Drepper <drepper@gmail.com>
32938
32939 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
32940 round counter.
32941 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
32942
c97a1282
L
329432011-03-20 H.J. Lu <hongjiu.lu@intel.com>
32944
32945 [BZ #12597]
32946 * string/test-strncmp.c (do_page_test): New function.
32947 (check2): Likewise.
32948 (test_main): Call check2.
32949 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
32950
2a115601
UD
329512011-03-20 Ulrich Drepper <drepper@gmail.com>
32952
32953 [BZ #12587]
32954 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
32955 Handle cache information in CPU leaf 4.
32956 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
32957
8126d904
UD
329582011-03-18 Ulrich Drepper <drepper@gmail.com>
32959
042c49c6 32960 [BZ #12583]
8126d904
UD
32961 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
32962 character representation.
32963 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
32964
ccfe366e
RA
329652011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
32966
32967 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
32968 END(__isnan) to END(__isnanf) to match function entry point/label
32969 EALIGN(__isnanf,...).
32970
c6e13027
JJ
329712011-03-10 Jakub Jelinek <jakub@redhat.com>
32972
32973 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
32974
33f85a3f
UD
329752011-03-10 Ulrich Drepper <drepper@gmail.com>
32976
028478fa
UD
32977 [BZ #12510]
32978 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
32979 copy from the symbol referenced in the relocation to initialize the
32980 used variable.
32981 Patch by Piotr Bury <pbury@goahead.com>.
32982 * elf/Makefile: Add rules to build and tst-unique3.
32983 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
32984 * elf/tst-unique3.cc: New file.
32985 * elf/tst-unique3.h: New file.
32986 * elf/tst-unique3lib.cc: New file.
32987 * elf/tst-unique3lib2.cc: New file.
32988
33f85a3f
UD
32989 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
32990
03592fc7
MF
329912011-03-10 Mike Frysinger <vapier@gentoo.org>
32992
32993 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
32994 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
32995 to _start.
03592fc7 32996
6a5ee102
UD
329972011-03-06 Ulrich Drepper <drepper@gmail.com>
32998
32999 * elf/dl-load.c (_dl_map_object): If we are looking for the first
33000 to-be-loaded object along a path to loader is ld.so.
33001
7e4ba49c
HJ
330022011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
33003 Ulrich Drepper <drepper@gmail.com>
33004
33005 * sysdeps/x86_64/memset.S: After aligning destination, code
33006 branches to different locations depending on the value of
33007 misalignment, when multiarch is enabled. Fix this.
33008
330092011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
33010
33011 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
33012 Set _x86_64_preferred_memory_instruction for AMD processsors.
33013 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33014 Set bit_Prefer_SSE_for_memop for AMD processors.
33015
13a804de
UD
330162011-03-04 Ulrich Drepper <drepper@gmail.com>
33017
33018 * libio/fmemopen.c (fmemopen): Optimize a bit.
33019
9d25c392
AS
330202011-03-03 Andreas Schwab <schwab@redhat.com>
33021
33022 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
33023
a5543c6a
RM
330242011-03-03 Roland McGrath <roland@redhat.com>
33025
33026 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
33027
012d35f7
DM
330282011-02-28 Aurelien Jarno <aurelien@aurel32.net>
33029
7e4ba49c 33030 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
33031 __bzero_ultra1 instead of __memset_ultra1.
33032
4bff6e01
AS
330332011-02-23 Andreas Schwab <schwab@redhat.com>
33034 Ulrich Drepper <drepper@gmail.com>
33035
33036 [BZ #12509]
33037 * include/link.h (struct link_map): Add l_orig_initfini.
33038 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
33039 returning unsuccessfully.
33040 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
33041 close of a file loaded at startup, restore the original l_initfini
33042 list.
33043 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
33044 list, store the pointer.
33045 * elf/Makefile ($(objpfx)noload-mem): New rule.
33046 (noload-ENV): Define.
33047 (tests): Add $(objpfx)noload-mem.
33048 * elf/noload.c: Include <memcheck.h>.
33049 (main): Call mtrace. Close all opened handles.
33050
f2092faf
AS
330512011-02-17 Andreas Schwab <schwab@redhat.com>
33052
33053 [BZ #12454]
33054 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
33055 dependencies are missing.
33056
6c8a2e88
ST
330572011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
33058
f2092faf 33059 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
33060 Hurd needs munmap.
33061 * sysdeps/mach/hurd/ifreq.h: New file.
33062
84a42118
PB
330632011-01-27 Petr Baudis <pasky@suse.cz>
33064 Ulrich Drepper <drepper@gmail.com>
33065
071f805e 33066 [BZ 12445]#
84a42118
PB
33067 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
33068 to extend_alloca().
33069 * stdio-common/bug23.c: New file.
33070 * stdio-common/Makefile (tests): Add bug23.
33071
e23fe25b
AS
330722010-09-28 Andreas Schwab <schwab@redhat.com>
33073 Ulrich Drepper <drepper@gmail.com>
33074
33075 [BZ #12489]
33076 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
33077 before performing relro protection. At old place add assertion
33078 to make sure nothing changed.
33079
d3f02e10
NS
330802011-02-17 Nathan Sidwell <nathan@codesourcery.com>
33081 Glauber de Oliveira Costa <glommer@gmail.com>
33082
33083 * elf/elf.h: Add new ARM TLS relocs.
33084
d55fd7a5
RA
330852011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
33086
33087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
33088 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
33089 cast from r3.
33090 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
33091 'tests' variable.
33092 * sysdeps/wordsize-64/tst-writev.c: New file.
33093
2206397e
RA
330942011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
33095
33096 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
33097 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
33098 insns in _dl_start to prevent a TOC reference before relocs are
33099 resolved.
33100
e9433893
UD
331012011-02-15 Ulrich Drepper <drepper@gmail.com>
33102
33103 [BZ #12469]
33104 * Makeconfig: Remove RANLIB definition.
33105 * Makerules: Don't use RANLIB.
33106 * aclocal.m4: Remove ranlib test.
33107 * configure.in: No need to check for ranlib.
33108 * elf/rtld-Rules: Don't use RANLIB.
33109
f75286c6
ST
331102011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
33111
8e31c82d
ST
33112 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
33113 protection macro.
33114 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
33115 inclusion protection macro.
33116
f75286c6
ST
33117 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
33118 SIGRTMIN and SIGRTMAX and print information in that case only when
33119 SIGRTMIN is defined.
33120
c1d0e639
JJ
331212011-02-11 Jakub Jelinek <jakub@redhat.com>
33122
33123 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
33124 arginfo fn returning -1.
33125
33126 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
33127 and thousands string is zero terminated.
33128
edf9294e
AS
331292011-02-03 Andreas Schwab <schwab@redhat.com>
33130
33131 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
33132 sysdeps/unix/sysv/linux/bits/socket.h.
33133
2b7e92df
ST
331342011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
33135
edf9294e
AS
33136 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
33137 (__CPU_COUNT): Remove old macros.
33138 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
33139 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
33140 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
33141 (__sched_cpualloc, __sched_cpufree): Add declarations.
33142
a4c7ea7b
UD
331432011-02-05 Ulrich Drepper <drepper@gmail.com>
33144
33145 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
33146 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
33147 * nscd/aicache.c (addhstaiX): Return timeout of added value.
33148 (readdhstai): Return value of addhstaiX call.
33149 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
33150 (addgrbyX): Return value returned by cache_addgr.
33151 (readdgrbyname): Return value returned by addgrbyX.
33152 (readdgrbygid): Likewise.
33153 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
33154 (addpwbyX): Return value returned by cache_addpw.
33155 (readdpwbyname): Return value returned by addhstbyX.
33156 (readdpwbyuid): Likewise.
33157 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
33158 (addservbyX): Return value returned by cache_addserv.
33159 (readdservbyname): Return value returned by addservbyX:
33160 (readdservbyport): Likewise.
33161 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
33162 (addhstbyX): Return value returned by cache_addhst.
33163 (readdhstbyname): Return value returned by addhstbyX.
33164 (readdhstbyaddr): Likewise.
33165 (readdhstbynamev6): Likewise.
33166 (readdhstbyaddrv6): Likewise.
33167 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
33168 (readdinitgroups): Return value returned by addinitgroupsX.
33169 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
33170 (prune_cache): Keep track of timeout value of re-added entries.
33171 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
33172 * nscd/nscd.h: Adjust prototypes of readd* functions.
33173
a0bf67cc
RM
331742011-02-04 Roland McGrath <roland@redhat.com>
33175
33176 * nis/nis_server.c (nis_servstate): Use the right name for 0.
33177 (nis_stats): Likewise.
33178 * nis/nis_modify.c (nis_modify): Likewise.
33179 * nis/nis_remove.c (nis_remove): Likewise.
33180 * nis/nis_add.c (nis_add): Likewise.
33181
33182 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
33183
33184 * posix/fnmatch_loop.c: Add some consts.
33185
33186 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
33187
435b95eb
L
331882011-02-02 H.J. Lu <hongjiu.lu@intel.com>
33189
33190 [BZ #12460]
33191 * config.make.in (config-cflags-novzeroupper): Define.
33192 * configure.in: Substitute libc_cv_cc_novzeroupper.
33193 * elf/Makefile (AVX-CFLAGS): Define.
33194 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
33195 (CFLAGS-tst-auditmod4a.c): Likewise.
33196 (CFLAGS-tst-auditmod4b.c): Likewise.
33197 (CFLAGS-tst-auditmod6b.c): Likewise.
33198 (CFLAGS-tst-auditmod6c.c): Likewise.
33199 (CFLAGS-tst-auditmod7b.c): Likewise.
33200 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
33201
8517b15e
UD
332022011-02-02 Ulrich Drepper <drepper@gmail.com>
33203
33204 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
33205 function to the callback.
33206 Patch partly by Jiri Olsa <jolsa@redhat.com>.
33207
10a656fe
AS
332082011-02-02 Andreas Schwab <schwab@redhat.com>
33209
33210 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
33211 of errno.
33212
968dad0a
UD
332132011-01-19 Ulrich Drepper <drepper@gmail.com>
33214
9f94d2ea 33215 [BZ #11724]
968dad0a
UD
33216 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
33217 of constructors.
33218 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
33219 of destructors.
33220 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
33221
33222 [BZ #11724]
33223 * elf/Makefile: Add rules to build and run new test.
33224 * elf/tst-initorder.c: New file.
33225 * elf/tst-initorder.exp: New file.
33226 * elf/tst-initordera1.c: New file.
33227 * elf/tst-initordera2.c: New file.
33228 * elf/tst-initordera3.c: New file.
33229 * elf/tst-initordera4.c: New file.
33230 * elf/tst-initorderb1.c: New file.
33231 * elf/tst-initorderb2.c: New file.
33232 * elf/tst-order-a1.c: New file.
33233 * elf/tst-order-a2.c: New file.
33234 * elf/tst-order-a3.c: New file.
33235 * elf/tst-order-a4.c: New file.
33236 * elf/tst-order-b1.c: New file.
33237 * elf/tst-order-b2.c: New file.
33238 * elf/tst-order-main.c: New file.
33239 New test case by George Gensure <werkt0@gmail.com>.
33240
86e92359
UD
332412010-10-01 Andreas Schwab <schwab@redhat.com>
33242
33243 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
33244 decoding ACE if AI_CANONIDN.
33245
5d5732b0
UD
332462011-01-18 Ulrich Drepper <drepper@gmail.com>
33247
33248 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
33249
a77e8cbc
UD
332502011-01-17 Ulrich Drepper <drepper@gmail.com>
33251
6392473f
UD
33252 * version.h (RELEASE): Bump for 2.13 release.
33253 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
33254
620a0529
UD
33255 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
33256
18ba70a5
UD
33257 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
33258 MADV_NOHUGEPAGE.
32465c3e
UD
33259 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
33260 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
33261 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
33262 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
33263 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
33264 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
33265
c0dafcf1
UD
33266 * posix/getconf.c: Update copyright year.
33267 * catgets/gencat.c: Likewise.
33268 * csu/version.c: Likewise.
33269 * debug/catchsegv.sh: Likewise.
33270 * debug/xtrace.sh: Likewise.
33271 * elf/ldconfig.c: Likewise.
33272 * elf/ldd.bash.in: Likewise.
33273 * elf/sprof.c (print_version): Likewise.
33274 * iconv/iconv_prog.c: Likewise.
33275 * iconv/iconvconfig.c: Likewise.
33276 * locale/programs/locale.c: Likewise.
33277 * locale/programs/localedef.c: Likewise.
33278 * malloc/memusage.sh: Likewise.
33279 * malloc/mtrace.pl: Likewise.
33280 * nscd/nscd.c (print_version): Likewise.
33281 * nss/getent.c: Likewise.
33282
a77e8cbc
UD
33283 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
33284 PF_CAIF, and PF_ALG.
33285 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33286
77e8bddf
AS
332872011-01-16 Andreas Schwab <schwab@linux-m68k.org>
33288
1f20b93a
AS
33289 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
33290 (modules-names): Use them.
33291 (ifunc-test-modules, ifunc-pie-tests): Define.
33292 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
33293 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
33294 (test-extras): Likewise.
33295 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
33296 $(compile-command.c).
33297 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
33298 (all-built-dso): Define.
33299 (check-textrel.out, check-execstack.out): Depend on it.
33300
77e8bddf
AS
33301 * configure.in: Don't override --enable-multi-arch.
33302
bc425b33
UD
333032011-01-15 Ulrich Drepper <drepper@gmail.com>
33304
33305 [BZ #6812]
33306 * nscd/hstcache.c (tryagain): Define.
33307 (cache_addhst): Return tryagain not notfound for temporary errors.
33308 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
33309 failed.
33310
794c3ad3
UD
333112011-01-14 Ulrich Drepper <drepper@gmail.com>
33312
70181fdd
UD
33313 [BZ #10563]
33314 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
33315 to make the syscall.
33316 * sysdeps/unix/sysv/linux/setgroups.c: New file.
33317
794c3ad3
UD
33318 [BZ #12378]
33319 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
33320 and fall back to matching as normal character if the string ends before
33321 the matching ']' is found. This is what POSIX requires.
33322 * posix/testfnm.c: Adjust test result.
33323 * posix/globtest.sh: Adjust test result. Add new test.
33324 * posix/tst-fnmatch.input: Likewise.
33325 * posix/tst-fnmatch2.c: Add new test.
33326
68dc9497
AS
333272010-12-28 Andreas Schwab <schwab@linux-m68k.org>
33328
33329 * elf/Makefile (check-execstack): Revert last change. Depend on
33330 check-execstack.h.
33331 (check-execstack.h): New target.
33332 (generated): Add check-execstack.h.
33333 * elf/check-execstack.c: Include "check-execstack.h".
33334 (main): Revert last change.
33335 (handle_file): Return zero if GNU_STACK is absent and
33336 DEFAULT_STACK_PERMS doesn't include PF_X.
33337
451f001b
UD
333382011-01-13 Ulrich Drepper <drepper@gmail.com>
33339
cfa28e56
UD
33340 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
33341 in child fails because the descriptor is already closed.
8cf8ce17
UD
33342 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
33343 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
33344 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 33345
1086d70d
UD
33346 [BZ #12397]
33347 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
33348 syscall.
33349
451f001b
UD
33350 [BZ #10484]
33351 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
33352 temporary buffer used to handle multi lookups locally.
a85b5cb4 33353 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 33354
08769175
UD
333552011-01-12 Ulrich Drepper <drepper@gmail.com>
33356
33357 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
33358 loader is ld.so.
33359
5e49c52e
UD
333602011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
33361
33362 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
33363 alignment for SSE2.
33364
60522a5f
UD
333652011-01-12 Ulrich Drepper <drepper@gmail.com>
33366
33367 [BZ #12394]
33368 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
33369 characters. When rounding increased number of integer digits recompute
33370 number of groups.
33371 * stdio-common/tst-grouping.c: New file.
33372 * stdio-common/Makefile: Add rules to build and run tst-grouping.
33373
f257bbd7
UD
333742011-01-09 Ulrich Drepper <drepper@gmail.com>
33375
33376 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
33377 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
33378
33379 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
33380 void.
33381 * bits/select.h: Likewise.
33382
fa9c15cb
UD
333832011-01-08 Ulrich Drepper <drepper@gmail.com>
33384
33385 * po/ja.po: Update from translation team.
33386
16c2895f
DM
333872011-01-04 David S. Miller <davem@sunset.davemloft.net>
33388
33389 [BZ #11155]
33390 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
33391 implementation just like for lxstat, fxstatat, et al.
33392
2543fef2
JM
333932010-12-27 Jim Meyering <meyering@redhat.com>
33394
33395 [BZ #12348]
33396 * posix/regexec.c (build_trtable): Return failure indication upon
33397 calloc failure. Otherwise, re_search_internal could infloop on OOM.
33398
98727dbe
UD
333992010-12-25 Ulrich Drepper <drepper@gmail.com>
33400
5bd6dc5c
UD
33401 [BZ #12201]
33402 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
33403 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
33404 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
33405 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
33406
97983464
UD
33407 [BZ #12207]
33408 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
33409
98727dbe
UD
33410 [BZ #12204]
33411 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
33412 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
33413
4a531bb0
L
334142010-12-15 H.J. Lu <hongjiu.lu@intel.com>
33415
33416 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
33417 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
33418 script has SORT_BY_INIT_PRIORITY.
33419 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
33420 NO_CTORS_DTORS_SECTIONS is defined.
33421 * elf/soinit.c: Likewise.
33422 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
33423 NO_CTORS_DTORS_SECTIONS is defined.
33424 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
33425 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
33426 * sysdeps/sh/init-first.c: Likewise.
33427 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
33428
07eb4b71
UD
334292010-12-24 Ulrich Drepper <drepper@gmail.com>
33430
33431 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
33432 always use the slow path.
33433
30950a5f
RA
334342010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
33435
33436 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
33437 similar rule which adds the sysdep directories to the header search in
33438 order to pick up the correct platform stackinfo.h.
33439 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
33440 perform test if it is, otherwise return successfully without testing.
33441 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
33442 DEFAULT_STACK_PERMS define in stackinfo.h.
33443 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
33444 defined in stackinfo.h.
33445 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
33446 DEFAULT_STACK_PERMS defined in stackinfo.h.
33447 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
33448 * sysdeps/ia64/stackinfo.h: Likewise.
33449 * sysdeps/s390/stackinfo.h: Likewise.
33450 * sysdeps/sh/stackinfo.h: Likewise.
33451 * sysdeps/sparc/stackinfo.h: Likewise.
33452 * sysdeps/x86_64/stackinfo.h: Likewise.
33453 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
33454 PF_X for powerpc64. Retain PF_X for powerpc32.
33455
db753e2c
UD
334562010-12-19 Ulrich Drepper <drepper@gmail.com>
33457
14b697f7
UD
33458 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
33459 accurately.
db753e2c
UD
33460 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
33461 GETDENTS_64BIT_ALIGNED.
33462
28300719
UD
334632010-12-14 Ulrich Drepper <dreper@gmail.com>
33464
14b697f7 33465 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 33466
4f197237
AS
334672010-12-10 Andreas Schwab <schwab@redhat.com>
33468
dbb0472f
AS
33469 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
33470 _GNU_SOURCE.
33471
4f197237
AS
33472 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
33473 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
33474 Remove __restrict.
33475 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
33476 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
33477
fb88ac72
UD
334782010-12-09 Ulrich Drepper <drepper@gmail.com>
33479
33480 [BZ #11655]
33481 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
33482 are initialized.
33483
42acbb92
JJ
334842010-12-09 Jakub Jelinek <jakub@redhat.com>
33485
33486 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
33487
c038d98d
UD
334882010-12-03 Ulrich Drepper <drepper@gmail.com>
33489
33490 * po/it.po: Update from translation team.
33491
3a4a2499
L
334922010-12-01 H.J. Lu <hongjiu.lu@intel.com>
33493
33494 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
33495 unused codes.
33496
1e24cf6e
UD
334972010-11-30 Ulrich Drepper <drepper@gmail.com>
33498
33499 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
33500
a7690819
AS
335012010-11-24 Andreas Schwab <schwab@redhat.com>
33502
33503 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
33504 specially.
33505 (gaih_getanswer_slice): Likewise.
33506
3bf8d1b1
JJ
335072010-10-20 Jakub Jelinek <jakub@redhat.com>
33508
33509 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
33510
6db52fbb
PB
335112010-05-31 Petr Baudis <pasky@suse.cz>
33512
33513 [BZ #11149]
33514 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
33515 silently even in the chroot mode.
33516
eaca7569
UD
335172010-11-22 Ulrich Drepper <drepper@gmail.com>
33518
33519 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
33520 last patch a bit. Pretty printing
33521
3056dcdb
UD
335222010-05-31 Petr Baudis <pasky@suse.cz>
33523
33524 [BZ #10085]
33525 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
33526 initialization of skip_initgroups_dyn.
33527
cf7c9078
UD
335282010-11-19 Ulrich Drepper <drepper@gmail.com>
33529
33530 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
33531 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
33532
a1fb5e3e
UD
335332010-11-16 Ulrich Drepper <drepper@gmail.com>
33534
33535 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
33536
3540d66b
AS
335372010-11-11 Andreas Schwab <schwab@redhat.com>
33538
33539 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
33540 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
33541 (tst-fnmatch-ENV): Set MALLOC_TRACE.
33542 ($(objpfx)tst-fnmatch-mem): New rule.
33543 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
33544 * posix/tst-fnmatch.c (main): Call mtrace.
33545
13b69574
L
335462010-11-11 H.J. Lu <hongjiu.lu@intel.com>
33547
33548 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33549 Support Intel processor model 6 and model 0x2c.
33550
da93d214
LM
335512010-11-10 Luis Machado <luisgpm@br.ibm.com>
33552
33553 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
33554 signed comparison.
33555
8ca52c6e
L
335562010-11-09 H.J. Lu <hongjiu.lu@intel.com>
33557
33558 [BZ #12205]
33559 * string/test-strncasecmp.c (check_result): New function.
33560 (do_one_test): Use it.
33561 (check1): New function.
33562 (test_main): Use it.
33563 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
33564 Support strcasecmp and strncasecmp.
33565
69da074d
UD
335662010-11-08 Ulrich Drepper <drepper@gmail.com>
33567
33568 [BZ #12194]
33569 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
33570 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33571
ff02d528
L
335722010-11-07 H.J. Lu <hongjiu.lu@intel.com>
33573
33574 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
33575 IFUNC support.
33576 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33577 memset-x86-64.
33578 * sysdeps/x86_64/multiarch/bzero.S: New file.
33579 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
33580 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
33581 * sysdeps/x86_64/multiarch/memset.S: New file.
33582 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
33583 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33584 Set bit_Prefer_SSE_for_memop for Intel processors.
33585 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
33586 Define.
33587 (index_Prefer_SSE_for_memop): Define.
33588 (HAS_PREFER_SSE_FOR_MEMOP): Define.
33589
344d0b54
LM
335902010-11-04 Luis Machado <luisgpm@br.ibm.com>
33591
33592 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
33593 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
33594
c0dde15b
UD
335952010-11-03 H.J. Lu <hongjiu.lu@intel.com>
33596
33597 [BZ #12191]
33598 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
33599 (__x86_64_raw_data_cache_size_half): Likewise.
33600 (__x86_64_raw_shared_cache_size): Likewise.
33601 (__x86_64_raw_shared_cache_size_half): Likewise.
33602
33603 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
33604 (__x86_64_raw_data_cache_size_half): Likewise.
33605 (__x86_64_raw_shared_cache_size): Likewise.
33606 (__x86_64_raw_shared_cache_size_half): Likewise.
33607 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
33608 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
33609 and __x86_64_raw_shared_cache_size_half. Round
33610 __x86_64_data_cache_size_half, __x86_64_data_cache_size
33611 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
33612 to multiple of 256 bytes.
33613
0e516e0e
MS
336142010-11-03 Ulrich Drepper <drepper@gmail.com>
33615
33616 [BZ #12167]
33617 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
33618 of inacessible symlinks. Verify result of symlink before returning it.
33619 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
33620 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
33621
0e012e87
ER
336222010-10-28 Erich Ritz <erichritz@gmail.com>
33623
33624 * math/math.h (isinf): Fix typo in comment.
33625
de0ff7bc
UD
336262010-11-01 Ulrich Drepper <drepper@gmail.com>
33627
33628 * po/da.po: Update from translation team.
33629
fa41c84d
UD
336302010-10-26 Ulrich Drepper <drepper@gmail.com>
33631
33632 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
33633 is added to the list.
33634
f0967738
AK
336352010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33636 Ulrich Drepper <drepper@gmail.com>
33637
33638 * elf/dl-object.c (_dl_new_object): Don't append the new object to
33639 the global list here. Move code to...
33640 (_dl_add_to_namespace_list): ...here. New function.
33641 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
33642 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
33643 * elf/dl-load.c (lose): Don't remove the element from the list.
33644 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
33645 (_dl_map_object): Likewise.
33646
336472010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
33648
33649 [BZ #12159]
33650 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
33651 into all bytes of SSE register.
33652 Patch by Richard Li <richardpku@gmail.com>.
33653
f0967738 336542010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
33655
33656 [BZ #12140]
33657 * malloc/malloc.c (_int_free): Fill correct number of bytes when
33658 perturbing.
33659
d0b9e94f
MB
336602010-10-20 Michael B. Brutman <brutman@us.ibm.com>
33661
33662 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
33663 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
33664 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
33665 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
33666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
33667 submachine.
33668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
33669
8e9f92e9
AS
336702010-10-22 Andreas Schwab <schwab@redhat.com>
33671
33672 * include/dlfcn.h (__RTLD_SECURE): Define.
33673 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
33674 mode & __RTLD_SECURE instead.
33675 (open_path): Rename preloaded parameter to secure.
33676 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
33677 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
33678 * elf/dl-deps.c (openaux): Likewise.
33679 * elf/rtld.c (struct map_args): Remove is_preloaded.
33680 (map_doit): Don't use it.
33681 (dl_main): Likewise.
33682 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
33683 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
33684
bc96fbda
AS
336852010-09-09 Andreas Schwab <schwab@redhat.com>
33686
33687 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
33688 (sysd-rules-targets): Remove duplicates.
33689 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
33690 rtld-%.$o dependency.
33691
22cd1c9b
AS
336922010-10-18 Andreas Schwab <schwab@redhat.com>
33693
33694 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
33695 _dl_map_object do it.
33696
18edac48
UD
336972010-10-19 Ulrich Drepper <drepper@gmail.com>
33698
33699 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
33700 fast fma builtins, define the macros in the C99 standard.
33701 (FP_FAST_FMAF): Likewise.
33702 (FP_FAST_FMAL): Likewise.
33703 * sysdeps/x86_64/bits/mathdef.h: Likewise.
33704
33705 * bits/mathdef.h: Update copyright year.
33706 * sysdeps/powerpc/bits/mathdef.h: Likewise.
33707
d2050124
MM
337082010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
33709
33710 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
33711 builtins, define the macros in the C99 standard.
33712 (FP_FAST_FMAF): Likewise.
33713 (FP_FAST_FMAL): Likewise.
33714 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
33715 multiply/add.
33716 (FP_FAST_FMAF): Likewise.
33717
475facd1
JJ
337182010-10-15 Jakub Jelinek <jakub@redhat.com>
33719
33720 [BZ #3268]
33721 * math/libm-test.inc (fma_test): Some new testcases.
33722 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
33723 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
33724 y and infinite z. Do multiplication by C already in long double.
33725 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
33726 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
33727 y and infinite z. Do bitwise or of inexact bit into u.d.
33728 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
33729 * sysdeps/i386/fpu/s_fmaf.S: Removed.
33730 * sysdeps/i386/fpu/s_fma.S: Removed.
33731 * sysdeps/i386/fpu/s_fmal.S: Removed.
33732
7c08a05c
JJ
337332010-10-16 Jakub Jelinek <jakub@redhat.com>
33734
33735 [BZ #3268]
33736 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
33737 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
33738 computation is not scheduled after fetestexcept. Fix value
33739 of minimum denormal long double.
33740
f3f7372d
JJ
337412010-10-14 Jakub Jelinek <jakub@redhat.com>
33742
33743 [BZ #3268]
33744 * math/libm-test.inc (fma_test): Add some more tests.
33745 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
33746 correctly.
33747
14d43591
AS
337482010-10-15 Andreas Schwab <schwab@redhat.com>
33749
33750 * scripts/data/localplt-s390-linux-gnu.data: New file.
33751 * scripts/data/localplt-s390x-linux-gnu.data: New file.
33752
5e908464
JJ
337532010-10-13 Jakub Jelinek <jakub@redhat.com>
33754
33755 [BZ #3268]
33756 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
33757 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
33758 instead of dbl-64.
33759 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
33760 inlines.
33761 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
33762 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
33763 if one of x and y is very large and the other is subnormal.
33764 * sysdeps/s390/fpu/s_fmaf.c: New file.
33765 * sysdeps/s390/fpu/s_fma.c: New file.
33766 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
33767 * sysdeps/powerpc/fpu/s_fma.S: New file.
33768 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
33769 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
33770 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
33771
337722010-10-12 Jakub Jelinek <jakub@redhat.com>
33773
33774 [BZ #3268]
33775 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
33776 fma tests.
33777 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
33778 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
33779 * sysdeps/i386/i686/multiarch/s_fma.c: Include
33780 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
33781 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
33782 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
33783 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
33784
b833d51f
UD
337852010-10-12 Ulrich Drepper <drepper@redhat.com>
33786
33787 [BZ #12078]
33788 * posix/regcomp.c (parse_branch): One more memory leak plugged.
33789 * posix/bug-regex31.input: Add test case.
33790
1751705d
UD
337912010-10-11 Ulrich Drepper <drepper@gmail.com>
33792
e9b9cbf5
UD
33793 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
33794 * posix/bug-regex31.input: New file.
33795
33796 [BZ #12078]
33797 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
33798 (parse_sub_exp): Fix last change, use postorder.
33799
ef06edbe
UD
33800 * posix/bug-regex31.c: New file.
33801 * posix/Makefile: Add rules to build and run bug-regex31.
33802
a129c80d
UD
33803 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
33804
33805 [BZ #12078]
33806 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
33807
b76b818e
UD
33808 [BZ #12108]
33809 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
33810 to have entries in sys_siglist.
33811
1751705d
UD
33812 [BZ #12093]
33813 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
33814 be NULL.
33815
9ff8d36f
JJ
338162010-10-07 Jakub Jelinek <jakub@redhat.com>
33817
33818 [BZ #3268]
33819 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
33820 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
33821 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
33822 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
33823 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
33824 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
33825 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
33826 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
33827 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
33828 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
33829 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
33830 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
33831 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
33832 * math/ftestexcept.c (fetestexcept): Likewise.
33833 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
33834 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
33835 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
33836 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
33837 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
33838 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
33839 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33840
af325969
UD
338412010-10-11 Ulrich Drepper <drepper@gmail.com>
33842
c579b202 33843 [BZ #12107]
af325969
UD
33844 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
33845 newline.
33846
67a67b95
UD
338472010-10-06 Ulrich Drepper <drepper@gmail.com>
33848
33849 * string/bug-strstr1.c: New file.
33850 * string/Makefile: Add rules to build and run bug-strstr1.
33851
5fb308bc
EB
338522010-10-05 Eric Blake <eblake@redhat.com>
33853
33854 [BZ #12092]
33855 * string/str-two-way.h (two_way_long_needle): Always clear memory
33856 when skipping input due to the shift table.
33857
45db99c7
UD
338582010-10-03 Ulrich Drepper <drepper@gmail.com>
33859
3b111893
UD
33860 [BZ #12005]
33861 * malloc/mcheck.c: Handle large requests.
33862
45db99c7
UD
33863 [BZ #12077]
33864 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
33865 for strncmp and strncasecmp.
33866 * string/stratcliff.c: Add tests for strcmp and strncmp.
33867 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
33868
cf7a1eb8
NI
338692010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33870
33871 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
33872 __set_fpscr.
33873
6484ba5e
AJ
338742010-09-30 Andreas Jaeger <aj@suse.de>
33875
33876 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
33877 (CGROUP_SUPER_MAGIC): Define.
33878 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33879 Handle btrfs and cgroup file systems.
33880 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
33881 Likewise.
33882
91c42559
LM
338832010-09-27 Luis Machado <luisgpm@br.ibm.com>
33884
33885 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
33886 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
33887
87a97932
AK
338882010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33889
33890 [BZ #12067]
33891 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
33892 trying to locate the ELF header.
33893
c21cc9bc
AS
338942010-09-27 Andreas Schwab <schwab@redhat.com>
33895
33896 [BZ #11611]
33897 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
33898 Mask out sign-bit copies when constructing f_fsid.
33899
315970f6
PB
339002010-09-24 Petr Baudis <pasky@suse.cz>
33901
33902 * debug/stack_chk_fail_local.c: Add missing licence exception.
33903 * debug/warning-nop.c: Likewise.
33904
1ac7a2c7
JM
339052010-09-15 Joseph Myers <joseph@codesourcery.com>
33906
33907 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
33908 implementing getdents64 using getdents syscall, set d_type if
33909 __ASSUME_GETDENTS32_D_TYPE.
33910
56801c50
AS
339112010-09-16 Andreas Schwab <schwab@redhat.com>
33912
33913 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
33914 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
33915
dda51327
UD
339162010-09-21 Ulrich Drepper <drepper@redhat.com>
33917
33918 [BZ #12037]
33919 * posix/unistd.h: Undo change of feature selection for ftruncate from
33920 2010-01-11.
33921
8ffcee4a
UD
339222010-09-20 Ulrich Drepper <drepper@redhat.com>
33923
a545ecd9 33924 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
33925 detection.
33926
e24f0a8b
AS
339272010-09-20 Andreas Schwab <schwab@redhat.com>
33928
33929 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
33930 fanotify_mark.
33931 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
33932
7291c56f
AS
339332010-09-14 Andreas Schwab <schwab@redhat.com>
33934
33935 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
33936 variables after CHECK_SP call.
33937 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
33938
bc5fb037
AS
339392010-09-13 Andreas Schwab <schwab@redhat.com>
33940 Ulrich Drepper <drepper@redhat.com>
33941
33942 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
33943 re-relocationg ld.so.
33944 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
33945 _dl_init_paths call.
33946 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
33947 here anymore.
33948
e66e7419
UD
339492010-09-14 Ulrich Drepper <drepper@redhat.com>
33950
33951 * resolv/res_init.c (__res_vinit): Count the default server we added.
33952
c044aa75
CLT
339532010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
33954 Ulrich Drepper <drepper@redhat.com>
33955
33956 [BZ #11968]
33957 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
33958 (____longjmp_chk): Use %ebx for saving value across system call.
33959 Add unwind info.
33960
32cf4069
AS
339612010-09-06 Andreas Schwab <schwab@redhat.com>
33962
33963 * manual/Makefile: Don't mix pattern rules with normal rules.
33964
817328ee
AS
339652010-09-05 Andreas Schwab <schwab@linux-m68k.org>
33966
33967 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
33968 operation.
33969 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
33970 * libio/iofopncook.c (_IO_cookie_init): Likewise.
33971 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
33972 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
33973 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33974 Likewise.
33975
29fddf61
UD
339762010-09-04 Ulrich Drepper <drepper@redhat.com>
33977
33978 [BZ #11979]
33979 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
33980 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
33981
0959ffc9
UD
339822010-09-02 Ulrich Drepper <drepper@redhat.com>
33983
33984 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
33985 * sysdeps/x86_64/addmul_1.S: Likewise.
33986 * sysdeps/x86_64/lshift.S: Likewise.
33987 * sysdeps/x86_64/mul_1.S: Likewise.
33988 * sysdeps/x86_64/rshift.S: Likewise.
33989 * sysdeps/x86_64/sub_n.S: Likewise.
33990 * sysdeps/x86_64/submul_1.S: Likewise.
33991
ece29840
ST
339922010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
33993
0959ffc9
UD
33994 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
33995 Define __sched_param instead of SCHED_* and sched_param when
ece29840 33996 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 33997 * bits/sched.h [__need_schedparam]
ece29840 33998 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
33999 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
34000 (__defined_schedparam): Define to 1.
ece29840
ST
34001 (__sched_param): New structure, identical to sched_param.
34002 (__need_schedparam): Undefine.
34003
e53a31fe
MF
340042010-08-31 Mike Frysinger <vapier@gentoo.org>
34005
fdc0c10d
MF
34006 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
34007 (epoll_create1): Declare.
34008
e53a31fe
MF
34009 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
34010
a726d796
AS
340112010-08-31 Andreas Schwab <schwab@redhat.com>
34012
34013 [BZ #7066]
34014 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
34015 shifting retval into place.
34016
2f3e3dc7
UD
340172010-09-01 Ulrich Drepper <drepper@redhat.com>
34018
f2933da9
UD
34019 * nis/rpcsvc/nis.h: Update copyright notice.
34020 * nis/rpcsvc/nis.x: Likewise.
34021 * nis/rpcsvc/nis_callback.h: Likewise.
34022 * nis/rpcsvc/nis_callback.x: Likewise.
34023 * nis/rpcsvc/nis_object.x: Likewise.
34024 * nis/rpcsvc/nis_tags.h: Likewise.
34025 * nis/rpcsvc/yp.h: Likewise.
34026 * nis/rpcsvc/yp.x: Likewise.
34027 * nis/rpcsvc/ypupd.h: Likewise.
34028 * nis/yp_xdr.c: Likewise.
34029 * nis/ypupdate_xdr.c: Likewise.
34030
2f3e3dc7
UD
34031 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
34032 mainly the body of pmap_getport. Add parameters to specify timeouts.
34033 (pmap_getport): Use __libc_rpc_getport.
34034 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
34035 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
34036 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
34037
f3dcc2f9
AS
340382010-08-31 Andreas Schwab <schwab@linux-m68k.org>
34039
34040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
34041 fanotify_mark.
34042
6d34eb5b
RM
340432010-08-27 Roland McGrath <roland@redhat.com>
34044
34045 * sysdeps/i386/i686/multiarch/Makefile
34046 (CFLAGS-varshift.c): New variable.
34047
9ea3de11
UD
340482010-08-27 Ulrich Drepper <drepper@redhat.com>
34049
c96d23fc
UD
34050 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
34051 * sysdeps/i386/i686/multiarch/varshift.c: New file.
34052
9ea3de11
UD
34053 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
34054
34055 * sysdeps/x86_64/strlen.S: Minimal code improvement.
34056
623aac7f
L
340572010-08-26 H.J. Lu <hongjiu.lu@intel.com>
34058
34059 * sysdeps/x86_64/strlen.S: Unroll the loop.
34060 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34061 strlen-sse2 strlen-sse2-bsf.
34062 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
34063 __strlen_no_bsf if bit_Slow_BSF is set.
34064 (__strlen_sse42): Removed.
34065 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
34066 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
34067
8b2b7715
RM
340682010-08-25 Roland McGrath <roland@redhat.com>
34069
34070 * sysdeps/x86_64/multiarch/varshift.S: File removed.
34071 * sysdeps/x86_64/multiarch/varshift.c: New file.
34072 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
34073 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
34074 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
34075 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
34076
e73015f2
L
340772010-08-25 H.J. Lu <hongjiu.lu@intel.com>
34078
34079 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34080 strlen-sse2 strlen-sse2-bsf.
34081 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
34082 __strlen_sse2_bsf if bit_Slow_BSF is unset.
34083 (__strlen_sse2): Removed.
34084 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
34085 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
34086 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
34087 bit_Slow_BSF for Atom.
34088 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
34089 (index_Slow_BSF): Define.
34090 (HAS_SLOW_BSF): Define.
34091
df24a73e
UD
340922010-08-25 Ulrich Drepper <drepper@redhat.com>
34093
34094 [BZ #10851]
34095 * resolv/res_init.c (__res_vinit): When no server address at all
34096 is given default to loopback.
34097
f2ac4868
RM
340982010-08-24 Roland McGrath <roland@redhat.com>
34099
09055553
RM
34100 * configure.in: Remove config-name.h generation.
34101 * configure: Regenerated.
34102 * config-name.in: File removed.
34103 * scripts/config-uname.sh: New file.
34104 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
34105 ($(objdir)config-name.h): New target.
34106
f2ac4868
RM
34107 * sunrpc/rpc_parse.h: Avoid nested comment.
34108
73f27d5e
RH
341092010-08-24 Richard Henderson <rth@redhat.com>
34110 Ulrich Drepper <drepper@redhat.com>
34111 H.J. Lu <hongjiu.lu@intel.com>
34112
34113 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
34114 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
34115 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
34116 Replace _mm_srli_si128 with __m128i_shift_right. Replace
34117 _mm_alignr_epi8 with _mm_loadu_si128.
34118 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
34119 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
34120 (__m128i_shift_right): Removed.
34121 * sysdeps/i386/i686/multiarch/varshift.h: New file.
34122 * sysdeps/i386/i686/multiarch/varshift.S: New file.
34123 * sysdeps/x86_64/multiarch/varshift.h: New file.
34124 * sysdeps/x86_64/multiarch/varshift.S: New file.
34125
84b9230c
MF
341262010-08-21 Mike Frysinger <vapier@gentoo.org>
34127
34128 * configure.in: Move assembler checks to before sysdep dir checking.
34129
9bbd0ddc
PB
341302010-08-20 Petr Baudis <pasky@suse.cz>
34131
34132 * LICENSES: Sync the sunrpc license.
34133
9da4bb31
UD
341342010-08-19 Ulrich Drepper <drepper@redhat.com>
34135
a7ab6ec8
UD
34136 * sunrpc/auth_des.c: Update copyright notice once again.
34137 * sunrpc/auth_none.c: Likewise.
34138 * sunrpc/auth_unix.c: Likewise.
34139 * sunrpc/authdes_prot.c: Likewise.
34140 * sunrpc/authuxprot.c: Likewise.
34141 * sunrpc/bindrsvprt.c: Likewise.
34142 * sunrpc/clnt_gen.c: Likewise.
34143 * sunrpc/clnt_perr.c: Likewise.
34144 * sunrpc/clnt_raw.c: Likewise.
34145 * sunrpc/clnt_simp.c: Likewise.
34146 * sunrpc/clnt_tcp.c: Likewise.
34147 * sunrpc/clnt_udp.c: Likewise.
34148 * sunrpc/clnt_unix.c: Likewise.
34149 * sunrpc/des_crypt.c: Likewise.
34150 * sunrpc/des_soft.c: Likewise.
34151 * sunrpc/get_myaddr.c: Likewise.
34152 * sunrpc/getrpcport.c: Likewise.
34153 * sunrpc/key_call.c: Likewise.
34154 * sunrpc/key_prot.c: Likewise.
34155 * sunrpc/openchild.c: Likewise.
34156 * sunrpc/pm_getmaps.c: Likewise.
34157 * sunrpc/pm_getport.c: Likewise.
34158 * sunrpc/pmap_clnt.c: Likewise.
34159 * sunrpc/pmap_prot.c: Likewise.
34160 * sunrpc/pmap_prot2.c: Likewise.
34161 * sunrpc/pmap_rmt.c: Likewise.
34162 * sunrpc/rpc/auth.h: Likewise.
34163 * sunrpc/rpc/auth_unix.h: Likewise.
34164 * sunrpc/rpc/clnt.h: Likewise.
34165 * sunrpc/rpc/des_crypt.h: Likewise.
34166 * sunrpc/rpc/key_prot.h: Likewise.
34167 * sunrpc/rpc/netdb.h: Likewise.
34168 * sunrpc/rpc/pmap_clnt.h: Likewise.
34169 * sunrpc/rpc/pmap_prot.h: Likewise.
34170 * sunrpc/rpc/pmap_rmt.h: Likewise.
34171 * sunrpc/rpc/rpc.h: Likewise.
34172 * sunrpc/rpc/rpc_des.h: Likewise.
34173 * sunrpc/rpc/rpc_msg.h: Likewise.
34174 * sunrpc/rpc/svc.h: Likewise.
34175 * sunrpc/rpc/svc_auth.h: Likewise.
34176 * sunrpc/rpc/types.h: Likewise.
34177 * sunrpc/rpc/xdr.h: Likewise.
34178 * sunrpc/rpc_clntout.c: Likewise.
34179 * sunrpc/rpc_cmsg.c: Likewise.
34180 * sunrpc/rpc_common.c: Likewise.
34181 * sunrpc/rpc_cout.c: Likewise.
34182 * sunrpc/rpc_dtable.c: Likewise.
34183 * sunrpc/rpc_hout.c: Likewise.
34184 * sunrpc/rpc_main.c: Likewise.
34185 * sunrpc/rpc_parse.c: Likewise.
34186 * sunrpc/rpc_parse.h: Likewise.
34187 * sunrpc/rpc_prot.c: Likewise.
34188 * sunrpc/rpc_sample.c: Likewise.
34189 * sunrpc/rpc_scan.c: Likewise.
34190 * sunrpc/rpc_scan.h: Likewise.
34191 * sunrpc/rpc_svcout.c: Likewise.
34192 * sunrpc/rpc_tblout.c: Likewise.
34193 * sunrpc/rpc_util.c: Likewise.
34194 * sunrpc/rpc_util.h: Likewise.
34195 * sunrpc/rpcinfo.c: Likewise.
34196 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
34197 * sunrpc/rpcsvc/key_prot.x: Likewise.
34198 * sunrpc/rpcsvc/klm_prot.x: Likewise.
34199 * sunrpc/rpcsvc/mount.x: Likewise.
34200 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
34201 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
34202 * sunrpc/rpcsvc/rex.x: Likewise.
34203 * sunrpc/rpcsvc/rstat.x: Likewise.
34204 * sunrpc/rpcsvc/rusers.x: Likewise.
34205 * sunrpc/rpcsvc/sm_inter.x: Likewise.
34206 * sunrpc/rpcsvc/spray.x: Likewise.
34207 * sunrpc/rpcsvc/yppasswd.x: Likewise.
34208 * sunrpc/rtime.c: Likewise.
34209 * sunrpc/svc.c: Likewise.
34210 * sunrpc/svc_auth.c: Likewise.
34211 * sunrpc/svc_authux.c: Likewise.
34212 * sunrpc/svc_raw.c: Likewise.
34213 * sunrpc/svc_run.c: Likewise.
34214 * sunrpc/svc_simple.c: Likewise.
34215 * sunrpc/svc_tcp.c: Likewise.
34216 * sunrpc/svc_udp.c: Likewise.
34217 * sunrpc/svc_unix.c: Likewise.
34218 * sunrpc/svcauth_des.c: Likewise.
34219 * sunrpc/xcrypt.c: Likewise.
34220 * sunrpc/xdr.c: Likewise.
34221 * sunrpc/xdr_array.c: Likewise.
34222 * sunrpc/xdr_float.c: Likewise.
34223 * sunrpc/xdr_mem.c: Likewise.
34224 * sunrpc/xdr_rec.c: Likewise.
34225 * sunrpc/xdr_ref.c: Likewise.
34226 * sunrpc/xdr_sizeof.c: Likewise.
34227 * sunrpc/xdr_stdio.c: Likewise.
34228
9da4bb31
UD
34229 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
34230 handling.
34231
bdaa77bc
AS
342322010-08-19 Andreas Schwab <schwab@redhat.com>
34233
34234 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
34235
fe2f79db
LM
342362010-08-19 Luis Machado <luisgpm@br.ibm.com>
34237
34238 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
34239 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
34240 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
34241 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
34242 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
34243 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
34244 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
34245 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
34246 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
34247 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
34248 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
34249 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
34250 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
34251 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
34252
b9b42ee0
AB
342532010-07-26 Anton Blanchard <anton@samba.org>
34254
34255 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
34256 * malloc/arena.c (heap_trim): Likewise.
34257
1c06ba31
UD
342582010-08-16 Ulrich Drepper <drepper@redhat.com>
34259
34260 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
34261 here. Not...
34262 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
34263 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
34264
f8392f40
L
342652010-08-12 H.J. Lu <hongjiu.lu@intel.com>
34266
34267 * sysdeps/i386/elf/Makefile: New file.
34268
3162f12e
AS
342692010-08-14 Andreas Schwab <schwab@linux-m68k.org>
34270
34271 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
34272 from fanotify_init.
34273 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
34274 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
34275
28c90b2c
UD
342762010-08-15 Ulrich Drepper <drepper@redhat.com>
34277
34278 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
34279 of strncasecmp_l.
1feccb6c 34280 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 34281
ca6bb004
UD
342822010-08-14 Ulrich Drepper <drepper@redhat.com>
34283
e9f82e0d
UD
34284 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
34285 strncase_l-nonascii.
34286 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
34287 Add strncase_l-ssse3.
34288 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
34289 * sysdeps/x86_64/strcmp.S: Likewise.
34290 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
34291 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
34292 * sysdeps/x86_64/strncase.S: New file.
34293 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
34294 * sysdeps/x86_64/strncase_l.S: New file.
34295 * string/Makefile (strop-tests): Add strncasecmp.
34296 * string/test-strncasecmp.c: New file.
34297
34298 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
34299 warning.
34300
ca6bb004
UD
34301 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
34302 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
34303
052fa7b3
AS
343042010-08-14 Andreas Schwab <schwab@linux-m68k.org>
34305
34306 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
34307
962dba78
UD
343082010-08-12 Ulrich Drepper <drepper@redhat.com>
34309
34310 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
34311 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
34312 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
34313
bebff237
AM
343142010-05-01 Alan Modra <amodra@gmail.com>
34315
34316 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
34317 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
34318 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
34319 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
34320 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
34321 tidying. Don't tail-call __sigjmp_save for static lib.
34322 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
34323 save location.
34324 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
34325 (CALL_MCOUNT): Add eh info, and nop after bl.
34326 (TAIL_CALL_SYSCALL_ERROR): New macro.
34327 (PSEUDO_RET): Use it.
34328 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
34329 Correct save location of integer regs and cr.
34330 (_dl_profile_resolve): Correct cr save location. Delete nops
34331 after bl when SHARED. Reduce cfi size a little by better
34332 placement of cfi directives.
34333 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
34334 make a stack frame. Instead use parm save area as a temp.
34335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
34336 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
34337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
34338 Don't make a stack frame for parent, use parm save area.
34339 Increase child stack frame to 112 bytes. Don't save unused reg,
34340 and adjust reg usage. Set up cfi on error recovery and
34341 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
34342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
34343 (__makecontext): Add dummy nop after jump to exit.
34344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
34345 Use correct parm save area and cr save, reduce stack frame.
34346 Correct cfi for possible PSEUDO_RET frame setup.
34347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
34348 Branch to local label emitted by PSEUDO_RET rather than
34349 __syscall_error.
34350
02637374
AS
343512010-08-12 Andreas Schwab <schwab@redhat.com>
34352
34353 [BZ #11904]
34354 * locale/programs/locale.c (print_assignment): New function.
34355 (show_locale_vars): Use it.
34356
c3e2f19b
UD
343572010-08-11 Ulrich Drepper <drepper@redhat.com>
34358
3cdaa6ad
UD
34359 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
34360 field.
34361 (struct statfs64): Likewise.
34362 (_STATFS_F_FLAGS): Define.
34363 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
34364 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34365 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
34366 (ST_VALID): Define locally.
34367 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
34368 __statvfs_getflags, use the provided value.
34369 * sysdeps/unix/sysv/linux/kernel-features.h: Define
34370 __ASSUME_STATFS_F_FLAGS.
34371
754f7da3
UD
34372 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
34373
10b3bedc
UD
34374 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
34375 Add sys/fanotify.h.
34376 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
34377 fanotify_mask for GLIBC_2.13.
34378 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
34379 fanotify_init and fanotify_mark.
34380 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
34381 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
34382
c08fb0d7
UD
34383 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
34384 Add prlimit.
34385 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
34386 prlimit64 for GLIBC_2.13.
34387 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
34388 prlimit64.
34389 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
34390 syscall.
34391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
34392 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
34393 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
34394 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
34395 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
34396 add prlimit alias.
34397 * sysdeps/unix/sysv/linux/prlimit.c: New file.
34398
15bac72b
UD
34399 [BZ #11903]
34400 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
34401 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
34402
c3e2f19b
UD
34403 * nss/Makefile: Add rules to build and run tst-nss-test1.
34404 * shlib-versions: Add entry for libnss_test1.
34405 * nss/nss_test1.c: New file.
34406 * nss/tst-nss-test1.c: New file.
34407
34408 * nss/nsswitch.c (__nss_database_custom): Define new variable.
34409 (__nss_configure_lookup): Set appropriate entry in
34410 __nss_configure_lookup to true.
34411 * nss/nsswitch.h: Define enum with indeces of databases in
34412 databases and __nss_database_custom arrays. Declare
34413 __nss_database_custom.
34414 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
34415 to avoid using nscd when custom rules are installed.
34416 * nss/getXXbyYY_r.c: Likewise.
34417 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
34418
34419 * nss/nss_files/files-parse.c: Whitespace fixes.
34420
f15ce4d8
UD
344212010-08-09 Ulrich Drepper <drepper@redhat.com>
34422
34423 [BZ #11883]
34424 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
34425 * posix/fnmatch_loop.c: Likewise.
34426
d22e4cc9
AK
344272010-07-17 Andi Kleen <ak@linux.intel.com>
34428
34429 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
34430 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
34431 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
34432 * Versions.def [GLIBC_2.13]: Add.
34433
805bc17d
UD
344342010-08-06 Ulrich Drepper <drepper@redhat.com>
34435
34436 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34437 Also fail if tpwd after pwuid call is NULL.
34438
5a42321d
ST
344392010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
34440
34441 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
34442 when converting to ms.
34443
fd3ebeda
ST
344442010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
34445
34446 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
34447 EOPNOTSUPP errors with ENOTTY.
34448 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
34449 EOPNOTSUPP errors with ENOTTY.
34450
73507d3a
UD
344512010-07-31 Ulrich Drepper <drepper@redhat.com>
34452
34453 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
34454 Add strcasecmp_l-ssse3.
34455 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
34456 strcasecmp.
34457 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
34458 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
34459 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
34460
fe36dd02
UD
344612010-07-30 Ulrich Drepper <drepper@redhat.com>
34462
66f6765a
UD
34463 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
34464
42e08a54
UD
34465 * string/Makefile (strop-tests): Add strcasecmp.
34466 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
34467 strcasecmp_l-nonascii.
34468 (gen-as-const-headers): Add locale-defines.sym.
34469 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
34470 * sysdeps/x86_64/strcasecmp.S: New file.
34471 * sysdeps/x86_64/strcasecmp_l.S: New file.
34472 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
34473 * sysdeps/x86_64/locale-defines.sym: New file.
34474 * string/test-strcasecmp.c: New file.
34475
fe36dd02
UD
34476 * string/test-strcasestr.c: Test both ends of the range of characters.
34477 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
34478
48cbc0d6
RM
344792010-07-29 Roland McGrath <roland@redhat.com>
34480
76e6d6bc 34481 [BZ #11856]
48cbc0d6
RM
34482 * manual/locale.texi (Yes-or-No Questions): Fix example code.
34483
880113d9
UD
344842010-07-27 Ulrich Drepper <drepper@redhat.com>
34485
34486 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
34487 for ld.so.
34488
deb9cabb
AS
344892010-07-27 Andreas Schwab <schwab@redhat.com>
34490
34491 * manual/memory.texi (Malloc Tunable Parameters): Document
34492 M_PERTURB.
34493
1c7570ff
RM
344942010-07-26 Roland McGrath <roland@redhat.com>
34495
34496 [BZ #11840]
34497 * configure.in (-fgnu89-inline check): Set and substitute
34498 gnu89_inline, not libc_cv_gnu89_inline.
34499 * configure: Regenerated.
34500 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
34501
24fb0f88
UD
345022010-07-26 Ulrich Drepper <drepper@redhat.com>
34503
34504 * string/test-strnlen.c: New file.
34505 * string/Makefile (strop-tests): Add strnlen.
34506 * string/tester.c (test_strnlen): Add a few more test cases.
34507 * string/tst-strlen.c: Better error reporting.
34508
34509 * sysdeps/x86_64/strnlen.S: New file.
34510
8e96b93a
UD
345112010-07-24 Ulrich Drepper <drepper@redhat.com>
34512
34513 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
34514 lower-latency instructions.
34515
dbc676d4
UD
345162010-07-23 Ulrich Drepper <drepper@redhat.com>
34517
34518 * string/test-strcasestr.c: New file.
34519 * string/test-strstr.c: New file.
34520 * string/Makefile (strop-tests): Add strstr and strcasestr.
34521 * string/str-two-way.h: Don't undefine MAX.
34522 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
34523
f6a31e0e
AS
345242010-07-21 Andreas Schwab <schwab@redhat.com>
34525
34526 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34527 strcasestr-nonascii.
34528 (CFLAGS-strcasestr-nonascii.c): Define.
34529 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
34530 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
34531 Remove unused attribute.
34532
5dbc3b6c
RM
345332010-07-20 Roland McGrath <roland@redhat.com>
34534
34535 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
34536 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
34537 ld.so.cache was broken. With it, there is no way to disable dsocaps
34538 like LD_HWCAP_MASK can disable hwcaps.
34539
23d101d8
EPM
345402010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
34541
34542 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
34543
cc9f2e47
UD
345442010-07-16 Ulrich Drepper <drepper@redhat.com>
34545
34546 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
34547 call in strcasestr.
34548 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
34549 __strcasestr_sse42_nonascii.
34550 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
34551 strcasestr-nonascii.c.
34552 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
34553
77c1b069
LM
345542010-06-15 Luis Machado <luisgpm@br.ibm.com>
34555
34556 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
34557 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
34558 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
34559 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
34560
440566c3
UD
345612010-07-09 Ulrich Drepper <drepper@redhat.com>
34562
34563 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
34564 fcntl.
34565
5be9d05d
AS
345662010-07-06 Andreas Schwab <schwab@redhat.com>
34567
c30b7ee2 34568 [BZ #11577]
5be9d05d
AS
34569 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
34570 dl_signal_cerror.
34571
8a492a67
UD
345722010-07-06 Ulrich Drepper <drepper@redhat.com>
34573
34574 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
34575 _PC_PIPE_BUF using F_GETPIPE_SZ.
34576
713df3d5
RM
345772010-07-05 Roland McGrath <roland@redhat.com>
34578
34579 * manual/arith.texi (Rounding Functions): Fix rint description
34580 implicit in round description.
34581
702e8f14
UD
345822010-07-02 Ulrich Drepper <drepper@redhat.com>
34583
34584 * elf/Makefile: Fix linking for a few tests to make recent linker
34585 happy.
34586
52ed8be9
AS
345872010-06-30 Andreas Schwab <schwab@redhat.com>
34588
34589 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
34590 $(common-objpfx)libc_nonshared.a.
34591
f47c9a11
LM
345922010-06-21 Luis Machado <luisgpm@br.ibm.com>
34593
34594 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
34595 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
34596 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
34597 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
34598 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
34599 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
34600 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
34601 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
34602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
34603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
34604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
34605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
34606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
34607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
34608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
34609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
34610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
34611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
34612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
34613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
34614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
34615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
34616 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
34617 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
34618 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
34619 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
34620 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
34621 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
34622 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
34623 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
34624 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
34625 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
34626 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
34627 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
34628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
34629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
34630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
34631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
34632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
34633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
34634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
34635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
34636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
34637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
34638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
34639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
34640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
34641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
34642
6fb8cbcb
L
346432010-06-25 H.J. Lu <hongjiu.lu@intel.com>
34644
34645 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
34646 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
34647 * string/memmove.c (memmove): Renamed to ...
34648 (MEMMOVE): ...this. Default to memmove.
34649 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
34650 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
34651 (END_CHK): Define.
34652 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34653 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
34654 mempcpy-ssse3-back memmove-ssse3-back.
34655 * sysdeps/x86_64/multiarch/bcopy.S: New file .
34656 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
34657 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
34658 * sysdeps/x86_64/multiarch/memcpy.S: New file.
34659 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
34660 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
34661 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
34662 * sysdeps/x86_64/multiarch/memmove.c: New file.
34663 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
34664 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
34665 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
34666 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
34667 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
34668 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
34669 Define.
34670 (index_Fast_Copy_Backward): Define.
34671 (HAS_ARCH_FEATURE): Define.
34672 (HAS_FAST_REP_STRING): Define.
34673 (HAS_FAST_COPY_BACKWARD): Define.
34674
4e733bac 346752010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
34676
34677 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34678 Restore proper fallback handling.
34679
63c4ed22
UD
346802010-06-19 Ulrich Drepper <drepper@redhat.com>
34681
ac2b484c
UD
34682 [BZ #11701]
34683 * posix/group_member.c (__group_member): Correct checking loop.
34684
63c4ed22
UD
34685 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
34686 OOM in getpwuid_r correctly. Return error number when the caller
34687 should return, otherwise -1.
34688 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
34689 call returning > 0 value.
34690 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
34691
765ade4b
AS
346922010-06-07 Andreas Schwab <schwab@redhat.com>
34693
34694 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
34695 libc_nonshared.a from targets in modules-names.
34696
80da2e09
KS
346972010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
34698
34699 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
34700 requires it.
34701
158db122
LM
347022010-06-10 Luis Machado <luisgpm@br.ibm.com>
34703
34704 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
34705 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
34706 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
34707 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
34708
caa78cf8
AS
347092010-06-02 Andreas Schwab <schwab@redhat.com>
34710
34711 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
34712
b2ef2c01
UD
347132010-06-14 Ulrich Drepper <drepper@redhat.com>
34714
34715 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
34716 and F_GETPIPE_SZ.
34717 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
34718 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
34719 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34720 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34721 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
34722 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
34723
fbd643b6
RM
347242010-06-14 Roland McGrath <roland@redhat.com>
34725
34726 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
34727
f32f2869
JJ
347282010-06-07 Jakub Jelinek <jakub@redhat.com>
34729
34730 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
34731 __REDIRECT followed by __THROW.
34732 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
34733 * posix/getopt.h (getopt): Likewise.
34734
2a50c078
EPM
347352010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
34736
34737 * hurd/lookup-at.c (__file_name_lookup_at): Accept
34738 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
34739 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
34740 in AT_FLAGS.
34741 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
34742 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
34743
eb5ad2eb
LM
347442010-05-28 Luis Machado <luisgpm@br.ibm.com>
34745
34746 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
34747
3c88fe1e
L
347482010-05-26 H.J. Lu <hongjiu.lu@intel.com>
34749
34750 [BZ #11640]
34751 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34752 Properly check family and model.
34753
d2f73151
TY
347542010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
34755
34756 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
34757
ebd2e13d
LM
347582010-05-24 Luis Machado <luisgpm@br.ibm.com>
34759
34760 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
34761
b32b8b45
UD
347622010-05-21 Ulrich Drepper <drepper@redhat.com>
34763
34764 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
34765 symbol reference.
34766
9acbe24d
AS
347672010-05-19 Andreas Schwab <schwab@redhat.com>
34768
34769 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
34770 symbol reference.
34771
f0ccf6ea
AS
347722010-05-21 Andreas Schwab <schwab@redhat.com>
34773
3d04ff3a
AS
34774 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
34775 and internal_recvmmsg.
34776 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
34777 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
34778 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
34779 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
34780
f0ccf6ea
AS
34781 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
34782 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
34783 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
34784
5b08ac57
AS
347852010-05-20 Andreas Schwab <schwab@redhat.com>
34786
34787 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
34788
4828935d
LM
347892010-05-17 Luis Machado <luisgpm@br.ibm.com>
34790
34791 POWER7 optimizations.
34792 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
34793 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
34794
373d545e
UD
347952010-05-19 Ulrich Drepper <drepper@redhat.com>
34796
34797 * version.h: Update for 2.13 development version.
34798
21a2b1ae
AS
347992010-05-12 Andrew Stubbs <ams@codesourcery.com>
34800
34801 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
34802 exceptions. Return 0.
34803
3f7dcb2b
RM
348042010-05-07 Roland McGrath <roland@redhat.com>
34805
34806 * elf/ldconfig.c (main): Add a const.
34807
5f24d53a 348082010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 34809
a160f8d8
UD
34810 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
34811 (args_options): Add no-idn option.
34812 (ahosts_keys_int): Add idn_flags to ai_flags.
34813 (parse_option): Handle 'i' option to clear idn_flags.
34814
5f24d53a
UD
34815 * malloc/malloc.c (_int_free): Possible race in the most recently
34816 added check. Only act on the data if no current modification
34817 happened.
265bb1ce
UD
34818
34819See ChangeLog.17 for earlier changes.