]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Fix changelog
[thirdparty/glibc.git] / ChangeLog
CommitLineData
4a15c2a4 12013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
2
3 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
4
8b35e35d
OB
52013-11-01 Ondřej Bílka <neleai@seznam.cz>
6
7 [BZ #16112]
8 * malloc/malloc (malloc_info): Do not handle first bin as
9 special case.
10
1d70fd6c
CL
112013-11-01 Chris Leonard <cjl@sugarlabs.org>
12
13 * locale/iso-639.def: Add Central Nahuatl (nhn).
14
8c5c2600
BH
152013-11-01 Bruno Haible <bruno@clisp.org>
16
17 [BZ #7003]
18 * manual/math.texi (BSD Random): Specify range upper bound as
19 in POSIX.
20
da5579c2
CL
212013-10-31 Chris Leonard <cjl@sugarlabs.org>
22
23 * locale/iso-639.def: Add Meadow Mari (mhr).
24
5d30d853
OB
252013-10-31 Ondřej Bílka <neleai@seznam.cz>
26
27 [BZ #14752], [BZ #15763]
28 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
29 Validate name.
30 * rt/tst_shm.c: Add test for escaping directory.
31
a4966c61
AS
322013-10-31 Andreas Schwab <schwab@suse.de>
33
8a43e768 34 [BZ #15917]
a4966c61
AS
35 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
36 followed by 'x' as part of digit sequence.
37 * stdio-common/tst-sscanf.c (double_tests2): New tests.
38
28d708c4
MAP
392013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
40
41 [BZ #16037]
42 * configure.ac: allow GNU Make 4.0 and greater.
43 * configure: Regenerated.
44
a56ee40b
WN
452013-10-30 Will Newton <will.newton@linaro.org>
46
47 [BZ #16038]
48 * malloc/hooks.c (memalign_check): Limit alignment to the
49 maximum representable power of two.
50 * malloc/malloc.c (__libc_memalign): Likewise.
51 * malloc/tst-memalign.c (do_test): Add test for very
52 large alignment values.
53 * malloc/tst-posix_memalign.c (do_test): Likewise.
54
c6e4925d
OB
552013-10-30 Ondřej Bílka <neleai@seznam.cz>
56
57 [BZ #11087]
58 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
59 (munmap_chunk): Likewise.
60 (mremap_chunk): Likewise.
61
622013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 63
8a43e768 64 [BZ #15799]
bbea82f7
OB
65 * stdlib/div.c (div): Remove obsolete code.
66 * stdlib/ldiv.c (ldiv): Likewise.
67 * stdlib/lldiv.c (lldiv): Likewise.
68
977f4b31
SP
692013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
70
71 [BZ #16071]
72 * nss/nss_files/files-XXX.c (get_contents_ret): New
73 enumerator.
74 (get_contents): New function.
75 (internal_getent): Use it. Expand size of LINEBUFLEN.
76
cb8a6dbd
MF
772013-10-30 Mike Frysinger <vapier@gentoo.org>
78
79 * configure.in: Moved to ...
80 * configure.ac: ... here. Change reference to configure.in
81 to configure.ac.
82 * sysdeps/arm/preconfigure.ac: ... here.
83 configure.in to configure.ac.
84 * sysdeps/gnu/configure.in: Moved to ...
85 * sysdeps/gnu/configure.ac: ... here.
86 * sysdeps/i386/configure.in: Moved to ...
87 * sysdeps/i386/configure.ac: ... here.
88 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
89 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
90 * sysdeps/mach/configure.in: Moved to ...
91 * sysdeps/mach/configure.ac: ... here.
92 * sysdeps/mach/hurd/configure.in: Moved to ...
93 * sysdeps/mach/hurd/configure.ac: ... here.
94 * sysdeps/powerpc/configure.in: Moved to ...
95 * sysdeps/powerpc/configure.ac: ... here.
96 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
97 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
98 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
99 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
100 * sysdeps/s390/s390-32/configure.in: Moved to ...
101 * sysdeps/s390/s390-32/configure.ac: ... here.
102 * sysdeps/s390/s390-64/configure.in: Moved to ...
103 * sysdeps/s390/s390-64/configure.ac: ... here.
104 * sysdeps/sh/configure.in: Moved to ...
105 * sysdeps/sh/configure.ac: ... here.
106 * sysdeps/sparc/configure.in: Moved to ...
107 * sysdeps/sparc/configure.ac: ... here.
108 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
109 * sysdeps/unix/sysv/linux/configure.ac: ... here.
110 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
111 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
112 * sysdeps/x86_64/configure.in: Moved to ...
113 * sysdeps/x86_64/configure.ac: ... here.
114 * sysdeps/x86_64/preconfigure.in: Moved to ...
115 * sysdeps/x86_64/preconfigure.ac: ... here.
116 * aclocal.m4: Change reference to configure.in to configure.ac.
117 * config.h.in: Likewise.
118 * manual/install.texi: Likewise.
119 * manual/maint.texi: Likewise.
120 * Makefile: Likewise.
121 * malloc/Makefile: Likewise.
122 * nscd/Makefile: Likewise.
123 * Makeconfig: Change reference to configure.in and
124 preconfigure.in to configure.ac and preconfigure.ac
125 respectively.
126 * INSTALL: Regenerated.
127 * configure: Likewise.
128 * sysdeps/gnu/configure: Likewise.
129 * sysdeps/i386/configure: Likewise.
130 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
131 * sysdeps/mach/configure: Likewise.
132 * sysdeps/mach/hurd/configure: Likewise.
133 * sysdeps/powerpc/configure: Likewise.
134 * sysdeps/powerpc/powerpc32/configure: Likewise.
135 * sysdeps/powerpc/powerpc64/configure: Likewise.
136 * sysdeps/s390/s390-32/configure: Likewise.
137 * sysdeps/s390/s390-64/configure: Likewise.
138 * sysdeps/sh/configure: Likewise.
139 * sysdeps/sparc/configure: Likewise.
140 * sysdeps/unix/sysv/linux/configure: Likewise.
141 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
142 * sysdeps/x86_64/configure: Likewise.
143 * sysdeps/x86_64/preconfigure: Likewise.
144
36a4953a
AS
1452013-10-29 Andreas Schwab <schwab@suse.de>
146
147 * stdio-common/Makefile (tst-swscanf-ENV): Define.
148
c79a1204
SP
1492013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
150
dfa1b402
SP
151 * benchtests/pow-inputs: Add new inputs.
152
54f73d9c
SP
153 * benchtests/exp-inputs: Add new inputs.
154
c79a1204
SP
155 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
156 conditional check for return value.
157 (__cos32): Likewise.
158
67beb545 1592013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
160
161 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
162 to provide a boost for large inputs with word alignment.
163 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
164 implementation based on optimized PPC64 strcpy.
165 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
166 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
167 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
168 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
169
151659f6
OB
1702013-10-25 Ondřej Bílka <neleai@seznam.cz>
171
482a077e 172 [BZ #2801]
151659f6
OB
173 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
174
10b0f26b
OB
1752013-10-25 Ondřej Bílka <neleai@seznam.cz>
176
177 [BZ #14876]
178 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
179 * time/tst-strptime.c (day_tests): Add testcase.
180
ca42d35e
OB
1812013-10-25 Ondřej Bílka <neleai@seznam.cz>
182
482a077e 183 [BZ #14029]
ca42d35e
OB
184 * manual/pattern.texi: Acknowledge that fnmatch can fail.
185
52e6d801
FB
1862013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
187
188 [BZ #16074]
189 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
190 MAP_FAILED on error.
191
7cbcdb36
SP
1922013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
193
194 [BZ #16072]
195 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
196 heap for large requests.
197
894f3f10
AM
1982013-10-25 Aurelien Jarno <aurelien@aurel32.net>
199
200 [BZ #9954]
201 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
202 result if the result has no associated interface.
203 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
204 interface for all 127.X.Y.Z addresses.
205
b85545a6
CL
2062013-10-24 Chris Leonard <cjl@sugarlabs.org>
207
208 * locale/iso-639.def: Add Ligurian (lij)
209
d1f23d46
OB
2102013-10-21 Ondřej Bílka <neleai@seznam.cz>
211
212 [BZ #15825]
213 * sunrpc/rpc_main.c: Document rpcgen -5.
214
4db5b08f
MS
2152013-10-19 Michael Stahl <mstahl@redhat.com>
216
217 * elf/rtld.c (do_preload): Print the reason why preloading failed.
218
a471e96a
OB
2192013-10-19 Ondřej Bílka <neleai@seznam.cz>
220
d1f23d46 221 [BZ #10278]
a471e96a
OB
222 * posix/glob.c: Match only directories when trailing slash is present.
223 * posix/tst-gnuglob.c (my_opendir): Do not open files.
224 (main): Add testcase.
225
45c30c61
OB
2262013-10-19 Ondřej Bílka <neleai@seznam.cz>
227
228 [BZ #15670]
229 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
230
484c12fb
CD
2312013-10-18 Carlos O'Donell <carlos@redhat.com>
232
3d7dc513
CD
233 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
234 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
235 AUTH_DES and cindex for FIPS 140-2.
236 (DES Encryption): Add cindex FIPS 46-3.
237
484c12fb
CD
238 * locale/locarchive.h (struct locarhandle): Add fname.
239 * locale/programs/localedef.c (main): Pass ARGV[remaining]
240 if an optional argument was specified to --list-archive,
241 otherwise NULL.
242 * locale/programs/locarchive.c (show_archive_content): Take new
243 argument fname and pass it via ah.fname to open_archive.
244 * locale/programs/localedef.h: Update decl.
245 (open_archive): If AH->fname is non-null, open that file
246 rather than the default file name, and don't ignore ENOENT.
247 (create_archive): Set AH.fname to NULL.
248 (delete_locales_from_archive): Likewise.
249 (add_locales_to_archive): Likewise.
250 * locale/programs/locfile.c (write_all_categories): Likewise.
251
3c8325fb
JM
2522013-10-18 Joseph Myers <joseph@codesourcery.com>
253 Aldy Hernandez <aldyh@redhat.com>
254
255 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
256 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
257 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
258 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
259 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
260 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
261 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
262 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
263 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
264 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
265 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
266 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
267 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
268 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
269 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
270 Likewise.
271 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
272 Likewise.
273 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
274 Likewise.
275 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
276 Likewise.
277 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
278 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
279 Likewise.
280 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
281 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
282 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
283 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
284 Likewise.
285 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
286 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
287 * sysdeps/powerpc/preconfigure: Likewise.
288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
289 Likewise.
290 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
291 Replace contents of file by #include of <fenv_libc.h>.
292 * sysdeps/powerpc/soft-fp/sfp-machine.h
293 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
294 and <sys/prctl.h>.
295 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
296 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
297 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
298 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
299 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
300 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
301 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
302 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
303 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
304 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
305 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
306 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
308 Allow copysignl PLT reference to be missing.
309
5abe0682
RS
3102013-10-18 Richard Sandiford <richard@codesourcery.com>
311 Joseph Myers <joseph@codesourcery.com
312
313 [BZ #15948]
314 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
315 single character.
316 (add_to_tablewc): Assert sequence of wide characters is nonempty.
317
c7738d08
SP
3182013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
319
320 * elf/tst-tls-dlinfo.c: Don't include tls.h.
321 * elf/tst-tls1.c: Likewise.
322 * elf/tst-tls10.h: Likewise.
323 * elf/tst-tls14.c: Likewise.
324 * elf/tst-tls2.c: Likewise.
325 * elf/tst-tls3.c: Likewise.
326 * elf/tst-tls4.c: Likewise.
327 * elf/tst-tls5.c: Likewise.
328 * elf/tst-tls6.c: Likewise.
329 * elf/tst-tls7.c: Likewise.
330 * elf/tst-tls8.c: Likewise.
331 * elf/tst-tls9.c: Likewise.
332 * elf/tst-tlsmod1.c: Likewise.
333 * elf/tst-tlsmod13.c: Likewise.
334 * elf/tst-tlsmod13a.c: Likewise.
335 * elf/tst-tlsmod14a.c: Likewise.
336 * elf/tst-tlsmod16a.c: Likewise.
337 * elf/tst-tlsmod16b.c: Likewise.
338 * elf/tst-tlsmod2.c: Likewise.
339 * elf/tst-tlsmod3.c: Likewise.
340 * elf/tst-tlsmod4.c: Likewise.
341 * elf/tst-tlsmod5.c: Likewise.
342 * elf/tst-tlsmod6.c: Likewise.
343
0bfcf2c7
OB
3442013-10-18 Ondřej Bílka <neleai@seznam.cz>
345
346 [BZ #12486]
347 * malloc/malloc.c: remove checks for statistics.
348
264aad1e
OB
3492013-10-17 Ondřej Bílka <neleai@seznam.cz>
350
351 [BZ #15277]
352 * inet/inet_net.c (inet_network): Detect additional invalid strings.
353 * inet/tst-network.c: Add testcase.
354
b957ced8
AS
3552013-10-17 Andreas Schwab <schwab@suse.de>
356
357 [BZ #15218]
358 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
359 to determine canonical name.
360
c5d5d574
OB
3612013-10-17 Ondřej Bílka <neleai@seznam.cz>
362
363 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
364 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
365 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
366 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
367 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
368 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
369 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
370 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
371 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
372 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
373 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
374 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
375 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
376 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
377 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
378 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
379 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
380 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
381 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
382 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
383 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
384 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
385 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
386 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
387 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
388 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
389 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
390 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
391 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
392 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
393 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
394 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
395 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
396 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
397 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
398 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
399 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
400 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
401 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
402 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
403 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
404 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
405 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
406 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
407 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
408 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
409 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
410 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
411 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
412 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
413 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
414 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
415 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
416 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
417 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
418 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
419 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
420 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
421
e5c2c2d0
JM
4222013-10-17 Joseph Myers <joseph@codesourcery.com>
423
424 [BZ #16041]
425 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
426 make result into a quiet NaN.
427
51ca9e29
JM
4282013-10-16 Joseph Myers <joseph@codesourcery.com>
429
430 * soft-fp/adddf3.c: Fix horizontal whitespace.
431 * soft-fp/addsf3.c: Likewise.
432 * soft-fp/addtf3.c: Likewise.
433 * soft-fp/divdf3.c: Likewise.
434 * soft-fp/divsf3.c: Likewise.
435 * soft-fp/divtf3.c: Likewise.
436 * soft-fp/double.h: Likewise.
437 * soft-fp/eqdf2.c: Likewise.
438 * soft-fp/eqsf2.c: Likewise.
439 * soft-fp/eqtf2.c: Likewise.
440 * soft-fp/extenddftf2.c: Likewise.
441 * soft-fp/extended.h: Likewise.
442 * soft-fp/extendsfdf2.c: Likewise.
443 * soft-fp/extendsftf2.c: Likewise.
444 * soft-fp/extendxftf2.c: Likewise.
445 * soft-fp/fixdfdi.c: Likewise.
446 * soft-fp/fixdfsi.c: Likewise.
447 * soft-fp/fixdfti.c: Likewise.
448 * soft-fp/fixsfdi.c: Likewise.
449 * soft-fp/fixsfsi.c: Likewise.
450 * soft-fp/fixsfti.c: Likewise.
451 * soft-fp/fixtfdi.c: Likewise.
452 * soft-fp/fixtfsi.c: Likewise.
453 * soft-fp/fixtfti.c: Likewise.
454 * soft-fp/fixunsdfdi.c: Likewise.
455 * soft-fp/fixunsdfsi.c: Likewise.
456 * soft-fp/fixunsdfti.c: Likewise.
457 * soft-fp/fixunssfdi.c: Likewise.
458 * soft-fp/fixunssfsi.c: Likewise.
459 * soft-fp/fixunssfti.c: Likewise.
460 * soft-fp/fixunstfdi.c: Likewise.
461 * soft-fp/fixunstfsi.c: Likewise.
462 * soft-fp/fixunstfti.c: Likewise.
463 * soft-fp/floatdidf.c: Likewise.
464 * soft-fp/floatdisf.c: Likewise.
465 * soft-fp/floatditf.c: Likewise.
466 * soft-fp/floatsidf.c: Likewise.
467 * soft-fp/floatsisf.c: Likewise.
468 * soft-fp/floatsitf.c: Likewise.
469 * soft-fp/floattidf.c: Likewise.
470 * soft-fp/floattisf.c: Likewise.
471 * soft-fp/floattitf.c: Likewise.
472 * soft-fp/floatundidf.c: Likewise.
473 * soft-fp/floatundisf.c: Likewise.
474 * soft-fp/floatunditf.c: Likewise.
475 * soft-fp/floatunsidf.c: Likewise.
476 * soft-fp/floatunsisf.c: Likewise.
477 * soft-fp/floatunsitf.c: Likewise.
478 * soft-fp/floatuntidf.c: Likewise.
479 * soft-fp/floatuntisf.c: Likewise.
480 * soft-fp/floatuntitf.c: Likewise.
481 * soft-fp/fmadf4.c: Likewise.
482 * soft-fp/fmasf4.c: Likewise.
483 * soft-fp/fmatf4.c: Likewise.
484 * soft-fp/gedf2.c: Likewise.
485 * soft-fp/gesf2.c: Likewise.
486 * soft-fp/getf2.c: Likewise.
487 * soft-fp/ledf2.c: Likewise.
488 * soft-fp/lesf2.c: Likewise.
489 * soft-fp/letf2.c: Likewise.
490 * soft-fp/muldf3.c: Likewise.
491 * soft-fp/mulsf3.c: Likewise.
492 * soft-fp/multf3.c: Likewise.
493 * soft-fp/negdf2.c: Likewise.
494 * soft-fp/negsf2.c: Likewise.
495 * soft-fp/negtf2.c: Likewise.
496 * soft-fp/op-1.h: Likewise.
497 * soft-fp/op-2.h: Likewise.
498 * soft-fp/op-4.h: Likewise.
499 * soft-fp/op-8.h: Likewise.
500 * soft-fp/op-common.h: Likewise.
501 * soft-fp/quad.h: Likewise.
502 * soft-fp/single.h: Likewise.
503 * soft-fp/soft-fp.h: Likewise.
504 * soft-fp/sqrtdf2.c: Likewise.
505 * soft-fp/sqrtsf2.c: Likewise.
506 * soft-fp/sqrttf2.c: Likewise.
507 * soft-fp/subdf3.c: Likewise.
508 * soft-fp/subsf3.c: Likewise.
509 * soft-fp/subtf3.c: Likewise.
510 * soft-fp/truncdfsf2.c: Likewise.
511 * soft-fp/trunctfdf2.c: Likewise.
512 * soft-fp/trunctfsf2.c: Likewise.
513 * soft-fp/trunctfxf2.c: Likewise.
514 * soft-fp/unorddf2.c: Likewise.
515 * soft-fp/unordsf2.c: Likewise.
516 * soft-fp/unordtf2.c: Likewise.
517
9ebb0332
JM
5182013-10-15 Joseph Myers <joseph@codesourcery.com>
519
520 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
521 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
522
4b1a6d8b
OB
5232013-10-15 Ondřej Bílka <neleai@seznam.cz>
524
525 * elf/dl-libc.c: Clear initfini list after freeing.
526
1e145589
JM
5272013-10-14 Joseph Myers <joseph@codesourcery.com>
528
529 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
530 * soft-fp/addsf3.c: Likewise.
531 * soft-fp/addtf3.c: Likewise.
532 * soft-fp/divdf3.c: Likewise.
533 * soft-fp/divsf3.c: Likewise.
534 * soft-fp/divtf3.c: Likewise.
535 * soft-fp/double.h: Likewise.
536 * soft-fp/eqdf2.c: Likewise.
537 * soft-fp/eqsf2.c: Likewise.
538 * soft-fp/eqtf2.c: Likewise.
539 * soft-fp/extenddftf2.c: Likewise.
540 * soft-fp/extended.h: Likewise.
541 * soft-fp/extendsfdf2.c: Likewise.
542 * soft-fp/extendsftf2.c: Likewise.
543 * soft-fp/extendxftf2.c: Likewise.
544 * soft-fp/fixdfdi.c: Likewise.
545 * soft-fp/fixdfsi.c: Likewise.
546 * soft-fp/fixdfti.c: Likewise.
547 * soft-fp/fixsfdi.c: Likewise.
548 * soft-fp/fixsfsi.c: Likewise.
549 * soft-fp/fixsfti.c: Likewise.
550 * soft-fp/fixtfdi.c: Likewise.
551 * soft-fp/fixtfsi.c: Likewise.
552 * soft-fp/fixtfti.c: Likewise.
553 * soft-fp/fixunsdfdi.c: Likewise.
554 * soft-fp/fixunsdfsi.c: Likewise.
555 * soft-fp/fixunsdfti.c: Likewise.
556 * soft-fp/fixunssfdi.c: Likewise.
557 * soft-fp/fixunssfsi.c: Likewise.
558 * soft-fp/fixunssfti.c: Likewise.
559 * soft-fp/fixunstfdi.c: Likewise.
560 * soft-fp/fixunstfsi.c: Likewise.
561 * soft-fp/fixunstfti.c: Likewise.
562 * soft-fp/floatdidf.c: Likewise.
563 * soft-fp/floatdisf.c: Likewise.
564 * soft-fp/floatditf.c: Likewise.
565 * soft-fp/floatsidf.c: Likewise.
566 * soft-fp/floatsisf.c: Likewise.
567 * soft-fp/floatsitf.c: Likewise.
568 * soft-fp/floattidf.c: Likewise.
569 * soft-fp/floattisf.c: Likewise.
570 * soft-fp/floattitf.c: Likewise.
571 * soft-fp/floatundidf.c: Likewise.
572 * soft-fp/floatundisf.c: Likewise.
573 * soft-fp/floatunsidf.c: Likewise.
574 * soft-fp/floatunsisf.c: Likewise.
575 * soft-fp/floatuntidf.c: Likewise.
576 * soft-fp/floatuntisf.c: Likewise.
577 * soft-fp/floatuntitf.c: Likewise.
578 * soft-fp/fmadf4.c: Likewise.
579 * soft-fp/fmasf4.c: Likewise.
580 * soft-fp/fmatf4.c: Likewise.
581 * soft-fp/gedf2.c: Likewise.
582 * soft-fp/gesf2.c: Likewise.
583 * soft-fp/getf2.c: Likewise.
584 * soft-fp/ledf2.c: Likewise.
585 * soft-fp/lesf2.c: Likewise.
586 * soft-fp/letf2.c: Likewise.
587 * soft-fp/muldf3.c: Likewise.
588 * soft-fp/mulsf3.c: Likewise.
589 * soft-fp/multf3.c: Likewise.
590 * soft-fp/negdf2.c: Likewise.
591 * soft-fp/negsf2.c: Likewise.
592 * soft-fp/negtf2.c: Likewise.
593 * soft-fp/op-1.h: Likewise.
594 * soft-fp/op-2.h: Likewise.
595 * soft-fp/op-4.h: Likewise.
596 * soft-fp/op-8.h: Likewise.
597 * soft-fp/op-common.h: Likewise.
598 * soft-fp/quad.h: Likewise.
599 * soft-fp/single.h: Likewise.
600 * soft-fp/soft-fp.h: Likewise.
601 * soft-fp/sqrtdf2.c: Likewise.
602 * soft-fp/sqrtsf2.c: Likewise.
603 * soft-fp/sqrttf2.c: Likewise.
604 * soft-fp/subdf3.c: Likewise.
605 * soft-fp/subsf3.c: Likewise.
606 * soft-fp/subtf3.c: Likewise.
607 * soft-fp/truncdfsf2.c: Likewise.
608 * soft-fp/trunctfdf2.c: Likewise.
609 * soft-fp/trunctfsf2.c: Likewise.
610 * soft-fp/trunctfxf2.c: Likewise.
611 * soft-fp/unorddf2.c: Likewise.
612 * soft-fp/unordsf2.c: Likewise.
613 * soft-fp/unordtf2.c: Likewise.
614
17c48a60
OB
6152013-10-14 Ondřej Bílka <neleai@seznam.cz>
616
617 [BZ #15672]
618 * misc/error.c (error_tail): Fix possible buffer overflow.
619
cabba934
OB
6202013-10-14 Aurelien Jarno <aurelien@aurel32.net>
621
622 [BZ #13028]
623 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
624 address.
625
94bf958a
PM
6262013-10-14 P. J. McDermott <pj@pehjota.net>
627
628 [BZ #832]
629 * elf/ldd.bash.in (try_trace): New function. Delete previous code
630 testing pipefail option.
631
71b4dea7
JM
6322013-10-12 Joseph Myers <joseph@codesourcery.com>
633
634 * soft-fp/double.h: Indent preprocessor directives inside #if.
635 * soft-fp/extended.h: Likewise.
636 * soft-fp/op-2.h: Likewise.
637 * soft-fp/op-4.h: Likewise.
638 * soft-fp/op-common.h: Likewise.
639 * soft-fp/quad.h: Likewise.
640 * soft-fp/single.h: Likewise.
641 * soft-fp/soft-fp.h: Likewise.
642
55602758
YC
6432013-10-12 Yuri Chornoivan <yurchor@ukr.net>
644
645 * iconv/iconv_prog.c: Fix typos.
646 * stdio-common/psiginfo-data.h: Likewise.
647
9cd83302
RT
6482013-10-12 Reuben Thomas <rrt@sc3d.org>
649
650 [BZ #15764]
651 * locale/setlocale.c: Fix typo.
652
99fd9f47
JM
6532013-10-12 Joseph Myers <joseph@codesourcery.com>
654
b7ea74f0
JM
655 [BZ #16036]
656 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
657 signaling NaN arguments.
658 * soft-fp/unordsf2.c (__unordsf2): Likewise.
659 * soft-fp/unordtf2.c (__unordtf2): Likewise.
660
8a509447
JM
661 [BZ #14910]
662 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
663 unordered operands.
664 * soft-fp/gesf2.c (__gesf2): Likewise.
665 * soft-fp/getf2.c (__getf2): Likewise.
666 * soft-fp/ledf2.c (__ledf2): Likewise.
667 * soft-fp/lesf2.c (__lesf2): Likewise.
668 * soft-fp/letf2.c (__letf2): Likewise.
669
98998e9f
JM
670 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
671 * soft-fp/eqsf2.c (__eqsf2): Likewise.
672 * soft-fp/eqtf2.c (__eqtf2): Likewise.
673 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
674 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
675 * soft-fp/fixdfti.c (__fixdfti): Likewise.
676 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
677 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
678 * soft-fp/fixsfti.c (__fixsfti): Likewise.
679 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
680 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
681 * soft-fp/fixtfti.c (__fixtfti): Likewise.
682 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
683 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
684 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
685 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
686 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
687 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
688 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
689 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
690 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
691 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
692 * soft-fp/floatdisf.c (__floatdisf): Likewise.
693 * soft-fp/floatsisf.c (__floatsisf): Likewise.
694 * soft-fp/floattidf.c (__floattidf): Likewise.
695 * soft-fp/floattisf.c (__floattisf): Likewise.
696 * soft-fp/floattitf.c (__floattitf): Likewise.
697 * soft-fp/floatundidf.c (__floatundidf): Likewise.
698 * soft-fp/floatundisf.c (__floatundisf): Likewise.
699 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
700 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
701 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
702 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
703 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
704 * soft-fp/gesf2.c (__gesf2): Likewise.
705 * soft-fp/getf2.c (__getf2): Likewise.
706 * soft-fp/ledf2.c (__ledf2): Likewise.
707 * soft-fp/lesf2.c (__lesf2): Likewise.
708 * soft-fp/letf2.c (__letf2): Likewise.
709
8edc4a11
JM
710 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
711 Undefine and redefine.
712 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
713 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
714 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
715 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
716 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
717 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
718 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
719 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
720 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
721 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
722 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
723 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
724 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
725 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
726 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
727
8399acaf
JM
728 [BZ #16032]
729 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
730 without decrementing exponent if mantissa >= that for the
731 denominator, not >.
732 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
733 denominator, not >. Decrement exponent in < case instead of
734 incrementing in >= case.
735 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
736 without decrementing exponent if mantissa >= that for the
737 denominator, not >.
738
99fd9f47
JM
739 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
740 computing saturated result for unsigned overflow.
741
10e1cf6b
SP
7422013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
743 Jeff Law <law@redhat.com>
744
745 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
746 (atan2Mp): Add systemtap probe marker.
747 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
748 (__ieee754_log): Add systemtap probe marker.
749 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
750 (atanMp): Add systemtap probe marker.
751 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
752 (tanMp): Add systemtap probe marker.
753 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
754 (__slowexp): Add systemtap probe marker.
755 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
756 (__slowpow): Add systemtap probe marker.
757 * manual/probes.texi: Document probes.
758
3d110c7c
EB
7592013-10-11 Eric Biggers <ebiggers3@gmail.com>
760
761 [BZ #15362]
762 * libio/fileops.c (_IO_new_file_write): Return count of bytes
763 written.
764 (_IO_new_file_xsputn): Don't return EOF if nothing has been
765 written.
766 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
767 written to buffer but not flushed.
768 * libio/iofwrite_u.c: Likewise.
769 * libio/iopadn.c: Return bytes returned even if EOF was
770 encountered.
771 * libio/iowpadn.c: Likewise.
772 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
773 if _IO_padn does not write the whole buffer.
774 [!COMPILE_WPRINTF] (PAD): Likewise.
775
75b4202a
DM
7762013-10-10 David S. Miller <davem@davemloft.net>
777
778 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
779 directory block.
780
6c6352e6
JM
7812013-10-10 Joseph Myers <joseph@codesourcery.com>
782
33b853c3
JM
783 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
784 instead of FSF address.
785 * soft-fp/fixdfti.c: Likewise.
786 * soft-fp/fixsfti.c: Likewise.
787 * soft-fp/fixtfti.c: Likewise.
788 * soft-fp/fixunsdfti.c: Likewise.
789 * soft-fp/fixunssfti.c: Likewise.
790 * soft-fp/fixunstfti.c: Likewise.
791 * soft-fp/floattidf.c: Likewise.
792 * soft-fp/floattisf.c: Likewise.
793 * soft-fp/floattitf.c: Likewise.
794 * soft-fp/floatuntidf.c: Likewise.
795 * soft-fp/floatuntisf.c: Likewise.
796 * soft-fp/floatuntitf.c: Likewise.
797 * soft-fp/trunctfxf2.c: Likewise.
798
6c6352e6
JM
799 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
800 * soft-fp/fixdfti.c: Likewise.
801 * soft-fp/fixsfti.c: Likewise.
802 * soft-fp/fixtfti.c: Likewise.
803 * soft-fp/fixunsdfti.c: Likewise.
804 * soft-fp/fixunssfti.c: Likewise.
805 * soft-fp/fixunstfti.c: Likewise.
806 * soft-fp/floattidf.c: Likewise.
807 * soft-fp/floattisf.c: Likewise.
808 * soft-fp/floattitf.c: Likewise.
809 * soft-fp/floatuntidf.c: Likewise.
810 * soft-fp/floatuntisf.c: Likewise.
811 * soft-fp/floatuntitf.c: Likewise.
812 * soft-fp/trunctfxf2.c: Likewise.
813
3bf78b71
DM
8142013-10-10 David S. Miller <davem@davemloft.net>
815
816 * sysdeps/sparc/fpu/libm-test-ulps: Update.
817
6f10289e
JM
8182013-10-10 Joseph Myers <joseph@codsourcery.com>
819
bd878fc0
JM
820 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
821 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
822 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
823 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
824 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
825 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
826 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
827
6f10289e
JM
828 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
829 for NaNs before doing comparisons on argument.
830 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
831 Likewise.
832
321e2684
WN
8332013-10-10 Will Newton <will.newton@linaro.org>
834
835 * malloc/hooks.c (memalign_check): Ensure the value of bytes
836 passed to _int_memalign does not overflow.
837
40fefba1
TR
8382013-10-10 Torvald Riegel <triegel@redhat.com>
839
840 * scripts/bench.pl: Add include-sources directive.
841 * benchtests/README: Update documentation.
842
2ae21ed2
JM
8432013-10-10 Joseph Myers <joseph@codesourcery.com>
844
dcc2dd3f
JM
845 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
846 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
847 instead of FP_INIT_ROUNDMODE.
848 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
849 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
850
2ae21ed2
JM
851 [BZ #16034]
852 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
853 copy class of input value.
854 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
855 not handle exceptions.
856 * soft-fp/negsf2.c (__negsf2): Likewise.
857 * soft-fp/negtf2.c (__negtf2): Likewise.
858 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
859
cb8f9562
JM
8602013-10-09 Joseph Myers <joseph@codesourcery.com>
861
862 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
863 semicolon. From Linux kernel.
864
5b60c59d
AB
8652013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
866
867 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
868
b86835ca
YC
8692013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
870
871 [BZ #156]
872 * manual/socket.texi: Added statement about buffer
873 for gethostbyname2_r.
874
e7044ea7
OB
8752013-10-08 Ondřej Bílka <neleai@seznam.cz>
876
877 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
878 Use .p2align directive instead, throughout.
879 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
880 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
881 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
882 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
883 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
884 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
885 * sysdeps/x86_64/strchr.S: Likewise.
886 * sysdeps/x86_64/strrchr.S: Likewise.
887
09544cbc
SP
8882013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
889
88576635
SP
890 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
891
e7b2d1dd
SP
892 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
893
09544cbc
SP
894 * sysdeps/generic/math_private.h (__mpsin1): Remove
895 declaration.
896 (__mpcos1): Likewise.
897 (__mpsin): New argument __range_reduce.
898 (__mpcos): Likewise.
899 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
900 (slow): Use __mpsin and __mpcos.
901 (slow1): Likewise.
902 (slow2): Likewise.
903 (sloww): Likewise.
904 (sloww1): Likewise.
905 (sloww2): Likewise.
906 (bsloww): Likewise.
907 (bsloww1): Likewise.
908 (bsloww2): Likewise.
909 (cslow2): Likewise.
910 (csloww): Likewise.
911 (csloww1): Likewise.
912 (csloww2): Likewise.
913 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
914 range_reduce. Merge in __mpsin1.
915 (__mpcos): Likewise.
916 (__mpsin1): Remove.
917 (__mpcos1): Likewise.
918
7602d070
JM
9192013-10-07 Joseph Myers <joseph@codesourcery.com>
920
921 * locale/loadlocale.c (_nl_intern_locale_data): Use
922 LOCFILE_ALIGNED_P.
923 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
924 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
925 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
926 obstack data is appropriately aligned.
927 (obstack_int32_grow_fast): Likewise.
928 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
929 * locale/programs/locfile.c (add_locale_uint32): Likewise.
930 (add_locale_uint32_array): Likewise.
931
a357259b
SP
9322013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
933
934 * benchtests/Makefile: Remove ARGLIST and RET variables.
935 ($(objpfx)bench-%.c): Pass only function name to the script.
936 * benchtests/README: Update documentation.
937 * benchtests/acos-inputs: Add new directives.
938 * benchtests/acosh-inputs: Likewise.
939 * benchtests/asin-inputs: Likewise.
940 * benchtests/asinh-inputs: Likewise.
941 * benchtests/atan-inputs: Likewise.
942 * benchtests/atanh-inputs: Likewise.
943 * benchtests/cos-inputs: Likewise.
944 * benchtests/cosh-inputs: Likewise.
945 * benchtests/exp-inputs: Likewise.
946 * benchtests/log-inputs: Likewise.
947 * benchtests/pow-inputs: Likewise.
948 * benchtests/rint-inputs: Likewise.
949 * benchtests/sin-inputs: Likewise.
950 * benchtests/sinh-inputs: Likewise.
951 * benchtests/tan-inputs: Likewise.
952 * benchtests/tanh-inputs: Likewise.
953 * scripts/bench.pl: Add support for new directives.
954
9ec1b13d
AM
9552013-10-07 Alan Modra <amodra@gmail.com>
956
957 * README: Fix careless merge.
958
8b7d57cd
AM
9592013-10-05 Alan Modra <amodra@gmail.com>
960
961 * NEWS: Mention powerpc64le support and bugs fixed.
962 * README: Both big-endian and little-endian powerpc64 supported.
963
7b7bab13
ST
9642013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
965
966 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
967 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
968 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
969 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
970
d39baad1
RA
9712013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
972
973 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
974 match prototype.
975
cd78f7e7
JM
9762013-10-04 Joseph Myers <joseph@codesourcery.com>
977
29d73d86
JM
978 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
979 Move -mhard-float appending from
980 ports/sysdeps/powerpc/powerpc32/Makefile.
981 [$(with-fp) = yes] (ASFLAGS): Likewise.
982 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
983 * sysdeps/powerpc/nofpu: Move directory from
984 ports/sysdeps/powerpc/nofpu.
985 * sysdeps/powerpc/soft-fp: Move directory from
986 ports/sysdeps/powerpc/soft-fp.
987 * sysdeps/powerpc/powerpc32/405: Move directory from
988 ports/sysdeps/powerpc/powerpc32/405.
989 * sysdeps/powerpc/powerpc32/440: Move directory from
990 ports/sysdeps/powerpc/powerpc32/440.
991 * sysdeps/powerpc/powerpc32/464: Move directory from
992 ports/sysdeps/powerpc/powerpc32/464.
993 * sysdeps/powerpc/powerpc32/476: Move directory from
994 ports/sysdeps/powerpc/powerpc32/476.
995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
996 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
998 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
1000 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
1001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
1002 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
1003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
1004 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
1005 * README: Update for powerpc-*-linux-gnu software floating point
1006 support in libc.
1007
e246b347
JM
1008 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
1009 case to powerpc/powerpc32*.
1010 * sysdeps/unix/sysv/linux/configure: Regenerated.
1011
89c2003e
JM
1012 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
1013 (_FPU_MASK_OM): Define as 0x04.
1014 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
1015 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
1016 0x00c10080.
1017 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
1018 0x0000003c.
1019 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
1020
cd78f7e7
JM
1021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
1022 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
1023 getcontext_e500.
1024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
1025 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
1026 setcontext_e500.
1027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
1028 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
1029 and setcontext_e500.
1030
c755294d
CL
10312013-10-04 Chris Leonard <cjl@sugarlabs,.org>
1032
1033 * locale/iso-3166.def: Update iso-1366.def and related occurrences
1034
e16d221c
SP
10352013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1036
1037 * manual/threads.texi (Default Thread Attributes): Fix typo.
1038
215c7d43
WN
10392013-10-04 Will Newton <will.newton@linaro.org>
1040
1041 * malloc/Makefile: Add tst-memalign.
1042 * malloc/tst-memalign.c: New file.
1043
27d0461b
WN
1044 * malloc/tst-posix_memalign.c: Add comments.
1045 (do_test): Add comments and call free on all potentially
1046 allocated pointers. Add space after cast.
1047
1bc92709
WN
1048 * malloc/tst-pvalloc.c: Add comments.
1049 (do_test): Add comments and call free on all potentially
1050 allocated pointers. Remove duplicate check for NULL pointer.
1051 Add space after cast.
1052
66a9be9d
WN
1053 * malloc/tst-valloc.c: Add comments.
1054 (do_test): Add comments and call free on all potentially
1055 allocated pointers. Remove duplicate check for NULL pointer.
1056 Add space after cast.
1057
4cb81307
AM
10582013-10-04 Alan Modra <amodra@gmail.com>
1059
1060 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
1061 Use stdint types in rather than __attribute__((mode())).
1062 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1063
f8e3e9f3
AM
10642013-10-04 Alan Modra <amodra@gmail.com>
1065
1066 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
1067 Correct handling of unaligned relocs for little-endian.
1068 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1069
8f9ebb08
AM
10702013-10-04 Alan Modra <amodra@gmail.com>
1071
1072 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
1073 * configure: Regenerate.
1074 * nptl/shlib-versions: Powerpc*le starts at 2.18.
1075 * shlib-versions: Likewise.
1076
0edf96c2
AM
10772013-10-04 Alan Modra <amodra@gmail.com>
1078
1079 * string/tester.c (test_memrchr): Increment reported test cycle.
1080
e0f7a380
AM
10812013-10-04 Alan Modra <amodra@gmail.com>
1082
1083 * string/test-memcpy.c (do_one_test): When reporting errors, print
1084 string address and don't overrun end of string.
1085
466b0393
AM
10862013-10-04 Alan Modra <amodra@gmail.com>
1087
1088 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
1089 insrdi. Make better use of reg selection to speed exit slightly.
1090 Schedule entry path a little better. Remove useless "are we done"
1091 checks on entry to main loop. Handle wrapping around zero address.
1092 Correct main loop count. Handle single left-over word from main
1093 loop inline rather than by using loop_small. Remove extra word
1094 case in loop_small caused by wrong loop count. Add little-endian
1095 support.
1096 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
1097 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
1098 cache hint.
1099 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
1100 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
1101 support. Avoid rlwimi.
1102 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
1103
3be87c77
AM
11042013-10-04 Alan Modra <amodra@gmail.com>
1105
1106 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 1107 insrdi. Formatting.
3be87c77
AM
1108 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
1109 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1110 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
1111 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
1112 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
1113 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
1114
759cfef3
AM
11152013-10-04 Alan Modra <amodra@gmail.com>
1116
1117 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
1118 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1119 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
1120 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
1121 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
1122 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1123 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1124 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
1125 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
1126 use of regs. Use power7 mtocrf. Tidy function tails.
1127
fe6e95d7
AM
11282013-10-04 Alan Modra <amodra@gmail.com>
1129
1130 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
1131 Formatting. Consistently use rXXX register defines or rN defines.
1132 Use early exit labels that avoid restoring unused non-volatile regs.
1133 Make cr field use more consistent with rWORDn compares. Rename
1134 regs used as shift registers for unaligned loop, using rN defines
1135 for short lifetime/multiple use regs.
1136 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1137 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
1138 addi 1,1,64 to pop stack frame. Simplify return value code.
1139 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1140
664318c3
AM
11412013-10-04 Alan Modra <amodra@gmail.com>
1142
1143 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
1144 support. Correct typos, formatting. Optimize tail. Use insrdi
1145 rather than rlwimi.
1146 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
1147 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
1148 little-endian support. Correct typos.
1149 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
1150 rather than rlwimi.
1151 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
1152 in loop and entry code to keep "and." results.
1153 (strchr): Add little-endian support. Comment. Move cntlzd
1154 earlier in tail.
1155 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
1156
43b84013
AM
11572013-10-04 Alan Modra <amodra@gmail.com>
1158
1159 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
1160 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
1161 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
1162 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
1163
8a7413f9
AM
11642013-10-04 Alan Modra <amodra@gmail.com>
1165
1166 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
1167 (rTMP): Define as r11.
1168 (strcmp): Add little-endian support. Optimise tail.
1169 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
1170 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1171 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
1172 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
1173 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
1174 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
1175 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
1176
33ee81de
AM
11772013-10-04 Alan Modra <amodra@gmail.com>
1178
1179 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
1180 little-endian support. Remove unnecessary "are we done" tests.
1181 Handle "s" wrapping around zero and extremely large "size".
1182 Correct main loop count. Handle single left-over word from main
1183 loop inline rather than by using small_loop. Correct comments.
1184 Delete "zero" tail, use "end_max" instead.
1185 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
1186
db9b4570
AM
11872013-10-04 Alan Modra <amodra@gmail.com>
1188
1189 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
1190 support. Don't branch over align.
1191 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
1192 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
1193 support. Rearrange tmp reg use to suit. Comment.
1194 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
1195
f7c399cf
AM
11962013-10-04 Alan Modra <amodra@gmail.com>
1197
1198 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
1199
0b2c2ace
AM
12002013-10-04 Alan Modra <amodra@gmail.com>
1201
1202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
1203 conditional form of branch and link when obtaining pc.
1204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
1205
02f04a6c
AM
12062013-10-04 Alan Modra <amodra@gmail.com>
1207
1208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
1209 HIWORD/LOWORD.
1210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
1211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
1212
9b874b2f
AM
12132013-10-04 Alan Modra <amodra@gmail.com>
1214
1215 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
1216 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
1217 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
1218 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
1219 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
1220 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
1221 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
1222 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
1223 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
1224 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
1225
be1e5d31
AB
12262013-10-04 Anton Blanchard <anton@au1.ibm.com>
1227 Alistair Popple <alistair@ozlabs.au.ibm.com>
1228 Alan Modra <amodra@gmail.com>
1229
1230 [BZ #15723]
1231 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
1232 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
1233 _dl_hwcap access for little-endian.
1234 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
1235 destroy vmx regs when saving unaligned.
1236 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
1237 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
1238 destroy vmx regs when saving unaligned.
1239
fef13a78
AM
12402013-10-04 Alan Modra <amodra@gmail.com>
1241
1242 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
1243 Don't use a union to pack hi/low value.
1244
76a66d51
AB
12452013-10-04 Anton Blanchard <anton@au1.ibm.com>
1246
1247 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
1248 for little-endian.
1249 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1250 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
1251 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
1252 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
1253 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
1254
6a31fe7f
AM
12552013-10-04 Alan Modra <amodra@gmail.com>
1256
1257 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
1258 constants to usual value for .cst8 section, and remove redundant
1259 high address load.
1260 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
1261 constant for 0x1p52. Load little-endian words of double from
1262 correct stack offsets.
1263
7b88401f
AM
12642013-10-04 Alan Modra <amodra@gmail.com>
1265
1266 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
1267 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
1268 words of double from correct stack offsets.
1269 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
1270 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
1271 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
1272 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
1273 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
1274 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
1275 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
1276 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
1277 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
1278 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
1279 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
1280 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
1281 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
1282 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
1283 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
1284 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
1285 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
1286
9c008155
AM
12872013-10-04 Alan Modra <amodra@gmail.com>
1288
1289 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
1290 64-bit int/double union.
1291 (_FPU_SETCW): Likewise.
1292 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
1293 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
1294
da13146d
AM
12952013-10-04 Alan Modra <amodra@gmail.com>
1296
1297 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
1298 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
1299
603e8410
AM
13002013-10-04 Alan Modra <amodra@gmail.com>
1301
1302 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
1303 use vector int constants.
1304 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
1305
4a28b3ca
AB
13062013-10-04 Anton Blanchard <anton@au1.ibm.com>
1307
1308 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
1309 array with long long.
1310 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
1311 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
1312 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
1313 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
1314 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
1315 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
1316 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
1317 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
1318 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
1319 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
1320 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
1321 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
1322 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
1323
2ca85d2b
AB
13242013-10-04 Anton Blanchard <anton@au1.ibm.com>
1325
1326 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
1327 (__signbit): Likewise. Correct for little-endian.
1328 (__signbitl): Call __signbit.
1329 (lrint): Correct for little-endian.
1330 (lrintf): Call lrint.
1331
62a728ae
AM
13322013-10-04 Alan Modra <amodra@gmail.com>
1333
1334 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
1335 union 32-bit int array member with 64-bit int array.
1336 (t515, tm256): Double rather than long double.
1337 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
1338
32c301df
AM
13392013-10-04 Alan Modra <amodra@gmail.com>
1340
1341 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
1342 Delete.
1343 (IEEE854_LONG_DOUBLE_BIAS): Delete.
1344 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
1345 version of math_ldbl.h.
1346
650ef4bd
AM
13472013-10-04 Alan Modra <amodra@gmail.com>
1348
1349 [BZ #15734], [BZ #15735]
1350 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
1351 all uses of ieee875 long double macros and unions. Simplify test
1352 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
1353 ldbl_extract_mantissa value for ix,iy exponents. Properly
1354 normalize after ldbl_extract_mantissa, and don't add hidden bit
1355 already handled. Don't treat low word of ieee854 mantissa like
1356 low word of IBM long double and mask off bit when testing for
1357 zero.
1358 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
1359 all uses of ieee875 long double macros and unions. Simplify tests
1360 for 0.0L and inf. Correct double adjustment of k. Delete dead code
1361 adjusting ha,hb. Simplify code setting kld. Delete two600 and
1362 two1022, instead use their values. Recognise that tests for large
1363 "a" and small "b" are mutually exclusive. Rename vars. Comment.
1364 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
1365 Rewrite all uses of ieee875 long double macros and unions. Simplify
1366 test for 0.0L and nan. Correct negation.
1367 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
1368 ieee875 long double macros and unions. Correct output for large
1369 magnitude x. Correct absolute value calculation.
1370 (__erfcl): Likewise.
1371 * math/libm-test.inc: Add tests for errors discovered in IBM long
1372 double versions of fmodl, remainderl, erfl and erfcl.
1373
765714ca
AM
13742013-10-04 Alan Modra <amodra@gmail.com>
1375
1376 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
1377 all uses of ieee854 long double macros and unions. Simplify tests
1378 for long doubles that are fully specified by the high double.
1379 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
1380 Likewise.
1381 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
1382 Remove dead code too.
1383 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
1384 (__ieee754_ynl): Likewise.
1385 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
1386 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
1387 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
1388 Remove dead code too.
1389 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
1390 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
1391 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
1392 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
1393 Simplify.
1394 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
1395 Simplify.
1396 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
1397 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
1398 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
1399 Comment on variable precision.
1400 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
1401 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
1402 Likewise.
1403 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1404 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
1405 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
1406 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
1407 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
1408
4ebd120c
AM
14092013-10-04 Alan Modra <amodra@gmail.com>
1410
1411 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
1412 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
1413 all uses of ieee854 long double macros and unions.
1414 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
1415 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
1416 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
1417 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
1418 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
1419 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
1420 Likewise.
1421 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
1422 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
1423 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
1424 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
1425 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
1426 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
1427 Simplify sign and nan test too.
1428 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
1429 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
1430 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
1431 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
1432 Likewise.
1433 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
1434 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
1435 Likewise.
1436 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1437 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
1438 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
1439 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
1440 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
1441 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
1442
1b6adf88
AM
14432013-10-04 Alan Modra <amodra@gmail.com>
1444
1445 * stdio-common/printf_size.c (__printf_size): Don't use
1446 union ieee854_long_double in fpnum union.
1447 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
1448 signbit macro to retrieve sign from long double.
1449 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
1450 retrieve sign from long double.
1451 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
1452 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
1453 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
1454 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
1455 * math/test-misc.c (main): Don't use union ieee854_long_double.
1456
4cf69995
AM
14572013-10-04 Alan Modra <amodra@gmail.com>
1458
1459 [BZ #15680]
1460 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
1461 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
1462 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
1463 calculation. Remove unnecessary test for denormal exponent.
1464 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
1465 Correct handling of denormals. Avoid undefined shift behaviour.
1466 Correct normalisation of low mantissa when low double is denormal.
1467 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
1468 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
1469 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
1470 Correct normalisation of low mantissa. Test for overflow of high
1471 mantissa and normalise.
1472 (ldbl_nearbyint): Use more readable constant for two52.
1473 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
1474 (__mpn_construct_long_double): Fix test for overflow of high
1475 mantissa and correct normalisation. Avoid undefined shift.
1476
9605ca6c
AM
14772013-10-04 Alan Modra <amodra@gmail.com>
1478
1479 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
1480 (union ibm_extended_long_double): Define as an array of ieee754_double.
1481 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
1482 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
1483 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
1484 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
1485 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1486 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
1487 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
1488 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
1489 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
1490 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
1491 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
1492
975569d0
JM
14932013-10-03 Joseph Myers <joseph@codesourcery.com>
1494
d3d23756
JM
1495 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
1496 page size instead of calling getpagesize.
1497
975569d0
JM
1498 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
1499 (LOCFILE_ALIGN_MASK): Likewise.
1500 (LOCFILE_ALIGN_UP): Likewise.
1501 (LOCFILE_ALIGNED_P): Likewise.
1502 * locale/programs/ld-collate.c (collate_output): Use the new
1503 macros instead of __alignof__ (int32_t).
1504 * locale/weight.h (findidx): Likewise.
1505
b1fe1f2b
OB
15062013-10-03 Ondřej Bílka <neleai@seznam.cz>
1507
1508 [BZ #431]
1509 * manual/string.texi: Fix strncat and wcsncat.
1510
5f855e35
BM
15112013-10-03 Brooks Moses <bmoses@google.com>
1512
1513 [BZ #15915]
1514 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
1515 * Makerules: ...here, and adjust associated comments.
1516
3cef6009
WN
15172013-10-02 Will Newton <will.newton@linaro.org>
1518
1519 * malloc/Makefile: Add tst-pvalloc.
1520 * malloc/tst-pvalloc.c: New file.
1521
7815420b
WN
15222013-10-02 Will Newton <will.newton@linaro.org>
1523
1524 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
1525 improve test coverage.
1526
4868b204
WN
15272013-10-02 Will Newton <will.newton@linaro.org>
1528
1529 * malloc/Makefile: Add tst-posix_memalign.
1530 * malloc/tst-posix_memalign.c: New file.
1531
29c793b3
EB
15322013-10-01 Eric Blake <eblake@redhat.com>
1533
1534 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
1535 Use __THROWNL rather than __THROW on static functions.
1536
fd967522
PM
15372013-09-30 Petr Machata <pmachata@redhat.com>
1538
1539 * elf/elf.h (R_AARCH64_ABS16): New macro.
1540 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
1541 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
1542 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
1543 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
1544 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
1545 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
1546 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
1547 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
1548 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
1549 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
1550 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
1551 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
1552 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
1553 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
1554 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
1555 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
1556 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
1557 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
1558 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
1559 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
1560 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
1561 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
1562 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
1563 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
1564 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
1565 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
1566 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
1567 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
1568 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
1569 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
1570 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
1571 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
1572 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
1573 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
1574 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
1575 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
1576 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
1577 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
1578 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
1579 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
1580 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
1581 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
1582 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
1583 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
1584 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
1585 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
1586 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
1587 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
1588 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
1589 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
1590 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
1591 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
1592 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
1593 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
1594 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
1595 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
1596 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
1597 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
1598 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
1599 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
1600 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
1601 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
1602 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
1603 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
1604 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
1605 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
1606 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
1607 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
1608 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
1609 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
1610 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
1611 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
1612 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
1613 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
1614 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
1615 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
1616 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
1617 (R_AARCH64_TLSDESC_LDR): Likewise.
1618 (R_AARCH64_TLSDESC_ADD): Likewise.
1619 (R_AARCH64_TLSDESC_CALL): Likewise.
1620
b2179107
AS
16212013-09-30 Andreas Schwab <schwab@suse.de>
1622
1623 [BZ #15048]
1624 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
1625 the nss database lookup.
1626 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1627 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1628
47f28d0a
MF
16292013-09-28 Mike Frysinger <vapier@gentoo.org>
1630
1631 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
1632
16332013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
1634
1635 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
1636 ${Bash-specific parameter/pattern/string} parameter expansion.
1637 * sysdeps/unix/make-syscalls.sh: Likewise.
1638
f4518a17
KK
16392013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1640
1641 * sysdeps/sh/stackguard-macros.h: New file.
1642
dc1a95c7
OB
16432013-09-26 Ondřej Bílka <neleai@seznam.cz>
1644
1645 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
1646 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
1647 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
1648 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
1649 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
1650 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
1651
5ebbff8f
AZ
16522013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1653
1654 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
1655 Fix thread ID register.
1656
4fd2cf9f
JM
16572013-09-25 Joseph Myers <joseph@codesourcery.com>
1658
1659 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
1660 [POSIX || UNIX98]: Require rather than permitting all symbols from
1661 <time.h>.
1662 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
1663 element of struct sched_param.
1664 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
1665 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
1666 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
1667 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
1668 constant.
1669
12c22bc4
OL
16702013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
1671
1672 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
1673 argument calculation.
1674
a03d8ea7
JM
16752013-09-24 Joseph Myers <joseph@codesourcery.com>
1676
1677 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
1678 Expect macro.
1679 [POSIX] (pthread_attr_t): Do not require type.
1680 [POSIX] (pthread_cond_t): Likewise.
1681 [POSIX] (pthread_condattr_t): Likewise.
1682 [POSIX] (pthread_key_t): Likewise.
1683 [POSIX] (pthread_mutex_t): Likewise.
1684 [POSIX] (pthread_mutexattr_t): Likewise.
1685 [POSIX] (pthread_once_t): Likewise.
1686 [POSIX] (pthread_t): Likewise.
1687 [POSIX-based standards] (pthread_atfork): Expect function.
1688
6055173a
JM
16892013-09-24 Joseph Myers <joseph@codesourcery.com>
1690 Richard Sandiford <richard@codesourcery.com>
1691
1692 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
1693 (swap_endianness_p): New extern variable.
1694 (set_big_endian): New inline function.
1695 (maybe_swap_uint32): Likewise.
1696 (maybe_swap_uint32_array): Likewise.
1697 (maybe_swap_uint32_obstack): Likewise.
1698 * locale/programs/locfile.c: Include <stdbool.h>.
1699 (swap_endianness_p): New variable.
1700 (add_locale_uint32): Call maybe_swap_uint32.
1701 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
1702 (write_locale_data): Call maybe_swap_uint32_array.
1703 * locale/programs/ld-collate.c (obstack_int32_grow): Call
1704 maybe_swap_uint32.
1705 (obstack_int32_grow_fast): Likewise.
1706 (output_weightwc): Call maybe_swap_uint32_obstack.
1707 (collate_output): Likewise.
1708 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
1709 (OPT_LITTLE_ENDIAN): Likewise.
1710 (options): Add --little-endian and --big-endian options.
1711 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
1712 * locale/programs/locarchive.c: Include "locfile.h".
1713 (GET): New macro.
1714 (SET): Likewise.
1715 (INC): Likewise.
1716 (create_archive): Use the new macros to access fields of
1717 structures directly mapped from or written to locale archives.
1718 (oldlocrecentcmp): Likewise.
1719 (enlarge_archive): Likewise.
1720 (insert_name): Likewise.
1721 (add_alias): Likewise.
1722 (add_locale): Likewise.
1723 (delete_locales_from_archive): Likewise.
1724 (show_archive_content): Likewise.
1725 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
1726 locale data.
1727
39bf0bb4
RM
17282013-09-24 Roland McGrath <roland@hack.frob.com>
1729
1730 * manual/freemanuals.texi: Updated from (newly) canonical copy at
1731 http://www.gnu.org/doc/freemanuals.texi.
1732 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
1733
f02eed10
WN
17342013-09-24 Will Newton <will.newton@linaro.org>
1735
1736 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
1737 macro.
1738
a3a6c312
JM
17392013-09-23 Joseph Myers <joseph@codesourcery.com>
1740
1741 * locale/hashval.h (compute_hashval): Interpret bytes of key as
1742 unsigned char.
1743
107375ac
MR
17442013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
1745
1746 * manual/threads.texi (POSIX Threads): Fix a typo.
1747
141f3a77
SP
17482013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
1749
303e567a
SP
1750 [BZ #14547]
1751 * string/tst-strcoll-overflow.c: New test case.
1752 * string/Makefile (xtests): Add tst-strcoll-overflow.
1753 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
1754 cache if string sizes may cause integer overflow.
1755
141f3a77
SP
1756 [BZ #14547]
1757 * string/strcoll_l.c (coll_seq): New members rule, idx,
1758 save_idx and back_us.
1759 (get_next_seq_nocache): New function.
1760 (do_compare_nocache): New function.
1761 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
1762 when malloc fails.
1763
c61b4d41
CD
17642013-09-23 Carlos O'Donell <carlos@redhat.com>
1765
0b1f8e35
CD
1766 [BZ #15754]
1767 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
1768 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
1769 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
1770
c61b4d41
CD
1771 [BZ #15754]
1772 * elf/Makefile (tests): Add tst-ptrguard1.
1773 (tests-static): Add tst-ptrguard1-static.
1774 (tst-ptrguard1-ARGS): Define.
1775 (tst-ptrguard1-static-ARGS): Define.
1776 * elf/tst-ptrguard1.c: New file.
1777 * elf/tst-ptrguard1-static.c: New file.
1778 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
1779 * sysdeps/i386/stackguard-macros.h: Likewise.
1780 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
1781 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
1782 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
1783 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
1784 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
1785 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
1786
17872013-09-23 Hector Marco <hecmargi@upv.es>
1788 Ismael Ripoll <iripoll@disca.upv.es>
1789 Carlos O'Donell <carlos@redhat.com>
1790
1791 [BZ #15754]
1792 * sysdeps/generic/stackguard-macros.h: Define
1793 __pointer_chk_guard_local and POINTER_CHK_GUARD.
1794 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
1795 Define __pointer_chk_guard_local.
1796 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
1797 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
1798
f5f4e7b4
VV
17992013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
1800
1801 [BZ #15859]
1802 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
1803
5bb43a43
AS
18042013-09-20 Andreas Schwab <schwab@linux-m68k.org>
1805
1806 * include/string.h (__ffs): Declare as hidden.
1807 * string/ffs.c (__ffs): Define as hidden.
1808 * sysdeps/i386/ffs.c (__ffs): Likewise.
1809 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
1810 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
1811 * sysdeps/s390/ffs.c (__ffs): Likewise.
1812 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
1813
3ea5be54
AO
18142013-09-20 Alexandre Oliva <aoliva@redhat.com>
1815
ffb89e53
AO
1816 * NEWS: Mention malloc probes.
1817
322dea08
AO
1818 * malloc/arena.c (new_heap): New memory_heap_new probe.
1819 (grow_heap): New memory_heap_more probe.
1820 (shrink_heap): New memory_heap_less probe.
1821 (heap_trim): New memory_heap_free probe.
1822 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
1823 (systrim): New memory_sbrk_less probe.
1824 * manual/probes.texi: Document them.
1825
655673f3
AO
1826 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
1827 * manual/probes.texi: Document it.
1828
35fed6f1
AO
1829 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
1830 (__libc_realloc): Add memory_realloc_retry probe.
1831 (__libc_memalign): Add memory_memalign_retry probe.
1832 (__libc_valloc): Add memory_valloc_retry probe.
1833 (__libc_pvalloc): Add memory_pvalloc_retry probe.
1834 (__libc_calloc): Add memory_calloc_retry probe.
1835 * manual/probes.texi: Document them.
1836
6999d38c
AO
1837 * malloc/arena.c (get_free_list): Add probe
1838 memory_arena_reuse_free_list.
1839 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
1840 and memory_arena_reuse.
1841 (arena_get2) [!PER_THREAD]: Likewise.
1842 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
1843 memory_arena_reuse_realloc.
1844 * manual/probes.texi: Document them.
1845
0653427f
AO
1846 * malloc/malloc.c (__libc_free): Add
1847 memory_mallopt_free_dyn_thresholds probe.
1848 (__libc_mallopt): Add multiple memory_mallopt probes.
1849 * manual/probes.texi: Document them.
1850
3ea5be54
AO
1851 * malloc/malloc.c: Include stap-probe.h.
1852 (__libc_mallopt): Add memory_mallopt probe.
1853 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
1854 * manual/probes.texi: New.
1855 * manual/Makefile (chapters): Add probes.
1856 * manual/threads.texi: Set next node.
1857
e35696c3 18582013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 1859
e35696c3
CL
1860 [BZ #15963, #13985]
1861 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
1862 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
1863 Add `Chinese' to `nan' entry name.
1864
4aafb73c
SP
18652013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1866
1867 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
1868 (POLYNOMIAL): Likewise.
1869 (TAYLOR_SINCOS): Likewise.
1870 (TAYLOR_SLOW): Likewise.
1871 (__sin): Use TAYLOR_SINCOS.
1872 (__cos): Likewise.
1873 (slow): Use TAYLOR_SLOW.
1874 (sloww): Likewise.
1875 (bsloww): Likewise.
1876 (csloww): Likewise.
1877
d84f25c7
LD
18782013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1879
1880 * stdlib/strtod_l.c: Fix buffer overrun.
1881
5eea0404
SP
18822013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1883
7849ff93
SP
1884 * benchtests/Makefile (bench): Add sincos.
1885 * benchtests/bench-sincos.c: New file.
1886
cfa3c886
SP
1887 * math/libm-test.inc (cos_test_data): New test inputs.
1888 (sin_test_data): Likewise.
1889
b348e1e3
SP
1890 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
1891 macro.
1892 (__sin): Use it.
1893 (__cos): Likewise.
1894 (slow1): Likewise.
1895 (slow2): Likewise.
1896 (sloww1): Likewise.
1897 (sloww2): Likewise.
1898 (bsloww1): Likewise.
1899 (bsloww2): Likewise.
1900 (cslow2): Likewise.
1901 (csloww1): Likewise.
1902 (csloww2): Likewise.
1903
6cce25f8
SP
1904 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
1905 function.
1906 (__sin): Use it.
1907 (__cos): Likewise.
1908
5eea0404
SP
1909 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
1910 gotos.
1911 (__cos): Likewise.
1912
9c21573c
MR
19132013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
1914
1915 * config.h.in (HAVE_MIPS_NAN2008): New macro.
1916 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
1917 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
1918 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
1919 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
1920 * elf/cache.c (print_entry): Handle the new cache flags.
1921
24d22e65
JM
19222013-09-18 Joseph Myers <joseph@codesourcery.com>
1923 Aldy Hernandez <aldyh@redhat.com>
1924
1925 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
1926 Change condition to [_SOFT_FLOAT].
1927 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
1928 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
1929 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
1930 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
1931 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
1932 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
1933 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
1934 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
1935 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
1936 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
1937 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
1938 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
1939 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
1940 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
1941 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
1942 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
1943 declaration.
1944
d13ef066
JM
19452013-09-18 Joseph Myers <joseph@codesourcery.com>
1946
2e071de0
JM
1947 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
1948 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
1949 (__longjmp): Use LOAD_GP to load saved GPRs.
1950 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
1951 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
1952 (__sigsetjmp): Use SAVE_GP to save GPRs.
1953
d13ef066
JM
1954 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
1955 Do not append -msoft-float.
1956 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
1957
97a0650b
SP
19582013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1959
1960 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
1961
11ca09e9
JM
19622013-09-17 Joseph Myers <joseph@codesourcery.com>
1963
1964 [BZ #15966]
1965 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
1966 (_FPU_GETCW): Use initial "__" on variable and field names but not
1967 on macro parameter name.
1968 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
1969 parentheses around reference to macro parameter.
1970
08ffcf34
RS
19712013-09-13 Richard Sandiford <richard@codesourcery.com>
1972
1973 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
1974 prototype.
1975 (ctype_startup): Use uint32_t in cast and sizeof for
1976 ctype->charnames.
1977
ae7080d3
JL
19782013-09-11 Jia Liu <proljc@gmail.com>
1979
1980 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
1981 __daddr_t_defined.
1982 [__FreeBSD__]: Likewise.
1983
5905e7b3
OB
19842013-09-11 Ondřej Bílka <neleai@seznam.cz>
1985
1986 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1987 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
1988 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
1989 (strchr): Remove __strchr_sse42 ifunc selection.
1990 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
1991 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
1992
b987c776
WN
19932013-09-11 Will Newton <will.newton@linaro.org>
1994
1995 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
1996 parameter to RES. Remove hardcoded 1000 value.
1997 * benchtests/bench-skeleton.c (main): Pass RES parameter
1998 to TIMING_INIT and multiply result by 1000.
1999
ddf985af
AZ
20002013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2001
2002 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2003
ffdd3181
AS
20042013-09-11 Andreas Schwab <schwab@suse.de>
2005
2006 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
2007 if not defined.
2008 (O_TMPFILE) [__USE_GNU]: Define.
2009 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
2010 Define.
2011
b73ed247
WN
20122013-09-11 Will Newton <will.newton@linaro.org>
2013
2014 [BZ #15857]
2015 * malloc/malloc.c (__libc_memalign): Check the value of bytes
2016 does not overflow.
2017
55e17aad
WN
20182013-09-11 Will Newton <will.newton@linaro.org>
2019
2020 [BZ #15856]
2021 * malloc/malloc.c (__libc_valloc): Check the value of bytes
2022 does not overflow.
2023
1159a193
WN
20242013-09-11 Will Newton <will.newton@linaro.org>
2025
2026 [BZ #15855]
2027 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
2028 does not overflow.
2029
5905e7b3 20302013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
2031
2032 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
2033 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2034 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2035 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2036 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2037
cdfc721b
AM
20382013-09-10 Allan McRae <allan@archlinux.org>
2039
aa04af00
AM
2040 [BZ #15748]
2041 * manual/arith.texi (Parsing of Floats): Clarify
2042 cross-reference.
2043
cdfc721b
AM
2044 [BZ #15849]
2045 * manual/install.texi (Running make install): Mention
2046 --enable-pt-chown.
2047 * INSTALL: Regenerated.
2048
95e7cf29
MR
20492013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2050
2051 * csu/init-first.c (_init): Remove the !SHARED condition around
2052 FPU control word initialization.
2053 * elf/dl-support.c (_dl_fpu_control): New variable.
2054 (_dl_aux_init) <AT_FPUCW>: Initialize it.
2055 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
2056 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
2057 * math/test-fpucw-static.c: New file.
2058 * math/test-fpucw-ieee.c: New file.
2059 * math/test-fpucw-ieee-static.c: New file.
2060 * math/Makefile (tests): Add `test-fpucw-ieee' and
2061 `$(tests-static)'.
2062 (tests-static): New variable.
2063 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
2064 dependency to...
2065 [($(build-shared),yes)]
2066 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
2067 ... this.
2068 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
2069 New dependency.
2070
83e43bf0
AM
20712013-09-09 Allan McRae <allan@archlinux.org>
2072
a9f5ce09
AM
2073 [BZ #15939]
2074 * manual/string.texi (Collation Functions): Fix typo in
2075 strcoll example.
2076 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
2077
34829bc2
AM
2078 [BZ #15893]
2079 * stdlib/isomac.c (get_null_defines): Fix memory leak.
2080
3932737d
AM
2081 [BZ #15892]
2082 * libio/memstream.c (open_memstream): Fix memory leak.
2083 * libio/wmemstream.c (open_wmemstream): Likewise.
2084
83e43bf0
AM
2085 [BZ #15895]
2086 * nscd/netgroupcache.c: Fix nesting of ifdefs.
2087
0c66b8e9
WN
20882013-09-09 Will Newton <will.newton@linaro.org>
2089
2090 * malloc/Makefile: Add tst-realloc to tests.
2091 * malloc/tst-realloc.c: New file.
2092
f6b00fd1
AM
20932013-09-09 Allan McRae <allan@archlinux.org>
2094
2095 [BZ #15844]
2096 * COPYING: Update from GNU website to fix FSF address.
2097 * COPYING.LIB: Likewise.
2098
eec55e16
DM
20992013-09-06 David S. Miller <davem@davemloft.net>
2100
2101 * po/zh_TW.po: Update Chinese (traditional) translation from
2102 translation project.
2103
1ecbb381
RS
21042013-09-06 Richard Sandiford <richard@codesourcery.com>
2105 Joseph Myers <joseph@codesourcery.com>
2106
2107 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
2108 "localeinfo.h".
2109 (obstack_chunk_alloc): New macro.
2110 (obstack_chunk_free): Likewise.
2111 (record_offset): New function.
2112 (init_locale_data): Likewise.
2113 (align_locale_data): Likewise.
2114 (add_locale_empty): Likewise.
2115 (add_locale_raw_data): Likewise.
2116 (add_locale_raw_obstack): Likewise.
2117 (add_locale_string): Likewise.
2118 (add_locale_wstring): Likewise.
2119 (add_locale_uint32): Likewise.
2120 (add_locale_uint32_array): Likewise.
2121 (add_locale_char): Likewise.
2122 (start_locale_structure): Likewise.
2123 (end_locale_structure): Likewise.
2124 (start_locale_prelude): Likewise.
2125 (end_locale_prelude): Likewise.
2126 (write_locale_data): Take locale_file structure rather than an
2127 iovec.
2128 * locale/programs/locfile.h: Include "obstack.h".
2129 (struct locale_file): Change to store locale file contents instead
2130 of header.
2131 (init_locale_data): New prototype.
2132 (align_locale_data): Likewise.
2133 (add_locale_empty): Likewise.
2134 (add_locale_raw_data): Likewise.
2135 (add_locale_raw_obstack): Likewise.
2136 (add_locale_string): Likewise.
2137 (add_locale_wstring): Likewise.
2138 (add_locale_uint32): Likewise.
2139 (add_locale_uint32_array): Likewise.
2140 (add_locale_char): Likewise.
2141 (start_locale_structure): Likewise.
2142 (end_locale_structure): Likewise.
2143 (start_locale_prelude): Likewise.
2144 (end_locale_prelude): Likewise.
2145 (write_locale_data): Update prototype.
2146 * locale/programs/3level.h (struct TABLE): Remove result field.
2147 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
2148 Use new locale_file interface.
2149 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
2150 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
2151 * locale/programs/ld-address.c (address_output): Use new
2152 locale_file interface.
2153 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
2154 NO_ADD_LOCALE.
2155 (collate_finish): Don't call collseq_table_finalize.
2156 (collate_output): Use new locale_file interface.
2157 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
2158 in file.
2159 (NO_FINALIZE): Change to NO_ADD_LOCALE.
2160 (TABLE): Move defines earlier in file.
2161 (ELEMENT): Likewise.
2162 (DEFAULT): Likewise.
2163 (wctrans_table_add): Move macro and inline function earlier in
2164 file.
2165 (struct wctype_table): Move type earlier in file.
2166 (add_locale_wctype_table): New static prototype.
2167 (struct locale_ctype_t): Use logical types instead of struct iovec
2168 pointers for members.
2169 (ctype_output): Use new locale_file interface.
2170 (wctype_table_finalize): Change to add_locale_wctype_table. Use
2171 new locale_file interface.
2172 (allocate_arrays): Update for use of new locale_file interface.
2173 * locale/programs/ld-identification.c (identification_output): Use
2174 new locale_file interface.
2175 * locale/programs/ld-measurement.c (measurement_output): Likewise.
2176 * locale/programs/ld-messages.c (messages_output): Likewise.
2177 * locale/programs/ld-monetary.c (monetary_output): Likewise.
2178 * locale/programs/ld-name.c (name_output): Likewise.
2179 * locale/programs/ld-numeric.c (numeric_output): Likewise.
2180 * locale/programs/ld-paper.c (paper_output): Likewise.
2181 * locale/programs/ld-telephone.c (telephone_output): Likewise.
2182 * locale/programs/ld-time.c (time_output): Likewise.
2183
e029e2e5
AZ
21842013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2185
2186 * benchtests/Makefile: Add memrchr benchmark.
2187 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
2188 benchmark as memrchr.
2189 * benchtests/bench-memrchr-ifunc.c: New file.
2190 * benchtests/bench-memrchr.c: New file.
2191
bbf6e8e4
WN
21922013-09-06 Will Newton <will.newton@linaro.org>
2193
2194 * benchtests/Makefile (string-bench): Add memcpy.
2195
6c82a2f8
CD
21962013-09-05 Carlos O'Donell <carlos@redhat.com>
2197 Cong Wang <amwang@redhat.com>
2198
2199 * sysdeps/unix/sysv/linux/bits/in.h
2200 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
2201 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
2202 before __USE_KERNEL_IPV6_DEFS uses.
2203 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
2204 IPPROTO_BEETPH.
2205 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
2206 sockaddr_in6, or ipv6_mreq.
2207
5430fc65
AZ
22082013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2209
2210 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
2211 memory access for final bytes in some large inputs.
2212 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
2213
4660856c
AZ
22142013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2215
2216 * string/test-memrchr.c: New file.
2217 * string/test-memrchr-ifunc.c: New file.
2218 * string/Makefile: Add new memrchr testcase.
2219
bb8ea713
MF
22202013-09-05 Mike Frysinger <vapier@gentoo.org>
2221
2222 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
2223 fanotify_init returns EPERM.
2224
b92a20b5
JM
22252013-09-04 Joseph Myers <joseph@codesourcery.com>
2226
2227 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
2228 errors.
2229 (top level): Treat second token from macro or constant entries for
2230 allowed headers as allowed.
2231 * include/complex.h: Condition internal declarations on
2232 [!_ISOMAC].
2233 * include/fenv.h: Condition include of <stdbool.h> and internal
2234 declarations on [!_ISOMAC].
7447ccd9
CL
2235
22362013-09-04 Chris Leonard <cjl@sugarlabs,.org>
2237
3e181dda 2238 [BZ #15923]
7447ccd9
CL
2239 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
2240
3f2e46a4
JM
22412013-09-04 Joseph Myers <joseph@codesourcery.com>
2242
2243 * configure.in (--enable-versioning): Remove configure option.
2244 (libc_cv_asm_symver_directive): Remove configure test.
2245 (libc_cv_ld_version_script_option): Likewise.
2246 (VERSIONING): Remove variable and AC_SUBST.
2247 (DO_VERSIONING): Remove AC_DEFINE.
2248 * configure: Regenerated.
2249 * config.h.in (DO_VERSIONING): Remove macro.
2250 * Makerules [$(versioning) = yes]: Change conditionals to
2251 [$(build-shared) = yes].
2252 * config.make.in (versioning): Remove variable.
2253 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
2254 [$(build-shared) = yes].
2255 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
2256 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
2257 * elf/Makefile [$(versioning) = yes]: Change conditionals to
2258 [$(build-shared) = yes].
2259 * extra-lib.mk [$(versioning) = yes]: Likewise.
2260 * hurd/Makefile [$(versioning) = yes]: Likewise.
2261 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
2262 [SHARED].
2263 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
2264 [SHARED].
2265 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
2266 [SHARED && !NO_HIDDEN].
2267 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
2268 [SHARED].
2269 [SHARED && DO_VERSIONING]: Likewise..
2270 * libio/Makefile [$(versioning) = yes]: Change conditionals to
2271 [$(build-shared) = yes].
2272 * manual/install.texi (--disable-versioning): Remove
2273 documentation.
2274 * INSTALL: Regenerated.
2275 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
2276 to [SHARED].
2277 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
2278 [$(build-shared) = yes].
2279 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
2280 * sysdeps/i386/i686/multiarch/strstr-c.c
2281 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
2282 [SHARED && !NO_HIDDEN].
2283 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
2284 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
2285 * sysdeps/powerpc/powerpc32/dl-machine.c
2286 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
2287 * sysdeps/powerpc/powerpc32/sysdep.h
2288 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
2289 to [SHARED && PIC && !NO_HIDDEN].
2290 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
2291 conditional to [SHARED].
2292
44558701
WN
22932013-09-04 Will Newton <will.newton@linaro.org>
2294
2295 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
2296 * benchtests/bench-string.h: Include bench-timing.h instead
2297 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
2298 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
2299 call to HP_TIMING_DIFF_INIT.
2300 * benchtests/bench-memccpy.c: Use bench-timing.h macros
2301 instead of hp-timing.h macros.
2302 * benchtests/bench-memchr.c: Likewise.
2303 * benchtests/bench-memcmp.c: Likewise.
2304 * benchtests/bench-memcpy.c: Likewise.
2305 * benchtests/bench-memmem.c: Likewise.
2306 * benchtests/bench-memmove.c: Likewise.
2307 * benchtests/bench-memset.c: Likewise.
2308 * benchtests/bench-rawmemchr.c: Likewise.
2309 * benchtests/bench-strcasecmp.c: Likewise.
2310 * benchtests/bench-strcasestr.c: Likewise.
2311 * benchtests/bench-strcat.c: Likewise.
2312 * benchtests/bench-strchr.c: Likewise.
2313 * benchtests/bench-strcmp.c: Likewise.
2314 * benchtests/bench-strcpy.c: Likewise.
2315 * benchtests/bench-strcpy_chk.c: Likewise.
2316 * benchtests/bench-strlen.c: Likewise.
2317 * benchtests/bench-strncasecmp.c: Likewise.
2318 * benchtests/bench-strncat.c: Likewise.
2319 * benchtests/bench-strncmp.c: Likewise.
2320 * benchtests/bench-strncpy.c: Likewise.
2321 * benchtests/bench-strnlen.c: Likewise.
2322 * benchtests/bench-strpbrk.c: Likewise.
2323 * benchtests/bench-strrchr.c: Likewise.
2324 * benchtests/bench-strspn.c: Likewise.
2325 * benchtests/bench-strstr.c: Likewise.
2326
cae16d66
WN
23272013-09-04 Will Newton <will.newton@linaro.org>
2328
2329 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
2330
ffa3cd7f
JM
23312013-09-03 Joseph Myers <joseph@codesourcery.com>
2332
2333 [BZ #15427]
2334 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
2335 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
2336 * math/libm-test.inc (lgamma_test_data): Add more tests.
2337 * sysdeps/i386/fpu/libm-test-ulps: Update.
2338 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2339
8f02859f
OB
23402013-09-03 Ondřej Bílka <neleai@seznam.cz>
2341
2342 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
2343 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2344 Add ifunc.
2345 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
2346 Add strcmp-sse2-unaligned
2347 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
2348
18d43716
MF
23492013-09-02 Mike Frysinger <vapier@gentoo.org>
2350
2351 * Versions.def (libc): Add GLIBC_2.19.
2352
ac444012
MF
23532013-09-02 Mike Frysinger <vapier@gentoo.org>
2354
2355 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
2356 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
2357
b7835e32
JM
23582013-09-02 Joseph Myers <joseph@codesourcery.com>
2359
2360 [BZ #14155]
2361 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
2362 intermediate calculations in recurrence.
2363 (__ieee754_ynf): Likewise.
2364 * math/libm-test.inc (jn_test_data): Do not allow spurious
2365 underflow exception. Add more tests.
2366 (yn_test_data): Add more tests.
2367 * sysdeps/i386/fpu/libm-test-ulps: Update.
2368 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2369
8220f4f0
OB
23702013-09-02 Ondřej Bílka <neleai@seznam.cz>
2371
2372 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
2373
f24a6d08
OB
23742013-08-30 Ondřej Bílka <neleai@seznam.cz>
2375
2376 * csu/init-first.c: Fix then/than typos.
2377 * locale/programs/ld-collate.c: Likewise.
2378 * locale/programs/linereader.h: Likewise.
2379 * manual/charset.texi: Likewise.
2380 * manual/filesys.texi: Likewise.
2381 * manual/stdio.texi: Likewise.
2382 * manual/string.texi: Likewise.
2383 * stdlib/fmtmsg.c: Likewise.
2384 * sysdeps/i386/stpncpy.S: Likewise.
2385 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2386 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
2387 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2388 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2389
382466e0
OB
23902013-08-30 Ondřej Bílka <neleai@seznam.cz>
2391
2392 * elf/dl-open.c: Fix typos.
2393 * iconvdata/gbbig5.c: Likewise.
2394 * iconvdata/iso-2022-jp.c: Likewise.
2395 * iconv/gconv_int.h: Likewise.
2396 * iconv/loop.c: Likewise.
2397 * nis/rpcsvc/nis.h: Likewise.
2398 * resolv/ns_name.c: Likewise.
2399 * stdio-common/vfscanf.c: Likewise.
2400 * streams/stropts.h: Likewise.
2401 * sunrpc/rpc_thread.c: Likewise.
2402 * sysdeps/i386/strpbrk.S: Likewise.
2403 * sysdeps/ieee754/k_standard.c: Likewise.
2404 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2405 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2406 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
2407 * sysdeps/mach/hurd/profil.c: Likewise.
2408 * sysdeps/s390/dl-procinfo.h: Likewise.
2409 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
2410 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
2411 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
2412 * sysdeps/x86_64/dl-trampoline.S: Likewise.
2413 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
2414
0186c6e9
OB
24152013-08-30 Ondřej Bílka <neleai@seznam.cz>
2416
2417 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
2418 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
2419
d4e16af1
OB
24202013-08-29 Ondřej Bílka <neleai@seznam.cz>
2421
2422 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
2423 aix specific files.
2424 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
2425 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
2426 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
2427 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
2428 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
2429 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
2430 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
2431 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
2432
88335980
TS
24332013-08-29 Thomas Schwinge <thomas@codesourcery.com>
2434 Roland McGrath <roland@hack.frob.com>
2435
2436 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
2437 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
2438
ed479b02
ST
24392013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
2440
2441 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
2442 __executable_start symbol instead of _start.
2443
f1cc4c86
TS
24442013-08-29 Thomas Schwinge <thomas@codesourcery.com>
2445
d821f07c
TS
2446 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
2447 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
2448 Move macros to...
2449 * sysdeps/gnu/ldsodefs.h: ... this new file.
2450
c54290cf
TS
2451 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
2452 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
2453 instead of ELFOSABI_LINUX.
2454
0007fc9b 2455 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
2456 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
2457 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
2458 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
2459 Likewise.
2460 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
2461 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
2462 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
2463 Likewise.
2464 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
2465 (ibm_extended_long_double): Add ieee_nan member.
2466 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
2467 (do_test): New function.
2468
f1cc4c86
TS
2469 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
2470 TEST_TRUNC.
2471 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
2472 functions, renamed from truncdfsf_test, trunctfsf_test,
2473 trunctfdf_test.
2474 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
2475 functions.
2476 (do_test): Run all these.
2477
6f65e668
OB
24782013-08-29 Ondřej Bílka <neleai@seznam.cz>
2479
2480 * argp/argp-help.c: Fix typos.
2481 * argp/argp-parse.c: Likewise.
2482 * debug/backtracesyms.c: Likewise.
2483 * elf/elf.h: Likewise.
2484 * malloc/malloc.c: Likewise.
2485 * nis/nis_print.c: Likewise.
2486 * resolv/res_comp.c: Likewise.
2487 * stdlib/stdlib.h: Likewise.
2488 * sunrpc/clnt_tcp.c: Likewise.
2489 * sunrpc/clnt_udp.c: Likewise.
2490 * sunrpc/clnt_unix.c: Likewise.
2491 * sysdeps/unix/bsd/ptsname.c: Likewise.
2492 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
2493 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
2494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
2495 Likewise.
2496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
2497 Likewise.
2498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
2499 Likewise.
6f65e668
OB
2500 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
2501
3a309239
SP
25022013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2503
2504 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
2505 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2506
3b813b29
MF
25072013-08-27 Mike Frysinger <vapier@gentoo.org>
2508
2509 [BZ #15897]
2510 * dlfcn/Makefile (tests): Add bug-dl-leaf.
2511 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
2512 ($(objpfx)bug-dl-leaf): New rule.
2513 ($(objpfx)bug-dl-leaf.so): Likewise.
2514 ($(objpfx)bug-dl-leaf.out): Likewise.
2515 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
2516 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
2517 * dlfcn/bug-dl-leaf.c: New test.
2518 * dlfcn/bug-dl-leaf-lib.c: Likewise.
2519 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
2520 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
2521 (dlclose): Likewise.
2522 (dlmopen): Likewise.
2523
8cc3269f
RM
25242013-08-27 Roland McGrath <roland@hack.frob.com>
2525
7f9d0034
RM
2526 * include/netdb.h [!_ISOMAC]:
2527 Don't include <tls.h>.
2528 (h_errno, __libc_h_errno): Move declaration and macros out of
2529 [_LIBC_REENTRANT].
2530
fb431262
RM
2531 * include/resolv.h [_RESOLV_H_]:
2532 Don't include <tls.h>.
2533 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
2534 * resolv/res_libc.c: Don't include <tls.h>.
2535 (_res): Use __attribute__ ((nocommon)) in place of
2536 __attribute__ ((section (".bss"))).
2537
bd81123a
RM
2538 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
2539 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
2540
c4e42566
RM
2541 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
2542
f890a59b
RM
2543 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
2544 only under [SIOCGIFCONF && SIOCGIFNETMASK].
2545
2546 * resolv/res_mkquery.c: Include <sys/time.h>.
2547
5d1f0a09
RM
2548 * inet/ifreq.c: Moved to ...
2549 * sysdeps/unix/ifreq.c: ... here.
2550 * inet/ifreq.c: New file, true stub version.
2551
6fcf28b3
RM
2552 * socket/sa_len.c: New file.
2553 * socket/Makefile (aux): Add it.
2554 * sysdeps/unix/sysv/linux/Makefile
2555 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
2556 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
2557 and #include <socket/sa_len.c>.
2558 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
2559 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
2560
e041fb8b
RM
2561 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
2562 * bits/socket.h: ... here.
2563
8cc3269f
RM
2564 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
2565 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
2566 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
2567
5d228a43
AS
25682013-08-27 Andreas Schwab <schwab@suse.de>
2569
45b8accc
AS
2570 [BZ #15736]
2571 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
2572 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
2573 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
2574 * string/test-strcasecmp.c (test_main): Run tests in several
2575 locales.
2576 * string/test-strncasecmp.c (test_main): Likewise.
2577
5d228a43
AS
2578 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
2579 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
2580 to __strcasecmp_nonascii and __strncasecmp_nonascii.
2581 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
2582 (__strncasecmp_ssse3) [PIC]: Likewise.
2583
59d112a4
RM
25842013-08-26 Roland McGrath <roland@hack.frob.com>
2585
53234cc3
RM
2586 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
2587
59d112a4
RM
2588 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
2589 instead of explicitly declaring xdecrypt.
2590 * nis/nss_nis/nis-publickey.c: Likewise.
2591
595aba70
SP
25922013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2593
2594 [BZ #15890]
2595 * nscd/aicache.c: Include res_hconf.h.
2596 (addhstaiX): Initialize res_hconf.
2597
ffabd393
AS
25982013-08-26 Andreas Schwab <schwab@suse.de>
2599
2600 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
2601 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
2602
e0a69f5c
SP
26032013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2604
2605 * nscd/aicache.c (addhstaiX): Fix indentation.
2606
8c12f01d
MF
26072013-08-25 Mike Frysinger <vapier@gentoo.org>
2608
2609 * configure.ac: Quote $build_pt_chown test.
2610 * configure: Regenerated.
2611
8fe89494
JM
26122013-08-23 Joseph Myers <joseph@codesourcery.com>
2613
2614 [BZ #15532]
2615 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
2616 * math/s_cexpf.c (__cexpf): Likewise.
2617 * math/s_cexpl.c (__cexpl): Likewise.
2618 * math/libm-test.inc (cexp_test_data): Correct expected return
2619 value for NaN + i0. Add another test.
2620
75b181d6
DM
26212013-08-22 David S. Miller <davem@davemloft.net>
2622
2623 * po/ca.po: Update Catalan translation from translation project.
936241e4 2624 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 2625
acd06bb1
JM
26262013-08-21 Joseph Myers <joseph@codesourcery.com>
2627
2628 [BZ #15797]
2629 * math/s_fdim.c (__fdim): Check for infinite arguments if result
2630 is infinite, not alongside NaN test.
2631 * math/s_fdimf.c (__fdimf): Likewise.
2632 * math/s_fdiml.c (__fdiml): Likewise.
2633 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
2634 errno is unchanged.
2635
c0c3f78a
OB
26362013-08-21 Ondřej Bílka <neleai@seznam.cz>
2637
2638 * argp/argp-help.c: Fix typos.
2639 * crypt/speeds.c: Likewise.
2640 * csu/check_fds.c: Likewise.
2641 * elf/dl-load.c: Likewise.
2642 * elf/dl-open.c: Likewise.
2643 * elf/reldep3.c: Likewise.
2644 * elf/reldep.c: Likewise.
2645 * elf/sprof.c: Likewise.
2646 * iconv/iconv_charmap.c: Likewise.
2647 * iconv/skeleton.c: Likewise.
2648 * iconv/strtab.c: Likewise.
2649 * io/lockf64.c: Likewise.
2650 * libio/libioP.h: Likewise.
2651 * resolv/gai_notify.c: Likewise.
2652 * resolv/ns_name.c: Likewise.
2653 * resolv/ns_samedomain.c: Likewise.
2654 * resolv/res_send.c: Likewise.
2655 * stdlib/random.c: Likewise.
2656 * sunrpc/rpc/xdr.h: Likewise.
2657 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
2658 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
2659 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
2660 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
2661 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
2662 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
2663 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
2664 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
2665 * sysdeps/mach/hurd/check_fds.c: Likewise.
2666 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
2667 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
2668 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2669 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
2670 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
2671 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
2672 * sysdeps/pthread/aio_notify.c: Likewise.
2673 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
2674 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
2675 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
2676 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
2677 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
2678
46ed1038
LD
26792013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2680
2681 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
2682 version if bit_Slow_SSE4_2 is set.
2683 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2684 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
2685
d400dcac
AZ
26862013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2687
2688 [BZ #15867]
2689 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
2690 trampoline stack frame information.
2691 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
2692 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
2693 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
2694 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
2695 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
2696 * sysdeps/unix/sysv/linux/powerpc/init-first.c
2697 (_libc_vdso_platform_setup): Initialize the signal trampolines.
2698 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
2699 sa_flags value.
2700 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
2701 interrupting a syscall and set with option SA_SIGINFO.
2702
42c8fdd8
JM
27032013-08-20 Joseph Myers <joseph@codesourcery.com>
2704
c980f2f4
JM
2705 [BZ #15531]
2706 * math/s_cproj.c (__cproj): Only return an infinity if one part of
2707 argument is infinite.
2708 * math/s_cprojf.c (__cprojf): Likewise.
2709 * math/s_cprojl.c (__cprojl): Likewise.
2710 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
2711 * math/libm-test.inc (cproj_test_data): Add more tests.
2712
0716c4fc
JM
2713 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
2714
42c8fdd8
JM
2715 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
2716 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
2717 size. Use __ffs to determine corresponding shift.
2718
b31469d0
JM
27192013-08-20 Joseph Myers <joseph@codesourcery.com>
2720 Roland McGrath <roland@hack.frob.com>
2721
2722 * Makefile (INSTALL): Remove trailing blank lines from output of
2723 makeinfo.
2724
4e39af6e
AK
27252013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2726
2727 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
2728 Align 32 bit compat elf_greg to 8 bytes.
2729
f315524e
AA
27302013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
2731
2732 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
2733
1326ba1a
SP
27342013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2735
2736 * string/strcoll_l.c (coll_seq): New structure.
2737 (get_next_seq_cached): New function.
2738 (get_next_seq): New function.
2739 (do_compare): New function.
2740 (STRCOLL): Use GNU style definition. Simplify implementation
2741 by using get_next_seq, get_next_seq_cached and do_compare.
2742
91ce4085
FW
27432013-08-16 Florian Weimer <fweimer@redhat.com>
2744
2745 [BZ #14699]
2746 CVE-2013-4237
2747 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
2748 member.
2749 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
2750 member.
2751 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
2752 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
2753 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
2754 conditional.
2755 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
2756 GETDENTS_64BIT_ALIGNED.
2757 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
2758 * manual/filesys.texi (Reading/Closing Directory): Document
2759 ENAMETOOLONG return value of readdir_r. Recommend readdir more
2760 strongly.
2761 * manual/conf.texi (Limits for Files): Add portability note to
2762 NAME_MAX, PATH_MAX.
2763 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
2764
ca0a6bc4
AS
27652013-08-13 Andreas Schwab <schwab@suse.de>
2766
2767 [BZ #15749]
2768 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
2769 of fabs.
2770 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
2771 LDBL_MAX_EXP >= 16384]: Add tests for it.
2772
6c1fd795
DM
27732013-08-12 David S. Miller <davem@davemloft.net>
2774
2775 * version.h (RELEASE): Set to "development".
2776 (VERSION): Set to "2.18.90".
2777 * NEWS: Add 2.19 section.
2778
31ad488d
DM
27792013-08-03 David S. Miller <davem@davemloft.net>
2780
2781 * po/ko.po: Update Korean translation from translation project.
2782
db24e684
DM
27832013-08-01 David S. Miller <davem@davemloft.net>
2784
2785 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
2786 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
2787 Bilka.
2788
f723285b
DM
27892013-07-30 David S. Miller <davem@davemloft.net>
2790
2791 * po/fr.po: Update French translation from translation project.
2792
3cbc52db
DM
27932013-07-28 David S. Miller <davem@davemloft.net>
2794
30bbc0cc
DM
2795 * po/cs.po: Update Czech translation from translation project.
2796
3cbc52db
DM
2797 * po/sv.po: Update Swedish translation from translation project.
2798
d492e6d0
DM
27992013-07-27 David S. Miller <davem@davemloft.net>
2800
f1a7f492
DM
2801 * po/eo.po: Update Esperanto translation from translation project.
2802
90e62a4a
DM
2803 * po/vi.po: Update Vietnamese translation from translation project.
2804
d492e6d0
DM
2805 * po/de.po: Update German translation from translation project.
2806
d4baa62d
DM
28072013-07-26 David S. Miller <davem@davemloft.net>
2808
641aa7b4
DM
2809 * po/bg.po: Update Bulgarian translation from translation project.
2810
d4baa62d
DM
2811 * po/nl.po: Update Dutch translation from translation project.
2812 * po/pl.po: Update Polish translation from translation project.
2813 * po/ru.po: Update Russian translation from translation project.
2814
61a9dcb9
DM
28152013-07-24 David S. Miller <davem@davemloft.net>
2816
2817 * po/libc.pot: Update.
2818
7b1f8b58
AZ
28192013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2820
2821 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
2822 variable page size.
2823 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
2824 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
2825 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
2826
a8fc7a03
AK
28272013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2828
2829 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
2830
e4608715
CD
28312013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2832 Andreas Schwab <schwab@suse.de>
2833 Roland McGrath <roland@hack.frob.com>
2834 Joseph Myers <joseph@codesourcery.com>
2835 Carlos O'Donell <carlos@redhat.com>
2836
2837 [BZ #15755]
2838 * config.h.in: Define HAVE_PT_CHOWN.
2839 * config.make.in (build-pt-chown): New variable.
2840 * configure.in (--enable-pt_chown): New configure option.
2841 * configure: Regenerate.
2842 * login/Makefile: Include Makeconfig. Build pt_chown only if
2843 build-pt-chown is enabled.
2844 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
2845 pt_chown to fix pty ownership.
2846 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
2847 CLOSE_ALL_FDS.
2848 * manual/install.texi (Configuring and compiling): Mention
2849 --enable-pt_chown. Add @findex for grantpt.
2850 * INSTALL: Regenerate.
2851
da2d62df
DM
28522013-07-20 David S. Miller <davem@davemloft.net>
2853
2854 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
2855 difference between 32-bit and 64-bit.
2856
d7e06450
CD
28572013-07-15 Carlos O'Donell <carlos@redhat.com>
2858
2859 [BZ #15711]
2860 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
2861 Avoid system header dependency with -ffreestanding.
2862 ($(objpfx)bits/syscall%d): Likewise.
2863
f959cfd7
DM
28642013-07-13 David S. Miller <davem@davemloft.net>
2865
2866 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
2867 underflows from atanl/atan2l due to bug 15319.
2868 (casinh_test_data): Likewise.
2869
c61f8513
DM
28702013-07-07 David S. Miller <davem@davemloft.net>
2871
2872 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
2873
72c90ed0
JA
28742013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
2875
2876 * sysdeps/i386/fpu/libm-test-ulps: Update.
2877 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2878
52dfbe13
SP
28792013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2880
2881 * configure.in (--enable-lock-elision): Fix message text.
2882 * INSTALL: Regenerate.
2883 * configure: Regenerate.
2884
3f169543
AZ
28852013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2886
2887 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2888
521c6785
AJ
28892013-07-03 Andreas Jaeger <aj@suse.de>
2890
2891 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
2892 define.
2893 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
2894 (ptrace_peeksiginfo_args): Add.
2895 (__ptrace_peeksiginfo_flags): Add.
2896 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
2897 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
2898 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
2899
d2cc15cb
AM
29002013-07-03 Allan McRae <allan@archlinux.org>
2901
2902 * sysdeps/i386/fpu/libm-test-ulps: Update.
2903
3aaeeca7
DM
29042013-07-02 David S. Miller <davem@davemloft.net>
2905
2906 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2907
5314ed1a
MT
29082013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
2909
2910 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2911
67338156
JM
29122013-07-02 Joseph Myers <joseph@codesourcery.com>
2913
2914 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
2915 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2916
1717da59
AK
29172013-07-02 Andi Kleen <ak@linux.intel.com>
2918
2919 * config.h.in (ENABLE_LOCK_ELISION): Add.
2920 * configure.in (--enable-lock-elision): Add option.
2921 * manual/install.texi: Document --enable lock elision.
2922 * configure: Regenerate
2923 * INSTALL: Regenerate.
2924
1c81621c
L
29252013-07-02 H.J. Lu <hongjiu.lu@intel.com>
2926
2927 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
2928 SSE4.2 strcasecmp for libc.a.
2929 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
2930
77f01ab5
JM
29312013-07-02 Joseph Myers <joseph@codesourcery.com>
2932
2933 [BZ #13304]
2934 * soft-fp/op-common.h (_FP_FMA): New macro.
2935 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
2936 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
2937 (_FP_MUL_MEAT_1_imm): ... here.
2938 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
2939 (_FP_MUL_MEAT_1_wide): ... here.
2940 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
2941 (_FP_MUL_MEAT_1_hard): ... here.
2942 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
2943 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
2944 (_FP_MUL_MEAT_2_wide): ... here.
2945 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
2946 (_FP_MUL_MEAT_2_wide_3mul): ... here.
2947 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
2948 (_FP_MUL_MEAT_2_gmp): ... here.
2949 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
2950 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
2951 (_FP_MUL_MEAT_4_wide): ... here.
2952 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
2953 (_FP_MUL_MEAT_4_gmp): ... here.
2954 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
2955 (_FP_WFRACBITS_DW_S): Likewise.
2956 (_FP_WFRACXBITS_DW_S): Likewise.
2957 (_FP_HIGHBIT_DW_S): Likewise.
2958 (FP_FMA_S): Likewise.
2959 (_FP_FRAC_HIGH_DW_S): Likewise.
2960 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
2961 (_FP_WFRACBITS_DW_D): Likewise.
2962 (_FP_WFRACXBITS_DW_D): Likewise.
2963 (_FP_HIGHBIT_DW_D): Likewise.
2964 (FP_FMA_D): Likewise.
2965 (_FP_FRAC_HIGH_DW_D): Likewise.
2966 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
2967 (_FP_WFRACBITS_DW_E): Likewise.
2968 (_FP_WFRACXBITS_DW_E): Likewise.
2969 (_FP_HIGHBIT_DW_E): Likewise.
2970 (FP_FMA_E): Likewise.
2971 (_FP_FRAC_HIGH_DW_E): Likewise.
2972 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
2973 (_FP_WFRACBITS_DW_Q): Likewise.
2974 (_FP_WFRACXBITS_DW_Q): Likewise.
2975 (_FP_HIGHBIT_DW_Q): Likewise.
2976 (FP_FMA_Q): Likewise.
2977 (_FP_FRAC_HIGH_DW_Q): Likewise.
2978 * soft-fp/fmasf4.c: New file.
2979 * soft-fp/fmadf4.c: Likewise.
2980 * soft-fp/fmatf4.c: Likewise.
2981
6308fd9a
LD
29822013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2983
2984 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
2985 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
2986 Silvermont.
2987 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
2988 macro.
2989 (index_Slow_SSE4_2): Likewise.
2990 (index_Prefer_PMINUB_for_stringop): Likewise.
2991 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
2992 bit_Slow_SSE4_2 is set.
2993 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2994 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
2995
89cd9569
RA
29962013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2997
2998 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
2999 rtld_global._dl_hwcap2.
3000 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
3001 POWER8.
3002 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
3003 POWER8 feature descriptions defined in _dl_hwcap2.
3004 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
3005 string handling for POWER8 feature bits.
3006 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
3007 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
3008 _dl_powerpc_cap_flags.
3009 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
3010 * sysdeps/powerpc/rtld-global-offsets.sym
3011 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
3012 _dl_hwcap2 in the rtld_global_ro structure.
3013
1ae8bfe0
RA
30142013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3015
3016 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
3017 hardware capabilities in support of AT_HWCAP2.
3018 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
3019 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
3020 GLRO(dl_hwcap2).
3021 (_dl_show_auxv): Add support for calling _dl_procinfo to display
3022 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
3023 explicitly the unknown a_type display mechanism is used.
3024 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
3025 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
3026 struct member.
3027 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
3028 to macro prototype for AT_HWCAP2 support.
3029 * sysdeps/i386/dl-procinfo.h: Likewise.
3030 * sysdeps/s390/dl-procinfo.h: Likewise.
3031 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
3032 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
3033 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
3034 return -1 for unknown a_type display fallback.
3035 * sysdeps/sparc/dl-procinfo.h: Likewise.
3036 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
3037 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
3038
8fbec010
JM
30392013-06-28 Joseph Myers <joseph@codesourcery.com>
3040
3041 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
3042 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
3043
0432680e
PY
30442013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
3045
3046 [BZ #12492]
3047 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
3048 mprotect making __stack_prot writable.
3049
ce61a2ad
NF
30502013-06-28 Nathan Froyd <froydnj@codesourcery.com>
3051 Joseph Myers <joseph@codesourcery.com>
3052
3053 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
3054 as being properly aligned.
3055
f91f1c0f
MR
30562013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
3057
3d0f5d0c
MR
3058 * dlfcn/modstatic5.c: New file.
3059 * dlfcn/tststatic5.c: New file.
3060 * dlfcn/Makefile (tests): Add tststatic5.
3061 (tests-static): Likewise.
3062 (modules-names): Add modstatic5.
3063 (tststatic5-ENV): New variable.
3064 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
3065
f91f1c0f
MR
3066 [BZ #15022]
3067 * elf/dl-support.c (_dl_main_map): New variable.
3068 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
3069 (_dl_nns, _dl_load_adds): Set to 1.
3070 (_dl_initial_searchlist): Refer to _dl_main_map.
3071 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
3072 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
3073 call to _dl_get_origin.
3074 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
3075 around call_map.
3076 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
3077 * dlfcn/modstatic3.c: New file.
3078 * dlfcn/tststatic3.c: New file.
3079 * dlfcn/tststatic4.c: New file.
3080 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
3081 (tests-static): Likewise.
3082 (modules-names): Add modstatic3.
3083 (tststatic3-ENV, tststatic4-ENV): New variables.
3084 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
3085 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
3086
cbe7d24b
JM
30872013-06-26 Joseph Myers <joseph@codesourcery.com>
3088
3089 * configure.in (CC): Require GCC version 4.4 or later.
3090 * configure: Regenerated.
3091 * manual/install.texi (Tools for Compilation): Update GCC version
3092 requirement.
3093 * INSTALL: Regenerated.
3094
11b8a0e1
LD
30952013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3096
3097 [BZ #15674]
bb5bb87c
L
3098 * string/test-memcmp.c (check2): New.
3099 (main): Call check2.
3100
11b8a0e1
LD
3101 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
3102
b0037103
MR
31032013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
3104
3105 [BZ #15022]
3106 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
3107 over to...
3108 (dl_open_worker) [!SHARED]: ... here.
3109
c18c701d
RA
31102013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3111
3112 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
3113
1d17fa5f
RH
31142013-06-25 Richard Henderson <rth@redhat.com>
3115
3116 * locale/programs/locarchive.c: Include <libc-internal.h>
3117
8fcb833a
JM
31182013-06-25 Joseph Myers <joseph@codesourcery.com>
3119
3120 * manual/texinfo.tex: Update to version 2013-06-21.17, with
3121 trailing whitespace removed.
3122
17db6e8d
MF
31232013-06-24 Mike Frysinger <vapier@gentoo.org>
3124
3125 [BZ #10283]
17db6e8d
MF
3126 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
3127 * locale/programs/locarchive.c: Include libc-mmap.h.
3128 (prepare_address_space): Take two new outputs (the mmap base and len).
3129 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
3130 values.
3131 (create_archive): Declare new mmap base and len values for
3132 prepare_address_space, and store the result in ah.
3133 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
3134 (enlarge_archive): If ah->mmap_base is not NULL, use that and
3135 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
3136 Declare new mmap base and len values for
3137 prepare_address_space, and store the result in new_ah.
3138 (open_archive): Declare new mmap base and len values for
3139 prepare_address_space, and store the result in ah.
3140 (close_archive): If ah->mmap_base is not NULL, use that and
3141 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
3142 * sysdeps/generic/libc-mmap.h: New file.
3143
d605071e
MF
31442013-06-24 Mike Frysinger <vapier@gentoo.org>
3145
3146 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
3147 (ALIGN_UP): Likewise.
3148 (PTR_ALIGN_DOWN): Likewise.
3149 (PTR_ALIGN_UP): Likewise.
3150
2f063a6e
RA
31512013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3152
3153 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
3154 entry mapped to PPC_PLATFORM_POWER8.
3155 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
3156 POWER8.
3157 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
3158 (_dl_string_platform): Add case for exporting platform position for
3159 POWER8.
3160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
3161 search path to sysdeps/powerpc/powerpc32/power8 directory.
3162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
3163 search path to sysdeps/powerpc/powerpc64/power8 directory.
3164 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
3165 power7 directories.
3166 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
3167 power7 directories.
3168
a31ee4b3
SP
31692013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3170
a74ca98f
SP
3171 * INSTALL: Regenerate.
3172
a31ee4b3
SP
3173 * nscd/connections.c (nscd_init): Fix comment.
3174
695c378f
JM
31752013-06-22 Joseph Myers <joseph@codesourcery.com>
3176
d8412221
JM
3177 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
3178
695c378f
JM
3179 [BZ #15667]
3180 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
3181 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
3182
d1d54715
MR
31832013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
3184
3185 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
3186 DL_DST_REQ_STATIC.
3187 (DL_DST_REQ_STATIC): Remove macro.
3188
8fdda7af
JM
31892013-06-21 Joseph Myers <joseph@codesourcery.com>
3190
3191 [BZ #7006]
3192 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
3193 with a shift of 0 bits.
3194
f3bc5e5a
MR
31952013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
3196
3197 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
3198 $(tststatic-ENV).
3199
be09e8c9
KK
32002013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3201
3202 [BZ #15655]
3203 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
3204
85c2e611
AZ
32052013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3206
3207 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
3208 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
3209 accepts -fno-tree-loop-distribute-patterns.
3210 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
3211 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
3212 recursive call.
3213 * string/memset.c (memset): Likewise.
3214 * string/test-memmove.c (simple_memmove): Disable loop transformation
3215 to library calls.
3216 * string/test-memset.c (simple_memset): Likewise.
3217 * benchtests/bench-memmove.c (simple_memmove): Likewise.
3218 * benchtests/bench-memset.c (simple_memset): Likewise.
3219 * configure: Regenerated.
3220
c91e0825
JM
32212013-06-20 Joseph Myers <joseph@codesourcery.com>
3222
b8c792af
JM
3223 * math/test-misc.c (main): Ignore fesetround failure when failures
3224 of subsequent rounding tests would be ignored.
3225
c91e0825
JM
3226 [BZ #15654]
3227 * math/fedisblxcpt.c (fedisableexcept): Return 0.
3228 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
3229 * math/fegetenv.c (__fegetenv): Return 0.
3230 * math/fegetexcept.c (fegetexcept): Return 0.
3231 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
3232 FE_TONEAREST.
3233 * math/feholdexcpt.c (feholdexcept): Return 0.
3234 * math/fesetenv.c (__fesetenv): Return 0.
3235 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
3236 argument FE_TONEAREST.
3237 * math/feupdateenv.c (__feupdateenv): Return 0.
3238 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
3239
bfcacbde
RM
32402013-06-18 Roland McGrath <roland@hack.frob.com>
3241
3242 * elf/rtld-Rules (rtld-compile-command.S): New variable.
3243 (rtld-compile-command.s, rtld-compile-command.c): New variables.
3244 ($(objpfx)rtld-%.os rules): Use them.
3245
e55a9b25
AZ
32462013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3247
3248 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
3249 fields.
3250
346d65b3
RM
32512013-06-17 Roland McGrath <roland@hack.frob.com>
3252
12086fb4
RM
3253 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
3254 length of target pattern, then descending length of dependency pattern.
3255 * configure.in (AWK): Require gawk 3.1.2 or newer.
3256 * manual/install.texi (Tools for Compilation): Say that we do.
3257 * configure: Regenerated.
3258
346d65b3
RM
3259 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
3260 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
3261 * scripts/sysd-rules.awk: ... this new script.
3262 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
3263 than a glob-style pattern.
3264
1a846317
JM
32652013-06-17 Joseph Myers <joseph@codesourcery.com>
3266
3267 * math/test-misc.c (main): Do not treat incorrectly rounded
3268 conversions as failure unless ROUNDING_TESTS passes.
3269
8fc75e6f
JM
32702013-06-15 Joseph Myers <joseph@codesourcery.com>
3271
3711a167
JM
3272 [BZ #15631]
3273 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
3274 restore exception state around main square root computation, then
3275 check for inexactness explicitly.
3276
8fc75e6f
JM
3277 * math/libm-test.inc (fma_test_data): Add another test.
3278
61dd6208
SP
32792013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3280
adf23d2c
SP
3281 * manual/threads.texi (Non-POSIX Extensions): New document
3282 node. Document pthread_getattr_default_np and
3283 pthread_setattr_default_np.
3284
61dd6208
SP
3285 * Versions.def (libpthread): Add GLIBC_2.18.
3286 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
3287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3288 Likewise.
3289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3290 Likewise.
3291 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3292 Likewise.
3293 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3294 Likewise.
3295 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
3296 Likewise.
3297 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
3298 Likewise.
3299 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
3300 Likewise.
3301 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
3302 Likewise.
3303 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
3304 Likewise.
3305
d086fc7b
LD
33062013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3307
3308 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3309 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
3310
747ef469
SP
33112013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3312 H.J. Lu <hjl.tools@gmail.com>
3313
3314 [BZ #15627]
3315 * sysdeps/x86_64/rtld-memset.c: Remove file.
3316 * sysdeps/x86_64/rtld-memset.S: New file.
3317
1b2feed2
JM
33182013-06-14 Joseph Myers <joseph@codesourcery.com>
3319
3320 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
3321 (test_in_one_mode): Take arguments for whether the rounding mode
3322 is supported for each floating-point type.
3323 (do_test): Pass new arguments to test_in_one_mode using
3324 ROUNDING_TESTS.
3325
a58ad3f8
RM
33262013-06-13 Roland McGrath <roland@hack.frob.com>
3327
3328 * posix/tst-waitid.c (do_test): Distinguish different instances of
3329 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
3330 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
3331 before entering the kernel for waitpid.
3332
c204ab28
SP
33332013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3334
3335 * NEWS: Fix note on clock function precision. Text by Roland
3336 McGrath.
3337
f4a29fba
RM
33382013-06-13 Roland McGrath <roland@hack.frob.com>
3339
3340 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
3341 it into place only when and if the sanity check passes.
3342
1f24b9ad
JM
33432013-06-13 Joseph Myers <joseph@codesourcery.com>
3344
3345 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
3346 output for whether conversion result is exact. Take argument
3347 indicating whether type is IBM long double.
3348 (round_for_all): Change need_exact field to ibm_ld.
3349 * stdlib/tst-strtod-round.c (struct exactness): New type.
3350 (struct test): Change bool ld_ok field to struct exactness exact.
3351 (TEST): Update all definitions for change to field.
3352 (tests): Regenerate array contents.
3353 (test_in_one_mode): Take pointer to new field instead of old ld_ok
3354 field value. Check for IBM long double here.
3355 (do_test): Update calls to test_in_one_mode.
3356
58206c68
SP
33572013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3358
3359 [BZ #12515]
3360 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
3361 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
3362
2d6f4c5b 33632013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
3364
3365 [BZ #15605]
3366 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
3367 generated by the compiler on loop optimizations.
3368 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
3369 general definitions.
3370
94f2c076
JM
33712013-06-12 Joseph Myers <joseph@codesourcery.com>
3372
3373 * math/bug-nextafter.c: Include <math-tests.h>.
3374 (main): Only test for exceptions if EXCEPTION_TESTS is true for
3375 the relevant type.
3376 * math/bug-nexttoward.c: Include <math-tests.h>.
3377 (main): Only test for exceptions if EXCEPTION_TESTS is true for
3378 the relevant type.
3379 * math/test-misc.c: Include <math-tests.h>.
3380 (main): Only test for exceptions if EXCEPTION_TESTS is true for
3381 the relevant type.
3382
e0e50a0a
AJ
33832013-06-12 Andreas Jaeger <aj@suse.de>
3384
3385 * po/ia.po: Update Interlingua translation from translation
3386 project.
3387
25061094
SP
33882013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3389
3390 * include/fenv.h: Include stdbool.h.
3391 (struct rm_ctx): New structure.
3392 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
3393 Define macro.
3394 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
3395 (SET_RESTORE_ROUNDF): Likewise.
3396 (SET_RESTORE_ROUNDL): Likewise.
3397 (SET_RESTORE_ROUND_NOEX): Likewise.
3398 (SET_RESTORE_ROUND_NOEXF): Likewise.
3399 (SET_RESTORE_ROUND_NOEXL): Likewise.
3400 (SET_RESTORE_ROUND_53BIT): Likewise.
3401 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
3402 (libc_feresetround_noexf_ctx): Likewise.
3403 (libc_feresetround_noexl_ctx): Likewise.
3404 (libc_feholdsetround_53bit_ctx): Likewise.
3405 (libc_feresetround_53bit_ctx): Likewise.
3406 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
3407 (libc_feholdexcept_setround_sse_ctx): New function.
3408 (libc_fesetenv_sse_ctx): Likewise.
3409 (libc_feupdateenv_sse_ctx): Likewise.
3410 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
3411 (libc_feholdexcept_setround_387_ctx): Likewise.
3412 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
3413 (libc_feholdsetround_387_prec_ctx): Likewise.
3414 (libc_feholdsetround_387_ctx): Likewise.
3415 (libc_feholdsetround_387_53bit_ctx): Likewise.
3416 (libc_feholdsetround_sse_ctx): Likewise.
3417 (libc_feresetround_sse_ctx): Likewise.
3418 (libc_feresetround_387_ctx): Likewise.
3419 (libc_feupdateenv_387_ctx): Likewise.
3420 (libc_feholdexcept_setroundf_ctx): Define macro.
3421 (libc_fesetenvf_ctx): Likewise.
3422 (libc_feupdateenvf_ctx): Likewise.
3423 (libc_feholdsetroundf_ctx): Likewise.
3424 (libc_feresetroundf_ctx): Likewise.
3425 (libc_feholdexcept_setround_ctx): Likewise.
3426 (libc_fesetenv_ctx): Likewise.
3427 (libc_feupdateenv_ctx): Likewise.
3428 (libc_feholdsetround_ctx): Likewise.
3429 (libc_feresetround_ctx): Likewise.
3430 (libc_feholdexcept_setroundl_ctx): Likewise.
3431 (libc_feupdateenvl_ctx): Likewise.
3432 (libc_feholdsetroundl_ctx): Likewise.
3433 (libc_feresetroundl_ctx): Likewise.
3434 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
3435 (libc_feresetround_53bit_ctx): Likewise.
3436
59b30555
SP
34372013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3438
3439 * locale/iso-639.def: Convert to UTF-8.
3440
f1d73d30
JM
34412013-06-11 Joseph Myers <joseph@codesourcery.com>
3442
3443 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
3444 (EXCEPTION_TESTS_double): Likewise.
3445 (EXCEPTION_TESTS_long_double): Likewise.
3446 (EXCEPTION_TESTS): Likewise.
3447 * math/libm-test.inc (test_exceptions): Only test exceptions if
3448 EXCEPTION_TESTS (FLOAT).
3449
94aca5e7
SP
34502013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3451
3452 * benchtests/Makefile (string-bench): Add strcpy_chk and
3453 stpcpy_chk.
3454 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
3455 * benchtests/bench-stpcpy_chk.c: New file.
3456 * benchtests/bench-strcpy_chk-ifunc.c: New file.
3457 * benchtests/bench-strcpy_chk.c: New file.
3458 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
3459 code.
3460 (do_test): Likewise.
3461
fac0c5f2
RA
34622013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3463
3464 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
3465 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
3466 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
3467 with tabs where appropriate.
3468 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
3469 dl-procinfo.h.
3470 [PPC_PLATFORM_PPC440]: Likewise.
3471 [PPC_PLATFORM_PPC464]: Likewise.
3472 [PPC_PLATFORM_PPC476]: Likewise.
3473 (_dl_string_platform): Add support for detecting ppc405, ppc440,
3474 ppc464, and ppc476 platform strings merging from ports/
3475 dl-procinfo.h.
3476
f22bc486
AS
34772013-06-11 Andreas Schwab <schwab@suse.de>
3478
3479 [BZ #14991]
3480 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
3481 (from_ucs4_idx): Regenerate.
3482 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
3483 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
3484 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
3485 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
3486 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
3487 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
3488 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
3489 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
3490 from FROM_LOOP and TO_LOOP specific macros.
3491 (BODY): Handle combining characters.
3492 * iconvdata/BIG5HKSCS.irreversible: Update.
3493 * iconvdata/BIG5HKSCS.precomposed: New file.
3494 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
3495 characters.
3496 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
3497
c1f75dc3
SP
34982013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3499
4eacded2
SP
3500 * include/sys/time.h: Fix indentation and add copyright header.
3501
fec799f8
SP
3502 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
3503 (do_test): Likewise.
3504 * string/test-memchr.c (do_one_test): Likewise.
3505 (do_test): Likewise.
3506 * string/test-memcmp.c (do_one_test): Likewise.
3507 (do_test): Likewise.
3508 * string/test-memcpy.c (do_one_test): Likewise.
3509 (do_test): Likewise.
3510 * string/test-memmem.c (do_one_test): Likewise.
3511 (do_test): Likewise.
3512 (do_random_tests): Likewise.
3513 * string/test-memmove.c (do_one_test): Likewise.
3514 (do_test): Likewise.
3515 * string/test-memset.c (do_one_test): Likewise.
3516 (do_test): Likewise.
3517 * string/test-rawmemchr.c (do_one_test): Likewise.
3518 (do_test): Likewise.
3519 * string/test-strcasecmp.c (do_one_test): Likewise.
3520 (do_test): Likewise.
3521 * string/test-strcasestr.c (do_one_test): Likewise.
3522 (do_test): Likewise.
3523 * string/test-strcat.c (do_one_test): Likewise.
3524 (do_test): Likewise.
3525 * string/test-strchr.c (do_one_test): Likewise.
3526 (do_test): Likewise.
3527 * string/test-strcmp.c (do_one_test): Likewise.
3528 (do_test): Likewise.
3529 * string/test-strcpy.c (do_one_test): Likewise.
3530 (do_test): Likewise.
3531 * string/test-string.h: Likewise.
3532 (test_init): Likewise.
3533 * string/test-strlen.c (do_one_test): Likewise.
3534 (do_test): Likewise.
3535 * string/test-strncasecmp.c (do_one_test): Likewise.
3536 (do_test): Likewise.
3537 * string/test-strncat.c (do_one_test): Likewise.
3538 (do_test): Likewise.
3539 * string/test-strncmp.c (do_one_test): Likewise.
3540 (do_test_limit): Likewise.
3541 (do_test): Likewise.
3542 * string/test-strncpy.c (do_one_test): Likewise.
3543 (do_test): Likewise.
3544 * string/test-strnlen.c (do_one_test): Likewise.
3545 (do_test): Likewise.
3546 * string/test-strpbrk.c (do_one_test): Likewise.
3547 (do_test): Likewise.
3548 * string/test-strrchr.c (do_one_test): Likewise.
3549 (do_test): Likewise.
3550 * string/test-strspn.c (do_one_test): Likewise.
3551 (do_test): Likewise.
3552 * string/test-strstr.c (do_one_test): Likewise.
3553 (do_test): Likewise.
3554
97020474
SP
3555 * benchtests/Makefile (string-bench): Add string benchmarks.
3556 * benchtests/bench-bcopy-ifunc.c: New file.
3557 * benchtests/bench-bcopy.c: New file.
3558 * benchtests/bench-bzero-ifunc.c: New file.
3559 * benchtests/bench-bzero.c: New file.
3560 * benchtests/bench-memccpy-ifunc.c: New file.
3561 * benchtests/bench-memccpy.c: New file.
3562 * benchtests/bench-memchr-ifunc.c: New file.
3563 * benchtests/bench-memchr.c: New file.
3564 * benchtests/bench-memcmp-ifunc.c: New file.
3565 * benchtests/bench-memcmp.c: New file.
3566 * benchtests/bench-memmem-ifunc.c: New file.
3567 * benchtests/bench-memmem.c: New file.
3568 * benchtests/bench-memmove-ifunc.c: New file.
3569 * benchtests/bench-memmove.c: New file.
3570 * benchtests/bench-mempcpy-ifunc.c: New file.
3571 * benchtests/bench-mempcpy.c: New file.
3572 * benchtests/bench-memset-ifunc.c: New file.
3573 * benchtests/bench-memset.c: New file.
3574 * benchtests/bench-rawmemchr-ifunc.c: New file.
3575 * benchtests/bench-rawmemchr.c: New file.
3576 * benchtests/bench-stpcpy-ifunc.c: New file.
3577 * benchtests/bench-stpcpy.c: New file.
3578 * benchtests/bench-stpncpy-ifunc.c: New file.
3579 * benchtests/bench-stpncpy.c: New file.
3580 * benchtests/bench-strcasecmp-ifunc.c: New file.
3581 * benchtests/bench-strcasecmp.c: New file.
3582 * benchtests/bench-strcasestr-ifunc.c: New file.
3583 * benchtests/bench-strcasestr.c: New file.
3584 * benchtests/bench-strcat-ifunc.c: New file.
3585 * benchtests/bench-strcat.c: New file.
3586 * benchtests/bench-strchr-ifunc.c: New file.
3587 * benchtests/bench-strchr.c: New file.
3588 * benchtests/bench-strchrnul-ifunc.c: New file.
3589 * benchtests/bench-strchrnul.c: New file.
3590 * benchtests/bench-strcmp-ifunc.c: New file.
3591 * benchtests/bench-strcmp.c: New file.
3592 * benchtests/bench-strcpy-ifunc.c: New file.
3593 * benchtests/bench-strcpy.c: New file.
3594 * benchtests/bench-strcspn-ifunc.c: New file.
3595 * benchtests/bench-strcspn.c: New file.
3596 * benchtests/bench-strlen-ifunc.c: New file.
3597 * benchtests/bench-strlen.c: New file.
3598 * benchtests/bench-strncasecmp-ifunc.c: New file.
3599 * benchtests/bench-strncasecmp.c: New file.
3600 * benchtests/bench-strncat-ifunc.c: New file.
3601 * benchtests/bench-strncat.c: New file.
3602 * benchtests/bench-strncmp-ifunc.c: New file.
3603 * benchtests/bench-strncmp.c: New file.
3604 * benchtests/bench-strncpy-ifunc.c: New file.
3605 * benchtests/bench-strncpy.c: New file.
3606 * benchtests/bench-strnlen-ifunc.c: New file.
3607 * benchtests/bench-strnlen.c: New file.
3608 * benchtests/bench-strpbrk-ifunc.c: New file.
3609 * benchtests/bench-strpbrk.c: New file.
3610 * benchtests/bench-strrchr-ifunc.c: New file.
3611 * benchtests/bench-strrchr.c: New file.
3612 * benchtests/bench-strspn-ifunc.c: New file.
3613 * benchtests/bench-strspn.c: New file.
3614 * benchtests/bench-strstr-ifunc.c: New file.
3615 * benchtests/bench-strstr.c: New file.
3616
c1f75dc3
SP
3617 * benchtests/Makefile: Disable parallel execution of targets.
3618 (string-bench): Add memcpy.
3619 (benchset): New variable to store a list of benchmark sets.
3620 (bench-func): Renamed from bench.
3621 (bench-set): New target.
3622 (bench): Depend on bench-func and bench-set.
3623 * benchtests/README: Add section on benchmark sets.
3624 * benchtests/bench-memcpy-ifunc.c: New file.
3625 * benchtests/bench-memcpy.c: New file.
3626 * benchtests/bench-string.h: New file.
3627
50fd745b
AS
36282013-06-11 Andreas Schwab <schwab@suse.de>
3629
3630 [BZ #15577]
3631 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
3632 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
3633 values in the triple.
3634 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
3635 terminator in the group key.
3636
3ee7e9fe
AJ
36372013-06-11 Andreas Jaeger <aj@suse.de>
3638
3639 * po/zh_TW.po: Update Chinese (traditional) translation from
3640 translation project.
3641
89fb6835
SP
36422013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3643
3644 * include/time.h (__clock_gettime): Add libc_hidden_proto.
3645 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
3646 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
3647 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
3648 (clock_getcpuclockid): Likewise.
3649 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
3650 Add weak_alias and libc_hidden_def.
3651 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
3652 * rt/clock_gettime.c (clock_gettime): Rename to
3653 __clock_gettime. Add weak_alias and libc_hidden_def.
3654 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
3655 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
3656 __clock_nanosleep. Add weak_alias and libc_hidden_def.
3657 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
3658 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
3659 Likewise.
3660 * rt/clock_settime.c (clock_settime): Rename to
3661 __clock_settime. Add weak_alias and libc_hidden_def.
3662 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
3663
0efa6f8b
JM
36642013-06-10 Joseph Myers <joseph@codesourcery.com>
3665
b8c61b4b
JM
3666 * mach/err_boot.sub: Remove trailing whitespace.
3667 * mach/err_ipc.sub: Likewise.
3668 * mach/err_mach.sub: Likewise.
3669
0efa6f8b
JM
3670 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
3671 (ROUNDING_TESTS_double): Likewise.
3672 (ROUNDING_TESTS_long_double): Likewise.
3673 (ROUNDING_TESTS): Likewise.
3674 * math/libm-test.inc: Include <math-tests.h>.
3675 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
3676 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
3677 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
3678 (IF_ROUND_INIT_FE_UPWARD): Likewise.
3679
50b818bf
SP
36802013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3681
3682 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
3683 of assigning.
3684
60d2f8f3
JM
36852013-06-08 Joseph Myers <joseph@codesourcery.com>
3686
4902d2c3
JM
3687 * sysdeps/gnu/errlist.awk: Do not generate space at end of
3688 otherwise empty TRANS lines.
3689 * sysdeps/gnu/errlist.c: Regenerated.
3690
60d2f8f3
JM
3691 * catgets/gencat.c (error_print): Use (void) in function
3692 definition.
3693 * crypt/crypt_util.c (__init_des): Likewise.
3694 * crypt/speeds.c (Stop): Likewise.
3695 (main): Likewise.
3696 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
3697 * inet/ruserpass.c (token): Likewise.
3698 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
3699 * intl/localealias.c (extend_alias_table): Likewise.
3700 * intl/plural-exp.c (init_germanic_plural): Likewise.
3701 * libio/fcloseall.c (__fcloseall): Likewise.
3702 * libio/genops.c (_IO_flush_all): Likewise.
3703 (_IO_flush_all_linebuffered): Likewise.
3704 (_IO_cleanup): Likewise.
3705 (_IO_iter_begin): Likewise.
3706 (_IO_iter_end): Likewise.
3707 (_IO_list_lock): Likewise.
3708 (_IO_list_unlock): Likewise.
3709 (_IO_list_resetlock): Likewise.
3710 * libio/getchar.c (getchar): Likewise.
3711 * libio/getchar_u.c (getchar_unlocked): Likewise.
3712 * libio/getwchar.c (getwchar): Likewise.
3713 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
3714 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
3715 * login/getpt.c (__getpt): Likewise.
3716 * login/tst-utmp.c (main): Likewise.
3717 * malloc/hooks.c (__malloc_check_init): Likewise.
3718 * malloc/malloc.c (__malloc_stats): Likewise.
3719 * malloc/mtrace.c (tr_break): Likewise.
3720 (mtrace): Likewise.
3721 (muntrace): Likewise.
3722 * misc/fstab.c (endfsent): Likewise.
3723 * misc/getclktck.c (__getclktck): Likewise.
3724 * misc/getdtsz.c (__getdtablesize): Likewise.
3725 * misc/gethostid.c (gethostid): Likewise.
3726 * misc/getpagesize.c (__getpagesize): Likewise.
3727 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
3728 (__get_nprocs): Likewise.
3729 (__get_phys_pages): Likewise.
3730 (__get_avphys_pages): Likewise.
3731 * misc/getttyent.c (getttyent): Likewise.
3732 (setttyent): Likewise.
3733 (endttyent): Likewise.
3734 * misc/getusershell.c (getusershell): Likewise.
3735 (endusershell): Likewise.
3736 (setusershell): Likewise.
3737 (initshells): Likewise.
3738 * misc/hsearch.c (__hdestroy): Likewise.
3739 * misc/sync.c (sync): Likewise.
3740 * misc/syslog.c (closelog_internal): Likewise.
3741 (closelog): Likewise.
3742 * misc/ttyslot.c (ttyslot): Likewise.
3743 * misc/vhangup.c (vhangup): Likewise.
3744 * posix/fork.c (__fork): Likewise.
3745 * posix/getegid.c (__getegid): Likewise.
3746 * posix/geteuid.c (__geteuid): Likewise.
3747 * posix/getgid.c (__getgid): Likewise.
3748 * posix/getpid.c (__getpid): Likewise.
3749 * posix/getppid.c (__getppid): Likewise.
3750 * posix/getuid.c (__getuid): Likewise.
3751 * posix/pause.c (pause): Likewise.
3752 * posix/setpgrp.c (setpgrp): Likewise.
3753 * posix/setsid.c (__setsid): Likewise.
3754 * posix/test-vfork.c (noop): Likewise.
3755 * resolv/gethnamaddr.c (_endhtent): Likewise.
3756 (_gethtent): Likewise.
3757 (ht_endhostent): Likewise.
3758 (gethostent): Likewise.
3759 (dns_service): Likewise.
3760 * stdlib/drand48.c (drand48): Likewise.
3761 * stdlib/lrand48.c (lrand48): Likewise.
3762 * stdlib/mrand48.c (mrand48): Likewise.
3763 * stdlib/rand.c (rand): Likewise.
3764 * stdlib/random.c (__random): Likewise.
3765 * stdlib/setenv.c (clearenv): Likewise.
3766 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
3767 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
3768 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
3769 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
3770 (__get_nprocs): Likewise.
3771 (__get_phys_pages): Likewise.
3772 (__get_avphys_pages): Likewise.
3773 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
3774 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
3775 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
3776 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
3777 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
3778 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
3779 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
3780 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
3781 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
3782 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
3783 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
3784 * sysdeps/mach/hurd/sync.c (sync): Likewise.
3785 * sysdeps/posix/clock.c (clock): Likewise.
3786 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
3787 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
3788 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
3789 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
3790 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
3791 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
3792 (__get_nprocs_conf): Likewise.
3793 (__get_phys_pages): Likewise.
3794 (__get_avphys_pages): Likewise.
3795 * time/clock.c (clock): Likewise.
3796 * time/tzset.c (__tzname_max): Likewise.
3797
2e09a79a
JM
37982013-06-07 Joseph Myers <joseph@codesourcery.com>
3799
3800 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
3801 (__bswap_32): Do not use "register".
3802 * crypt/crypt.c (_ufc_doit_r): Likewise.
3803 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
3804 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
3805 * gmon/gmon.c (__monstartup): Likewise.
3806 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
3807 * hurd/hurdmalloc.c (more_memory): Likewise.
3808 (malloc): Likewise.
3809 (free): Likewise.
3810 (realloc): Likewise.
3811 (malloc_fork_prepare): Likewise.
3812 (malloc_fork_parent): Likewise.
3813 (malloc_fork_child): Likewise.
3814 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
3815 (_svcauth_des): Likewise.
3816 * inet/inet_lnaof.c (inet_lnaof): Likewise.
3817 * inet/inet_net.c (inet_network): Likewise.
3818 * inet/inet_netof.c (inet_netof): Likewise.
3819 * inet/rcmd.c (__validuser2_sa): Likewise.
3820 * io/fts.c (fts_open): Likewise.
3821 (fts_load): Likewise.
3822 (fts_close): Likewise.
3823 (fts_read): Likewise.
3824 (fts_children): Likewise.
3825 (fts_build): Likewise.
3826 (fts_stat): Likewise.
3827 (fts_sort): Likewise.
3828 (fts_alloc): Likewise.
3829 (fts_lfree): Likewise.
3830 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
3831 (_IO_file_xsgetn): Likewise.
3832 (_IO_file_xsgetn_mmap): Likewise.
3833 * libio/iofopncook.c (_IO_cookie_read): Likewise.
3834 (_IO_cookie_write): Likewise.
3835 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
3836 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
3837 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
3838 * malloc/obstack.c (_obstack_begin): Likewise.
3839 (_obstack_begin_1): Likewise.
3840 (_obstack_newchunk): Likewise.
3841 (_obstack_allocated_p): Likewise.
3842 (obstack_free): Likewise.
3843 (_obstack_memory_used): Likewise.
3844 * misc/getttyent.c (getttynam): Likewise.
3845 (getttyent): Likewise.
3846 (skip): Likewise.
3847 (value): Likewise.
3848 * misc/getusershell.c (initshells): Likewise.
3849 * misc/syslog.c (__vsyslog_chk): Likewise.
3850 * misc/ttyslot.c (ttyslot): Likewise.
3851 * nis/nis_hash.c (__nis_hash): Likewise.
3852 * posix/fnmatch_loop.c (FCT): Likewise.
3853 * posix/getconf.c (print_all): Likewise.
3854 (main): Likewise.
3855 * posix/getopt.c (exchange): Likewise.
3856 * posix/glob.c (globfree): Likewise.
3857 (prefix_array): Likewise.
3858 (__glob_pattern_type): Likewise.
3859 * resolv/arpa/nameser.h (NS_GET16): Likewise.
3860 (NS_GET32): Likewise.
3861 (NS_PUT16): Likewise.
3862 (NS_PUT32): Likewise.
3863 * resolv/gethnamaddr.c (getanswer): Likewise.
3864 (gethostbyname2): Likewise.
3865 (gethostbyaddr): Likewise.
3866 (_gethtent): Likewise.
3867 (_gethtbyname2): Likewise.
3868 (_gethtbyaddr): Likewise.
3869 * resolv/ns_print.c (dst_s_get_int16): Likewise.
3870 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
3871 * resolv/res_init.c (__res_vinit): Likewise.
3872 (net_mask): Likewise.
3873 * resolv/res_mkquery.c (outchar): Likewise.
3874 (PRINT): Likewise.
3875 * stdio-common/printf_fp.c (outchar): Likewise.
3876 (PRINT): Likewise.
3877 * stdio-common/printf_fphex.c (outchar): Likewise.
3878 (PRINT): Likewise.
3879 * stdio-common/printf_size.c (outchar): Likewise.
3880 (PRINT): Likewise.
3881 * stdio-common/test_rdwr.c (main): Likewise.
3882 * stdio-common/tfformat.c (matches): Likewise.
3883 * stdio-common/vfprintf.c (outchar): Likewise.
3884 (printf_unknown): Likewise.
3885 (buffered_vfprintf): Likewise.
3886 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
3887 * stdio-common/xbug.c (AppendToBuffer): Likewise.
3888 (ReadFile): Likewise.
3889 * stdlib/qsort.c (SWAP): Likewise.
3890 (_quicksort): Likewise.
3891 * stdlib/setenv.c (__add_to_environ): Likewise.
3892 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
3893 * stdlib/strtol_l.c (__strtol_l): Likewise.
3894 * stdlib/tst-strtod.c (main): Likewise.
3895 * stdlib/tst-strtol.c (main): Likewise.
3896 * stdlib/tst-strtoll.c (main): Likewise.
3897 * string/bits/string2.h (__strcmp_cc): Likewise.
3898 (__strcmp_cg): Likewise.
3899 (__strcspn_c1): Likewise.
3900 (__strcspn_c2): Likewise.
3901 (__strcspn_c3): Likewise.
3902 (__strspn_c1): Likewise.
3903 (__strspn_c2): Likewise.
3904 (__strspn_c3): Likewise.
3905 (__strsep_1c): Likewise.
3906 (__strsep_2c): Likewise.
3907 (__strsep_3c): Likewise.
3908 * string/memccpy.c (__memccpy): Likewise.
3909 * string/stpcpy.c (__stpcpy): Likewise.
3910 * string/strcmp.c (strcmp): Likewise.
3911 * string/strrchr.c (strrchr): Likewise.
3912 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
3913 Likewise.
3914 * sysdeps/mach/hurd/getcwd.c
3915 (_hurd_canonicalize_directory_name_internal): Likewise.
3916 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
3917 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
3918 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
3919 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
3920 Likewise, in both definitions.
3921 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
3922 definitions.
3923 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
3924 64] (__bswap_64): Likewise.
3925 * time/test_time.c (main): Likewise.
3926 * time/tzfile.c (__tzfile_read): Likewise.
3927 (__tzfile_compute): Likewise.
3928 * time/tzset.c (__tzset_parse_tz): Likewise.
3929 (tzset_internal): Likewise.
3930 (compute_change): Likewise.
3931 * wcsmbs/wcscat.c (__wcscat): Likewise.
3932 * wcsmbs/wcschr.c (wcschr): Likewise.
3933 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
3934 * wcsmbs/wcscspn.c (wcscspn): Likewise.
3935 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
3936 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
3937 * wcsmbs/wcsspn.c (wcsspn): Likewise.
3938 * wcsmbs/wcsstr.c (wcsstr): Likewise.
3939 * wcsmbs/wmemchr.c (wmemchr): Likewise.
3940 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
3941 * wcsmbs/wmemset.c (wmemset): Likewise.
3942
9e54314b
JM
39432013-06-06 Joseph Myers <joseph@codesourcery.com>
3944
3945 * scripts/config.guess: Update to version 2013-05-16.
3946 * scripts/config.sub: Update to version 2013-04-24.
3947 * scripts/install-sh: Update to version 2011-11-20.07.
3948 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
3949 * scripts/move-if-change: Update to version 2012-01-06 07:23.
3950
350635a5
OB
39512013-06-06 Ondřej Bílka <neleai@seznam.cz>
3952
3953 * debug/fgetws_u_chk.c: Fix leading whitespaces.
3954 * elf/sln.c: Likewise.
3955 * hurd/hurd/ioctl.h: Likewise.
3956 * hurd/hurdmalloc.c: Likewise.
3957 * hurd/xattr.c: Likewise.
3958 * include/shlib-compat.h: Likewise.
3959 * inet/ruserpass.c: Likewise.
3960 * libio/iofgets_u.c: Likewise.
3961 * libio/iofgetws_u.c: Likewise.
3962 * locale/programs/ld-identification.c: Likewise.
3963 * locale/programs/ld-time.c: Likewise.
3964 * mach/msg-destroy.c: Likewise.
3965 * nss/nss_files/files-netgrp.c: Likewise.
3966 * resolv/res_data.c: Likewise.
3967 * soft-fp/op-1.h: Likewise.
3968 * soft-fp/op-2.h: Likewise.
3969 * soft-fp/op-4.h: Likewise.
3970 * soft-fp/op-common.h: Likewise.
3971 * stdio-common/printf_fphex.c: Likewise.
3972 * stdlib/strtod_l.c: Likewise.
3973 * sunrpc/rpc/clnt.h: Likewise.
3974 * sysdeps/generic/framestate.c: Likewise.
3975 * sysdeps/i386/bsd-_setjmp.S: Likewise.
3976 * sysdeps/i386/bsd-setjmp.S: Likewise.
3977 * sysdeps/i386/__longjmp.S: Likewise.
3978 * sysdeps/i386/setjmp.S: Likewise.
3979 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3980 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3981 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3982 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3983 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3984 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
3985 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
3986 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
3987 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3988 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
3989 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
3990 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
3991 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
3992 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
3993 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
3994 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
3995 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
3996 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
3997 * sysdeps/ieee754/support.c: Likewise.
3998 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3999 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
4000 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
4001 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
4002 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
4003 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
4004 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
4005 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
4006 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
4007 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
4008 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
4009 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
4010 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
4011 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
4012 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
4013 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
4014 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
4015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
4016
44a988af
OB
40172013-06-05 Ondřej Bílka <neleai@seznam.cz>
4018
25506f09 4019 * posix/transbug.c: Remove executable mode.
44a988af 4020
9c84384c
JM
40212013-06-05 Joseph Myers <joseph@codesourcery.com>
4022
4023 * crypt/speeds.c: Remove trailing whitespace.
4024 * dlfcn/default.c: Likewise.
4025 * elf/ifuncdep2.c: Likewise.
4026 * elf/ifuncmain1.c: Likewise.
4027 * elf/ifuncmain1vis.c: Likewise.
4028 * elf/testobj.h: Likewise.
4029 * elf/tst-stackguard1.c: Likewise.
4030 * gmon/sys/gmon.h: Likewise.
4031 * hurd/hurdmsg.c: Likewise.
4032 * hurd/new-fd.c: Likewise.
4033 * hurd/ports-get.c: Likewise.
4034 * iconvdata/ibm1008_420.c: Likewise.
4035 * inet/tst-getni1.c: Likewise.
4036 * inet/tst-getni2.c: Likewise.
4037 * libio/ioungetc.c: Likewise.
4038 * libio/wfiledoalloc.c: Likewise.
4039 * manual/libm-err-tab.pl: Likewise.
4040 * math/w_dremf.c: Likewise.
4041 * misc/ftruncate.c: Likewise.
4042 * posix/bug-glob2.c: Likewise.
4043 * posix/tst-pcre.c: Likewise.
4044 * posix/wait4.c: Likewise.
4045 * resolv/README: Likewise.
4046 * resolv/res_debug.h: Likewise.
4047 * resolv/tst-inet_ntop.c: Likewise.
4048 * setjmp/bug269-setjmp.c: Likewise.
4049 * soft-fp/extended.h: Likewise.
4050 * soft-fp/op-1.h: Likewise.
4051 * soft-fp/op-2.h: Likewise.
4052 * soft-fp/op-4.h: Likewise.
4053 * soft-fp/op-8.h: Likewise.
4054 * soft-fp/testit.c: Likewise.
4055 * stdio-common/bug16.c: Likewise.
4056 * stdlib/random.c: Likewise.
4057 * sunrpc/rpcsvc/rquota.x: Likewise.
4058 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
4059 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4060 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4061 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4062 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4063 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4064 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4065 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4066 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4067 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4068 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4069 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4070 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4071 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4072 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4073 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4074 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4075 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4076 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4077 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4078 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4079 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4080 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
4081 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
4082 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
4083 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
4084 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4085 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
4086 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4087 * sysdeps/ieee754/s_lib_version.c: Likewise.
4088 * sysdeps/mach/hurd/check_fds.c: Likewise.
4089 * sysdeps/mach/hurd/getsockname.c: Likewise.
4090 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
4091 * sysdeps/mach/hurd/recvfrom.c: Likewise.
4092 * sysdeps/powerpc/bits/link.h: Likewise.
4093 * sysdeps/powerpc/dl-procinfo.c: Likewise.
4094 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
4095 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
4096 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
4097 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
4098 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
4099 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
4100 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
4101 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
4102 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
4103 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
4104 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
4105 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
4106 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
4107 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
4108 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
4109 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
4110 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
4111 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
4112 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4113 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4114 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
4115 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4116 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
4117 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
4118 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
4119 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
4120 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4121 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4122 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
4123 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
4124 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
4125 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4126 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4127 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
4128 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
4129 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
4130 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
4131 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
4132 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
4133 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
4134 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
4135 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
4136 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
4137 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
4138 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
4139 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
4140 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
4141 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
4142 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
4143 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4144 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4145 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4146 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4147 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
4148 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
4149 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
4150 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4151 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
4152 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
4153 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
4154 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
4155 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
4156 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4157 * sysdeps/powerpc/sysdep.h: Likewise.
4158 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
4159 * sysdeps/s390/s390-64/sub_n.S: Likewise.
4160 * sysdeps/sh/dl-trampoline.S: Likewise.
4161 * sysdeps/sh/memset.S: Likewise.
4162 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
4163 * sysdeps/sh/strlen.S: Likewise.
4164 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
4165 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
4166 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
4167 * sysdeps/sparc/sparc32/rem.S: Likewise.
4168 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
4169 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
4170 * sysdeps/sparc/sparc32/strchr.S: Likewise.
4171 * sysdeps/sparc/sparc32/udiv.S: Likewise.
4172 * sysdeps/sparc/sparc32/urem.S: Likewise.
4173 * sysdeps/sparc/sparc64/add_n.S: Likewise.
4174 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
4175 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
4176 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
4177 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
4178 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
4179 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
4180 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
4181 * sysdeps/unix/bsd/times.c: Likewise.
4182 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
4183 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
4184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
4185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
4186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
4187 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
4188 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
4189 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
4190 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
4191 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
4192 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
4193 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
4194 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
4195 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
4196 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
4197 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
4198 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
4199 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
4200 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
4201 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
4202 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
4203 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
4204 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
4205 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
4206 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
4207 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
4208 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
4209 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4210 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
4211 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
4212 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
4213 * sysdeps/x86_64/strcspn.S: Likewise.
4214
869378a5
RA
42152013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4216
4217 * locale/C-translit.h: Revert #include <stdint.h> because this is a
4218 generated file. Regenerate properly from gen-translit.pl.
4219 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
4220 locale/C-translit.h.
4221
840e2943
AS
42222013-06-05 Andreas Schwab <schwab@suse.de>
4223
4224 [BZ #15100]
4225 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
4226 week as 6 instead of -1.
4227 * time/tst-strptime.c (day_tests): Add test case.
4228
4c60cb0c
SP
42292013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4230
4231 * sysdeps/generic/math_private.h
4232 (libc_feholdexcept_setround_53bit): Replace with
4233 libc_feholdsetround_53bit.
4234 (libc_feupdateenv_53bit): Replace with
4235 libc_feresetround_53bit.
4236 (SET_RESTORE_ROUND_53BIT): Adjust.
4237
d180203e
SP
42382013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4239
96df079a
SP
4240 * string/test-strchrnul.c: Add copyright header.
4241
d180203e
SP
4242 * posix/tst-getaddrinfo4.c: Increase test timeout.
4243
8b0ccb2d
CD
42442013-06-03 Carlos O'Donell <carlos@redhat.com>
4245
4246 [BZ #15536]
4247 * math/libm-test.inc (MAX_EXP): Remove
4248 (MIN_EXP): Define.
4249 (ulp): Use MIN_EXP - MANT_DIG.
4250 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
4251
3b3c4d40
CD
42522013-05-31 Carlos O'Donell <carlos@redhat.com>
4253
4254 * po/be.po: Revert last change.
4255 * po/zh_CN.po: Likewise.
4256 * po/header.pot: Likewise.
4257
fab7ce3f
JM
42582013-05-31 Joseph Myers <joseph@codesourcery.com>
4259
4260 * Makefile ($(common-objpfx)linkobj/libc.so): Define
4261 link-libc-deps to empty as target-specific variable.
4262 * Makerules (link-libc-args): New variable.
4263 (libc-for-link): Likewise.
4264 (link-libc-deps): Likewise.
4265 (lib%.so): Depend on $(link-libc-deps). Link with
4266 $(link-libc-args).
4267 (build-module): Link with $(link-libc-args).
4268 (build-module-asneeded): Likewise.
4269 (build-module-helper-objlist): Filter out $(link-libc-deps) from
4270 list of objects.
4271 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
4272 target-specific variable.
4273 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
4274 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
4275 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
4276 libc.
4277 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
4278 libc and ld.so.
4279 ($(objpfx)libpcprofile.so): Likewise.
4280 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
4281 libc_nonshared.a.
4282 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
4283 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
4284 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
4285 $(link-libc-deps).
4286 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
4287 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
4288 * login/Makefile ($(objpfx)libutil.so): Likewise.
4289 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
4290 * math/Makefile ($(objpfx)libm.so): Likewise.
4291 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
4292 $(objpfx)libnsl.so): Define libc-for-link as target-specific
4293 variable instead of depending directly on libc.
4294 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
4295 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
4296 $(link-libc-deps).
4297 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
4298 libc.
4299 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
4300 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
4301 ($(objpfx)libanl.so): Likewise.
4302 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
4303 ld.so.
4304 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
4305 $(link-libc-deps).
4306 * sysdeps/i386/fpu/Makefile: Remove file.
4307 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
4308 ($(objpfx)libm.so): Remove dependency on ld.so.
4309
eca5920c
PF
43102013-05-30 Patsy Franklin <pfrankli@redhat.com>
4311
4312 [BZ # 15553]
4313 * nis/yp_xdr.c (XDRMAXNAME): Define.
4314 (XDRMAXRECORD): Define.
4315 (xdr_domainname): Use XDRMAXNAME.
4316 (xdr_mapname): Likewise.
4317 (xdr_peername): Likewise.
4318 (xdr_keydat): Use XDRMAXRECORD.
4319 (xdr_valdat): Likewise.
4320
43212013-05-30 Jeff Law <law@redhat.com>
96945714
JL
4322
4323 [BZ #14256]
4324 * manual/errno.texi (ESTALE): Update to account for more than
4325 just NFS file systems.
4326 * sysdeps/gnu/errlist.c: Regenerated.
4327
b9375348
SP
43282013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4329
4330 [BZ #15465]
4331 * elf/Makefile (tests): Add tst-null-argv.
4332 (modules-names): Add tst-null-argv-lib.
4333 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
4334 (tst-null-argv-ENV): Set environment for tst-null-argv.
4335 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
4336 (RTLD_PROGNAME): New macro.
4337 * elf/tst-null-argv.c: New test case.
4338 * elf/tst-null-argv-lib.c: Library for test case.
4339 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
4340 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
4341 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
4342 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
4343 * elf/dl-init.c (call_init): Likewise.
4344 (_dl_init): Likewise.
4345 * elf/dl-load.c (print_search_path): Likewise.
4346 (_dl_map_object): Likewise.
4347 * elf/dl-lookup.c (do_lookup_x): Likewise.
4348 (add_dependency): Likewise.
4349 (_dl_lookup_symbol_x): Likewise.
4350 (_dl_debug_bindings): Likewise.
4351 * elf/dl-open.c (_dl_show_scope): Likewise.
4352 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
4353 * elf/dl-version.c (match_symbol): Likewise.
4354 (_dl_check_map_versions): Likewise.
4355 * elf/rtld.c (dl_main): Likewise.
4356 (print_unresolved): Use RTLD_PROGNAME.
4357 (print_missing_version): Likewise.
4358 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
4359 (elf_machine_rela): Likewise.
4360 * sysdeps/powerpc/powerpc32/dl-machine.c
4361 (__process_machine_rela): Likewise.
4362 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
4363 Likewise.
4364 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
4365 Likewise.
4366 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
4367 Likewise.
4368 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4369 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
4370 Likewise.
4371 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
4372 Likewise.
4373 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
4374
8a9f20c8
CD
43752013-05-28 Carlos O'Donell <carlos@redhat.com>
4376
4377 * po/be.po: Add descriptive title.
4378 * po/zh_CN.po: Likewise.
4379 * po/header.pot: Likewise.
4380
0e60d68e
MF
43812013-05-28 Mike Frysinger <vapier@gentoo.org>
4382
4383 * locale/programs/locarchive.c (create_archive): Inlucde fname in
4384 error message.
4385 (enlarge_archive): Likewise.
4386
56b672e9
BN
43872013-05-28 Ben North <ben@redfrontdoor.org>
4388
4389 * manual/arith.texi (frexp): It is the magnitude of the return
4390 value which lies in [0.5, 1), not the return value itself.
4391
5e056687
AZ
43922013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4393
4394 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4395
2b66ef5d
TS
43962013-05-26 Thomas Schwinge <thomas@codesourcery.com>
4397
528c2405
TS
4398 * stdio-common/bug26.c (main): Correct fscanf template.
4399
07b4c13d
TS
4400 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
4401 declare _dl_skip_args.
4402
ec9dd97c
TS
4403 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
4404 Don't declare.
4405
2b66ef5d
TS
4406 * manual/platform.texi: Add missing @end deftypefun.
4407
4f8dfe27
JM
44082013-05-24 Joseph Myers <joseph@codesourcery.com>
4409
0323d086
JM
4410 [BZ #15529]
4411 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
4412 bit of mantissa of 2^16382.
4413 * math/libm-test.inc (hypot_test_data): Add more tests.
4414
dd4259b9
JM
4415 * math/libm-test.inc: Add drem and pow10 to list of tested
4416 functions.
4417 (pow10_test): New function.
4418 (drem_test): Likewise.
4419 (drem_test_tonearest): Likewise.
4420 (drem_test_towardzero): Likewise.
4421 (drem_test_downward): Likewise.
4422 (drem_test_upward): Likewise.
4423 (main): Call the new functions.
4424
4f8dfe27
JM
4425 * math/libm-test.inc (finite_test_data): Remove.
4426 (finite_test): Run tests from isfinite_test_data.
4427 (gamma_test_data): Remove.
4428 (gamma_test): Run tests from lgamma_test_data.
4429 * sysdeps/i386/fpu/libm-test-ulps: Update.
4430 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4431
d116b7c4
AZ
44322013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4433
4434 * manual/platform.texi: Add PowerPC PPR function set documentation.
4435 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
4436 implementation.
4437
e96e3767
CD
44382013-05-24 Carlos O'Donell <carlos@redhat.com>
4439
4440 * math/libm-test.inc (MAX_EXP): Define.
4441 (ULPDIFF): Define.
4442 (ulp): New function.
4443 (check_float_internal): Use ULPDIFF.
4444 (cpow_test): Disable failing test.
4445 (check_ulp): Test ulp() implemetnation.
4446 (main): Call check_ulp before starting tests.
4447
b679a606
JM
44482013-05-24 Joseph Myers <joseph@codesourcery.com>
4449
e8bdba36
JM
4450 * math/gen-libm-test.pl (generate_testfile): Do not handle
4451 START_DATA and END_DATA.
4452 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
4453 END_DATA.
4454 (acos_tonearest_test_data): Likewise.
4455 (acos_towardzero_test_data): Likewise.
4456 (acos_downward_test_data): Likewise.
4457 (acos_upward_test_data): Likewise.
4458 (acosh_test_data): Likewise.
4459 (asin_test_data): Likewise.
4460 (asin_tonearest_test_data): Likewise.
4461 (asin_towardzero_test_data): Likewise.
4462 (asin_downward_test_data): Likewise.
4463 (asin_upward_test_data): Likewise.
4464 (asinh_test_data): Likewise.
4465 (atan_test_data): Likewise.
4466 (atanh_test_data): Likewise.
4467 (atan2_test_data): Likewise.
4468 (cabs_test_data): Likewise.
4469 (cacos_test_data): Likewise.
4470 (cacosh_test_data): Likewise.
4471 (carg_test_data): Likewise.
4472 (casin_test_data): Likewise.
4473 (casinh_test_data): Likewise.
4474 (catan_test_data): Likewise.
4475 (catanh_test_data): Likewise.
4476 (cbrt_test_data): Likewise.
4477 (ccos_test_data): Likewise.
4478 (ccosh_test_data): Likewise.
4479 (ceil_test_data): Likewise.
4480 (cexp_test_data): Likewise.
4481 (cimag_test_data): Likewise.
4482 (clog_test_data): Likewise.
4483 (clog10_test_data): Likewise.
4484 (conj_test_data): Likewise.
4485 (copysign_test_data): Likewise.
4486 (cos_test_data): Likewise.
4487 (cos_tonearest_test_data): Likewise.
4488 (cos_towardzero_test_data): Likewise.
4489 (cos_downward_test_data): Likewise.
4490 (cos_upward_test_data): Likewise.
4491 (cosh_test_data): Likewise.
4492 (cosh_tonearest_test_data): Likewise.
4493 (cosh_towardzero_test_data): Likewise.
4494 (cosh_downward_test_data): Likewise.
4495 (cosh_upward_test_data): Likewise.
4496 (cpow_test_data): Likewise.
4497 (cproj_test_data): Likewise.
4498 (creal_test_data): Likewise.
4499 (csin_test_data): Likewise.
4500 (csinh_test_data): Likewise.
4501 (csqrt_test_data): Likewise.
4502 (ctan_test_data): Likewise.
4503 (ctan_tonearest_test_data): Likewise.
4504 (ctan_towardzero_test_data): Likewise.
4505 (ctan_downward_test_data): Likewise.
4506 (ctan_upward_test_data): Likewise.
4507 (ctanh_test_data): Likewise.
4508 (ctanh_tonearest_test_data): Likewise.
4509 (ctanh_towardzero_test_data): Likewise.
4510 (ctanh_downward_test_data): Likewise.
4511 (ctanh_upward_test_data): Likewise.
4512 (erf_test_data): Likewise.
4513 (erfc_test_data): Likewise.
4514 (exp_test_data): Likewise.
4515 (exp_tonearest_test_data): Likewise.
4516 (exp_towardzero_test_data): Likewise.
4517 (exp_downward_test_data): Likewise.
4518 (exp_upward_test_data): Likewise.
4519 (exp10_test_data): Likewise.
4520 (exp2_test_data): Likewise.
4521 (expm1_test_data): Likewise.
4522 (fabs_test_data): Likewise.
4523 (fdim_test_data): Likewise.
4524 (finite_test_data): Likewise.
4525 (floor_test_data): Likewise.
4526 (fma_test_data): Likewise.
4527 (fma_towardzero_test_data): Likewise.
4528 (fma_downward_test_data): Likewise.
4529 (fma_upward_test_data): Likewise.
4530 (fmax_test_data): Likewise.
4531 (fmin_test_data): Likewise.
4532 (fmod_test_data): Likewise.
4533 (fpclassify_test_data): Likewise.
4534 (frexp_test_data): Likewise.
4535 (gamma_test_data): Likewise.
4536 (hypot_test_data): Likewise.
4537 (ilogb_test_data): Likewise.
4538 (isfinite_test_data): Likewise.
4539 (isgreater_test_data): Likewise.
4540 (isgreaterequal_test_data): Likewise.
4541 (isinf_test_data): Likewise.
4542 (isless_test_data): Likewise.
4543 (islessequal_test_data): Likewise.
4544 (islessgreater_test_data): Likewise.
4545 (isnan_test_data): Likewise.
4546 (isnormal_test_data): Likewise.
4547 (issignaling_test_data): Likewise.
4548 (isunordered_test_data): Likewise.
4549 (j0_test_data): Likewise.
4550 (j1_test_data): Likewise.
4551 (jn_test_data): Likewise.
4552 (ldexp_test_data): Likewise.
4553 (lgamma_test_data): Likewise.
4554 (lrint_test_data): Likewise.
4555 (lrint_tonearest_test_data): Likewise.
4556 (lrint_towardzero_test_data): Likewise.
4557 (lrint_downward_test_data): Likewise.
4558 (lrint_upward_test_data): Likewise.
4559 (llrint_test_data): Likewise.
4560 (llrint_tonearest_test_data): Likewise.
4561 (llrint_towardzero_test_data): Likewise.
4562 (llrint_downward_test_data): Likewise.
4563 (llrint_upward_test_data): Likewise.
4564 (log_test_data): Likewise.
4565 (log10_test_data): Likewise.
4566 (log1p_test_data): Likewise.
4567 (log2_test_data): Likewise.
4568 (logb_test_data): Likewise.
4569 (logb_downward_test_data): Likewise.
4570 (lround_test_data): Likewise.
4571 (llround_test_data): Likewise.
4572 (modf_test_data): Likewise.
4573 (nearbyint_test_data): Likewise.
4574 (nextafter_test_data): Likewise.
4575 (nexttoward_test_data): Likewise.
4576 (pow_test_data): Likewise.
4577 (pow_tonearest_test_data): Likewise.
4578 (pow_towardzero_test_data): Likewise.
4579 (pow_downward_test_data): Likewise.
4580 (pow_upward_test_data): Likewise.
4581 (remainder_test_data): Likewise.
4582 (remainder_tonearest_test_data): Likewise.
4583 (remainder_towardzero_test_data): Likewise.
4584 (remainder_downward_test_data): Likewise.
4585 (remainder_upward_test_data): Likewise.
4586 (remquo_test_data): Likewise.
4587 (rint_test_data): Likewise.
4588 (rint_tonearest_test_data): Likewise.
4589 (rint_towardzero_test_data): Likewise.
4590 (rint_downward_test_data): Likewise.
4591 (rint_upward_test_data): Likewise.
4592 (round_test_data): Likewise.
4593 (scalb_test_data): Likewise.
4594 (scalbn_test_data): Likewise.
4595 (scalbln_test_data): Likewise.
4596 (signbit_test_data): Likewise.
4597 (sin_test_data): Likewise.
4598 (sin_tonearest_test_data): Likewise.
4599 (sin_towardzero_test_data): Likewise.
4600 (sin_downward_test_data): Likewise.
4601 (sin_upward_test_data): Likewise.
4602 (sincos_test_data): Likewise.
4603 (sinh_test_data): Likewise.
4604 (sinh_tonearest_test_data): Likewise.
4605 (sinh_towardzero_test_data): Likewise.
4606 (sinh_downward_test_data): Likewise.
4607 (sinh_upward_test_data): Likewise.
4608 (sqrt_test_data): Likewise.
4609 (tan_test_data): Likewise.
4610 (tan_tonearest_test_data): Likewise.
4611 (tan_towardzero_test_data): Likewise.
4612 (tan_downward_test_data): Likewise.
4613 (tan_upward_test_data): Likewise.
4614 (tanh_test_data): Likewise.
4615 (tgamma_test_data): Likewise.
4616 (trunc_test_data): Likewise.
4617 (y0_test_data): Likewise.
4618 (y1_test_data): Likewise.
4619 (yn_test_data): Likewise.
4620 (significand_test_data): Likewise.
4621
b679a606
JM
4622 * math/gen-libm-test.pl (@functions): Remove variable.
4623 (generate_testfile): Don't handle START and END lines.
4624 * math/libm-test.inc (START): New macro.
4625 (END): Likewise.
4626 (END_COMPLEX): Likewise.
4627 (acos_test): Use END macro without arguments.
4628 (acos_test_tonearest): Likewise.
4629 (acos_test_towardzero): Likewise.
4630 (acos_test_downward): Likewise.
4631 (acos_test_upward): Likewise.
4632 (acosh_test): Likewise.
4633 (asin_test): Likewise.
4634 (asin_test_tonearest): Likewise.
4635 (asin_test_towardzero): Likewise.
4636 (asin_test_downward): Likewise.
4637 (asin_test_upward): Likewise.
4638 (asinh_test): Likewise.
4639 (atan_test): Likewise.
4640 (atanh_test): Likewise.
4641 (atan2_test): Likewise.
4642 (cabs_test): Likewise.
4643 (cacos_test): Use END_COMPLEX macro without arguments.
4644 (cacosh_test): Likewise.
4645 (carg_test): Use END macro without arguments.
4646 (casin_test): Use END_COMPLEX macro without arguments.
4647 (casinh_test): Likewise.
4648 (catan_test): Likewise.
4649 (catanh_test): Likewise.
4650 (cbrt_test): Use END macro without arguments.
4651 (ccos_test): Use END_COMPLEX macro without arguments.
4652 (ccosh_test): Likewise.
4653 (ceil_test): Use END macro without arguments.
4654 (cexp_test): Use END_COMPLEX macro without arguments.
4655 (cimag_test): Use END macro without arguments.
4656 (clog_test): Use END_COMPLEX macro without arguments.
4657 (clog10_test): Likewise.
4658 (conj_test): Likewise.
4659 (copysign_test): Use END macro without arguments.
4660 (cos_test): Likewise.
4661 (cos_test_tonearest): Likewise.
4662 (cos_test_towardzero): Likewise.
4663 (cos_test_downward): Likewise.
4664 (cos_test_upward): Likewise.
4665 (cosh_test): Likewise.
4666 (cosh_test_tonearest): Likewise.
4667 (cosh_test_towardzero): Likewise.
4668 (cosh_test_downward): Likewise.
4669 (cosh_test_upward): Likewise.
4670 (cpow_test): Use END_COMPLEX macro without arguments.
4671 (cproj_test): Likewise.
4672 (creal_test): Use END macro without arguments.
4673 (csin_test): Use END_COMPLEX macro without arguments.
4674 (csinh_test): Likewise.
4675 (csqrt_test): Likewise.
4676 (ctan_test): Likewise.
4677 (ctan_test_tonearest): Likewise.
4678 (ctan_test_towardzero): Likewise.
4679 (ctan_test_downward): Likewise.
4680 (ctan_test_upward): Likewise.
4681 (ctanh_test): Likewise.
4682 (ctanh_test_tonearest): Likewise.
4683 (ctanh_test_towardzero): Likewise.
4684 (ctanh_test_downward): Likewise.
4685 (ctanh_test_upward): Likewise.
4686 (erf_test): Use END macro without arguments.
4687 (erfc_test): Likewise.
4688 (exp_test): Likewise.
4689 (exp_test_tonearest): Likewise.
4690 (exp_test_towardzero): Likewise.
4691 (exp_test_downward): Likewise.
4692 (exp_test_upward): Likewise.
4693 (exp10_test): Likewise.
4694 (exp2_test): Likewise.
4695 (expm1_test): Likewise.
4696 (fabs_test): Likewise.
4697 (fdim_test): Likewise.
4698 (finite_test): Likewise.
4699 (floor_test): Likewise.
4700 (fma_test): Likewise.
4701 (fma_test_towardzero): Likewise.
4702 (fma_test_downward): Likewise.
4703 (fma_test_upward): Likewise.
4704 (fmax_test): Likewise.
4705 (fmin_test): Likewise.
4706 (fmod_test): Likewise.
4707 (fpclassify_test): Likewise.
4708 (frexp_test): Likewise.
4709 (gamma_test): Likewise.
4710 (hypot_test): Likewise.
4711 (ilogb_test): Likewise.
4712 (isfinite_test): Likewise.
4713 (isgreater_test): Likewise.
4714 (isgreaterequal_test): Likewise.
4715 (isinf_test): Likewise.
4716 (isless_test): Likewise.
4717 (islessequal_test): Likewise.
4718 (islessgreater_test): Likewise.
4719 (isnan_test): Likewise.
4720 (isnormal_test): Likewise.
4721 (issignaling_test): Likewise.
4722 (isunordered_test): Likewise.
4723 (j0_test): Likewise.
4724 (j1_test): Likewise.
4725 (jn_test): Likewise.
4726 (ldexp_test): Likewise.
4727 (lgamma_test): Likewise.
4728 (lrint_test): Likewise.
4729 (lrint_test_tonearest): Likewise.
4730 (lrint_test_towardzero): Likewise.
4731 (lrint_test_downward): Likewise.
4732 (lrint_test_upward): Likewise.
4733 (llrint_test): Likewise.
4734 (llrint_test_tonearest): Likewise.
4735 (llrint_test_towardzero): Likewise.
4736 (llrint_test_downward): Likewise.
4737 (llrint_test_upward): Likewise.
4738 (log_test): Likewise.
4739 (log10_test): Likewise.
4740 (log1p_test): Likewise.
4741 (log2_test): Likewise.
4742 (logb_test): Likewise.
4743 (logb_test_downward): Likewise.
4744 (lround_test): Likewise.
4745 (llround_test): Likewise.
4746 (modf_test): Likewise.
4747 (nearbyint_test): Likewise.
4748 (nextafter_test): Likewise.
4749 (nexttoward_test): Likewise.
4750 (pow_test): Likewise.
4751 (pow_test_tonearest): Likewise.
4752 (pow_test_towardzero): Likewise.
4753 (pow_test_downward): Likewise.
4754 (pow_test_upward): Likewise.
4755 (remainder_test): Likewise.
4756 (remainder_test_tonearest): Likewise.
4757 (remainder_test_towardzero): Likewise.
4758 (remainder_test_downward): Likewise.
4759 (remainder_test_upward): Likewise.
4760 (remquo_test): Likewise.
4761 (rint_test): Likewise.
4762 (rint_test_tonearest): Likewise.
4763 (rint_test_towardzero): Likewise.
4764 (rint_test_downward): Likewise.
4765 (rint_test_upward): Likewise.
4766 (round_test): Likewise.
4767 (scalb_test): Likewise.
4768 (scalbn_test): Likewise.
4769 (scalbln_test): Likewise.
4770 (signbit_test): Likewise.
4771 (sin_test): Likewise.
4772 (sin_test_tonearest): Likewise.
4773 (sin_test_towardzero): Likewise.
4774 (sin_test_downward): Likewise.
4775 (sin_test_upward): Likewise.
4776 (sincos_test): Likewise.
4777 (sinh_test): Likewise.
4778 (sinh_test_tonearest): Likewise.
4779 (sinh_test_towardzero): Likewise.
4780 (sinh_test_downward): Likewise.
4781 (sinh_test_upward): Likewise.
4782 (sqrt_test): Likewise.
4783 (tan_test): Likewise.
4784 (tan_test_tonearest): Likewise.
4785 (tan_test_towardzero): Likewise.
4786 (tan_test_downward): Likewise.
4787 (tan_test_upward): Likewise.
4788 (tanh_test): Likewise.
4789 (tgamma_test): Likewise.
4790 (trunc_test): Likewise.
4791 (y0_test): Likewise.
4792 (y1_test): Likewise.
4793 (yn_test): Likewise.
4794 (significand_test): Likewise.
4795
bae143d2
OB
47962013-05-24 Ondřej Bílka <neleai@seznam.cz>
4797
4798 [BZ #15381]
4799 * libio/genops.c (_IO_no_init): Initialize wide struct info.
4800
9323d39b
EM
48012013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
4802
d4ea44a0 4803 [BZ #14894]
9323d39b
EM
4804 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
4805 __ppc_mdoio and __ppc_mdoom.
4806 * manual/platform.texi: Document new functions __ppc_yield,
4807 __ppc_mdoio and __ppc_mdoom.
4808
13e23af7
CD
48092013-05-22 Carlos O'Donell <carlos@redhat.com>
4810
4811 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
4812 (main): Mention "tls" pseudo-hwcap is legacy.
4813 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
4814
351fe550
JM
48152013-05-22 Joseph Myers <joseph@codesourcery.com>
4816
4817 * math/gen-libm-test.pl (parse_args): Output only string of
4818 arguments as text for test name, not full call or descriptions of
4819 tests for extra outputs.
4820 (generate_testfile): Do not pass function name to parse_args.
4821 Generate this_func variable from START.
4822 * math/libm-test.inc (struct test_f_f_data): Rename test_name
4823 field to arg_str.
4824 (struct test_ff_f_data): Likewise.
4825 (test_ff_f_data_nexttoward): Likewise.
4826 (struct test_fi_f_data): Likewise.
4827 (struct test_fl_f_data): Likewise.
4828 (struct test_if_f_data): Likewise.
4829 (struct test_fff_f_data): Likewise.
4830 (struct test_c_f_data): Likewise.
4831 (struct test_f_f1_data): Likewise. Remove field extra_name.
4832 (struct test_fF_f1_data): Likewise.
4833 (struct test_ffI_f1_data): Likewise.
4834 (struct test_c_c_data): Rename test_name field to arg_str.
4835 (struct test_cc_c_data): Likewise.
4836 (struct test_f_i_data): Likewise.
4837 (struct test_ff_i_data): Likewise.
4838 (struct test_f_l_data): Likewise.
4839 (struct test_f_L_data): Likewise.
4840 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
4841 and extra2_name.
4842 (COMMON_TEST_SETUP): New macro.
4843 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
4844 (COMMON_TEST_CLEANUP): Likewise.
4845 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
4846 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
4847 macros.
4848 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
4849 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
4850 macros.
4851 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
4852 (RUN_TEST_fff_f): Take argument string. Call new setup and
4853 cleanup macros.
4854 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
4855 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
4856 macros.
4857 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
4858 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
4859 macros.
4860 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
4861 (RUN_TEST_fF_f1): Take argument string. Call new setup and
4862 cleanup macros.
4863 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
4864 (RUN_TEST_fI_f1): Take argument string. Call new setup and
4865 cleanup macros.
4866 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
4867 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
4868 cleanup macros.
4869 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
4870 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
4871 macros.
4872 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
4873 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
4874 macros.
4875 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
4876 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
4877 macros.
4878 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
4879 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
4880 cleanup macros.
4881 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
4882 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
4883 cleanup macros.
4884 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
4885 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
4886 macros.
4887 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
4888 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
4889 cleanup macros.
4890 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
4891 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
4892 macros.
4893 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
4894 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
4895 macros.
4896 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
4897 (RUN_TEST_fFF_11): Take argument string. Call new setup and
4898 cleanup macros.
4899 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
4900
85118d4d
EBM
49012013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4902
4903 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
4904 to _sifields.sigfault.
4905 (si_addr_lsb): Define new macro.
4906 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
4907 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4908 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
4909
7a44c18f
CD
49102013-05-03 Carlos O'Donell <carlos at redhat.com>
4911
4912 [BZ #15441]
4913 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
4914 returns -1.
4915 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
4916 null return -1.
4917 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
4918 loading the domain.
4919
b50a7181
JM
49202013-05-22 Joseph Myers <joseph@codesourcery.com>
4921
4922 * math/gen-libm-test.pl (parse_args): Do not include expected
4923 result in test name.
4924 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
4925 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4926 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4927 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
4928 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4929 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4930
051063c8
SP
49312013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4932
3ce9e010
SP
4933 * benchtests/Makefile: Sort function entries.
4934
051063c8
SP
4935 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
4936 tanh, asinh, acosh, atanh.
4937 * benchtests/acos-inputs: New file.
4938 * benchtests/acosh-inputs: New file.
4939 * benchtests/asin-inputs: New file.
4940 * benchtests/asinh-inputs: New file.
4941 * benchtests/atanh-inputs: New file.
4942 * benchtests/cosh-inputs: New file.
4943 * benchtests/log-inputs: New file.
4944 * benchtests/sinh-inputs: New file.
4945 * benchtests/tanh-inputs: New file.
4946
47c22455
DL
49472013-05-21 Dmitry V. Levin <ldv@altlinux.org>
4948
4949 [BZ #15339]
4950 * posix/tst-getaddrinfo4.c: New test.
4951 * posix/Makefile (tests): Add it.
4952
3d04f5db
SP
49532013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4954
4955 [BZ #15339]
4956 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
4957 when no services were used.
4958 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
4959 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
4960
d5dd6189
AS
49612013-05-21 Andreas Schwab <schwab@suse.de>
4962
4963 [BZ #15014]
4964 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
4965 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
4966 successful.
4967 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
4968 redundant variable declarations and reallocation of buffer when
4969 parsing as IPv6 address. Always set NSS status when called from
4970 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
4971 buffer too small. Correct computation of needed size.
4972 * nss/Makefile (tests): Add test-digits-dots.
4973 * nss/test-digits-dots.c: New test.
4974
fef94eab
SP
49752013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4976
4977 * benchtests/Makefile: Remove instructions for adding
4978 benchmark tests.
4979 * benchtests/README: New file to explain how to execute and
4980 enhance the benchmark tests.
4981
e39adf43
AS
49822013-05-21 Andreas Schwab <schwab@suse.de>
4983
4984 [BZ #15493]
4985 * setjmp/Makefile (tests): Add tst-sigsetjmp.
4986 * setjmp/tst-sigsetjmp.c: New test.
4987
b2b671b6
OB
49882013-05-20 Ondřej Bílka <neleai@seznam.cz>
4989
4990 * sysdeps/x86_64/memset.S (memset): New implementation.
4991 (__bzero): Likewise.
4992 (__memset_tail): New function.
4993
2d48b41c
OB
49942013-05-20 Ondřej Bílka <neleai@seznam.cz>
4995
4996 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
4997 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
4998 __memcpy_sse2_unaligned ifunc selection.
4999 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5000 Add memcpy-sse2-unaligned.S.
5001 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5002 Add: __memcpy_sse2_unaligned.
5003
f16cc3eb
JM
50042013-05-19 Joseph Myers <joseph@codesourcery.com>
5005
3e694268
JM
5006 [BZ #15490]
5007 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
5008 math_force_eval before restoring floating-point envrionment.
5009 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
5010 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
5011 Likewise.
5012 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
5013 <math_private.h>.
5014 (__nearbyintl): Use math_force_eval before restoring
5015 floating-point environment.
5016 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
5017
db62a907
JM
5018 * math/gen-libm-test.pl (special_functions): Remove.
5019 (parse_args): Don't handle TEST_extra. Handle functions with no
5020 return value.
5021 * math/libm-test.inc (struct test_sincos_data): Replace with
5022 struct test_fFF_11_data.
5023 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
5024 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
5025 (sincos_test_data): Change element type to struct
5026 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
5027 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
5028 RUN_TEST_LOOP_sincos.
5029 * math/README.libm-test: Don't mention special handling of
5030 individual functions.
5031 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
5032 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5033 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5034 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5035 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5036 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5037
f16cc3eb
JM
5038 * math/gen-libm-test.pl (get_variable): Remove function.
5039 (parse_args): Don't show pointer parameters to call in test
5040 names. Use "extra output N" in test names for extra outputs
5041 rather than naming variables.
5042
3779b5b6
JM
50432013-05-18 Joseph Myers <joseph@codesourcery.com>
5044
2ee094ff
JM
5045 [BZ #15488]
5046 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
5047 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
5048 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
5049 double tests.
5050 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
5051 disable.
5052 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
5053 check_long_double.
5054
3779b5b6
JM
5055 * math/gen-libm-test.pl (@tests): Remove variable.
5056 ($count): Likewise.
5057 (new_test): Remove function.
5058 (show_exceptions): New function.
5059 (special_functions): Use show_exceptions instead of new_test.
5060 (parse_args): Likewise.
5061 (generate_testfile): Pass only function name in generated call to
5062 print_max_error or print_complex_max_error.
5063 (get_ulps): Do not handle complex tests specially.
5064 (output_test): Rename to ...
5065 (get_all_ulps_for_test): ... this. Return a string rather than
5066 printing to a file. Require ulps to be present.
5067 (output_ulps): Generate arrays rather than #defines.
5068 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
5069 (struct ulp_data): New type.
5070 (BUILD_COMPLEX_ULP): Remove macro.
5071 (compare_ulp_data): New function.
5072 (find_ulps): Likewise.
5073 (find_test_ulps): Likewise.
5074 (find_function_ulps): Likewise.
5075 (find_complex_function_ulps): Likewise.
5076 (print_max_error): Determine allowed ulps using
5077 find_function_ulps.
5078 (print_complex_max_error): Determine allowed ulps using
5079 find_complex_function_ulps.
5080 (check_float_internal): Determine max ulps using find_test_ulps.
5081 (check_float): Do not take max_ulp parameter. Update call to
5082 check_float_internal.
5083 (check_complex): Likewise.
5084 (check_int): Do not take max_ulp parameter.
5085 (check_long): Likewise.
5086 (check_bool): Likewise.
5087 (check_longlong): Likewise.
5088 (struct test_f_f_data): Remove max_ulp field.
5089 (struct test_ff_f_data): Likewise.
5090 (struct test_ff_f_data_nexttoward): Likewise.
5091 (struct test_fi_f_data): Likewise.
5092 (struct test_fl_f_data): Likewise.
5093 (struct test_if_f_data): Likewise.
5094 (struct test_fff_f_data): Likewise.
5095 (struct test_c_f_data): Likewise.
5096 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
5097 (struct test_fF_f1_data): Likewise.
5098 (struct test_ffI_f1_data): Likewise.
5099 (struct test_c_c_data): Remove max_ulp field.
5100 (struct test_cc_c_data): Likewise.
5101 (struct test_f_i_data): Likewise.
5102 (struct test_ff_i_data): Likewise.
5103 (struct test_f_l_data): Likewise.
5104 (struct test_f_L_data): Likewise.
5105 (struct test_sincos_data): Likewise.
5106 (RUN_TEST_f_f): Do not handle ulps.
5107 (RUN_TEST_LOOP_f_f): Likewise.
5108 (RUN_TEST_2_f): Likewise.
5109 (RUN_TEST_LOOP_2_f): Likewise.
5110 (RUN_TEST_fff_f): Likewise.
5111 (RUN_TEST_LOOP_fff_f): Likewise.
5112 (RUN_TEST_c_f): Likewise.
5113 (RUN_TEST_LOOP_c_f): Likewise.
5114 (RUN_TEST_f_f1): Likewise.
5115 (RUN_TEST_LOOP_f_f1): Likewise.
5116 (RUN_TEST_fF_f1): Likewise.
5117 (RUN_TEST_LOOP_fF_f1): Likewise.
5118 (RUN_TEST_fI_f1): Likewise.
5119 (RUN_TEST_LOOP_fI_f1): Likewise.
5120 (RUN_TEST_ffI_f1): Likewise.
5121 (RUN_TEST_LOOP_ffI_f1): Likewise.
5122 (RUN_TEST_c_c): Likewise.
5123 (RUN_TEST_LOOP_c_c): Likewise.
5124 (RUN_TEST_cc_c): Likewise.
5125 (RUN_TEST_LOOP_cc_c): Likewise.
5126 (RUN_TEST_f_i): Likewise.
5127 (RUN_TEST_LOOP_f_i): Likewise.
5128 (RUN_TEST_f_i_tg): Likewise.
5129 (RUN_TEST_LOOP_f_i_tg): Likewise.
5130 (RUN_TEST_ff_i_tg): Likewise.
5131 (RUN_TEST_LOOP_ff_i_tg): Likewise.
5132 (RUN_TEST_f_b): Likewise.
5133 (RUN_TEST_LOOP_f_b): Likewise.
5134 (RUN_TEST_f_b_tg): Likewise.
5135 (RUN_TEST_LOOP_f_b_tg): Likewise.
5136 (RUN_TEST_f_l): Likewise.
5137 (RUN_TEST_LOOP_f_l): Likewise.
5138 (RUN_TEST_f_L): Likewise.
5139 (RUN_TEST_LOOP_f_L): Likewise.
5140 (RUN_TEST_sincos): Likewise.
5141 (RUN_TEST_LOOP_sincos): Likewise.
5142
8269107f
JM
51432013-05-17 Joseph Myers <joseph@codesourcery.com>
5144
bb38759d
JM
5145 [BZ #15480]
5146 [BZ #15485]
5147 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
5148 main case of finite arguments, set rounding mode to FE_TONEAREST
5149 and discard exceptions.
5150 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
5151 exceptions.
5152 (remainder_tonearest_test_data): New variable.
5153 (remainder_test_tonearest): New function.
5154 (remainder_towardzero_test_data): New variable.
5155 (remainder_test_towardzero): New function.
5156 (remainder_downward_test_data): New variable.
5157 (remainder_test_downward): New function.
5158 (remainder_upward_test_data): New variable.
5159 (remainder_test_upward): New function.
5160 (main): Call the new test functions.
5161
a00bdcf0
JM
5162 * math/libm-test.inc (struct test_f_f1_data): Remove field
5163 extra_init.
5164 (struct test_fF_f1_data): Likewise.
5165 (struct test_ffI_f1_data): Likewise.
5166 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
5167 based on value of EXTRA_EXPECTED.
5168 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
5169 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
5170 EXTRA_VAR based on value of EXTRA_EXPECTED.
5171 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
5172 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
5173 EXTRA_VAR based on value of EXTRA_EXPECTED.
5174 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
5175 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
5176 EXTRA_VAR based on value of EXTRA_EXPECTED.
5177 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
5178 * math/gen-libm-test.pl (parse_args): Don't output initializers
5179 for extra output values.
5180
de407f79
JM
5181 * math/libm-test.inc (check_int): Expect result to be exactly
5182 equal to expected value and do not handle ulps.
5183 (check_long): Likewise.
5184 (check_longlong): Likewise.
5185
8269107f
JM
5186 * math/libm-test.inc (ceil_test_data): Test for "inexact"
5187 exceptions.
5188 (cimag_test_data): Likewise.
5189 (conj_test_data): Likewise.
5190 (copysign_test_data): Likewise.
5191 (cproj_test_data): Likewise.
5192 (creal_test_data): Likewise.
5193 (fabs_test_data): Likewise.
5194 (fdim_test_data): Likewise.
5195 (finite_test_data): Likewise.
5196 (floor_test_data): Likewise.
5197 (fmax_test_data): Likewise.
5198 (fmin_test_data): Likewise.
5199 (fmod_test_data): Likewise.
5200 (fpclassify_test_data): Likewise.
5201 (frexp_test_data): Likewise.
5202 (ilogb_test_data): Likewise.
5203 (isfinite_test_data): Likewise.
5204 (isgreater_test_data): Likewise.
5205 (isgreaterequal_test_data): Likewise.
5206 (isinf_test_data): Likewise.
5207 (isless_test_data): Likewise.
5208 (islessequal_test_data): Likewise.
5209 (islessgreater_test_data): Likewise.
5210 (isnan_test_data): Likewise.
5211 (isnormal_test_data): Likewise.
5212 (issignaling_test_data): Likewise.
5213 (isunordered_test_data): Likewise.
5214 (ldexp_test_data): Likewise.
5215 (lrint_test_data): Likewise.
5216 (lrint_test_data) [TEST_FLOAT]: Disable one test.
5217 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
5218 (lrint_tonearest_test_data): Test for "inexact" exceptions.
5219 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
5220 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
5221 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
5222 test input.
5223 (lrint_towardzero_test_data): Test for "inexact" exceptions.
5224 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
5225 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
5226 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
5227 that test input.
5228 (lrint_downward_test_data): Test for "inexact" exceptions.
5229 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
5230 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
5231 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
5232 test input.
5233 (lrint_upward_test_data): Test for "inexact" exceptions.
5234 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
5235 test input.
5236 (llrint_test_data): Test for "inexact" exceptions.
5237 (llrint_test_data) [TEST_FLOAT]: Disable one test.
5238 (llrint_tonearest_test_data): Test for "inexact" exceptions.
5239 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
5240 (llrint_towardzero_test_data): Test for "inexact" exceptions.
5241 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
5242 (llrint_downward_test_data): Test for "inexact" exceptions.
5243 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
5244 (llrint_upward_test_data): Test for "inexact" exceptions.
5245 (logb_test_data): Likewise.
5246 (logb_downward_test_data): Likewise.
5247 (nextafter_test_data): Likewise.
5248 (nexttoward_test_data): Likewise.
5249 (remainder_test_data): Likewise.
5250 (remquo_test_data): Likewise.
5251 (scalbn_test_data): Likewise.
5252 (scalbln_test_data): Likewise.
5253 (signbit_test_data): Likewise.
5254 (sqrt_test_data): Likewise.
5255 (significand_test_data): Likewise.
5256
48a18de1
SP
52572013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5258
5259 [BZ #15424]
5260 * benchtests/bench-modf.c (struct args): Mark arg0 as
5261 volatile.
5262 * scripts/bench.pl: Mark members of struct args as volatile.
5263
13d3b41a
AZ
52642013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5265
68191c1d 5266 [BZ # 15497]
13d3b41a
AZ
5267 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
5268 negative infinity on POWER6 or lower.
5269 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
5270
2848b105
MR
52712013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
5272
5273 [BZ #15442]
5274 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
5275 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
5276 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
5277 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
5278 (_FP_SETQNAN): New macro.
5279 (_FP_SETQNAN_SEMIRAW): Likewise.
5280 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
5281 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
5282 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
5283 (FP_EXTEND): Use _FP_FRAC_SNANP.
5284 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
5285 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
5286 into account.
5287 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
5288 New macro.
5289 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
5290 Likewise.
5291
323e5cb7
JM
52922013-05-16 Joseph Myers <joseph@codesourcery.com>
5293
c58b274f
JM
5294 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
5295 with DIVIDE_BY_ZERO_EXCEPTION.
5296 (gamma_test_data): Likewise.
5297 (lgamma_test_data): Likewise.
5298 (log_test_data): Likewise.
5299 (log10_test_data): Likewise.
5300 (log2_test_data): Likewise.
5301 (tgamma_test_data): Likewise.
5302
0ab34904
JM
5303 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
5304 (acos_test_tonearest): Likewise.
5305 (acos_test_towardzero): Likewise.
5306 (acos_test_downward): Likewise.
5307 (acos_test_upward): Likewise.
5308 (acosh_test): Likewise.
5309 (asin_test): Likewise.
5310 (asin_test_tonearest): Likewise.
5311 (asin_test_towardzero): Likewise.
5312 (asin_test_downward): Likewise.
5313 (asin_test_upward): Likewise.
5314 (asinh_test): Likewise.
5315 (atan_test): Likewise.
5316 (atanh_test): Likewise.
5317 (atan2_test): Likewise.
5318 (cabs_test): Likewise.
5319 (cacos_test): Likewise.
5320 (cacosh_test): Likewise.
5321 (casin_test): Likewise.
5322 (casinh_test): Likewise.
5323 (catan_test): Likewise.
5324 (catanh_test): Likewise.
5325 (cbrt_test): Likewise.
5326 (ccos_test): Likewise.
5327 (ccosh_test): Likewise.
5328 (cexp_test): Likewise.
5329 (clog_test): Likewise.
5330 (clog10_test): Likewise.
5331 (cos_test): Likewise.
5332 (cos_test_tonearest): Likewise.
5333 (cos_test_towardzero): Likewise.
5334 (cos_test_downward): Likewise.
5335 (cos_test_upward): Likewise.
5336 (cosh_test): Likewise.
5337 (cosh_test_tonearest): Likewise.
5338 (cosh_test_towardzero): Likewise.
5339 (cosh_test_downward): Likewise.
5340 (cosh_test_upward): Likewise.
5341 (cpow_test): Likewise.
5342 (csin_test): Likewise.
5343 (csinh_test): Likewise.
5344 (csqrt_test): Likewise.
5345 (ctan_test): Likewise.
5346 (ctan_test_tonearest): Likewise.
5347 (ctan_test_towardzero): Likewise.
5348 (ctan_test_downward): Likewise.
5349 (ctan_test_upward): Likewise.
5350 (ctanh_test): Likewise.
5351 (ctanh_test_tonearest): Likewise.
5352 (ctanh_test_towardzero): Likewise.
5353 (ctanh_test_downward): Likewise.
5354 (ctanh_test_upward): Likewise.
5355 (erf_test): Likewise.
5356 (erfc_test): Likewise.
5357 (exp_test): Likewise.
5358 (exp_test_tonearest): Likewise.
5359 (exp_test_towardzero): Likewise.
5360 (exp_test_downward): Likewise.
5361 (exp_test_upward): Likewise.
5362 (exp10_test): Likewise.
5363 (exp2_test): Likewise.
5364 (expm1_test): Likewise.
5365 (fmod_test): Likewise.
5366 (gamma_test): Likewise.
5367 (hypot_test): Likewise.
5368 (j0_test): Likewise.
5369 (j1_test): Likewise.
5370 (jn_test): Likewise.
5371 (lgamma_test): Likewise.
5372 (log_test): Likewise.
5373 (log10_test): Likewise.
5374 (log1p_test): Likewise.
5375 (log2_test): Likewise.
5376 (logb_test_downward): Likewise.
5377 (pow_test): Likewise.
5378 (pow_test_tonearest): Likewise.
5379 (pow_test_towardzero): Likewise.
5380 (pow_test_downward): Likewise.
5381 (pow_test_upward): Likewise.
5382 (remainder_test): Likewise.
5383 (remquo_test): Likewise.
5384 (sin_test): Likewise.
5385 (sin_test_tonearest): Likewise.
5386 (sin_test_towardzero): Likewise.
5387 (sin_test_downward): Likewise.
5388 (sin_test_upward): Likewise.
5389 (sincos_test): Likewise.
5390 (sinh_test): Likewise.
5391 (sinh_test_tonearest): Likewise.
5392 (sinh_test_towardzero): Likewise.
5393 (sinh_test_downward): Likewise.
5394 (sinh_test_upward): Likewise.
5395 (sqrt_test): Likewise.
5396 (tan_test): Likewise.
5397 (tan_test_tonearest): Likewise.
5398 (tan_test_towardzero): Likewise.
5399 (tan_test_downward): Likewise.
5400 (tan_test_upward): Likewise.
5401 (tanh_test): Likewise.
5402 (tgamma_test): Likewise.
5403 (y0_test): Likewise.
5404 (y1_test): Likewise.
5405 (yn_test): Likewise.
5406
323e5cb7
JM
5407 * math/gen-libm-test.pl (adjust_arg): Remove function.
5408 (special_function): Remove argument $in_func. Only handle
5409 generating output for tables of tests, not inside functions.
5410 (parse_args): Likewise.
5411 (generate_testfile): Remove variable $in_func. Update call to
5412 parse_args.
5413 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
5414 (MINUS_ZERO_INIT): Rename macro to minus_zero.
5415 (PLUS_INFTY_INIT): Rename macro to plus_infty.
5416 (MINUS_INFTY_INIT): Rename macro to minus_infty.
5417 (QNAN_VALUE_INIT): Rename macro to qnan_value.
5418 (MAX_VALUE_INIT): Rename macro to max_value.
5419 (MIN_VALUE_INIT): Rename macro to min_value.
5420 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
5421 (plus_zero): Remove variable.
5422 (minus_zero): Likewise.
5423 (plus_infty): Likewise.
5424 (minus_infty): Likewise.
5425 (qnan_value): Likewise.
5426 (max_value): Likewise.
5427 (min_value): Likewise.
5428 (min_subnorm_value): Likewise.
5429
e054f494
RA
54302013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5431
5432 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
5433 uint64_t or uint32_t usage.
5434 * crypt/sha256-block.c: Likewise.
5435 * crypt/sha256-crypt.c: Likewise.
5436 * crypt/sha256.c: Likewise.
5437 * crypt/sha512-block.c: Likewise.
5438 * crypt/sha512-crypt.c: Likewise.
5439 * crypt/sha512.c: Likewise.
5440 * debug/backtrace-tst.c: Likewise.
5441 * debug/pcprofiledump.c: Likewise.
5442 * elf/cache.c: Likewise.
5443 * elf/dl-cache.c: Likewise.
5444 * elf/dl-misc.c: Likewise.
5445 * elf/dl-profile.c: Likewise.
5446 * elf/dl-support.c: Likewise.
5447 * elf/ldconfig.c: Likewise.
5448 * elf/sprof.c: Likewise.
5449 * iconv/dummy-repertoire.c: Likewise.
5450 * iconv/iconv_charmap.c: Likewise.
5451 * iconv/skeleton.c: Likewise.
5452 * iconvdata/8bit-generic.c: Likewise.
5453 * iconvdata/cp737.h: Likewise.
5454 * iconvdata/cp775.h: Likewise.
5455 * iconvdata/ibm1008.h: Likewise.
5456 * iconvdata/ibm1025.h: Likewise.
5457 * iconvdata/ibm1046.h: Likewise.
5458 * iconvdata/ibm1097.h: Likewise.
5459 * iconvdata/ibm1112.h: Likewise.
5460 * iconvdata/ibm1122.h: Likewise.
5461 * iconvdata/ibm1123.h: Likewise.
5462 * iconvdata/ibm1124.h: Likewise.
5463 * iconvdata/ibm1129.h: Likewise.
5464 * iconvdata/ibm1130.h: Likewise.
5465 * iconvdata/ibm1132.h: Likewise.
5466 * iconvdata/ibm1133.h: Likewise.
5467 * iconvdata/ibm1137.h: Likewise.
5468 * iconvdata/ibm1140.h: Likewise.
5469 * iconvdata/ibm1141.h: Likewise.
5470 * iconvdata/ibm1142.h: Likewise.
5471 * iconvdata/ibm1143.h: Likewise.
5472 * iconvdata/ibm1144.h: Likewise.
5473 * iconvdata/ibm1145.h: Likewise.
5474 * iconvdata/ibm1146.h: Likewise.
5475 * iconvdata/ibm1147.h: Likewise.
5476 * iconvdata/ibm1148.h: Likewise.
5477 * iconvdata/ibm1149.h: Likewise.
5478 * iconvdata/ibm1153.h: Likewise.
5479 * iconvdata/ibm1154.h: Likewise.
5480 * iconvdata/ibm1155.h: Likewise.
5481 * iconvdata/ibm1156.h: Likewise.
5482 * iconvdata/ibm1157.h: Likewise.
5483 * iconvdata/ibm1158.h: Likewise.
5484 * iconvdata/ibm1160.h: Likewise.
5485 * iconvdata/ibm1161.h: Likewise.
5486 * iconvdata/ibm1162.h: Likewise.
5487 * iconvdata/ibm1163.h: Likewise.
5488 * iconvdata/ibm1164.h: Likewise.
5489 * iconvdata/ibm1166.h: Likewise.
5490 * iconvdata/ibm1167.h: Likewise.
5491 * iconvdata/ibm12712.h: Likewise.
5492 * iconvdata/ibm1390.h: Likewise.
5493 * iconvdata/ibm1399.h: Likewise.
5494 * iconvdata/ibm16804.h: Likewise.
5495 * iconvdata/ibm4517.h: Likewise.
5496 * iconvdata/ibm4899.h: Likewise.
5497 * iconvdata/ibm4909.h: Likewise.
5498 * iconvdata/ibm4971.h: Likewise.
5499 * iconvdata/ibm5347.h: Likewise.
5500 * iconvdata/ibm803.h: Likewise.
5501 * iconvdata/ibm856.h: Likewise.
5502 * iconvdata/ibm901.h: Likewise.
5503 * iconvdata/ibm902.h: Likewise.
5504 * iconvdata/ibm9030.h: Likewise.
5505 * iconvdata/ibm9066.h: Likewise.
5506 * iconvdata/ibm921.h: Likewise.
5507 * iconvdata/ibm922.h: Likewise.
5508 * iconvdata/ibm9448.h: Likewise.
5509 * iconvdata/isiri-3342.h: Likewise.
5510 * iconvdata/jis0201.h: Likewise.
5511 * include/link.h: Likewise.
5512 * include/netdb.h: Likewise.
5513 * inet/check_native.c: Likewise.
5514 * inet/check_pf.c: Likewise.
5515 * inet/getipv4sourcefilter.c: Likewise.
5516 * inet/getnameinfo.c: Likewise.
5517 * inet/getsourcefilter.c: Likewise.
5518 * inet/htonl.c: Likewise.
5519 * inet/setipv4sourcefilter.c: Likewise.
5520 * inet/setsourcefilter.c: Likewise.
5521 * inet/test-inet6_opt.c: Likewise.
5522 * inet/tst-network.c: Likewise.
5523 * locale/C-collate.c: Likewise.
5524 * locale/C-ctype.c: Likewise.
5525 * locale/C-time.c: Likewise.
5526 * locale/C-translit.h: Likewise.
5527 * locale/loadarchive.c: Likewise.
5528 * locale/programs/3level.h: Likewise.
5529 * locale/programs/charmap.c: Likewise.
5530 * locale/programs/charmap.h: Likewise.
5531 * locale/programs/ld-address.c: Likewise.
5532 * locale/programs/ld-collate.c: Likewise.
5533 * locale/programs/ld-ctype.c: Likewise.
5534 * locale/programs/ld-identification.c: Likewise.
5535 * locale/programs/ld-measurement.c: Likewise.
5536 * locale/programs/ld-messages.c: Likewise.
5537 * locale/programs/ld-monetary.c: Likewise.
5538 * locale/programs/ld-name.c: Likewise.
5539 * locale/programs/ld-numeric.c: Likewise.
5540 * locale/programs/ld-paper.c: Likewise.
5541 * locale/programs/ld-telephone.c: Likewise.
5542 * locale/programs/ld-time.c: Likewise.
5543 * locale/programs/linereader.c: Likewise.
5544 * locale/programs/locale.c: Likewise.
5545 * locale/programs/locarchive.c: Likewise.
5546 * locale/programs/locfile.h: Likewise.
5547 * locale/programs/repertoire.c: Likewise.
5548 * locale/programs/simple-hash.c: Likewise.
5549 * locale/programs/simple-hash.h: Likewise.
5550 * malloc/memusage.c: Likewise.
5551 * malloc/memusagestat.c: Likewise.
5552 * nis/nis_defaults.c: Likewise.
5553 * nis/nis_hash.c: Likewise.
5554 * nis/nis_print.c: Likewise.
5555 * nis/nis_xdr.c: Likewise.
5556 * nscd/connections.c: Likewise.
5557 * nscd/hstcache.c: Likewise.
5558 * nscd/nscd_gethst_r.c: Likewise.
5559 * nscd/nscd_getserv_r.c: Likewise.
5560 * nscd/nscd_helper.c: Likewise.
5561 * nscd/servicescache.c: Likewise.
5562 * nss/makedb.c: Likewise.
5563 * nss/nss_db/db-XXX.c: Likewise.
5564 * nss/nss_db/db-initgroups.c: Likewise.
5565 * nss/nss_db/db-netgrp.c: Likewise.
5566 * nss/nss_files/files-network.c: Likewise.
5567 * nss/nss_files/files-parse.c: Likewise.
5568 * posix/bug-regex5.c: Likewise.
5569 * posix/fnmatch_loop.c: Likewise.
5570 * posix/regcomp.c: Likewise.
5571 * posix/regexec.c: Likewise.
5572 * posix/tst-rfc3484-2.c: Likewise.
5573 * posix/tst-rfc3484-3.c: Likewise.
5574 * posix/tst-rfc3484.c: Likewise.
5575 * resolv/nss_dns/dns-canon.c: Likewise.
5576 * resolv/nss_dns/dns-network.c: Likewise.
5577 * resolv/res_init.c: Likewise.
5578 * resolv/res_mkquery.c: Likewise.
5579 * resolv/tst-aton.c: Likewise.
5580 * stdlib/cxa_atexit.c: Likewise.
5581 * stdlib/cxa_finalize.c: Likewise.
5582 * stdlib/gen-fpioconst.c: Likewise.
5583 * stdlib/strtol_l.c: Likewise.
5584 * string/tst-endian.c: Likewise.
5585 * sunrpc/auth_des.c: Likewise.
5586 * sunrpc/clnt_udp.c: Likewise.
5587 * sunrpc/rtime.c: Likewise.
5588 * sunrpc/svcauth_des.c: Likewise.
5589 * sunrpc/xdr.c: Likewise.
5590 * sunrpc/xdr_intXX_t.c: Likewise.
5591 * sunrpc/xdr_rec.c: Likewise.
5592 * sysdeps/generic/ldconfig.h: Likewise.
5593 * sysdeps/generic/ldsodefs.h: Likewise.
5594 * sysdeps/generic/memusage.h: Likewise.
5595 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
5596 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
5597 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
5598 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
5599 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5600 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5601 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
5602 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
5603 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5604 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
5605 * sysdeps/posix/getaddrinfo.c: Likewise.
5606 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
5607 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5608 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
5609 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5610 * sysdeps/powerpc/test-gettimebase.c: Likewise.
5611 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
5612 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
5613 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
5614 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
5615 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
5616 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
5617 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
5618 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
5619 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
5620 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
5621 * sysdeps/x86_64/dl-tls.h: Likewise.
5622 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
5623 * time/alt_digit.c: Likewise.
5624 * time/era.c: Likewise.
5625 * wcsmbs/tst-c16c32-1.c: Likewise.
5626
8c75f674
JM
56272013-05-16 Joseph Myers <joseph@codesourcery.com>
5628
5629 * math/libm-test.inc (struct test_sincos_data): New type.
5630 (RUN_TEST_LOOP_sincos): New macro.
5631 (sincos_test_data): New variable.
5632 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
5633
e6e49e59
RH
56342013-05-16 Richard Henderson <rth@redhat.com>
5635
5636 * math/atest-exp2.c (LIMB64): New macro.
5637 (CONSTSZ): New macro.
5638 (mp_exp1, mp_exp_m1, mp_log2): New variables.
5639 (hexdig): Move ...
5640 (print_mpn_fp): ... to function scope.
5641 (read_mpn_hex): Remove.
5642 (get_log2): Remove.
5643 (exp2_mpn): Use mp_log2.
5644 (main): Use mp_exp1.
5645
15c7c18d
JM
56462013-05-16 Joseph Myers <joseph@codesourcery.com>
5647
105a07df
JM
5648 * math/libm-test.inc: Remove comment about not testing "inexact"
5649 exceptions.
5650 (INEXACT_EXCEPTION): New macro.
5651 (NO_INEXACT_EXCEPTION): Likewise.
5652 (INVALID_EXCEPTION_OK): Update value.
5653 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5654 (OVERFLOW_EXCEPTION_OK): Likewise.
5655 (UNDERFLOW_EXCEPTION_OK): Likewise.
5656 (IGNORE_ZERO_INF_SIGN): Likewise.
5657 (ERRNO_UNCHANGED): Likewise.
5658 (ERRNO_EDOM): Likewise.
5659 (ERRNO_ERANGE): Likewise.
5660 (test_exceptions): Handle testing "inexact" exceptions.
5661 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
5662 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
5663 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
5664 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
5665 INEXACT_EXCEPTION.
5666 (rint_towardzero_test_data): Likewise.
5667 (rint_downward_test_data): Likewise.
5668 (rint_upward_test_data): Likewise.
5669
e9eee333
JM
5670 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
5671 with OVERFLOW_EXCEPTION.
5672 (exp10_test_data): Likewise.
5673 (exp2_test_data): Likewise.
5674 (expm1_test_data): Likewise.
5675 (lgamma_test_data): Likewise.
5676 (pow_test_data): Likewise.
5677 (tgamma_test_data): Likewise.
5678 (yn_test_data): Remove duplicate test of overflow.
5679
1c38ff73
JM
5680 * math/libm-test.inc (struct test_cc_c_data): New type.
5681 (RUN_TEST_LOOP_cc_c): New macro.
5682 (cpow_test_data): New variable.
5683 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
5684
15c7c18d
JM
5685 * math/libm-test.inc (struct test_f_L_data): New type.
5686 (RUN_TEST_LOOP_f_L): New macro.
5687 (llrint_test_data): New variable.
5688 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
5689 (llrint_tonearest_test_data): New variable.
5690 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
5691 (llrint_towardzero_test_data): New variable.
5692 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
5693 (llrint_downward_test_data): New variable.
5694 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
5695 (llrint_upward_test_data): New variable.
5696 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
5697 (llround_test_data): New variable.
5698 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
5699
f137ff13
PC
57002013-05-13 Peter Collingbourne <pcc@google.com>
5701
5702 * math/atest-exp2.c (get_log2): Remove const attribute.
5703
3608cb24
JM
57042013-05-15 Joseph Myers <joseph@codesourcery.com>
5705
5706 * math/libm-test.inc (struct test_f_l_data): New type.
5707 (RUN_TEST_LOOP_f_l): New macro.
5708 (lrint_test_data): New variable.
5709 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
5710 (lrint_tonearest_test_data): New variable.
5711 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
5712 (lrint_towardzero_test_data): New variable.
5713 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
5714 (lrint_downward_test_data): New variable.
5715 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
5716 (lrint_upward_test_data): New variable.
5717 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
5718 (lround_test_data): New variable.
5719 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
5720
39b1f617
PC
57212013-05-15 Peter Collingbourne <pcc@google.com>
5722
1deff3dc
PC
5723 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
5724 (EXTRACT_WORDS64) Use where appropriate.
5725 (INSERT_WORDS64) Likewise.
5726
791f3ba0
PC
5727 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
5728 constraints with x constraints.
5729 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
5730
39b1f617
PC
5731 * malloc/obstack.c (_obstack_compat): Add initializer.
5732
12fba011
EM
57332013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
5734
5735 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
5736 si_trapno and add si_addr_lsb to _sifields.sigfault.
5737 (si_trapno): Remove macro.
5738 (si_addr_lsb): Define new macro.
5739 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
5740
d369f531
JM
57412013-05-15 Joseph Myers <joseph@codesourcery.com>
5742
b861c6c4
JM
5743 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
5744 instead of TEST_f_l.
5745 (llrint_test_tonearest): Likewise.
5746 (llrint_test_towardzero): Likewise.
5747 (llrint_test_downward): Likewise.
5748 (llrint_test_upward): Likewise.
5749 (llround_test): Likewise.
5750
7abeee12
JM
5751 * math/libm-test.inc (struct test_f_i_data): Add comment.
5752 (RUN_TEST_LOOP_f_b): New macro.
5753 (RUN_TEST_LOOP_f_b_tg): Likewise.
5754 (finite_test_data): New variable.
5755 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
5756 (isfinite_test_data): New variable.
5757 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5758 (isinf_test_data): New variable.
5759 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5760 (isnan_test_data): New variable.
5761 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5762 (isnormal_test_data): New variable.
5763 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5764 (issignaling_test_data): New variable.
5765 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5766 (signbit_test_data): New variable.
5767 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5768
cbe8c4d3
JM
5769 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
5770 with INVALID_EXCEPTION.
5771 (acosh_test_data): Likewise.
5772 (asin_test_data): Likewise.
5773 (atanh_test_data): Likewise.
5774 (fmod_test_data): Likewise.
5775 (log_test_data): Likewise.
5776 (log10_test_data): Likewise.
5777 (log2_test_data): Likewise.
5778 (pow_test_data): Likewise.
5779 (sqrt_test_data): Likewise.
5780 (y0_test_data): Likewise.
5781 (y1_test_data): Likewise.
5782 (yn_test_data): Likewise.
5783
5575c0e5
JM
5784 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
5785 function contents.
5786
d369f531
JM
5787 * math/libm-test.inc (struct test_ff_i_data): New type.
5788 (RUN_TEST_LOOP_ff_i_tg): New macro.
5789 (isgreater_test_data): New variable.
5790 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5791 (isgreaterequal_test_data): New variable.
5792 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5793 (isless_test_data): New variable.
5794 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5795 (islessequal_test_data): New variable.
5796 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5797 (islessgreater_test_data): New variable.
5798 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5799 (isunordered_test_data): New variable.
5800 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5801
781fd748
DM
58022013-05-14 David S. Miller <davem@davemloft.net>
5803
5804 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5805
87aa21df
JM
58062013-05-14 Joseph Myers <joseph@codesourcery.com>
5807
5e908270
JM
5808 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
5809
f71172e5
JM
5810 * math/libm-test.inc (struct test_fF_f1_data): Change type of
5811 extra_test to int.
5812 (struct test_f_i_data): Change type of max_ulp to int.
5813
8cfa635a
JM
5814 * math/libm-test.inc (test_ffI_f1_data): New type.
5815 (RUN_TEST_LOOP_ffI_f1): New macro.
5816 (remquo_test_data): New variable.
5817 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
5818
2bcb36b2
JM
5819 * setjmp/tst-setjmp-fp.c: New file.
5820 * setjmp/Makefile (tests): Add tst-setjmp-fp.
5821 (link-libm): New variable.
5822 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
5823
acbd839a
JM
5824 * math/libm-test.inc (struct test_f_i_data): New type.
5825 (RUN_TEST_LOOP_f_i): New macro.
5826 (RUN_TEST_LOOP_f_i_tg): Likewise.
5827 (fpclassify_test_data): New variable.
5828 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
5829 (ilogb_test_data): New variable.
5830 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
5831
e414d745
JM
5832 * math/libm-test.inc (scalbln_test): Correct function name in END
5833 call.
5834
d9c2a0fd
JM
5835 * math/libm-test.inc (struct test_f_f1_data): Add comment.
5836 (RUN_TEST_LOOP_fI_f1): New macro.
5837 (frexp_test_data): New variable.
5838 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
5839
9dc9095d
JM
5840 * math/libm-test.inc (struct test_fF_f1_data): New type.
5841 (RUN_TEST_LOOP_fF_f1): New macro.
5842 (modf_test_data): New variable.
5843 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
5844
87aa21df
JM
5845 * math/libm-test.inc (struct test_f_f1_data): New type.
5846 (RUN_TEST_LOOP_f_f1): New macro.
5847 (gamma_test_data): New variable.
5848 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
5849 (lgamma_test_data): New variable.
5850 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
5851
141af660
CD
58522013-05-13 Carlos O'Donell <carlos@redhat.com>
5853
5854 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
5855 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
5856 (main): Comment "tls" pseudo-hwcap.
5857
6d33265c
JM
58582013-05-13 Joseph Myers <joseph@codesourcery.com>
5859
68fc074c
JM
5860 * math/libm-test.inc (struct test_fl_f_data): New type.
5861 (RUN_TEST_LOOP_fl_f): New variable.
5862 (scalbln_test_data): New variable.
5863 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
5864
243216e1
JM
5865 * math/libm-test.inc (struct test_fi_f_data): New type.
5866 (RUN_TEST_LOOP_fi_f): New macro.
5867 (ldexp_test_data): New variable.
5868 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
5869 (scalbn_test_data): New variable.
5870 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
5871
6a1992e2
JM
5872 * math/libm-test.inc (struct test_c_f_data): New type.
5873 (RUN_TEST_LOOP_c_f): New macro.
5874 (cabs_test_data): New variable.
5875 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
5876 (carg_test_data): New variable.
5877 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
5878 (cimag_test_data): New variable.
5879 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
5880 (creal_test_data): New variable.
5881 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
5882
0e400df5
JM
5883 * math/libm-test.inc (struct test_if_f_data): New type.
5884 (RUN_TEST_LOOP_if_f): New macro.
5885 (jn_test_data): New variable.
5886 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
5887 (yn_test_data): New variable.
5888 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
5889
6d33265c
JM
5890 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
5891
f98ece5f
AZ
58922013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5893
5894 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
5895 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
5896
0f7d347b
SP
58972013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
5898
43fe811b
SP
5899 * benchtests/Makefile (CPPFLAGS-nonlib): Add
5900 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
5901 (bench-deps): Add bench-timing.h.
5902 * benchtests-bench-skeleton.c: Include bench-timing.h.
5903 (main): Use TIMING_* macros instead of clock_gettime.
5904 * benchtests/bench-timing.h: New file.
5905
0f7d347b
SP
5906 [BZ #14582]
5907 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
5908 Renamed from _LIB_VERSION.
5909 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
5910
601a3a5f
JM
59112013-05-12 Joseph Myers <joseph@codesourcery.com>
5912
4f184d30
JM
5913 * math/libm-test.inc (struct test_fff_f_data): New type.
5914 (RUN_TEST_LOOP_fff_f): New macro.
5915 (fma_test_data): New variable.
5916 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
5917 (fma_towardzero_test_data): New variable.
5918 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
5919 (fma_downward_test_data): New variable.
5920 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
5921 (fma_upward_test_data): New variable.
5922 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
5923
08198877
JM
5924 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
5925 (struct test_c_c_data): New type.
5926 (RUN_TEST_LOOP_c_c): New macro.
5927 (cacos_test_data): New variable.
5928 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
5929 (cacosh_test_data): New variable.
5930 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
5931 (casin_test_data): New variable.
5932 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
5933 (casinh_test_data): New variable.
5934 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
5935 (catan_test_data): New variable.
5936 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
5937 (catanh_test_data): New variable.
5938 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
5939 (ccos_test_data): New variable.
5940 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
5941 (ccosh_test_data): New variable.
5942 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
5943 (cexp_test_data): New variable.
5944 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
5945 (clog_test_data): New variable.
5946 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
5947 (clog10_test_data): New variable.
5948 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
5949 (conj_test_data): New variable.
5950 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
5951 (cproj_test_data): New variable.
5952 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
5953 (csin_test_data): New variable.
5954 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
5955 (csinh_test_data): New variable.
5956 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
5957 (csqrt_test_data): New variable.
5958 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
5959 (ctan_test_data): New variable.
5960 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
5961 (ctan_tonearest_test_data): New variable.
5962 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
5963 (ctan_towardzero_test_data): New variable.
5964 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
5965 (ctan_downward_test_data): New variable.
5966 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
5967 (ctan_upward_test_data): New variable.
5968 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
5969 (ctanh_test_data): New variable.
5970 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
5971 (ctanh_tonearest_test_data): New variable.
5972 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
5973 (ctanh_towardzero_test_data): New variable.
5974 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
5975 (ctanh_downward_test_data): New variable.
5976 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
5977 (ctanh_upward_test_data): New variable.
5978 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
5979 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
5980 of BUILD_COMPLEX.
5981
601a3a5f
JM
5982 * math/libm-test.inc (struct test_ff_f_data): New type.
5983 (struct test_ff_f_data_nexttoward): Likewise.
5984 (RUN_TEST_LOOP_2_f): New macro.
5985 (RUN_TEST_LOOP_ff_f): Likewise.
5986 (atan2_test_data): New variable.
5987 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
5988 (copysign_test_data): New variable.
5989 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
5990 (fdim_test_data): New variable.
5991 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
5992 (fmax_test_data): New variable.
5993 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
5994 (fmin_test_data): New variable.
5995 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
5996 (fmod_test_data): New variable.
5997 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
5998 (hypot_test_data): New variable.
5999 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
6000 (nextafter_test_data): New variable.
6001 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
6002 (nexttoward_test_data): New variable.
6003 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
6004 (pow_test_data): New variable.
6005 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
6006 (pow_tonearest_test_data): New variable.
6007 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
6008 (pow_towardzero_test_data): New variable.
6009 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
6010 (pow_downward_test_data): New variable.
6011 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
6012 (pow_upward_test_data): New variable.
6013 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
6014 (remainder_test_data): New variable.
6015 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
6016 (scalb_test_data): New variable.
6017 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
6018 * sysdeps/i386/fpu/libm-test-ulps: Update.
6019
74c57478
JM
60202013-05-11 Joseph Myers <joseph@codesourcery.com>
6021
8329e4da
JM
6022 * math/libm-test.inc (fma_test): Use max_value instead of local
6023 variable fltmax.
6024 (nextafter_test): Likewise.
6025
74c57478
JM
6026 * math/libm-test.inc (acos_towardzero_test_data): New variable.
6027 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6028 (acos_downward_test_data): New variable.
6029 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6030 (acos_upward_test_data): New variable.
6031 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6032 (acosh_test_data): New variable.
6033 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
6034 (asin_test_data): New variable.
6035 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
6036 (asin_tonearest_test_data): New variable.
6037 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6038 (asin_towardzero_test_data): New variable.
6039 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6040 (asin_downward_test_data): New variable.
6041 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6042 (asin_upward_test_data): New variable.
6043 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6044 (asinh_test_data): New variable.
6045 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
6046 (atan_test_data): New variable.
6047 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
6048 (atanh_test_data): New variable.
6049 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
6050 (cbrt_test_data): New variable.
6051 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
6052 (ceil_test_data): New variable.
6053 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
6054 (cos_test_data): New variable.
6055 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
6056 (cos_tonearest_test_data): New variable.
6057 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6058 (cos_towardzero_test_data): New variable.
6059 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6060 (cos_downward_test_data): New variable.
6061 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6062 (cos_upward_test_data): New variable.
6063 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6064 (cosh_test_data): New variable.
6065 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
6066 (cosh_tonearest_test_data): New variable.
6067 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6068 (cosh_towardzero_test_data): New variable.
6069 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6070 (cosh_downward_test_data): New variable.
6071 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6072 (cosh_upward_test_data): New variable.
6073 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6074 (erf_test_data): New variable.
6075 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
6076 (erfc_test_data): New variable.
6077 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
6078 (exp_test_data): New variable.
6079 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
6080 (exp_tonearest_test_data): New variable.
6081 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6082 (exp_towardzero_test_data): New variable.
6083 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6084 (exp_downward_test_data): New variable.
6085 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6086 (exp_upward_test_data): New variable.
6087 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6088 (exp10_test_data): New variable.
6089 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
6090 (exp2_test_data): New variable.
6091 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
6092 (expm1_test_data): New variable.
6093 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
6094 (fabs_test_data): New variable.
6095 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
6096 (floor_test_data): New variable.
6097 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
6098 (j0_test_data): New variable.
6099 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
6100 (j1_test_data): New variable.
6101 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
6102 (log_test_data): New variable.
6103 (log_test): Run tests with RUN_TEST_LOOP_f_f.
6104 (log10_test_data): New variable.
6105 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
6106 (log1p_test_data): New variable.
6107 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
6108 (log2_test_data): New variable.
6109 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
6110 (logb_test_data): New variable.
6111 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
6112 (logb_downward_test_data): New variable.
6113 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6114 (nearbyint_test_data): New variable.
6115 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
6116 (rint_test_data): New variable.
6117 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
6118 (rint_tonearest_test_data): New variable.
6119 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6120 (rint_towardzero_test_data): New variable.
6121 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6122 (rint_downward_test_data): New variable.
6123 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6124 (rint_upward_test_data): New variable.
6125 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6126 (round_test_data): New variable.
6127 (round_test): Run tests with RUN_TEST_LOOP_f_f.
6128 (sin_test_data): New variable.
6129 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
6130 (sin_tonearest_test_data): New variable.
6131 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6132 (sin_towardzero_test_data): New variable.
6133 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6134 (sin_downward_test_data): New variable.
6135 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6136 (sin_upward_test_data): New variable.
6137 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6138 (sinh_test_data): New variable.
6139 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
6140 (sinh_tonearest_test_data): New variable.
6141 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6142 (sinh_towardzero_test_data): New variable.
6143 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6144 (sinh_downward_test_data): New variable.
6145 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6146 (sinh_upward_test_data): New variable.
6147 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6148 (sqrt_test_data): New variable.
6149 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
6150 (tan_test_data): New variable.
6151 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
6152 (tan_tonearest_test_data): New variable.
6153 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6154 (tan_towardzero_test_data): New variable.
6155 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6156 (tan_downward_test_data): New variable.
6157 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6158 (tan_upward_test_data): New variable.
6159 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6160 (tanh_test_data): New variable.
6161 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
6162 (tgamma_test_data): New variable.
6163 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
6164 (trunc_test_data): New variable.
6165 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
6166 (y0_test_data): New variable.
6167 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
6168 (y1_test_data): New variable.
6169 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
6170 (significand_test_data): New variable.
6171 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
6172
7187d844
CG
61732013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
6174
6175 [BZ #12387]
6176 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
6177
f63fae73
PT
61782013-05-10 Pino Toscano <toscano.pino@tiscali.it>
6179
6180 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
6181
8a67a4b3
AJ
61822013-05-10 Andreas Jaeger <aj@suse.de>
6183
6184 [BZ #15448]
6185 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
6186 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
6187
51df539d
JM
61882013-05-10 Joseph Myers <joseph@codesourcery.com>
6189
6190 * math/gen-libm-test.pl (adjust_arg): New function.
6191 (special_functions): Handle generating output in both functions
6192 and arrays.
6193 (parse_args): Likewise.
6194 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
6195 $in_func argument to parse_args.
6196 * math/libm-test.inc (struct test_f_f_data): New type.
6197 (IF_ROUND_INIT_): New macro.
6198 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
6199 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
6200 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
6201 (IF_ROUND_INIT_FE_UPWARD): Likewise.
6202 (ROUND_RESTORE_): Likewise.
6203 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
6204 (ROUND_RESTORE_FE_TONEAREST): Likewise.
6205 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
6206 (ROUND_RESTORE_FE_UPWARD): Likewise.
6207 (RUN_TEST_LOOP_f_f): New macro.
6208 (acos_test_data): New variable.
6209 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
6210 (acos_tonearest_test_data): New variable.
6211 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6212
5c637fe5
SP
62132013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6214
6215 * benchtests/bench-skeleton.c (startup): Fix coding style.
6216
ab2b9461
JM
62172013-05-10 Joseph Myers <joseph@codesourcery.com>
6218
6219 [BZ #6809]
6220 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
6221 negative infinity argument.
6222 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
6223 negative infinity argument.
6224 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
6225 negative infinity argument.
6226 * math/libm-test.inc (tgamma_test): Expect errno to be set for
6227 domain errors.
6228
4c0fe6fe
FW
62292013-05-10 Florian Weimer <fweimer@redhat.com>
6230
6231 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
6232 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
6233 * iconv/iconv_prog.c (main): Likewise.
6234 * locale/programs/charmap-dir.c (charmap_readdir)
6235 (fopen_uncompressed): Likewise.
6236 * locale/programs/locfile.c (siblings_uncached)
6237 (write_locale_data): Use lstat64 instead of lstat.
6238 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
6239 stat.
6240
a3375d29
AJ
62412013-05-10 Andreas Jaeger <aj@suse.de>
6242
6243 [BZ #15395]
6244 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
6245 localization.
6246 Include <locale.h>.
6247
36129722
CD
62482013-05-09 Carlos O'Donell <carlos@redhat.com>
6249
6250 * elf/dl-close.c (_dl_close_worker): Add comments.
6251
faa7f811
JM
62522013-05-09 Joseph Myers <joseph@codesourcery.com>
6253
ed41ffef
JM
6254 [BZ #15359]
6255 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
6256 high part of pi/2.
6257 (__ieee754_rem_pio2l): Update comments.
6258
d0213cd0
JM
6259 [BZ #15429]
6260 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
6261 high part of pi/2.
6262 (__ieee754_rem_pio2l): Update comments.
6263
0d3e777a
JM
6264 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
6265 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
6266
24f56066
JM
6267 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
6268 M_PI_4l.
6269
faa7f811
JM
6270 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
6271 (M_PI_34_LOG10El): Likewise.
6272 (M_PI2_LOG10El): Likewise.
6273 (M_PI4_LOG10El): Likewise.
6274 (M_PI_LOG10El): Likewise.
6275
e9a5e0fd
AZ
62762013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6277
6278 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6279
d8cd06db
JM
62802013-05-08 Joseph Myers <joseph@codesourcery.com>
6281
a0d9f9d7
JM
6282 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
6283 (MINUS_ZERO_INIT): Likewise.
6284 (PLUS_INFTY_INIT): Likewise.
6285 (MINUS_INFTY_INIT): Likewise.
6286 (QNAN_VALUE_INIT): Likewise.
6287 (MAX_VALUE_INIT): Likewise.
6288 (MIN_VALUE_INIT): Likewise.
6289 (MIN_SUBNORM_VALUE_INIT): Likewise.
6290 (plus_zero): Initialize with PLUS_ZERO_INIT.
6291 (minus_zero): Initialize with MINUS_ZERO_INIT.
6292 (plus_infty): Initialize with PLUS_INFTY_INIT.
6293 (minus_infty): Initialize with MINUS_INFTY_INIT.
6294 (qnan_value): Initialize with QNAN_VALUE_INIT.
6295 (max_value): Initialize with MAX_VALUE_INIT.
6296 (min_value): Initialize with MIN_VALUE_INIT.
6297 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
6298
ae08db3b
JM
6299 * math/libm-test.inc (RUN_TEST_if_f): New macro.
6300 (jn_test): Use TEST_if_f instead of TEST_ff_f.
6301 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
6302 (yn_test): Use TEST_if_f instead of TEST_ff_f.
6303
f44bf14a
JM
6304 * math/libm-test.inc (RUN_TEST_f_f): New macro.
6305 (RUN_TEST_2_f): Likewise.
6306 (RUN_TEST_ff_f): Likewise.
6307 (RUN_TEST_fi_f): Likewise.
6308 (RUN_TEST_fl_f): Likewise.
6309 (RUN_TEST_fff_f): Likewise.
6310 (RUN_TEST_c_f): Likewise.
6311 (RUN_TEST_f_f1): Likewise.
6312 (RUN_TEST_fF_f1): Likewise.
6313 (RUN_TEST_fI_f1): Likewise.
6314 (RUN_TEST_ffI_f1): Likewise.
6315 (RUN_TEST_c_c): Likewise.
6316 (RUN_TEST_cc_c): Likewise.
6317 (RUN_TEST_f_i): Likewise.
6318 (RUN_TEST_f_i_tg): Likewise.
6319 (RUN_TEST_ff_i_tg): Likewise.
6320 (RUN_TEST_f_b): Likewise.
6321 (RUN_TEST_f_b_tg): Likewise.
6322 (RUN_TEST_f_l): Likewise.
6323 (RUN_TEST_f_L): Likewise.
6324 (RUN_TEST_sincos): Likewise.
6325 * math/gen-libm-test.pl (new_test): Take new argument to indicate
6326 whether to show exceptions. Do not include ");\n" in return
6327 value.
6328 (special_functions): Output call to RUN_TEST_sincos instead of
6329 check_float calls. Update calls to new_test.
6330 (parse_args): Output call to single RUN_TEST_* macro instead of
6331 check_* calls and other assignments. Update calls to new_test.
6332
d8cd06db
JM
6333 [BZ #2546]
6334 [BZ #2560]
6335 [BZ #5159]
6336 [BZ #15426]
6337 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
6338 input to result for tgamma overflow.
6339 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
6340 (gamma_coeff): New variable.
6341 (NCOEFF): New macro.
6342 (gamma_positive): New function.
6343 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
6344 underflow here. Use gamma_positive instead of exp (lgamma) for
6345 other arguments.
6346 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
6347 (gamma_coeff): New variable.
6348 (NCOEFF): New macro.
6349 (gammaf_positive): New function.
6350 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
6351 underflow here. Use gamma_positive instead of exp (lgamma) for
6352 other arguments.
6353 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
6354 (gamma_coeff): New variable.
6355 (NCOEFF): New macro.
6356 (gammal_positive): New function.
6357 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
6358 underflow here. Use gamma_positive instead of exp (lgamma) for
6359 other arguments.
6360 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
6361 (gamma_coeff): New variable.
6362 (NCOEFF): New macro.
6363 (gammal_positive): New function.
6364 (__ieee754_gammal_r): Handle positive infinity, overflow and
6365 underflow here. Handle NaN the same as positive infinity. Remove
6366 check x < 0xffffffff for negative integers. Use gamma_positive
6367 instead of exp (lgamma) for other arguments.
6368 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
6369 (gamma_coeff): New variable.
6370 (NCOEFF): New macro.
6371 (gammal_positive): New function.
6372 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
6373 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
6374 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
6375 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
6376 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
6377 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
6378 * sysdeps/generic/math_private.h (__gamma_productf): New
6379 prototype.
6380 (__gamma_product): Likewise.
6381 (__gamma_productl): Likewise.
6382 * math/Makefile (libm-calls): Add gamma_product.
6383 * math/libm-test.inc (tgamma_test): Add more tests.
6384 * sysdeps/i386/fpu/libm-test-ulps: Update.
6385 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6386
bb7cf681
OB
63872013-05-08 Ondřej Bílka <neleai@seznam.cz>
6388
6389 * benchtests/bench-skeleton.c (main): Preheat CPU.
6390
ba853947
AJ
63912013-05-07 Aurelien Jarno <aurelien@aurel32.net>
6392
6393 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
6394
8347c74c
RM
63952013-05-07 Roland McGrath <roland@hack.frob.com>
6396
6397 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
6398 and _dl_skip_args_internal.
6399
e8dd4791
CD
64002013-05-07 Carlos O'Donell <carlos@redhat.com>
6401
6402 * manual/message.texi (Message Translation): Talk about users.
6403 Message to key mapping impacts design.
6404
c7405830
RM
64052013-05-06 Roland McGrath <roland@hack.frob.com>
6406
a9173057
RM
6407 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
6408
976e2f03
RM
6409 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
6410
9723ffc5
RM
6411 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
6412 * sysdeps/wordsize-64/glob64.c: ... here.
6413
962e6658
RM
6414 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
6415 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
6416 New macros.
6417
ee586a6d
RM
6418 * debug/getlogin_r_chk.c: Moved to ...
6419 * login/getlogin_r_chk.c: ... here.
6420 * debug/Makefile (routines): Move getlogin_r_chk to ...
6421 * login/Makefile (routines): ... here.
6422 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
6423 * login/Versions (libc: GLIBC_2.4): ... here.
6424
355f9165
RM
6425 * io/poll.c (__poll): Renamed from poll.
6426 Add libc_hidden_def.
6427 (poll): Define as weak alias.
6428
bd9ffde6
RM
6429 * debug/ptsname_r_chk.c: Moved to ...
6430 * login/ptsname_r_chk.c: ... here.
6431 * debug/Makefile (routines): Move ptsname_r_chk to ...
6432 * login/Makefile (routines): ... here.
6433 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
6434 * login/Versions (libc: GLIBC_2.4): ... here.
6435
8fb16a04
RM
6436 * posix/getlogin.c: Moved to ...
6437 * login/getlogin.c: ... here.
6438 * posix/getlogin_r.c: Moved to ...
6439 * login/getlogin_r.c: ... here.
6440 * posix/getlogin_r.c: Moved to ...
6441 * login/getlogin_r.c: ... here.
6442 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
6443 * login/Makefile (routines): ... here.
6444 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
6445 * login/Versions (libc: GLIBC_2.0): ... here.
6446
b99b892f
RM
6447 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
6448 (setrlimit): Define as weak alias.
6449
c7405830
RM
6450 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
6451 Call __ names for open, ftruncate, and close.
6452 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
6453 (truncate): Define as weak alias.
6454
5bf96de5
JM
64552013-05-06 Joseph Myers <joseph@codesourcery.com>
6456
9ea3513c
JM
6457 * math/gen-libm-test.pl (parse_args): Initialize x before each
6458 test of frexp, modf and remquo.
6459
5bf96de5
JM
6460 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
6461 test signgam value.
6462
16e616a7
AZ
64632013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6464
6465 [BZ #15418]
6466 [BZ #15419]
6467 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
6468 internal tests.
6469 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6470
d5e82754
RM
64712013-05-06 Roland McGrath <roland@hack.frob.com>
6472
6473 * elf/dl-writev.h: New file.
6474 * elf/dl-misc.c: Include it.
6475 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
6476 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
6477
a7548d41
JM
64782013-05-04 Joseph Myers <joseph@codesourcery.com>
6479
b7dab1e4
JM
6480 * math/libm-test.inc (noXFails): Remove variable.
6481 (noXPasses): Likewise.
6482 (BUILD_COMPLEX_INT): Remove macro.
6483 (print_screen): Remove xfail argument.
6484 (print_screen_max_error): Likewise.
6485 (update_stats): Likewise.
6486 (print_max_error): Likewise. Update calls to other affected
6487 functions.
6488 (print_complex_max_error): Likewise.
6489 (test_single_exception): Update calls to print_screen.
6490 (test_single_errno): Likewise.
6491 (check_float_internal): Remove xfail argument. Update calls to
6492 other affected functions.
6493 (check_float): Likewise.
6494 (check_complex): Likewise.
6495 (check_int): Likewise.
6496 (check_long): Likewise.
6497 (check_bool): Likewise.
6498 (check_longlong): Likewise.
6499 (main): Don't print noXFails and noXPasses.
6500 * math/gen-libm-test.pl (top level): Don't mention expected
6501 failure handling in comment.
6502 (new_test): Don't handle expected failures.
6503 (parse_args): Don't mention expected failure handling in comment.
6504 (generate_testfile): Don't handle expected failures.
6505 (parse_ulps): Likewise.
6506 (print_ulps_file): Likewise.
6507 (get_failure): Remove function.
6508 (output_test): Don't handle expected failures.
6509 * make/README.libm-test: Don't mention expected failure handling.
6510
a7548d41
JM
6511 * math/libm-test.inc (plus_zero): Make const. Add initializer.
6512 (minus_zero): Likewise.
6513 (plus_infty): Likewise.
6514 (minus_infty): Likewise.
6515 (qnan_value): Likewise.
6516 (max_value): Likewise.
6517 (min_value): Likewise.
6518 (min_subnorm_value): Likewise.
6519 (initialize): Do not initialize those variables dynamically.
6520
60bfd54c
RM
65212013-05-03 Roland McGrath <roland@hack.frob.com>
6522
cc0e6ed8
RM
6523 * io/open.c (__open_2): Moved to ...
6524 * io/open_2.c: ... this new file.
6525 * io/open64.c (__open64_2): Moved to ...
6526 * io/open64_2.c: ... this new file.
6527 * io/openat.c (__openat_2): Moved to ...
6528 * io/openat_2.c: ... this new file.
6529 * io/openat64.c (__openat64_2): Moved to ...
6530 * io/openat64_2.c: ... this new file.
6531 * io/Makefile (routines): Add them.
6532 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
6533 * sysdeps/unix/sysv/linux/open_2.c: File removed.
6534 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
6535 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
6536 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
6537 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
6538 (__openat64): Add hidden_ver.
6539 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
6540 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
6541
60bfd54c
RM
6542 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
6543 Separately conditionalize setting of GLRO(dl_sysinfo) so
6544 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
6545 as well, but the actual setting is only under [NEED_DL_SYSINFO].
6546
83e7640f
AZ
65472013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6548
6549 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
6550 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
6551 definition.
6552 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
6553 * sysdeps/unix/sysv/linux/powerpc/init-first.c
6554 (_libc_vdso_platform_setup): Add __vdso_time initialization.
6555 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
6556 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
6557
d5dc2af3
JM
65582013-05-03 Joseph Myers <joseph@codesourcery.com>
6559
c31a5b1e
JM
6560 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
6561 test signgam value.
6562
d5dc2af3
JM
6563 * math/libm-test.inc (hypot_test): Do not use
6564 IGNORE_ZERO_INF_SIGN.
6565
164fd39d
AJ
65662013-05-03 Andreas Jaeger <aj@suse.de>
6567
6568 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
6569 Linux 3.9.
6570 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
6571 (PF_MAX): Adjust for VSOCK change.
6572
8237f48c
AZ
65732013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6574
6575 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6576
9df02941
CD
65772013-05-02 Carlos O'Donell <carlos@redhat.com>
6578
6579 [BZ #15264]
6580 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
6581 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
6582 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
6583
d422395e
DM
65842013-05-02 David S. Miller <davem@davemloft.net>
6585
6586 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6587
a07c5731
OB
65882013-05-01 Ondřej Bílka <neleai@seznam.cz>
6589
6590 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
6591
1324e37f
RM
65922013-05-01 Roland McGrath <roland@hack.frob.com>
6593
6594 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
6595
0695940b
RS
65962013-05-01 Richard Smith <richard@metafoo.co.uk>
6597
bb5f27ad 6598 [BZ #14952]
0695940b
RS
6599 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
6600 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
6601 Use __attribute__ ((__gnu_inline__)).
6602 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
6603 Don't use __attribute__ ((__gnu_inline__)).
6604
10de07f5
JM
66052013-05-01 Joseph Myers <joseph@codesourcery.com>
6606
6607 [BZ #15423]
6608 * math/s_catan.c (__catan): Handle small real or imaginary part of
6609 input specially to avoid spurious underflow.
6610 * math/s_catanf.c (__catanf): Likewise.
6611 * math/s_catanh.c (__catanh): Likewise.
6612 * math/s_catanhf.c (__catanhf): Likewise.
6613 * math/s_catanhl.c (__catanhl): Likewise.
6614 * math/s_catanl.c (__catanl): Likewise.
6615 * math/libm-test.inc (catan_test): Add more tests.
6616 (catanh_test): Likewise.
6617 * sysdeps/i386/fpu/libm-test-ulps: Update.
6618 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6619
cb4d5414
AZ
66202013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6621
6622 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6623
caf84319
JM
66242013-04-30 Joseph Myers <joseph@codesourcery.com>
6625
6626 [BZ #15416]
6627 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
6628 accurately for denominator in atan2.
6629 * math/s_catanf.c (__catanf): Likewise.
6630 * math/s_catanh.c (__catanh): Likewise.
6631 * math/s_catanhf.c (__catanhf): Likewise.
6632 * math/s_catanhl.c (__catanhl): Likewise.
6633 * math/s_catanl.c (__catanl): Likewise.
6634 * math/libm-test.inc (catan_test): Add more tests.
6635 (catanh_test): Likewise.
6636 * sysdeps/i386/fpu/libm-test-ulps: Update.
6637 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6638
d569c6ee
SP
66392013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6640
6dbe713d
SP
6641 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
6642
f0ee064b
SP
6643 * benchtests/Makefile (bench): Remove slow benchmarks.
6644 * benchtests/atan-inputs: Add slow benchmark inputs.
6645 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
6646 (BENCH_FUNC): Accept variant offset.
6647 (VARIANT): Define.
6648 * benchtests/bench-skeleton.c (main): Run benchmark for each
6649 variant.
6650 * benchtests/cos-inputs: Add slow benchmark inputs.
6651 * benchtests/exp-inputs: Likewise.
6652 * benchtests/pow-inputs: Likewise.
6653 * benchtests/sin-inputs: Likewise.
6654 * benchtests/slowatan-inputs: Remove.
6655 * benchtests/slowatan.c: Remove.
6656 * benchtests/slowcos-inputs: Remove.
6657 * benchtests/slowcos.c: Remove.
6658 * benchtests/slowexp-inputs: Remove.
6659 * benchtests/slowexp.c: Remove.
6660 * benchtests/slowpow-inputs: Remove.
6661 * benchtests/slowpow.c: Remove.
6662 * benchtests/slowsin-inputs: Remove.
6663 * benchtests/slowsin.c: Remove.
6664 * benchtests/slowtan-inputs: Remove.
6665 * benchtests/slowtan.c: Remove.
6666 * benchtests/tan-inputs: Add slow benchmark inputs.
6667 * scripts/bench.pl: Parse comments and directives.
6668
d569c6ee
SP
6669 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
6670 in CPPFLAGS.
6671 ($(objpfx)bench-%.c): Remove *-ITER.
6672 * benchtests/bench-modf.c: Remove definition of ITER.
6673 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
6674 (main): Loop for DURATION seconds instead of fixed number of
6675 iterations.
6676 * scripts/bench.pl: Don't expect iterations in parameters.
6677
a6a242fe
RM
66782013-04-29 Roland McGrath <roland@hack.frob.com>
6679
6680 * io/fchdir.c (__fchdir): Renamed from fchdir.
6681 (fchdir): Define as weak alias.
6682
f2da7793
JM
66832013-04-29 Joseph Myers <joseph@codesourcery.com>
6684
6685 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
6686 (ERRNO_EDOM): Likewise.
6687 (ERRNO_ERANGE): Likewise.
6688 (noErrnoTests): New variable.
6689 (init_max_error): Set errno to 0.
6690 (test_single_errno): New function.
6691 (test_errno): Likewise.
6692 (check_float_internal): Call test_errno. Set errno to 0.
6693 (check_complex): Refer to errno tests in comment.
6694 (check_int): Call test_errno. Set errno to 0.
6695 (check_long): Likewise.
6696 (check_bool): Likewise.
6697 (check_longlong): Likewise.
6698 (cos_test): Use ERRNO_* flags for errno tests instead of
6699 check_int.
6700 (expm1_test): Likewise.
6701 (fmod_test): Likewise.
6702 (ilogb_test): Likewise.
6703 (lgamma_test): Likewise.
6704 (pow_test): Likewise.
6705 (remainder_test): Likewise.
6706 (sin_test): Likewise.
6707 (tan_test): Likewise.
6708 (yn_test): Likewise.
6709 (initialize): Set errno to 0.
6710 (main): Print number of errno tests.
6711 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
6712
b1a36ceb
AJ
67132013-04-29 Andreas Jaeger <aj@suse.de>
6714
c3ed8088
AJ
6715 [BZ #15084]
6716 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
6717 and RES_USEVC.
6718
f1a24198
AJ
6719 [BZ #15085]
6720 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
6721 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
6722 unimplemented.
6723
9ce3b2cb
AJ
6724 [BZ #15380]
6725 * stdlib/random.c (__initstate): Return NULL if
6726 __initstate fails.
6727
f1a24198 6728 [BZ #15086]
b1a36ceb
AJ
6729 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
6730 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
6731 RES_SNGLKUPREOP.
6732
7e7b6f36
AZ
67332013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6734
6735 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6736
4d14f449
JM
67372013-04-29 Joseph Myers <joseph@codesourcery.com>
6738
6739 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
6740 of individual tests.
6741 (casin_test): Likewise.
6742 (casinh_test): Likewise.
6743
5b4217d7
JM
67442013-04-27 Joseph Myers <joseph@codesourcery.com>
6745
6746 [BZ #15409]
6747 * math/s_catan.c (__catan): Handle arguments with large real or
6748 imaginary part separately without squaring.
6749 * math/s_catanf.c (__catanf): Likewise.
6750 * math/s_catanh.c (__catanh): Likewise.
6751 * math/s_catanhf.c (__catanhf): Likewise.
6752 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
6753 and redefine.
6754 (__catanhl): Handle arguments with large real or imaginary part
6755 separately without squaring.
6756 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
6757 and redefine.
6758 (__catanl): Handle arguments with large real or imaginary part
6759 separately without squaring.
6760 * math/libm-test.inc (catan_test): Add more tests.
6761 (catanh_test): Likewise.
6762 * sysdeps/i386/fpu/libm-test-ulps: Update.
6763 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6764
4220c3ef
AJ
67652013-04-27 Andreas Jaeger <aj@suse.de>
6766
6767 [BZ #15007]
6768 * stdlib/stdlib.h: Update guards for qecvt.
6769 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
6770 <stdlib.h>.
6771
4721b2d1
AM
67722013-04-27 Allan McRae <allan@archlinux.org>
6773
6774 * sysdeps/i386/fpu/libm-test-ulps: Update.
6775
f0302940
JM
67762013-04-26 Joseph Myers <joseph@codesourcery.com>
6777
9457fd95
JM
6778 [BZ #15406]
6779 * math/s_catan.c: Include <float.h>.
6780 (__catan): Ensure underflow exception occurs for underflowed
6781 result.
6782 * math/s_catanf.c: Include <float.h>.
6783 (__catanf): Ensure underflow exception occurs for underflowed
6784 result.
6785 * math/s_catanh.c: Include <float.h>.
6786 (__catanh): Ensure underflow exception occurs for underflowed
6787 result.
6788 * math/s_catanhf.c: Include <float.h>.
6789 (__catanhf): Ensure underflow exception occurs for underflowed
6790 result.
6791 * math/s_catanhl.c: Include <float.h>.
6792 (__catanhl): Ensure underflow exception occurs for underflowed
6793 result.
6794 * math/s_catanl.c: Include <float.h>.
6795 (__catanl): Ensure underflow exception occurs for underflowed
6796 result.
6797 * math/libm-test.inc (catan_test): Add more tests.
6798 (catanh_test): Likewise.
6799
f0302940
JM
6800 [BZ #15405]
6801 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
6802 underflowed result.
6803 * math/s_ccoshf.c (__ccoshf): Likewise.
6804 * math/s_ccoshl.c (__ccoshl): Likewise.
6805 * math/s_csin.c (__csin): Likewise.
6806 * math/s_csinf.c (__csinf): Likewise.
6807 * math/s_csinh.c (__csinh): Likewise.
6808 * math/s_csinhf.c (__csinhf): Likewise.
6809 * math/s_csinhl.c (__csinhl): Likewise.
6810 * math/s_csinl.c (__csinl): Likewise.
6811 * math/libm-test.inc (ccos_test): Add more tests.
6812 (ccosh_test): Likewise.
6813 (csin_test): Likewise.
6814 (csinh_test): Likewise.
6815
aa630f59
AZ
68162013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6817
6818 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
6819 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
6820 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
6821 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
6822 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
6823 powerpc/power5+/fpu folders.
6824 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
6825
6826
1b835983
MT
68272013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
6828
6829 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6830
73709b26
JM
68312013-04-25 Joseph Myers <joseph@codesourcery.com>
6832
6833 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
6834 additions to variable.
6835 [$(config-machine) = x86_64] (modules-names): Likewise.
6836 ($(objpfx)tst-audit3): Remove dependency.
6837 ($(objpfx)tst-audit3.out): Likewise.
6838 ($(objpfx)tst-audit4): Likewise.
6839 ($(objpfx)tst-audit4.out): Likewise.
6840 ($(objpfx)tst-audit5): Likewise.
6841 ($(objpfx)tst-audit5.out): Likewise.
6842 ($(objpfx)tst-audit6): Likewise.
6843 ($(objpfx)tst-audit6.out): Likewise.
6844 ($(objpfx)tst-audit7): Likewise.
6845 ($(objpfx)tst-audit7.out): Likewise.
6846 (tst-audit3-ENV): Remove variable.
6847 (tst-audit4-ENV): Likewise.
6848 (tst-audit5-ENV): Likewise.
6849 (tst-audit6-ENV): Likewise.
6850 (tst-audit7-ENV): Likewise.
6851 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
6852 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
6853 addition to variable.
6854 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
6855 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
6856 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
6857 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
6858 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
6859 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
6860 tst-audit3, tst-audit4 and tst-audit5.
6861 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
6862 tst-audit6 and tst-audit7.
6863 [$(subdir) = elf] (modules-names): Add audit modules for those
6864 tests.
6865 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
6866 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
6867 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
6868 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
6869 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
6870 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
6871 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
6872 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
6873 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
6874 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
6875 [$(subdir) = elf] (tst-audit3-ENV): New variable.
6876 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
6877 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
6878 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
6879 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
6880 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
6881 Likewise.
6882 [$(subdir) = elf && $(config-cflags-avx) = yes]
6883 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
6884 [$(subdir) = elf && $(config-cflags-avx) = yes]
6885 (CFLAGS-tst-auditmod4a.c): Likewise.
6886 [$(subdir) = elf && $(config-cflags-avx) = yes]
6887 (CFLAGS-tst-auditmod4b.c): Likewise.
6888 [$(subdir) = elf && $(config-cflags-avx) = yes]
6889 (CFLAGS-tst-auditmod6b.c): Likewise.
6890 [$(subdir) = elf && $(config-cflags-avx) = yes]
6891 (CFLAGS-tst-auditmod6c.c): Likewise.
6892 [$(subdir) = elf && $(config-cflags-avx) = yes]
6893 (CFLAGS-tst-auditmod7b.c): Likewise.
6894 * elf/tst-audit3.c: Move to ...
6895 * sysdeps/x86_64/tst-audit3.c: ... here.
6896 * elf/tst-audit4.c: Move to ...
6897 * sysdeps/x86_64/tst-audit4.c: ... here.
6898 * elf/tst-audit5.c: Move to ...
6899 * sysdeps/x86_64/tst-audit5.c: ... here.
6900 * elf/tst-audit6.c: Move to ...
6901 * sysdeps/x86_64/tst-audit6.c: ... here.
6902 * elf/tst-audit7.c: Move to ...
6903 * sysdeps/x86_64/tst-audit7.c: ... here.
6904 * elf/tst-auditmod3a.c: Move to ...
6905 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
6906 * elf/tst-auditmod3b.c: Move to ...
6907 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
6908 * elf/tst-auditmod4a.c: Move to ...
6909 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
6910 * elf/tst-auditmod4b.c: Move to ...
6911 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
6912 * elf/tst-auditmod5a.c: Move to ...
6913 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
6914 * elf/tst-auditmod5b.c: Move to ...
6915 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
6916 * elf/tst-auditmod6a.c: Move to ...
6917 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
6918 * elf/tst-auditmod6b.c: Move to ...
6919 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
6920 * elf/tst-auditmod6c.c: Move to ...
6921 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
6922 * elf/tst-auditmod7a.c: Move to ...
6923 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
6924 * elf/tst-auditmod7b.c: Move to ...
6925 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
6926
1ef74943
PP
69272013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
6928
6929 [BZ #15366]
6930 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
6931 define unconditionally.
6932 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
6933 define unconditionally.
6934 (INT8_C, INT16_C, etc.): Likewise.
6935
93fd48c5
MR
69362013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
6937
ae9552cf
MR
6938 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
6939 __ehdr_start with hidden visibility.
6940
93fd48c5
MR
6941 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
6942
418601aa
CD
69432013-04-24 Carlos O'Donell <carlos@redhat.com>
6944
6945 * math/libm-test.inc (cos_test): Use accurate hex constants.
6946 (sincost_test): Likewise.
6947
2f38fbfe
JM
69482013-04-24 Joseph Myers <joseph@codesourcery.com>
6949
5e221800
JM
6950 * math/libm-test.inc (catan_test): Add more tests.
6951 (catanh_test): Likewise.
6952
77f143fd
JM
6953 * math/s_catanf.c (__catanf): Use suffixed floating-point
6954 constants.
6955 * math/s_catanhf.c (__catanhf): Likewise.
6956 * math/s_catanhl.c (__catanhl): Likewise.
6957 * math/s_catanl.c (__catanl): Likewise.
6958
2f38fbfe
JM
6959 [BZ #15394]
6960 * math/s_catan.c (__catan): Calculate imaginary part of result
6961 with log1p not log unless computing log of number close to 0.
6962 * math/s_catanf.c (__catanf): Likewise.
6963 * math/s_catanl.c (__catanl): Likewise.
6964 * math/s_catanh.c (__catanh): Calculate real part of result with
6965 log1p not log unless computing log of number close to 0.
6966 * math/s_catanhf.c (__catanhf): Likewise.
6967 * math/s_catanhl.c (__catanhl): Likewise.
6968 * math/libm-test.inc (catan_test): Add more tests.
6969 (catanh_test): Likewise.
6970 * sysdeps/i386/fpu/libm-test-ulps: Update.
6971 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6972
45d69176
SP
69732013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6974
6975 * benchtests/Makefile: Mention files in which fast and slow
6976 paths of math functions are implemented.
6977
87f51853
RM
69782013-04-23 Roland McGrath <roland@hack.frob.com>
6979
6980 * sysdeps/posix/timespec_get.c: New file.
6981
3c026539
AZ
69822013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6983
6984 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
6985 POWER.
6986 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
6987 for POWER.
6988 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
6989 powerpc/power5/fpu folders.
6990 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
6991 * benchtests/Makefile: Add modf testcase.
6992 * benchtests/bench-modf.c: New file: Benchmark test for mo
6993
ff491d14
SP
69942013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
6995
6996 [BZ #14888]
6997 * time/Makefile (tests): Add tst-strptime-whitespace.
6998 * time/strptime_l.c (get_number): Use ISSPACE.
6999 (__strptime_internal): Likewise.
7000 * time/tst-strptime-whitespace.c: New test case.
7001
7ed3f4e8
AS
70022013-04-23 Andreas Schwab <schwab@linux-m68k.org>
7003
7004 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
7005 member.
7006 (_nss_files_init): Set it here.
7007
5c95f7b6
HC
70082013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
7009
7010 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
7011 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
7012 unsigned.
7013
d34c9158
JBG
70142013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
7015
7016 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
7017
2169712d
SP
70182013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7019
7020 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
7021 size just once.
7022
29c5de99
DM
70232013-04-21 David S. Miller <davem@davemloft.net>
7024
7025 * po/ru.po: Update Russion translation from translation project.
7026
ccdad15d
AC
70272013-04-17 Adam Conrad <adconrad@0c3.net>
7028
7029 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
7030 and setfsgid.
7031
0f122b8d
CD
70322013-04-17 Carlos O'Donell <carlos@redhat.com>
7033
5c5b07da 7034 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 7035 * configure: Regenerate.
5c5b07da 7036 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
7037 Add example to error message.
7038 * sysdeps/i386/configure: Regenerate.
7039
037714dd
SP
70402013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7041
7042 * benchtests/Makefile (bench): Add cos, tan, slowcos and
7043 slowtan.
7044 * benchtests/cos-inputs: New file.
7045 * benchtests/slowcos-inputs: New file.
7046 * benchtests/slowcos.c: New file.
7047 * benchtests/slowtan-inputs: New file.
7048 * benchtests/slowtan.c: New file.
7049 * benchtests/tan-inputs: New file.
7050
e913141d
RM
70512013-04-16 Roland McGrath <roland@hack.frob.com>
7052
7053 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
7054 considered kosher.
7055
a2964074
SP
70562013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7057
4856bcd2
SP
7058 * benchtests/Makefile: Include cppflags-iterator.mk to add
7059 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
7060
a2964074
SP
7061 * Makefile.in (bench-clean): New target.
7062 * benchtests/Makefile (bench-clean): Likewise.
7063
9fbf9aca
DH
70642013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
7065
7066 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
7067
207d1e2a
TS
70682013-04-15 Thomas Schwinge <thomas@codesourcery.com>
7069
7070 * stdio-common/tstdiomisc.c: Fix coding-style violation.
7071
306dfba9
AS
70722013-04-15 Andreas Schwab <schwab@suse.de>
7073
7074 * nscd/grpcache.c (cache_addgr): Properly check for short write.
7075 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7076 * nscd/pwdcache.c (cache_addpw): Likewise.
7077 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
7078 more than recsize.
7079
206a6699
SP
70802013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7081
7082 * benchtests/Makefile (bench): Write all output to
7083 bench-out.tmp together.
7084
0582f6b3
AS
70852013-04-15 Andreas Schwab <schwab@suse.de>
7086
7087 * nscd/nscd.c (main): Don't fork again after closing files.
7088
acb4325f
SP
70892013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7090
5cb26d0a
SP
7091 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
7092
acb4325f
SP
7093 * benchtests/Rules (bench-deps): Collect dependencies into a
7094 single variable. Add Makefile to dependencies.
7095 ($(objpfx)bench-%.c): Depend on bench-deps.
7096
47792506
RM
70972013-04-12 Roland McGrath <roland@hack.frob.com>
7098 Xavier Roche <roche+kml2@exalead.com>
7099
7100 [BZ #15361]
7101 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
7102 just that it's a file descriptor.
7103 * manual/llio.texi (Synchronizing AIO Operations): Update description
7104 for EBADF error from aio_fsync.
7105
8fc1bee5
SP
71062013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7107
7108 * Rules (bench): Move target definition...
7109 * benchtests/Makefile: ... here.
7110
aba5e333
CD
71112013-04-11 Carlos O'Donell <carlos@redhat.com>
7112
7113 * math/libm-test.inc (cos_test): Fix PI/2 test.
7114 (sincos_test): Likewise.
7115 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
7116 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
7117
273cdee8
AS
71182013-04-11 Andreas Schwab <schwab@suse.de>
7119
6ecec3b6
AS
7120 [BZ #13988]
7121 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
7122 accept exponent character only when digits were seen.
7123 * stdio-common/Makefile (tests): Add bug26.
7124 * stdio-common/bug26.c: New file.
7125
273cdee8
AS
7126 [BZ #14293]
7127 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
7128 non-freeable.
7129
8da491f5
SP
71302013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7131
01dc6df9
SP
7132 * Makeconfig (rtld-prefix): Define built linker prefix.
7133 * Rules (run-bench): Use it.
7134 * math/Makefile (run-regen-ulps): Likewise.
7135
8da491f5
SP
7136 * Rules (bench): Remove eval.
7137
abe7f530
SP
71382013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7139 Roland McGrath <roland@hack.frob.com>
7140 Ondrej Bilka <neleai@seznam.cz>
7141
7142 [BZ #15346]
7143 * time/getdate.c: Include ctype.h and alloca.h.
7144 (__getdate_r): Trim leading and trailing spaces of input.
7145 * time/tst-getdate.c (tests): Add tests with leading and
7146 trailing spaces.
7147
61c23e62
RM
71482013-04-08 Roland McGrath <roland@hack.frob.com>
7149
7150 [BZ #14280]
7151 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
7152 when computing value.
7153
7208a313
CD
71542013-04-06 Carlos O'Donell <carlos@redhat.com>
7155
085b2d41
CD
7156 * math/README.libm-test (How can I generate "libm-test-ulps"?):
7157 Use testrun.sh to run libm tests.
7158
7208a313
CD
7159 [BZ #15309]
7160 * elf/dl-open.c (dl_open_worker): memset all of seen array.
7161
872c0acd
MM
71622013-04-06 Marko Myllynen <myllynen@redhat.com>
7163
7164 [BZ #15264]
7165 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
7166
26510bdd
CD
71672013-04-06 Carlos O'Donell <carlos@redhat.com>
7168
7169 * Makefile.in (regen-ulps): New target.
7170 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
7171 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
7172 [ifneq (no,$(PERL)] (regen-ulps): New target.
7173 [ifeq (no,$(PERL)] (regen-ulps): New target.
7174 * math/libm-test.inc (ulps_file_name): Define.
7175 (output_dir): New variable.
7176 (options): Add "output-dir" option.
7177 (parse_opt): Handle 'o' case.
7178 (main): If output_dir is non-NULL use it as a prefix
7179 otherwise use "".
7180 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
7181
a01f19c8
CD
71822013-04-06 Carlos O'Donell <carlos@redhat.com>
7183
7184 [BZ #10060, #10062]
7185 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
7186 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
7187 fail configure if __sync_val_compare_and_swap is not inlined.
7188 * sysdeps/i386/configure: Regenerate.
7189 * configure.in: Build for i686 when configured for i386.
7190 * configure: Regenerate.
7191 * README: Remove i386 reference.
7192
b7a329a5
CD
71932013-04-06 Carlos O'Donell <carlos@redhat.com>
7194
7195 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
7196 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7197
bf0f50df
TS
71982013-04-05 Thomas Schwinge <thomas@codesourcery.com>
7199
ee091edf
TS
7200 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
7201 (lmsnanval): New variables.
7202 (F): Add conversion tests.
7203 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
7204 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
7205
a8b792d6
TS
7206 * stdio-common/tstdiomisc.c (F): Properly collect individual
7207 tests' results.
7208
a1cbf437
TS
7209 [BZ #14686, #15336]
7210 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
7211 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
7212 Instead, use input NaN values or generate a qNaN by arithmetic
7213 operation. Also fix bugs to comply with the standard.
7214 * math/libm-test.inc (remainder_test): Add more tests.
7215
8b43a0c9
TS
7216 [BZ #15335, #15342]
7217 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
7218 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
7219 input NaN values or generate a qNaN by arithmetic operation.
7220
d91da4ce
TS
7221 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
7222 unreachable code.
7223
bf0f50df
TS
7224 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
7225 definitions.
7226
05e166c8
JM
72272013-04-03 Joseph Myers <joseph@codesourcery.com>
7228
7229 [BZ #14478]
7230 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
7231 underflowed result.
7232 * math/s_cexpf.c (__cexpf): Likewise.
7233 * math/s_cexpl.c (__cexpl): Likewise.
7234 * math/libm-test.inc (cexp_test): Add more tests.
7235
1cef1b19
AS
72362013-04-03 Andreas Schwab <schwab@suse.de>
7237
7238 [BZ #15330]
7239 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
7240 order arrays from heap if bigger than alloca cutoff.
7241
74d87055
TS
72422013-04-03 Thomas Schwinge <thomas@codesourcery.com>
7243
7244 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
7245 (SNAN_TESTS_double): Refer to GCC PR56831.
7246 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
7247 GCC PR56828.
7248
d755bba4
SP
72492013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7250
90d5d5bb
SP
7251 * Rules (bench): Move bench.out after the run is complete.
7252
73e0cd5d
SP
7253 * Rules (bench): Echo currently running benchmark.
7254
64aabd4b
SP
7255 * benchtests/Makefile (bench): Add atan and slowatan.
7256 * benchtests/atan-inputs: New file.
7257 * benchtests/slowatan-inputs: New file.
7258 * benchtests/slowatan.c: New file.
7259
c871eccd
SP
7260 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
7261 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
7262 its value.
7263
d755bba4
SP
7264 [BZ #15305]
7265 * sysdeps/unix/sysv/linux/kernel-features.h
7266 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
7267 __ASSUME_XFS_RESTRICTED_CHOWN.
7268 * sysdeps/unix/sysv/linux/pathconf.c
7269 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
7270 Save and restore errno.
7271
52ce4860
JM
72722013-04-02 Joseph Myers <joseph@codesourcery.com>
7273
7274 [BZ #15327]
7275 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
7276 arguments using __kernel_casinh.
7277 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
7278 arguments using __kernel_casinhf.
7279 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
7280 arguments using __kernel_casinhl.
7281 * math/libm-test.inc (cacosh_test): Add more tests.
7282 * sysdeps/i386/fpu/libm-test-ulps: Update.
7283 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7284
81f311c2
SP
72852013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7286
e7906a47
SP
7287 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
7288 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
7289
92e3664b
SP
7290 * bench/Makefile (bench): Add sin and slowsin.
7291 * benchtests/sin-inputs: New file.
7292 * benchtests/slowsin-inputs: New file.
7293 * benchtests/slowsin.c: New file.
7294
81f311c2
SP
7295 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
7296 (bench): Add slowexp and slowpow.
7297 (exp-ITER): Increase iterations.
7298 (pow-ITER): Likewise.
7299 * benchtests/exp-inputs: Change input.
7300 * benchtests/pow-inputs: Likewise.
7301 * benchtests/slowexp-inputs: New file.
7302 * benchtests/slowexp.c: New file.
7303 * benchtests/slowpow-inputs: New file.
7304 * benchtests/slowpow.c: New file.
7305
ab0f1aa9
AZ
73062013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7307
7308 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
7309 instructions.
7310 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
7311 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
7312 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
7313 * benchtests/Makefile: Add rint benchtest.
7314 * benchtests/rint-inputs: Input for rint benchtest.
7315
57267616
TS
73162013-04-02 Thomas Schwinge <thomas@codesourcery.com>
7317
7318 * Versions.def (libm): Add GLIBC_2.18.
7319 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
7320 hidden libm prototypes.
7321 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
7322 * math/Makefile (libm-calls): Add s_issignaling.
7323 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
7324 __issignalingf, __issignalingl. Adjust all libm.abilist files.
7325 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
7326 declaration.
7327 * math/math.h [__USE_GNU] (issignaling): New macro.
7328 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
7329 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
7330 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
7331 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
7332 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
7333 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
7334 * manual/arith.texi (issignaling): New section.
7335 * manual/libm-err-tab.pl (@all_functions): Update comment.
7336 * math/gen-libm-test.pl (parse_args): Apply special handling for
7337 issignaling.
7338 * math/libm-test.inc (print_float, issignaling_test): New
7339 functions.
7340 (check_float_internal): Add issignaling checks.
7341 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
7342 default definition.
7343 * sysdeps/powerpc/math-tests.h: New file.
7344 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
7345 tests.
7346 * math/test-snan.c (TEST_FUNC): Likewise.
7347
6142896d
DM
73482013-03-30 David S. Miller <davem@davemloft.net>
7349
7350 * po/de.po: Update from translation team.
7351
ccc8cadf
JM
73522013-03-30 Joseph Myers <joseph@codesourcery.com>
7353
7354 [BZ #10357]
7355 * math/k_casinh.c (__kernel_casinh): Handle arguments with
7356 imaginary part less than 1.0 and real part less than 0.5
7357 specially.
7358 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7359 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7360 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
7361 (cacos_test): Add more tests.
7362 (casin_test): Likewise.
7363 (casinh_test): Likewise.
7364 * sysdeps/i386/fpu/libm-test-ulps: Update.
7365 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7366
0f6a8d4b
SP
73672013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7368
0d1029de
SP
7369 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
7370 ONE with its value.
7371
c2d94018
SP
7372 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
7373 (__pow_mp): Replace ONE and MONE with their values.
7374 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7375 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
7376 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
7377 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
7378 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7379 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
7380
27ec37f1
SP
7381 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
7382
a64d7e0e
SP
7383 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
7384 (__pow_mp): Replace ZERO and MZERO with their values.
7385 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
7386 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7387 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
7388 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
7389 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7390 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
7391 (__sqr): Likewise.
7392
d26dd3eb
SP
7393 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
7394
0f6a8d4b
SP
7395 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
7396
e57b0c61
RM
73972013-03-28 Roland McGrath <roland@hack.frob.com>
7398
7399 * include/stdlib.h [!SHARED] (__call_tls_dtors):
7400 Declare with __attribute__ ((weak)).
7401 * stdlib/exit.c (__libc_atexit) [!SHARED]:
7402 Call __call_tls_dtors only if it's not NULL.
7403
356b3480
RM
74042013-03-28 Roland McGrath <roland@hack.frob.com>
7405
288f7d79
RM
7406 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
7407 didn't do it already, then set _dl_phdr and _dl_phnum based on the
7408 magic __ehdr_start linker symbol if it's defined.
7409 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
7410 them up here if it was already done.
7411
dc0a0263
RM
7412 * elf/dl-support.c (_dl_phdr): Make pointer to const.
7413 (_dl_aux_init): Use const in cast when setting it.
7414 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
7415 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
7416 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
7417
3d3436ae
RM
7418 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
7419 Declare them here.
7420 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
7421 * csu/libc-tls.c: Nor here.
7422 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
7423
356b3480
RM
7424 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
7425 (__libc_message): Never call vsyslog.
7426
b0f1246a
AM
74272013-03-28 Alan Modra <amodra@gmail.com>
7428
7429 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
7430 Define as empty.
7431 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
7432 Likewise.
7433
fbbe2b9a
AZ
74342013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7435
7436 [BZ #15214]
7437 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
7438 underflow.
7439 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7440
1728ab37
SP
74412013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7442
7a86be6e
SP
7443 [BZ #15304]
7444 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
7445 Don't add gid passed as argument.
7446
1728ab37
SP
7447 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
7448
3a7182a1
JM
74492013-03-27 Joseph Myers <joseph@codesourcery.com>
7450
7451 [BZ #15307]
7452 * math/k_casinh.c (__kernel_casinh): Handle arguments with
7453 imaginary part between 1.0 and 1.5 and real part less than 0.5
7454 specially.
7455 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7456 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7457 * math/libm-test.inc (cacos_test): Add more tests.
7458 (casin_test): Likewise.
7459 (casinh_test): Likewise.
7460 * sysdeps/i386/fpu/libm-test-ulps: Update.
7461 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7462
6f2e90e7
SP
74632013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7464
5739f705
SP
7465 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
7466 constants.
7467 (norm): Likewise.
7468 (denorm): Likewise.
7469 (__dbl_mp): Likewise.
7470 (add_magnitudes): Likewise.
7471 (sub_magnitudes): Likewise.
7472 (__add): Likewise.
7473 (__sub): Likewise.
7474 (__mul): Likewise.
7475 (__sqr): Likewise.
7476 (__inv): Likewise.
7477 (__dvd): Likewise.
7478
e375e83d
SP
7479 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
7480 commented code.
7481 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
7482 (__dubcos): Likewise.
7483 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
7484 (__ieee754_acos): Likewise.
7485 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
7486 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
7487 (__exp1): Likewise.
7488 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7489 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
7490 (log1): Likewise.
7491 (my_log2): Likewise.
7492 (checkint): Likewise.
7493 * sysdeps/ieee754/dbl-64/e_remainder.c
7494 (__ieee754_remainder): Likewise.
7495 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7496 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
7497 (bsloww): Likewise.
7498 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
7499
6f2e90e7
SP
7500 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
7501 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
7502 MANTISSA_STORE_T to store computations on mantissa. Use
7503 macros for rounding and division.
7504 (denorm): Likewise.
7505 (__dbl_mp): Likewise.
7506 (add_magnitudes): Likewise.
7507 (sub_magnitudes): Likewise.
7508 (__mul): Likewise.
7509 (__sqr): Likewise.
7510 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
7511 powers of two in terms of TWOPOW macro.
7512 (mp_no): Make type of mantissa as MANTISSA_T.
7513 [!RADIXI]: Define RADIXI.
7514 [!TWO52]: Define TWO52.
7515 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
7516
fce14d4e
AZ
75172013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7518
7519 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
7520 llroundl symbol when building for PPC32.
7521
9ad027fb
MW
75222013-03-24 Mark H Weaver <mhw@netris.org>
7523
7524 * manual/arith.texi (Normalization Functions): Fix prototypes for
7525 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
7526
e42a38dd
AZ
75272013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7528
7529 [BZ #13889]
7530 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
7531 high value to check if expl overflow.
7532 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
7533 to check for underflow and overflow.
7534 * math/libm-test.inc: Add exp test.
7535
2e0fb521
DL
75362013-03-21 Dmitry V. Levin <ldv@altlinux.org>
7537
7538 [BZ #11120]
7539 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
7540 with NOT_IN_libc.
7541
b5784d95
AZ
75422013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7543
7544 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
7545 symbol.
7546
5aa4a1a1
TS
75472013-03-21 Thomas Schwinge <thomas@codesourcery.com>
7548
bdef0be7
TS
7549 * math/gen-libm-test.pl (parse_args, special_functions): Properly
7550 wrap blocks consisting of several statements.
7551
5aa4a1a1
TS
7552 * sysdeps/generic/math-tests.h: New file.
7553 * sysdeps/i386/fpu/math-tests.h: Likewise.
7554 * math/test-snan.c: Include it.
7555 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
7556
98c48fe5
JM
75572013-03-21 Joseph Myers <joseph@codesourcery.com>
7558
7559 [BZ #15285]
7560 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
7561 (__ieee754_j0l): Do not improve calculations using cos of twice
7562 input for inputs above LDBL_MAX / 2.0L.
7563 (__ieee754_y0l): Likewise.
7564 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
7565 (__ieee754_j1l): Do not improve calculations using cos of twice
7566 input for inputs above LDBL_MAX / 2.0L.
7567 (__ieee754_y1l): Likewise.
7568 * math/libm-test.inc (j0_test): Add another test.
7569 (j1_test): Likewise.
7570 (y0_test): Likewise.
7571 (y1_test): Likewise.
7572 * sysdeps/i386/fpu/libm-test-ulps: Update.
7573
3775a8bc
SP
75742013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7575
7576 * Rules ($(objpfx)bench-%.c): Include code from a C source
7577 file.
7578
0a1b2ae6
JM
75792013-03-21 Joseph Myers <joseph@codesourcery.com>
7580
7581 [BZ #15287]
7582 * math/k_casinh.c (__kernel_casinh): Handle arguments with
7583 imaginary part 1.0 and real part less than 0.5 specially.
7584 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7585 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7586 * math/libm-test.inc (cacos_test): Add more tests.
7587 (casin_test): Likewise.
7588 (casinh_test): Likewise.
7589 * sysdeps/i386/fpu/libm-test-ulps: Update.
7590 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7591
b33d4ce4
SP
75922013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7593
7594 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
7595 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
7596
bef0b507
JM
75972013-03-20 Joseph Myers <joseph@codesourcery.com>
7598
7599 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
7600 * config.make.in (config-cflags-sse4): Remove variable.
7601 (config-cflags-avx): Likewise.
7602 (config-cflags-sse2avx): Likewise.
7603 (config-cflags-novzeroupper): Likewise.
7604 (config-asflags-i686): Likewise.
7605 (have-mfma4): Likewise.
7606 (have-as-vis3): Likewise.
7607 (MIG): Likewise.
7608 * configure.in (MIG): Do not AC_SUBST.
7609 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
7610 (libc_cv_cc_sse4): Do not AC_SUBST.
7611 (libc_cv_cc_avx): Likewise.
7612 (libc_cv_cc_sse2avx): Likewise.
7613 (libc_cv_cc_novzeroupper): Likewise.
7614 (libc_cv_cc_fma4): Likewise.
7615 (libc_cv_as_i686): Likewise.
7616 (libc_cv_sparc_as_vis3): Likewise.
7617 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
7618 LIBC_CONFIG_VAR.
7619 (config-asflags-i686): Likewise.
7620 (config-cflags-avx): Likewise.
7621 (config-cflags-sse2avx): Likewise.
7622 (have-mfma4): Likewise.
7623 (config-cflags-novzeroupper): Likewise.
7624 * sysdeps/mach/configure.in (MIG): Likewise.
7625 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
7626 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
7627 LIBC_CONFIG_VAR.
7628 (config-cflags-avx): Likewise.
7629 (config-cflags-sse2avx): Likewise.
7630 (have-mfma4): Likewise.
7631 (config-cflags-novzeroupper): Likewise.
7632 * configure: Regenerated.
7633 * sysdeps/i386/configure: Likewise.
7634 * sysdeps/mach/configure: Likewise.
7635 * sysdeps/sparc/configure: Likewise.
7636 * sysdeps/x86_64/configure: Likewise.
7637
912cc4b3
RM
76382013-03-20 Roland McGrath <roland@hack.frob.com>
7639
7640 [BZ #14812]
7641 * locale/programs/localedef.c (options): Put N_ translation marker
7642 on argument names, not just descriptions.
7643
04eed2b0
MS
76442013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7645
7646 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
7647
a065ceff
OB
76482013-03-20 Ondřej Bílka <neleai@seznam.cz>
7649
9bb2a810 7650 [BZ #14176]
a065ceff
OB
7651 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
7652
a600e5ce
RM
76532013-03-19 Roland McGrath <roland@hack.frob.com>
7654
7655 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
7656 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
7657 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
7658 [!BEFORE_ABORT] (before_abort): New function.
7659 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
7660 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
7661 (writev_for_fatal): New function.
7662 (WRITEV_FOR_FATAL): New macro; call that.
7663 (backtrace_and_maps): New function.
7664 (BEFORE_ABORT): New macro; call that.
7665 (struct str_list): Type removed.
7666 (__libc_message, __libc_fatal): Functions removed.
7667 Include <sysdeps/posix/libc_fatal.c> instead.
7668
6b18bea6
JM
76692013-03-19 Joseph Myers <joseph@codesourcery.com>
7670
7671 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
7672 constants.
7673 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
7674 double constants.
7675
aaa8cb4b
AS
76762013-03-19 Andreas Schwab <schwab@suse.de>
7677
44673770
AS
7678 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
7679 * sysdeps/gnu/configure: Regenerate.
7680
aaa8cb4b
AS
7681 * configure.in: Substitute libc_cv_rtlddir.
7682 * configure: Regenerate.
7683 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
7684 * Makeconfig (rtlddir, inst_rtlddir): New variables.
7685 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
7686 * elf/Makefile (install-others, CFLAGS-interp.c)
7687 (ldso_install, common-ldd-rewrite): Likewise.
7688 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
7689 $(inst_slibdir)/$(rtld-installed-name).
7690 * scripts/rellns-sh: Add -p option.
7691 * Makerules (make-shlib-link): Use rellns-sh to get relative name
7692 for source.
7693
d3cfc668
SP
76942013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7695
7696 * manual/nptl.texi: Renamed to ...
7697 * manual/threads.texi: ... this.
7698 * manual/Makefile (chapters): Update.
7699
0e2b9cdd
RM
77002013-03-18 Roland McGrath <roland@hack.frob.com>
7701
7702 [BZ #14812]
7703 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
7704 on argument names, not just descriptions.
0e2b9cdd
RM
7705 * malloc/memusagestat.c (options): Likewise.
7706 * nss/getent.c (options): Likewise.
63270c24
RM
7707
77082013-03-18 Benno Schulenberg <bensberg@justemail.net>
7709
7710 [BZ #14812]
7711 * iconv/iconv_prog.c (options): Put N_ translation marker
7712 on argument names, not just descriptions.
7713 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 7714
b2e1393c
OB
77152013-03-18 Ondrej Bilka <neleai@seznam.cz>
7716
7717 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
7718 implementation which is faster on all x86_64 architectures.
7719 Tested on AMD, Intel Nehalem, SNB, IVB.
7720 * sysdeps/x86_64/strnlen.S: Likewise.
7721
7722 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
7723 Remove all multiarch strlen and strnlen versions.
7724 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
7725 Remove strlen and strnlen related parts.
7726
7727 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
7728 Inline strlen part.
7729 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
7730
7731 * sysdeps/x86_64/multiarch/strlen.S: Remove.
7732 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
7733 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
7734 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
7735 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
7736 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
7737
ec4ff04d
CD
77382013-03-17 Carlos O'Donell <carlos@redhat.com>
7739
7740 * manual/memory.texi (Malloc Tunable Parameters):
7741 Sort parameters alphabetically. Add comments for missing entries.
7742
cd18e90a
DM
77432013-03-17 David S. Miller <davem@davemloft.net>
7744
7745 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7746
2a185d32
JM
77472013-03-16 Joseph Myers <joseph@codesourcery.com>
7748
d2f9799e
JM
7749 [BZ #15283]
7750 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
7751 for arguments at most half maximum finite value.
7752 * math/libm-test.inc (j0_test): Add more tests.
7753 (j1_test): Likewise.
7754 (y0_test): Likewise.
7755 (y1_test): Likewise.
7756 * sysdeps/i386/fpu/libm-test-ulps: Update.
7757 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7758
2a185d32
JM
7759 [BZ #14155]
7760 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
7761 1 / x and functions P and Q for arguments above 0x1p256L.
7762 (__ieee754_y0l): Likewise.
7763 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
7764 (__ieee754_y1l): Likewise.
7765 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
7766 (j1_test): Likewise.
7767 (y0_test): Likewise.
7768 (y1_test): Likewise.
7769
6cbec759
TS
77702013-03-16 Thomas Schwinge <thomas@codesourcery.com>
7771
7772 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
7773 variable.
7774
bc16e260
RM
77752013-03-15 Roland McGrath <roland@hack.frob.com>
7776
aefc9b8c
RM
7777 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
7778 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
7779 zero since it's initialized to EXEC_PAGESIZE.
7780
bc16e260
RM
7781 * sysdeps/unix/sysv/linux/ldsodefs.h
7782 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
7783 * sysdeps/generic/ldsodefs.h: ... here.
7784
a57da955
TS
77852013-03-15 Thomas Schwinge <thomas@codesourcery.com>
7786
af00a34d
TS
7787 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
7788
495ded2c
TS
7789 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
7790 math/test-snan.c.
7791 * math/test-snan.c: Renamed from
7792 sysdeps/powerpc/fpu/test-powerpc-snan.c.
7793 * math/Makefile (tests): Add test-snan.
7794 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
7795 test-powerpc-snan.
7796
777b0332
TS
7797 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
7798 SUFFIX. Initialize qNaN_var with __builtin_nan family of
7799 functions.
7800 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
7801 __builtin_nan family of functions.
7802 * math/libm-test.inc (initialize): Initialize qnan_value with
7803 __builtin_nan family of functions.
7804 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
7805 Remove variables.
7806 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
7807 Remove functions.
7808 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
7809 storage class. Initialize qNaN_var and sNaN_var with
7810 __builtin_nan and __builtin_nans families of functions,
7811 respectively.
7812
64d063b8
TS
7813 * math/libm-test.inc (acosh_test): Also test with qNaN input.
7814 (sqrt_test): Remove duplicate test with qNaN input.
7815 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
7816 (round_test, signbit_test, significand_test): Note missing +/-Inf
7817 as well as qNaN tests.
7818
67e971f1
TS
7819 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
7820 qNaN_var. Fix a few strings, too.
7821 * math/libm-test.inc (nan_value): Rename to qnan_value.
7822 * math/gen-libm-test.pl (%beautify): Adjust to that.
7823 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
7824 * math/test-misc.c (main): Likewise.
7825 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
7826 to __qnan_bytes, and __qnan_union, respectively.
7827 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
7828 Likewise.
7829 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
7830 and lqnanval, respectively.
7831 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
7832 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
7833 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
7834 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
7835
64487e12
TS
7836 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
7837 * math/test-misc.c (main) [__x86_64__]: Enable test for long
7838 doubles.
7839
e015e27b
TS
7840 * math/test-misc.c (main): Fix copy'n'pastos.
7841 * misc/tst-efgcvt.c (special): Likewise.
7842
a57da955
TS
7843 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
7844 Remove declarations.
7845
1e380345
SP
78462013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7847
7848 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
7849 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
7850 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
7851 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
7852
ef26eece
AZ
78532013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7854
7855 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
7856 macro to return vdso values correctly in IFUNC implementations.
7857 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
7858 Optimization by using IFUNC.
7859
8cfdb7e0
SP
78602013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7861 Richard Henderson <rth@redhat.com>
7862 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7863
7864 * Makefile.in (bench): New target.
7865 * NEWS: Mention the benchmark framework.
7866 * Rules (bench): Likewise.
7867 (binaries-bench): Generate binaries for functions to
7868 benchmark.
7869 * benchtests/Makefile: New makefile for benchmark tests.
7870 * benchtests/bench-skeleton.c: New skeleton file for benchmark
7871 programs.
7872 * benchtests/exp-inputs: New input file for EXP function.
7873 * benchtests/pow-inputs: New input file for POW function.
7874 * scripts/bench.pl: New script to generate source files for
7875 benchmark programs.
7876
bcda9880
SP
78772013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7878
d22ca8cd
SP
7879 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
7880 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
7881 computations on mantissa. Use macros for rounding and
7882 division.
7883 (denorm): Likewise.
7884 (__dbl_mp): Likewise.
7885 (add_magnitudes): Likewise.
7886 (sub_magnitudes): Likewise.
7887 (__mul): Likewise.
7888 (__sqr): Likewise.
7889 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
7890 powers of two in terms of TWOPOW macro.
7891 (mp_no): Make type of mantissa as MANTISSA_T.
7892 [!RADIXI]: Define RADIXI.
7893 [!TWO52]: Define TWO52.
7894 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
7895
bcda9880
SP
7896 * manual/nptl.texi (cindex): Modify threads to pthreads.
7897
06d5adfb
JM
78982013-03-15 Joseph Myers <joseph@codesourcery.com>
7899
7900 * sysdeps/x86_64/preconfigure: Regenerated.
7901
41c7328e
JM
79022013-03-14 Joseph Myers <joseph@codesourcery.com>
7903
7904 [BZ #14155]
7905 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
7906 0x1p28 and above.
7907 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
7908 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
7909 0x1p28 and above.
7910 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
7911 * math/libm-test.inc (j0_test): Do not allow one spurious
7912 underflow exception.
7913 (y1_test): Likewise.
7914
e25cfa60
SP
79152013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7916
0409959c
SP
7917 * manual/Makefile (chapters): Add nptl.
7918 * manual/debug.texi (Debugging Support): Add link to Threads
7919 chapter.
7920 * manual/nptl.texi: New file.
7921
e25cfa60
SP
7922 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
7923
58a1335e
PB
79242013-03-14 Petr Baudis <pasky@ucw.cz>
7925
7926 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
7927 for non-NULL pointer before the memory validity test. Pointed
7928 out by Holger Brunck <holger.brunck@keymile.com>.
7929
9dc7c64f
AS
79302013-03-13 Andreas Schwab <schwab@suse.de>
7931
7932 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
7933 instead of .os.
7934
54206aa6
JM
79352013-03-13 Joseph Myers <joseph@codesourcery.com>
7936
7937 * timezone/zic.c: Update from tzcode 2013b.
7938
e98cdb38
CD
79392013-03-12 Carlos O'Donell <carlos@redhat.com>
7940
7941 * manual/install.texi (Configuring and compiling):
7942 Mention i686 and i586.
7943 * INSTALL: Regenerate.
7944
9967e003
RM
79452013-03-12 Roland McGrath <roland@hack.frob.com>
7946
7947 * sysdeps/init_array/elf-init.c: New file.
7948 * csu/elf-init.c
7949 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
7950 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
7951
7952 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
7953 __gmon_start__ as global, but as static with a .preinit_array pointer.
7954 * sysdeps/init_array/gmon-start.c: New file. Use that.
7955 * sysdeps/init_array/crti.S: New file, empty except for comments.
7956 * sysdeps/init_array/crtn.S: Likewise.
7957
e6b5a293 79582013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
7959
7960 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
7961 definining bcopy.
80f844c9
OB
7962 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7963 Remove Prefer_SSE_for_memop.
7964 * sysdeps/x86_64/multiarch/init-arch.h: Remove
7965 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
7966 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
7967 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
7968 memset-x86-64.
80f844c9 7969 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 7970 Remove bzero, memset ifunc support.
80f844c9
OB
7971 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
7972 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
7973 * sysdeps/x86_64/multiarch/memset.S: Likewise.
7974 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7975
fb6b0fcb
AS
79762013-03-11 Andreas Schwab <schwab@suse.de>
7977
7978 [BZ #15234]
7979 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
7980 by SHLIB_COMPAT.
7981 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
7982 (GLIBC_2.16): Remove pthread_atfork.
7983
3e6bd4b1
PP
79842013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
7985
7986 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
7987 (ptestcases.h): Likewise.
7988
222d7f00
RM
79892013-03-08 Roland McGrath <roland@hack.frob.com>
7990
7991 * Makeconfig ($(common-objpfx)config.status): Depend on
7992 sysdeps/*/preconfigure{,.in} too.
7993
1ba4f030
JM
79942013-03-08 Joseph Myers <joseph@codesourcery.com>
7995
a222d91a
JM
7996 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
7997 (__free_hook): Use void * instead of __malloc_ptr_t.
7998 (__malloc_hook): Likewise.
7999 (__realloc_hook): Likewise.
8000 (__memalign_hook): Likewise.
8001 (__after_morecore_hook): Likewise.
8002 * malloc/arena.c (save_malloc_hook): Likewise.
8003 (save_free_hook): Likewise.
8004 * malloc/hooks.c (malloc_hook_ini): Likewise.
8005 (realloc_hook_ini): Likewise.
8006 (memalign_hook_ini): Likewise.
8007 * malloc/malloc.c (malloc_hook_ini): Likewise.
8008 (realloc_hook_ini): Likewise.
8009 (memalign_hook_ini): Likewise.
8010 (__free_hook): Likewise.
8011 (__malloc_hook): Likewise.
8012 (__realloc_hook): Likewise.
8013 (__memalign_hook): Likewise.
8014 (__libc_malloc): Likewise.
8015 (__libc_free): Likewise.
8016 (__libc_realloc): Likewise.
8017 (__libc_memalign): Likewise.
8018 (__libc_valloc): Likewise.
8019 (__libc_pvalloc): Likewise.
8020 (__libc_calloc): Likewise.
8021 (__posix_memalign): Likewise.
8022 * malloc/morecore.c (__sbrk): Likewise.
8023 (__default_morecore): Likewise.
8024
5cc45e10
JM
8025 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
8026
dd54b864
JM
8027 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
8028 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
8029 __malloc_ptrdiff_t.
8030
1ba4f030
JM
8031 * malloc/malloc.h (__malloc_size_t): Remove macro.
8032 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
8033 __malloc_size_t.
8034 (old_memalign_hook): Likewise.
8035 (old_realloc_hook): Likewise.
8036 (struct hdr): Likewise.
8037 (flood): Likewise.
8038 (mallochook): Likewise.
8039 (memalignhook): Likewise.
8040 (reallochook): Likewise.
8041 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
8042 (tr_old_realloc_hook): Likewise.
8043 (tr_old_memalign_hook): Likewise.
8044 (tr_mallochook): Likewise.
8045 (tr_reallochook): Likewise.
8046 (tr_memalignhook): Likewise.
8047
edf66e57
AZ
80482013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8049
8050 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
8051 default_ldbl_pack and using as default implementation.
8052 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
8053 implementation.
8054 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
8055 redundant definition.
8056 (ldbl_insert_mantissa): Likewise.
8057 (ldbl_canonicalize): Likewise.
8058 (ldbl_nearbyint): Likewise.
8059 (ldbl_pack): Rename to ldbl_pack_ppc.
8060 (ldbl_unpack): Rename to ldbl_unpack_ppc.
8061 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
8062 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
8063
6d9145d8
SP
80642013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8065
8066 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
8067 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
8068 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
8069 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
8070 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
8071 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
8072 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
8073 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
8074
4dd4e157
AJ
80752013-03-07 Andreas Jaeger <aj@suse.de>
8076
8077 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8078 bits/mman-linux.h.
8079
adbb8027
SP
80802013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
8081
ce544b5b
SP
8082 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
8083 Include mpa.h and declare __MPEXP.
8084 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
8085 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
8086 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
8087 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
8088 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
8089 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
8090 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
8091
4cc149fd
SP
8092 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
8093 (__slowpow): Use long double EXPL and LOGL functions to
8094 compute POW.
8095 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
8096 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
8097 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
8098 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
8099 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
8100 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
8101
e6ebd4a7
SP
8102 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
8103 intermediate variable to calculate exponent.
8104 (__sqr): Likewise.
8105 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
8106 Likewise.
8107 (__sqr): Likewise.
8108
82a9811d
SP
8109 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
8110 [!NO__SQR]: Define __sqr.
8111 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
8112 and NO__SQR. Remove all code except __mul and __sqr. Include
8113 sysdeps/ieee754/dbl-64/mpa.c.
8114 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8115
adbb8027
SP
8116 [BZ #12723]
8117 * posix/Makefile (tests): Add tst-pathconf.
8118 * posix/tst-pathconf.c: New test case.
8119 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
8120 _PC_PIPE_BUF.
8121 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
8122
39120df9
PF
81232013-03-06 Patsy Franklin <pfrankli@redhat.com>
8124
8125 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
8126
67525cb8
AJ
81272013-03-06 Andreas Jaeger <aj@suse.de>
8128
664a9ce4
AJ
8129 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
8130 definition via __MAP_ANONYMOUS.
8131
8e39047d
AJ
8132 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
8133 it's not part of Linux headers.
8134
67525cb8
AJ
8135 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
8136 (MAP_HUGE_MASK): Define.
8137
8138 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
8139 Define.
8140 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8141 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
8142 Define.
8143 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8144 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
8145 Define.
8146 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8147 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
8148 Define.
8149 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8150
8151 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
8152 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
8153 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
8154 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
8155 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
8156 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
8157
8158 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
8159 Handle f2fs.
8160
8161 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8162 Handle f2fs and efivarfs.
8163
8164 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
8165 f2fs.
8166
8167 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
8168 (EFIVARFS_MAGIC): Add.
8169 (F2FS_LINK_MAX): Add.
8170
e1b42695
PP
81712013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8172
8173 * stdio-common/vfprintf.c: Replace __builtin_expect with
8174 __glibc_unlikely.
8175
2d67d91a
JM
81762013-03-06 Joseph Myers <joseph@codesourcery.com>
8177
8178 [BZ #13550]
8179 * sysdeps/generic/bp-sym.h: Remove file.
8180 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
8181 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
8182 <bp-sym.h> and <bp-asm.h>.
8183 (__longjmp): Don't use BP_SYM.
8184 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
8185 and <bp-asm.h>.
8186 (memcpy): Don't use BP_SYM.
8187 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
8188 <bp-sym.h> and <bp-asm.h>.
8189 (memcpy): Don't use BP_SYM.
8190 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
8191 <bp-asm.h>.
8192 (memcpy): Don't use BP_SYM.
8193 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
8194 <bp-asm.h>.
8195 (memset): Don't use BP_SYM.
8196 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8197 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8198 (__bzero): Don't use BP_SYM.
8199 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8200 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8201 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
8202 <bp-sym.h> and <bp-asm.h>.
8203 (memcmp): Don't use BP_SYM. Remove comment about bounded
8204 pointers.
8205 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
8206 <bp-sym.h> and <bp-asm.h>.
8207 (memcpy): Don't use BP_SYM.
8208 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
8209 <bp-sym.h> and <bp-asm.h>.
8210 (memset): Don't use BP_SYM.
8211 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8212 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8213 (__bzero): Don't use BP_SYM.
8214 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8215 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8216 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
8217 <bp-sym.h> and <bp-asm.h>.
8218 (strncmp): Don't use BP_SYM. Remove comment about bounded
8219 pointers.
8220 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
8221 <bp-sym.h> and <bp-asm.h>.
8222 (memcpy): Don't use BP_SYM.
8223 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
8224 <bp-sym.h> and <bp-asm.h>.
8225 (memset): Don't use BP_SYM.
8226 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8227 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8228 (__bzero): Don't use BP_SYM.
8229 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8230 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8231 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
8232 <bp-sym.h> and <bp-asm.h>.
8233 (__memchr): Don't use BP_SYM.
8234 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
8235 <bp-sym.h> and <bp-asm.h>.
8236 (memcmp): Don't use BP_SYM. Remove comment about bounded
8237 pointers.
8238 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
8239 <bp-sym.h> and <bp-asm.h>.
8240 (memcpy): Don't use BP_SYM.
8241 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
8242 <bp-sym.h> and <bp-asm.h>.
8243 (__mempcpy): Don't use BP_SYM.
8244 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
8245 <bp-sym.h> and <bp-asm.h>.
8246 (__memrchr): Don't use BP_SYM.
8247 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
8248 <bp-sym.h> and <bp-asm.h>.
8249 (memset): Don't use BP_SYM.
8250 (__bzero): Likewise.
8251 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
8252 <bp-sym.h> and <bp-asm.h>.
8253 (__rawmemchr): Don't use BP_SYM.
8254 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
8255 <bp-sym.h> and <bp-asm.h>.
8256 (__STRCMP): Don't use BP_SYM.
8257 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
8258 <bp-sym.h> and <bp-asm.h>.
8259 (strchr): Don't use BP_SYM.
8260 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
8261 <bp-sym.h> and <bp-asm.h>.
8262 (__strchrnul): Don't use BP_SYM.
8263 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
8264 <bp-sym.h> and <bp-asm.h>.
8265 (strlen): Don't use BP_SYM.
8266 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
8267 <bp-sym.h> and <bp-asm.h>.
8268 (strncmp): Don't use BP_SYM. Remove comment about bounded
8269 pointers.
8270 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
8271 <bp-sym.h> and <bp-asm.h>.
8272 (__strnlen): Don't use BP_SYM.
8273 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
8274 <bp-sym.h> and <bp-asm.h>.
8275 (__GI__setjmp): Don't use BP_SYM.
8276 (_setjmp): Likewise.
8277 (__sigsetjmp): Likewise.
8278 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
8279 (L(start_addresses)): Don't use BP_SYM.
8280 (_start): Likewise.
8281 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
8282 <bp-asm.h>.
8283 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
8284 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
8285 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8286 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8287 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
8288 <bp-asm.h>.
8289 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
8290 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
8291 about bounded pointers.
8292 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
8293 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8294 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
8295 <bp-asm.h>.
8296 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
8297 about bounded pointers. Remove GKM FIXME comments.
8298 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
8299 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
8300 <bp-asm.h>.
8301 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
8302 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
8303 Remove GKM FIXME comments.
8304 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8305 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8306 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
8307 <bp-asm.h>.
8308 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
8309 about bounded pointers. Remove GKM FIXME comment.
8310 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
8311 and <bp-asm.h>.
8312 (strncmp): Don't use BP_SYM. Remove comment about bounded
8313 pointers.
8314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
8315 <bp-sym.h> and <bp-asm.h>.
8316 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
8317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
8318 <bp-sym.h> and <bp-asm.h>.
8319 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
8320 comment.
8321
cdcf361f
PP
83222013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8323
8324 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
8325 call free(NULL).
8326
3c4a2b15
DM
83272013-03-05 David S. Miller <davem@davemloft.net>
8328
8329 * po/es.po: Update from translation team.
8330
cdcf361f 83312013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
8332
8333 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
8334 <bits/mman-linux.h>.
8335 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8336 is fine.
8337 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
8338 <bits/mman-linux.h> to end of file.
8339 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8340 is fine.
8341 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
8342 <bits/mman-linux.h> to end of file.
8343 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8344 is fine.
8345 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
8346 <bits/mman-linux.h> to end of file.
8347
8348 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
8349 (MCL_CURRENT, MCL_FUTURE): Define here.
8350
5f67c04f
AK
83512013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8352
8a4473cc 8353 [BZ #15232]
5f67c04f
AK
8354 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
8355 attribute_hidden.
8356 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8357
c3e94a95
AK
83582013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8359
8360 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
8361 fourth parameter needed for rt_sigprocmask syscall.
8362 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
8363 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
8364 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
8365 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
8366 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
8367 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
8368
cfb6382a
JM
83692013-03-04 Joseph Myers <joseph@codesourcery.com>
8370
8371 [BZ #13550]
8372 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
8373 comment about bounded pointers.
8374 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
8375 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
8376
539d8e01
AJ
83772013-03-04 Andreas Jaeger <aj@suse.de>
8378
8379 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
8380 common definitions.
8381
8382 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
8383 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
8384 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
8385 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8386 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
8387 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8388
2e167a70 83892013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
8390
8391 [BZ #15055]
8392 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
8393 __ieee754_sqrl instead of __sqrl.
8394
68508633
JM
83952013-03-01 Joseph Myers <joseph@codesourcery.com>
8396
8397 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
8398 * sysdeps/powerpc/fpu_control.h: ... here.
8399 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
8400 * sysdeps/powerpc/bits/fenvinline.h: ... here.
8401 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
8402 * sysdeps/powerpc/bits/mathinline.h: ... here.
8403
7775448e
RM
84042013-03-01 Roland McGrath <roland@hack.frob.com>
8405
8406 * elf/dl-hwcaps.c (_dl_important_hwcaps):
8407 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
8408 to just [NEED_DL_SYSINFO_DSO].
8409 * elf/dl-support.c: Likewise.
8410 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
8411 * elf/rtld.c (dl_main): Likewise.
8412 * elf/setup-vdso.h (setup_vdso): Likewise.
8413 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
8414 * sysdeps/unix/sysv/linux/dl-sysdep.c
8415 (_dl_discover_osversion): Likewise.
8416
4e9b5995
CD
84172013-03-01 Carlos O'Donell <carlos@redhat.com>
8418
8419 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
8420 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
8421
e23872c8
SP
84222013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
8423
e5c74c63
SP
8424 * NEWS: Mention libm performance improvements and non-x86 PI
8425 futex support.
8426
e23872c8
SP
8427 * csu/libc-start.c (__pthread_initialize_minimal): Change
8428 function arguments.
8429 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
8430
b5510883
JM
84312013-02-28 Joseph Myers <joseph@codesourcery.com>
8432
8433 [BZ #13550]
8434 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
8435 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
8436 <bp-sym.h> and <bp-asm.h>.
8437 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8438 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
8439 and <bp-asm.h>.
8440 (memcpy): Don't use BP_SYM.
8441 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
8442 <bp-asm.h>.
8443 (__mpn_add_n): Don't use BP_SYM.
8444 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
8445 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
8446 and <bp-asm.h>.
8447 (__mpn_addmul_1): Don't use BP_SYM.
8448 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8449 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
8450 <bp-sym.h>.
8451 (_setjmp): Don't use BP_SYM.
8452 (__novmx_setjmp): Likewise.
8453 (__GI__setjmp): Likewise.
8454 (__vmx_setjmp): Likewise.
8455 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
8456 <bp-sym.h>.
8457 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
8458 (__bzero): Don't use BP_SYM.
8459 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8460 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8461 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
8462 <bp-sym.h> and <bp-asm.h>.
8463 (memcpy): Don't use BP_SYM.
8464 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
8465 <bp-sym.h> and <bp-asm.h>.
8466 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8467 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
8468 <bp-sym.h> and <bp-asm.h>.
8469 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8470 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
8471 <bp-asm.h>.
8472 (__mpn_lshift): Don't use BP_SYM.
8473 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8474 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
8475 <bp-asm.h>.
8476 (memset): Don't use BP_SYM.
8477 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8478 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8479 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
8480 <bp-asm.h>.
8481 (__mpn_mul_1): Don't use BP_SYM.
8482 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8483 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
8484 <bp-sym.h> and <bp-asm.h>.
8485 (memcmp): Don't use BP_SYM.
8486 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
8487 <bp-sym.h> and <bp-asm.h>.
8488 (memcpy): Don't use BP_SYM.
8489 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
8490 <bp-sym.h> and <bp-asm.h>.
8491 (memset): Don't use BP_SYM.
8492 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
8493 <bp-sym.h> and <bp-asm.h>.
8494 (strncmp): Don't use BP_SYM.
8495 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
8496 <bp-sym.h> and <bp-asm.h>.
8497 (memcpy): Don't use BP_SYM.
8498 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
8499 <bp-sym.h> and <bp-asm.h>.
8500 (memset): Don't use BP_SYM.
8501 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
8502 <bp-sym.h> and <bp-asm.h>.
8503 (__memchr): Don't use BP_SYM.
8504 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
8505 <bp-sym.h> and <bp-asm.h>.
8506 (memcmp): Don't use BP_SYM.
8507 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
8508 <bp-sym.h> and <bp-asm.h>.
8509 (memcpy): Don't use BP_SYM.
8510 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
8511 <bp-sym.h> and <bp-asm.h>.
8512 (__mempcpy): Don't use BP_SYM.
8513 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
8514 <bp-sym.h> and <bp-asm.h>.
8515 (__memrchr): Don't use BP_SYM.
8516 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
8517 <bp-sym.h> and <bp-asm.h>.
8518 (memset): Don't use BP_SYM.
8519 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
8520 <bp-sym.h> and <bp-asm.h>.
8521 (__rawmemchr): Don't use BP_SYM.
8522 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
8523 <bp-sym.h> and <bp-asm.h>.
8524 (__STRCMP): Don't use BP_SYM.
8525 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
8526 <bp-sym.h> and <bp-asm.h>.
8527 (strchr): Don't use BP_SYM.
8528 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
8529 <bp-sym.h> and <bp-asm.h>.
8530 (__strchrnul): Don't use BP_SYM.
8531 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
8532 <bp-sym.h> and <bp-asm.h>.
8533 (strlen): Don't use BP_SYM.
8534 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
8535 <bp-sym.h> and <bp-asm.h>.
8536 (strncmp): Don't use BP_SYM.
8537 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
8538 <bp-sym.h> and <bp-asm.h>.
8539 (__strnlen): Don't use BP_SYM.
8540 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
8541 <bp-asm.h>.
8542 (__mpn_rshift): Don't use BP_SYM.
8543 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8544 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
8545 <bp-sym.h> and <bp-asm.h>.
8546 (__sigsetjmp): Don't use BP_SYM.
8547 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
8548 (L(start_addresses)): Don't use BP_SYM.
8549 (_start): Likewise.
8550 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
8551 <bp-asm.h>.
8552 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
8553 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8554 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8555 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
8556 <bp-asm.h>.
8557 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
8558 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
8559 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8560 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
8561 <bp-asm.h>.
8562 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
8563 comments.
8564 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
8565 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
8566 <bp-asm.h>.
8567 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
8568 FIXME comments.
8569 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8570 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8571 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
8572 <bp-asm.h>.
8573 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
8574 comment.
8575 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
8576 and <bp-asm.h>.
8577 (strncmp): Don't use BP_SYM,
8578 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
8579 <bp-asm.h>.
8580 (__mpn_sub_n): Don't use BP_SYM.
8581 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8582 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
8583 and <bp-asm.h>.
8584 (__mpn_submul_1): Don't use BP_SYM.
8585 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
8587 <bp-sym.h> and <bp-asm.h>.
8588 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
8589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
8590 <bp-sym.h> and <bp-asm.h>.
8591 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
8592 comment.
8593
8d19fe64
SP
85942013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8595
8596 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
8597 Use ZK to minimize writes to Z.
8598 (sub_magnitudes): Simplify code a bit.
8599 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
8600 Use ZK to minimize writes to Z.
8601 (sub_magnitudes): Simplify code a bit.
8602
85bd816a
RM
86032013-02-27 Roland McGrath <roland@hack.frob.com>
8604
8605 * csu/gmon-start.c: Add special exception to license text.
8606
b5977bf2
RH
86072013-02-27 Richard Henderson <rth@redhat.com>
8608
8609 * scripts/config.guess: Update from config.git.
8610 * scripts/config.sub: Likewise.
8611
11d6e2f2
SP
86122013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8613
09c14ed2
SP
8614 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
8615
a688864e
SP
8616 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
8617
6295157a
SP
8618 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
8619
b8de2202
SP
8620 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
8621
11d6e2f2
SP
8622 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
8623
7e80ddb8
RM
86242013-02-26 Roland McGrath <roland@hack.frob.com>
8625
8626 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
8627 [$(build-shared = yes].
7e80ddb8 8628
7da6d9ed
SP
86292013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8630
45f05884
SP
8631 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
8632 (__mul): Reduce iterations for calculating mantissa.
8633
2236d359
SP
8634 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
8635 MPTWO.
8636 (__mpranred): Likewise.
8637
7da6d9ed
SP
8638 [BZ #15160]
8639 * malloc/memusagestat.c (main): Draw graphs for heap and stack
8640 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
8641
b7688c42
PE
86422013-02-26 Paul Eggert <eggert@cs.ucla.edu>
8643
8644 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
8645 Define __attribute__.
8646
53a5c423
SP
86472013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8648
8649 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
8650 unused.
8651 * posix/regex_internal.h (__attribute): Remove.
8652 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
8653 (re_string_context_at): Likewise.
8654 (bitset_not): Use __attribute__ and mark function as possibly
8655 unused.
8656 (bitset_merge): Likewise.
8657 (bitset_mask): Likewise.
8658 (re_string_char_size_at): Likewise.
8659 (re_string_wchar_at): Likewise.
8660 (re_string_elem_size_at): Likewise.
8661
60f5a8b5
SP
86622013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8663
2a983a2e
SP
8664 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
8665 code.
8666 (cc32): Likewise.
8667
e69804d1
SP
8668 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
8669 (__acr): Likewise.
8670 (__cpy): Likewise.
8671 (norm): Likewise.
8672 (denorm): Likewise.
8673 (__dbl_mp): Likewise.
8674 (add_magnitudes): Likewise.
8675 (sub_magnitudes): Likewise.
8676 (__mul): Likewise.
8677 (__inv): Likewise.
8678
2f22a1e8
SP
8679 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
8680 style.
8681
8930ddc7
SP
8682 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
8683 style.
8684
dc60cb11
SP
8685 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
8686 code.
8687
60f5a8b5
SP
8688 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
8689 up changes with default code.
8690 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
8691 Likewise.
8692
b4d1fd33
AM
86932013-02-24 Allan McRae <allan@archlinux.org>
8694
faf6f8bc
AM
8695 * manual/socket.texi (The Internet Namespace): Order menu items
8696 to match that in the file.
8697
b4d1fd33
AM
8698 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
8699 node listing of the info page menu.
8700
2366713d
JM
87012013-02-21 Joseph Myers <joseph@codesourcery.com>
8702
8703 [BZ #13550]
8704 * sysdeps/i386/bp-asm.h: Remove file.
8705 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
8706 (PARMS): Do not use macros from bp-asm.h.
8707 (S1): Likewise.
8708 (S2): Likewise.
8709 (SIZE): Likewise.
8710 (__mpn_add_n): Do not use BP_SYM
8711 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
8712 "bp-asm.h".
8713 (PARMS): Do not use macros from bp-asm.h.
8714 (S1): Likewise.
8715 (SIZE): Likewise.
8716 (__mpn_addmul_1): Do not use BP_SYM
8717 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
8718 "bp-asm.h".
8719 (PARMS): Do not use macros from bp-asm.h.
8720 (SIGMSK): Likewise.
8721 (_setjmp): Likewise. Do not use BP_SYM.
8722 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
8723 "bp-asm.h".
8724 (PARMS): Do not use macros from bp-asm.h.
8725 (SIGMSK): Likewise.
8726 (setjmp): Likewise. Do not use BP_SYM.
8727 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
8728 "bp-asm.h".
8729 (PARMS): Do not use macros from bp-asm.h.
8730 (__frexp): Do not use BP_SYM.
8731 (frexp): Likewise.
8732 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
8733 "bp-asm.h".
8734 (PARMS): Do not use macros from bp-asm.h.
8735 (__frexpf): Do not use BP_SYM.
8736 (frexpf): Likewise.
8737 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
8738 "bp-asm.h".
8739 (PARMS): Do not use macros from bp-asm.h.
8740 (__frexpl): Do not use BP_SYM.
8741 (frexpl): Likewise.
8742 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
8743 "bp-asm.h".
8744 (PARMS): Do not use macros from bp-asm.h.
8745 (__remquo): Do not use BP_SYM.
8746 (remquo): Likewise.
8747 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
8748 "bp-asm.h".
8749 (PARMS): Do not use macros from bp-asm.h.
8750 (__remquof): Do not use BP_SYM.
8751 (remquof): Likewise.
8752 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
8753 "bp-asm.h".
8754 (PARMS): Do not use macros from bp-asm.h.
8755 (__remquol): Do not use BP_SYM.
8756 (remquol): Likewise.
8757 * sysdeps/i386/i486/strcat.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 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
8763 * sysdeps/i386/i486/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/add_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_add_n): Do not use BP_SYM.
8774 * sysdeps/i386/i586/addmul_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_addmul_1): Do not use BP_SYM.
8780 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
8781 weak_alias.
8782 (bzero): Likewise.
8783 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
8784 "bp-asm.h".
8785 (PARMS): Do not use macros from bp-asm.h.
8786 (S): Likewise.
8787 (SIZE): Likewise.
8788 (__mpn_lshift): Do not use BP_SYM.
8789 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
8790 "bp-asm.h".
8791 (PARMS): Do not use macros from bp-asm.h.
8792 (DEST): Likewise.
8793 (SRC): Likewise.
8794 (LEN): Likewise.
8795 (memcpy): Likewise. Do not use BP_SYM.
8796 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
8797 libc_hidden_def and weak_alias.
8798 (mempcpy): Do not use BP_SYM in weak_alias.
8799 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
8800 "bp-asm.h".
8801 (PARMS): Do not use macros from bp-asm.h.
8802 (DEST): Likewise.
8803 (LEN): Likewise.
8804 [!BZERO_P] (CHR): Likewise.
8805 (memset): Likewise. Do not use BP_SYM.
8806 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
8807 "bp-asm.h".
8808 (PARMS): Do not use macros from bp-asm.h.
8809 (S1): Likewise.
8810 (SIZE): Likewise.
8811 (__mpn_mul_1): Do not use BP_SYM.
8812 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
8813 "bp-asm.h".
8814 (PARMS): Do not use macros from bp-asm.h.
8815 (S): Likewise.
8816 (SIZE): Likewise.
8817 (__mpn_rshift): Do not use BP_SYM.
8818 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
8819 "bp-asm.h".
8820 (PARMS): Do not use macros from bp-asm.h.
8821 (STR): Likewise.
8822 (CHR): Likewise.
8823 (strchr): Likewise. Do not use BP_SYM.
8824 (index): Do not use BP_SYM in weak_alias.
8825 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
8826 "bp-asm.h".
8827 (PARMS): Do not use macros from bp-asm.h.
8828 (DEST): Likewise.
8829 (SRC): Likewise.
8830 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
8831 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
8832 "bp-asm.h".
8833 (PARMS): Do not use macros from bp-asm.h.
8834 (strlen): Do not use BP_SYM.
8835 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
8836 "bp-asm.h".
8837 (PARMS): Do not use macros from bp-asm.h.
8838 (S1): Likewise.
8839 (S2): Likewise.
8840 (SIZE): Likewise.
8841 (__mpn_sub_n): Do not use BP_SYM.
8842 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
8843 "bp-asm.h".
8844 (PARMS): Do not use macros from bp-asm.h.
8845 (S1): Likewise.
8846 (SIZE): Likewise.
8847 (__mpn_submul_1): Do not use BP_SYM.
8848 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
8849 "bp-asm.h".
8850 (PARMS): Do not use macros from bp-asm.h.
8851 (S1): Likewise.
8852 (S2): Likewise.
8853 (SIZE): Likewise.
8854 (__mpn_add_n): Do not use BP_SYM.
8855 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
8856 weak_alias.
8857 (bzero): Likewise.
8858 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
8859 "bp-asm.h".
8860 (PARMS): Do not use macros from bp-asm.h.
8861 (BLK2): Likewise.
8862 (LEN): Likewise.
8863 (memcmp): Do not use BP_SYM.
8864 (bcmp): Do not use BP_SYM in weak_alias.
8865 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
8866 "bp-asm.h".
8867 (PARMS): Do not use macros from bp-asm.h.
8868 (DEST): Likewise.
8869 (SRC): Likewise.
8870 (LEN): Likewise.
8871 (memcpy): Likewise. Do not use BP_SYM.
8872 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
8873 "bp-asm.h".
8874 (PARMS): Do not use macros from bp-asm.h.
8875 (DEST): Likewise.
8876 (SRC): Likewise.
8877 (LEN): Likewise.
8878 (memmove): Likewise. Do not use BP_SYM.
8879 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
8880 "bp-asm.h".
8881 (PARMS): Do not use macros from bp-asm.h.
8882 (DEST): Likewise.
8883 (SRC): Likewise.
8884 (LEN): Likewise.
8885 (__mempcpy): Likewise. Do not use BP_SYM.
8886 (mempcpy): Do not use BP_SYM in weak_alias.
8887 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
8888 "bp-asm.h".
8889 (PARMS): Do not use macros from bp-asm.h.
8890 (DEST): Likewise.
8891 (LEN): Likewise.
8892 [!BZERO_P] (CHR): Likewise.
8893 (memset): Likewise. Do not use BP_SYM.
8894 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
8895 "bp-asm.h".
8896 (PARMS): Do not use macros from bp-asm.h.
8897 (STR2): Likewise.
8898 (strcmp): Do not use BP_SYM.
8899 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
8900 "bp-asm.h".
8901 (PARMS): Do not use macros from bp-asm.h.
8902 (STR): Likewise.
8903 (DELIM): Likewise.
8904 [USE_AS_STRTOK_R] (SAVE): Likewise.
8905 (FUNCTION): Likewise. Do not use BP_SYM.
8906 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
8907 aliases.
8908 (strtok_r): Likewise.
8909 (__GI___strtok_r): Likewise.
8910 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
8911 (PARMS): Do not use macros from bp-asm.h.
8912 (S): Likewise.
8913 (SIZE): Likewise.
8914 (__mpn_lshift): Do not use BP_SYM.
8915 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
8916 (PARMS): Do not use macros from bp-asm.h.
8917 (STR): Likewise.
8918 (CHR): Likewise.
8919 (__memchr): Do not use BP_SYM.
8920 (memchr): Do not use BP_SYM in weak_alias.
8921 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
8922 (PARMS): Do not use macros from bp-asm.h.
8923 (BLK2): Likewise.
8924 (LEN): Likewise.
8925 (memcmp): Do not use BP_SYM.
8926 (bcmp): Do not use BP_SYM in weak_alias.
8927 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
8928 (PARMS): Do not use macros from bp-asm.h.
8929 (S1): Likewise.
8930 (SIZE): Likewise.
8931 (__mpn_mul_1): Do not use BP_SYM.
8932 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
8933 "bp-asm.h".
8934 (PARMS): Do not use macros from bp-asm.h.
8935 (STR): Likewise.
8936 (CHR): Likewise.
8937 (__rawmemchr): Do not use BP_SYM.
8938 (rawmemchr): Do not use BP_SYM in weak_alias.
8939 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
8940 (PARMS): Do not use macros from bp-asm.h.
8941 (S): Likewise.
8942 (SIZE): Likewise.
8943 (__mpn_rshift): Do not use BP_SYM.
8944 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
8945 (PARMS): Do not use macros from bp-asm.h.
8946 (SIGMSK): Likewise.
8947 (__sigsetjmp): Likewise. Do not use BP_SYM.
8948 * sysdeps/i386/start.S: Do not include "bp-sym.h".
8949 (_start): Do not use BP_SYM.
8950 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
8951 (PARMS): Do not use macros from bp-asm.h.
8952 (DEST): Likewise.
8953 (SRC): Likewise.
8954 (__stpcpy): Likewise. Do not use BP_SYM.
8955 (stpcpy): Do not use BP_SYM in weak_alias.
8956 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
8957 "bp-asm.h".
8958 (PARMS): Do not use macros from bp-asm.h.
8959 (DEST): Likewise.
8960 (SRC): Likewise.
8961 (LEN): Likewise.
8962 (__stpncpy): Likewise. Do not use BP_SYM.
8963 (stpncpy): Do not use BP_SYM in weak_alias.
8964 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
8965 (PARMS): Do not use macros from bp-asm.h.
8966 (STR): Likewise.
8967 (CHR): Likewise.
8968 (strchr): Likewise. Do not use BP_SYM.
8969 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
8970 "bp-asm.h".
8971 (PARMS): Do not use macros from bp-asm.h.
8972 (STR): Likewise.
8973 (CHR): Likewise.
8974 (__strchrnul): Likewise. Do not use BP_SYM.
8975 (strchrnul): Do not use BP_SYM in weak_alias.
8976 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
8977 "bp-asm.h".
8978 (PARMS): Do not use macros from bp-asm.h.
8979 (STOP): Likewise.
8980 (strcspn): Do not use BP_SYM.
8981 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
8982 "bp-asm.h".
8983 (PARMS): Do not use macros from bp-asm.h.
8984 (STR): Likewise.
8985 (STOP): Likewise.
8986 (strpbrk): Likewise. Do not use BP_SYM.
8987 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
8988 "bp-asm.h".
8989 (PARMS): Do not use macros from bp-asm.h.
8990 (STR): Likewise.
8991 (CHR): Likewise.
8992 (strrchr): Likewise. Do not use BP_SYM.
8993 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
8994 (PARMS): Do not use macros from bp-asm.h.
8995 (SKIP): Likewise.
8996 (strspn): Do not use BP_SYM.
8997 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
8998 (PARMS): Do not use macros from bp-asm.h.
8999 (STR): Likewise.
9000 (DELIM): Likewise.
9001 (SAVE): Likewise.
9002 (FUNCTION): Likewise. Do not use BP_SYM.
9003 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
9004 aliases.
9005 (strtok_r): Likewise.
9006 (__GI___strtok_r): Likewise.
9007 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
9008 (PARMS): Do not use macros from bp-asm.h.
9009 (S1): Likewise.
9010 (S2): Likewise.
9011 (SIZE): Likewise.
9012 (__mpn_sub_n): Do not use BP_SYM.
9013 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
9014 "bp-asm.h".
9015 (PARMS): Do not use macros from bp-asm.h.
9016 (S1): Likewise.
9017 (SIZE): Likewise.
9018 (__mpn_submul_1): Do not use BP_SYM.
9019 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
9020 <bp-sym.h>.
9021 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
9022 and <bp-asm.h>.
9023 (PARMS): Do not use macros from bp-asm.h.
9024 (FLAGS): Likewise.
9025 (PTID): Likewise.
9026 (TLS): Likewise.
9027 (CTID): Likewise.
9028 (__clone): Do not use BP_SYM.
9029 (clone): Do not use BP_SYM in weak_alias.
9030 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
9031 and <bp-asm.h>.
9032 (PARMS): Do not use macros from bp-asm.h.
9033 (LEN): Likewise.
9034 (__mmap64): Do not use BP_SYM.
9035 (mmap64): Do not use BP_SYM in weak_alias.
9036 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
9037 <bp-sym.h> and <bp-asm.h>.
9038 (PARMS): Do not use macros from bp-asm.h.
9039 (__posix_fadvise64_l64): Do not use BP_SYM.
9040 * sysdeps/unix/sysv/linux/i386/semtimedop.S
9041 (PARMS): Do not use macros from bp-asm.h.
9042 (NSOPS): Likewise.
9043 (semtimedop): Do not use BP_SYM.
9044 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
9045 and <bp-asm.h>.
9046
582a3cff
AM
90472013-02-21 Allan McRae <allan@archlinux.org>
9048
9049 * manual/message.texi (Charset conversion in gettext):
9050 Move @end statement to beginning of line.
9051
bab8a695
SP
90522013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9053
80945231
SP
9054 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
9055 static.
9056 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
9057 Likewise.
9058
bab8a695
SP
9059 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
9060 (denorm): Likewise.
9061 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
9062 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
9063
e21d7aa7
AK
90642013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9065
9066 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
9067 tail-call to the resolved function if pltexit isn't needed.
9068
4c7a4263
SP
90692013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9070
9071 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
9072 or Y being zero as being unlikely.
9073 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
9074 Likewise.
9075
41f49342
CD
90762013-02-20 Carlos O'Donell <carlos@redhat.com>
9077
9078 * manual/nss.texi (System Databases and Name Service Switch):
9079 Remove frobnicate @pxref.
9080
50022a93
TS
90812013-02-20 Thomas Schwinge <thomas@codesourcery.com>
9082
9083 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
9084 __attribute__ ((unused)) to __attribute__ ((__unused__)).
9085
08cbd996
PM
90862013-02-20 Petr Machata <pmachata@redhat.com>
9087
9088 * elf/elf.h (R_ARM_TARGET1): New macro.
9089 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
9090 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
9091 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
9092 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
9093 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
9094 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
9095 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
9096 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
9097 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
9098 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
9099 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
9100 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
9101 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
9102 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
9103 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
9104 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
9105 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
9106 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
9107 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
9108 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
9109 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
9110 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
9111 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
9112 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
9113 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
9114 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
9115 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
9116 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
9117 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
9118 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
9119 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
9120 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
9121 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
9122 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
9123 (R_ARM_THM_GOT_BREL12): Likewise.
9124 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
9125 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
9126 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
9127 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
9128 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
9129 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
9130 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
9131 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
9132 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
9133
c7b275d6
TS
91342013-02-20 Thomas Schwinge <thomas@codesourcery.com>
9135
9136 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
9137 __attribute_used__ to __attribute__ ((unused)).
9138
20cd7fb3
SP
91392013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
9140
9141 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
9142 powerpc mpa.c.
9143 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
9144 comment formatting.
9145 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
9146
92945b52
JM
91472013-02-19 Joseph Myers <joseph@codesourcery.com>
9148
9149 [BZ #13550]
9150 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
9151 Remove macro.
9152 (ENTER): Remove both macro definitions.
9153 (LEAVE): Likewise.
9154 (CHECK_BOUNDS_LOW): Likewise.
9155 (CHECK_BOUNDS_HIGH): Likewise.
9156 (CHECK_BOUNDS_BOTH): Likewise.
9157 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
9158 (RETURN_BOUNDED_POINTER): Likewise.
9159 (RETURN_NULL_BOUNDED_POINTER): Likewise.
9160 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
9161 (POP_ERRNO_LOCATION_RETURN): Likewise.
9162 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
9163 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9164 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
9165 macros.
9166 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9167 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
9168 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
9169 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
9170 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
9171 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
9172 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
9173 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
9174 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
9175 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
9176 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
9177 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
9178 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9179 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
9180 removed macros.
9181 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9182 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
9183 macros.
9184 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9185 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
9186 * sysdeps/i386/i586/memset.S (memset): Likewise.
9187 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
9188 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9189 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
9190 macros.
9191 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9192 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
9193 Change uses of L(2) to L(out).
9194 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
9195 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
9196 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
9197 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9198 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
9199 removed macros.
9200 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9201 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
9202 macros.
9203 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9204 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
9205 (RETURN): Do not use macro LEAVE.
9206 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
9207 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
9208 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
9209 * sysdeps/i386/i686/memset.S (memset): Likewise.
9210 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
9211 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
9212 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
9213 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
9214 Likewise.
9215 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9216 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
9217 L(1_2) and L(1_3) into L(1).
9218 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
9219 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
9220 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9221 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
9222 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
9223 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
9224 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
9225 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9226 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
9227 macros.
9228 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
9229 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9230 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
9231 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
9232 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
9233 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9234 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
9235 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
9236 * sysdeps/i386/strcspn.S (strcspn): Likewise.
9237 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
9238 * sysdeps/i386/strrchr.S (strrchr): Likewise.
9239 * sysdeps/i386/strspn.S (strspn): Likewise.
9240 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
9241 conditional code.
9242 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9243 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
9244 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
9245 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
9246 L(1_3) into L(1_1).
9247 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
9248 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9249 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
9250 macros.
9251 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9252
2389741a
JJ
92532013-02-19 Jakub Jelinek <jakub@redhat.com>
9254
9255 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
9256 macro.
9257
2016b3cd
SP
92582013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9259
e4f22324
SP
9260 * math/atest-exp.c (exp_mpn): Remove ROUND.
9261 * math/atest-exp2.c (exp_mpn): Likewise.
9262 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
9263
2016b3cd
SP
9264 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
9265 * stdlib/tst-tls-atexit-lib.c: Likewise.
9266 * stdlib/tst-tls-atexit.c: Likewise.
9267
4be9b544
MF
92682013-02-18 Mike Frysinger <vapier@gentoo.org>
9269
9270 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
9271 and __attribute_alloc_size__.
9272
2f62b9ee
MF
92732013-02-18 Mike Frysinger <vapier@gentoo.org>
9274
9275 * include/programs/xmalloc.h: Change __attribute_alloc_size to
9276 __attribute_alloc_size__.
9277 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
9278 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
9279
6ff444c4
MF
92802013-02-18 Mike Frysinger <vapier@gentoo.org>
9281
9282 * include/programs/xmalloc.h: New file.
9283 * catgets/gencat.c: Include it.
9284 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
9285 * elf/pldd.c: Likewise.
9286 * iconv/iconv_charmap.c: Likewise.
9287 * iconv/iconvconfig.c: Likewise.
9288 * iconv/strtab.c: Likewise.
9289 * locale/programs/locale.c: Likewise.
9290 * locale/programs/localedef.h: Likewise.
9291 * locale/programs/simple-hash.c: Likewise.
9292 * nscd/nscd.h: Likewise.
9293 * nss/makedb.c: Likewise.
9294 * sysdeps/generic/ldconfig.h: Likewise.
9295
be179c8a
SP
92962013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9297
ba384f6e
SP
9298 * Versions.def: Add GLIBC_2.18.
9299 * include/link.h (struct link_map): New member l_tls_dtor_count.
9300 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
9301 (__call_tls_dtors): Likewise.
9302 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
9303 __cxa_thread_atexit_impl.
9304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9305 Likewise.
9306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9307 Likewise.
9308 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9309 Likewise.
9310 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9311 Likewise.
9312 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
9313 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
9314 Likewise.
9315 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
9316 Likewise.
9317 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
9318 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
9319 Likewise.
9320 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
9321 (tests): Add test case tst-tls-atexit.
9322 (modules-names): Add shared library for tst-tls-atexit.
85891aca 9323 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
9324 (GLIBC_PRIVATE): Add __call_tls_dtors.
9325 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
9326 for libstdc++.
9327 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
9328 * stdlib/tst-tls-atexit.c: New test case.
9329 * stdlib/tst-tls-atexit-lib.c: New test case.
9330
ffaa74cf 9331 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 9332
be179c8a
SP
9333 * elf/Versions (ld): Add _dl_find_dso_for_object.
9334 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
9335 * elf/dl-open.c (_dl_find_dso_for_object): New function.
9336 (dl_open_worker): Use _dl_find_dso_for_object.
9337 * elf/dl-sym.c (do_sym): Likewise.
9338 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
9339
f78b5caa
AK
93402013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9341
9342 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
9343 Syntactic changes only.
9344 (_dl_runtime_profile): Do a tail-call to the resolved function.
9345
29691210
JM
93462013-02-17 Joseph Myers <joseph@codesourcery.com>
9347
9348 [BZ #13550]
9349 * sysdeps/x86_64/bp-asm.h: Remove file.
9350 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
9351 <bp-sym.h> and <bp-asm.h>.
9352 (__clone): Do not use BP_SYM.
9353 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
9354 <bp-sym.h> and <bp-asm.h>.
9355 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9356 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
9357 "bp-asm.h".
9358 (_setjmp): Do not use BP_SYM.
9359 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
9360 "bp-asm.h".
9361 (setjmp): Do not use BP_SYM.
9362 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
9363 libc_hidden_def.
9364 (mempcpy): Do not use BP_SYM in weak_alias.
9365 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
9366 "bp-asm.h".
9367 (strchr): Do not use BP_SYM.
9368 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
9369 "bp-asm.h".
9370 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
9371 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
9372 (_start): Do not use BP_SYM.
9373 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
9374 "bp-asm.h".
9375 (strcat): Do not use BP_SYM.
9376 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
9377 "bp-asm.h".
9378 (STRCMP): Do not use BP_SYM.
9379 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
9380 "bp-asm.h".
9381 (STRCPY): Do not use BP_SYM.
9382 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
9383 "bp-asm.h".
9384 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
9385 "bp-asm.h".
9386 (FUNCTION): Do not use BP_SYM.
9387 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
9388 weak_alias.
9389 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
9390
f238fd19
AJ
93912013-02-17 Andreas Jaeger <aj@suse.de>
9392
9393 * time/Versions: Sort entries.
9394 * string/Versions: Likewise.
9395 * resolv/Versions: Likewise.
9396 * posix/Versions: Likewise.
9397 * iconv/Versions: Likewise.
9398 * elf/Versions: Likewise.
9399 * wcsmbs/Versions: Likewise.
9400
bd07f23c 94012013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 9402
22af19f9
SP
9403 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
9404 loop termination condition.
9405
4709fe76
SP
9406 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
9407 variable to calculate EZ.
9408 (__sqr): Likewise.
2d0e0f29
SP
9409
9410 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
9411 the lower precision input.
9412
daaa7713
JM
94132013-02-15 Joseph Myers <joseph@codesourcery.com>
9414
9415 [BZ #13550]
9416 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
9417 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
9418 (run-via-rtld-prefix): Do not handle %-bp tests.
9419 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
9420 (all-object-suffixes): Remove .ob.
9421 (bppfx): Remove variable.
9422 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
9423 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
9424 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
9425 [$(build-bounded) = yes] (libtype.ob): Likewise.
9426 * Makerules (elide-routines.ob): Remove variable.
9427 (do-tests-clean): Do not handle *-bp.out.
9428 (common-mostlyclean): Do not handle *-bp and *-bp.out.
9429 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
9430 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
9431 (tests): Do not include $(tests-bp.out).
9432 (xtests): Do not include $(xtests-bp.out).
9433 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
9434 [$(build-bounded) = yes] ($(addprefix
9435 $(objpfx),$(binaries-bounded))): Remove rule.
9436 ($(objpfx)%-bp.out): Remove rule.
9437 * config.make.in (build-bounded): Remove variable.
9438 * crypt/Makefile [$(build-bounded) = yes]
9439 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
9440 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
9441 append to variable.
9442 [$(build-bounded) = yes] (install-lib): Likewise.
9443 [$(build-bounded) = yes] (generated): Likewise.
9444 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
9445 Remove rule.
9446 * intl/Makefile [$(build-bounded) = yes]
9447 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
9448 * math/Makefile [$(build-bounded) = yes]
9449 ($(tests:%=$(objpfx)%-bp): Likewise.
9450 * misc/Makefile [$(build-bounded) = yes]
9451 ($(objpfx)tst-tsearch-bp): Likewise.
9452 * nptl/Makeconfig (bounded-thread-library): Remove variable.
9453 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
9454 Remove dependency.
9455 * string/Makefile (o-objects.ob): Remove variable.
9456 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
9457 (CFLAGS-.ob): Remove variable.
9458 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
9459 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
9460 both definitions of variable.
9461 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
9462 (ASFLAGS-.ob): Remove variable.
9463
e97ed6dd
JM
94642013-02-14 Joseph Myers <joseph@codesourcery.com>
9465
2bdd4ca6
JM
9466 [BZ #13550]
9467 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
9468 Remove __BOUNDED_POINTERS__ from condition.
9469 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
9470 * string/bits/string2.h [!__NO_STRING_INLINES &&
9471 !__BOUNDED_POINTERS__]: Likewise.
9472 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
9473 Likewise.
9474 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
9475 Remove conditional code.
9476 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
9477 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
9478 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
9479 condition.
9480
e97ed6dd
JM
9481 [BZ #13550]
9482 * csu/libc-start.c: Do not include <bp-sym.h>.
9483 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
9484 * elf/dl-open.c: Do not include <bp-sym.h>.
9485 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
9486 * math/fegetenv.c: Do not include <bp-sym.h>.
9487 (fegetenv): Do not use BP_SYM in versioned symbols.
9488 * nptl/sysdeps/pthread/bits/libc-lockP.h
9489 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
9490 <bp-sym.h>.
9491 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9492 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
9493 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9494 (__pthread_mutex_destroy): Likewise.
9495 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9496 (__pthread_mutex_lock): Likewise.
9497 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9498 (__pthread_mutex_trylock): Likewise.
9499 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9500 (__pthread_mutex_unlock): Likewise.
9501 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9502 (__pthread_mutexattr_init): Likewise.
9503 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9504 (__pthread_mutexattr_destroy): Likewise.
9505 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9506 (__pthread_mutexattr_settype): Likewise.
9507 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9508 (__pthread_rwlock_init): Likewise.
9509 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9510 (__pthread_rwlock_destroy): Likewise.
9511 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9512 (__pthread_rwlock_rdlock): Likewise.
9513 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9514 (__pthread_rwlock_tryrdlock): Likewise.
9515 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9516 (__pthread_rwlock_wrlock): Likewise.
9517 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9518 (__pthread_rwlock_trywrlock): Likewise.
9519 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9520 (__pthread_rwlock_unlock): Likewise.
9521 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9522 (__pthread_key_create): Likewise.
9523 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9524 (__pthread_setspecific): Likewise.
9525 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9526 (__pthread_getspecific): Likewise.
9527 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
9528 Likewise.
9529 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9530 (_pthread_cleanup_push_defer): Likewise.
9531 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9532 (_pthread_cleanup_pop_restore): Likewise.
9533 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9534 (pthread_setcancelstate): Likewise.
9535 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
9536 <bp-sym.h>.
9537 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
9538 (memchr): Do not use BP_SYM in weak_alias.
9539 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
9540 (fegetenv): Do not use BP_SYM in versioned symbols.
9541 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
9542 (fesetenv): Do not use BP_SYM in versioned symbols.
9543 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
9544 (feupdateenv): Do not use BP_SYM in versioned symbols.
9545 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
9546 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
9547 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
9548 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
9549 (open64): Do not use BP_SYM in weak_alias.
9550 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
9551 (fegetenv): Do not use BP_SYM in versioned symbols.
9552 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
9553 (fesetenv): Do not use BP_SYM in versioned symbols.
9554 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
9555 (feupdateenv): Do not use BP_SYM in versioned symbols.
9556 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
9557 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
9558 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
9559 (feraiseexcept): Do not use BP_SYM in versioned symbols.
9560 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
9561 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
9562 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
9563 <bp-sym.h>.
9564 (__libc_start_main): Do not use BP_SYM.
9565
d6752ccd
SP
95662013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
9567
cb57ce60
SP
9568 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
9569 redundant return line.
9570 (norm): Likewise.
9571 (denorm): Likewise.
9572 (dbl_mp): Likewise.
9573 (sub_magnitudes): Likewise.
9574 (__add): Likewise.
9575 (__sub): Likewise.
9576 (__mul): Likewise.
9577 (__inv): Likewise.
9578 (__dvd): Likewise.
9579 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
9580 (norm): Likewise.
9581 (denorm): Likewise.
9582 (dbl_mp): Likewise.
9583 (sub_magnitudes): Likewise.
9584 (__add): Likewise.
9585 (__sub): Likewise.
9586 (__mul): Likewise.
9587 (__inv): Likewise.
9588 (__dvd): Likewise.
9589
f414520d
SP
9590 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
9591 instead of __mul.
9592 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
9593 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
9594 (cc32): Likewise.
9595
d6752ccd
SP
9596 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
9597 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
9598 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
9599 of __mul for squares.
9600 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
9601 function
9602 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
9603 Likewise.
9604 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
9605 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
9606
70d9946a
JM
96072013-02-13 Joseph Myers <joseph@codesourcery.com>
9608
9609 [BZ #13550]
9610 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
9611 code.
9612 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
9613 prototype or function definition. Rename ubp_* variables and
9614 parameters. Remove argv definitions conditional on
9615 [__BOUNDED_POINTERS__].
9616 * debug/backtrace.c (__backtrace): Do not use __unbounded.
9617 * elf/dl-runtime.c (_dl_fixup): Likewise.
9618 * include/set-hooks.h (RUN_HOOK): Likewise.
9619 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
9620 definition.
9621 * string/strcpy.c (strcpy): Do not use __unbounded.
9622 * sysdeps/generic/frame.h (struct layout): Likewise.
9623 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
9624 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
9625 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
9626 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
9627 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
9628 (__backtrace): Likewise.
9629 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
9630 use __ptrvalue.
9631 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
9632 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
9633 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
9634 Likewise.
9635 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
9636 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
9637 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
9638 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
9639 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
9640 Do not use __unbounded.
9641 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
9642 Rename __unboundedrlimits parameter to rlimits in prototype.
9643 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
9644 Do not use __unbounded.
9645 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
9646 not use __ptrvalue.
9647 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
9648 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
9649 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
9650 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
9651 __ptrvalue or __unbounded.
9652 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
9653 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
9654 use __unbounded.
9655 (__new_msgctl): Do not use __ptrvalue.
9656 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
9657 __unbounded.
9658 (__libc_msgrcv): Do not use __ptrvalue.
9659 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
9660 startup_info): Do not use __unbounded.
9661 (__libc_start_main): Likewise. Rename ubp_* variables and
9662 parameters. Remove argv definitions conditional on
9663 [__BOUNDED_POINTERS__].
9664 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
9665 __ptrvalue.
9666 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
9667 use __unbounded.
9668 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
9669 or __ptrvalue.
9670 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
9671 use __unbounded.
9672 (__new_shmctl): Do not use __ptrvalue.
9673 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
9674 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
9675 Likewise.
9676 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
9677 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
9678 (__libc_sigaction): Likewise.
9679 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
9680 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
9681 Likewise.
9682 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
9683
cc7834d6
OB
96842013-02-13 Ondřej Bílka <neleai@seznam.cz>
9685
ffb1ec7b 9686 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
9687
9688 * string/mempcpy.c: Implement by calling memcpy.
9689
bdf02814
SP
96902013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
9691
c2af38aa
SP
9692 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
9693
4e92d59e
SP
9694 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
9695 evaluation.
9696
909279a5
SP
9697 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
9698 values in the mantissa.
9699
bdf02814
SP
9700 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
9701 minimize writes to Z.
9702 (sub_magnitudes): Simplify code a bit.
9703
cd525923
RM
97042013-02-12 Roland McGrath <roland@hack.frob.com>
9705
9706 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
9707 from the message. The linker prefixes all warnings with that already.
9708
7e2f0d2d
AS
97092013-02-12 Andreas Schwab <schwab@suse.de>
9710
a445af0b
AS
9711 [BZ #15078]
9712 * posix/regexec.c (extend_buffers): Add parameter min_len.
9713 (check_matching): Pass minimum needed length.
9714 (clean_state_log_if_needed): Likewise.
9715 (get_subexp): Likewise.
9716 * posix/Makefile (tests): Add bug-regex34.
9717 (bug-regex34-ENV): Define.
9718 * posix/bug-regex34.c: New file.
9719
7e2f0d2d
AS
9720 [BZ #11561]
9721 * posix/regcomp.c (parse_bracket_exp): When looking up collating
9722 elements compare against the byte sequence of it, not its name.
9723 * posix/Makefile (tests): Add bug-regex35.
9724 (bug-regex35-ENV): Define.
9725 * posix/bug-regex35.c: New file.
9726
a175b684
TV
97272013-02-11 Tom de Vries <tom@codesourcery.com>
9728
9729 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
9730 comment.
9731 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
9732 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
9733 (CHECK_EOL): Add undef.
9734
310998fe 97352013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
9736
9737 * bits/stdlib-bsearch.h: New file.
9738 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 9739 * stdlib/stdlib.h: Likewise.
41eda41d 9740
8ded91fb
RM
97412013-02-11 Roland McGrath <roland@hack.frob.com>
9742
9743 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
9744 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
9745 declaration.
9746 * manual/search.texi (Array Search Function): Add missing const in
9747 lfind prototype.
9748 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
9749 declaration to use rlim_t.
9750 (Basic Scheduling Functions): Remove erroneous const from
9751 sched_getparam prototype. Remove erroneous * from
9752 sched_get_priority_max and sched_get_priority_min prototypes.
9753 (Resource Usage): Fix summary @comment on vtimes to refer to
9754 sys/vtimes.h rather than vtimes.h.
9755 Add missing *s in vtimes prototype.
9756 (Limits on Resources): Fix ulimit prototype to return long int.
9757 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
9758 prototypes to use long int rather than double.
9759 (BSD Random): Fix initstate and setstate to use char *, not void *.
9760 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
9761 prototype to make second argument 'struct aiocb64 *const[]'.
9762 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
9763 (Status of AIO Operations): Remove erroneous const in aio_return and
9764 aio_return64 prototypes.
9765 (Synchronizing I/O): Fix sync prototype to return void.
9766 * manual/startup.texi (Suboptions): Remove an erroneous const in
9767 getsubopt prototype.
9768 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
9769 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
9770 use size_t rather than int.
9771 (Scanning All Users): Likewise for getpwent_r.
9772 (Setting Groups): Add missing const to setgroups prototype.
9773 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
9774 * manual/socket.texi (Host Names): Fix gethostbyaddr and
9775 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
9776 'const void *' rather than 'const char *'.
9777 (Host Address Functions): Likewise for inet_ntop.
9778 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
9779 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
9780 ssize_t for return value.
9781 (Sending Data): Likewise for send, sendto, sendmsg.
9782 (Socket Option Functions): Add a missing const in setsockopt prototype.
9783 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
9784 use wchar_t for the argument.
9785 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
9786 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
9787 take no arguments.
9788 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
9789 double/float/long double for second argument.
9790 Fix return types of significand, significandf, significandl.
9791 * manual/filesys.texi (Setting Permissions): Use mode_t for second
9792 argument in fchmod prototype.
9793 (File Owner): Use uid_t and gid_t in fchown prototype.
9794 (File Times): Add const to utimes, futimes, and lutimes prototypes.
9795 (Making Special Files): Use mode_t and dev_t in mknod prototype.
9796 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
9797 use 'const struct dirent **' as argument types to CMP function pointer
9798 argument.
9799 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
9800 (File Times): Fix summary magic @comment for struct utimbuf and utime
9801 to refer to utime.h, not time.h.
9802 * manual/string.texi (Argz Functions): Add missing const in
9803 argz_extract and argz_next prototypes.
9804 (Finding Tokens in a String): Likewise for basename.
9805 (String/Array Comparison): Fix typo in wcscasecmp prototype.
9806 (Copying and Concatenation): Fix typo in wmemmove prototype.
9807 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
9808 (Signal Stack): Remove erroneous const in sigstack prototype.
9809 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
9810 prototype.
9811 (Simple Calendar Time): Likewise for stime.
9812 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
9813 prototype.
9814 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
9815 say sys/sysctl.h instead.
9816 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
9817 and vsyslog prototypes.
9818
fe77fe6d
TV
98192013-02-11 Tom de Vries <tom@codesourcery.com>
9820
9821 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
9822 Remove.
9823
3a09b620
RM
98242013-02-11 Roland McGrath <roland@hack.frob.com>
9825
9826 * misc/sys/mman.h: Fix typo in mremap comment.
9827
550a0b89
RM
98282013-02-08 Roland McGrath <roland@hack.frob.com>
9829
9830 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
9831 the '\0' terminator.
9832
a2da1673
JM
98332013-02-08 Joseph Myers <joseph@codesourcery.com>
9834
9835 [BZ #13550]
9836 * debug/segfault.c: Don't include <bp-checks.h>.
9837 * sysdeps/generic/bp-checks.h: Remove file.
9838 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
9839 (__GETDENTS): Don't use CHECK_N.
9840 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
9841 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
9842 (__getgroups): Don't use CHECK_N.
9843 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
9844 (setgroups): Don't use CHECK_N.
9845 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
9846 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
9847 (__libc_msgrcv): Don't use CHECK_N.
9848 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
9849 (__libc_msgsnd): Don't use CHECK_N.
9850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
9851 <bp-checks.h>.
9852 (__libc_pread): Don't use CHECK_N.
9853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
9854 include <bp-checks.h>.
9855 (__libc_pread64): Don't use CHECK_N.
9856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
9857 include <bp-checks.h>.
9858 (__libc_pwrite): Don't use CHECK_N.
9859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
9860 include <bp-checks.h>.
9861 (__libc_pwrite64): Don't use CHECK_N.
9862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
9863 <bp-checks.h>.
9864 (__libc_pread): Don't use CHECK_N.
9865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
9866 include <bp-checks.h>.
9867 (__libc_pread64): Don't use CHECK_N.
9868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
9869 include <bp-checks.h>.
9870 (__libc_pwrite): Don't use CHECK_N.
9871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
9872 include <bp-checks.h>.
9873 (__libc_pwrite64): Don't use CHECK_N.
9874 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
9875 (do_pread): Don't use CHECK_N.
9876 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
9877 (do_pread64): Don't use CHECK_N.
9878 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
9879 (do_pwrite): Don't use CHECK_N.
9880 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
9881 (do_pwrite64): Don't use CHECK_N.
9882 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
9883 (__libc_readv): Don't use CHECK_N.
9884 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
9885 (semop): Don't use CHECK_N.
9886 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
9887 <bp-checks.h>.
9888 (semtimedop): Don't use CHECK_N.
9889 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
9890 (__libc_pread): Don't use CHECK_N.
9891 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
9892 <bp-checks.h>.
9893 (__libc_pread64): Don't use CHECK_N.
9894 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
9895 <bp-checks.h>.
9896 (__libc_pwrite): Don't use CHECK_N.
9897 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
9898 <bp-checks.h>.
9899 (__libc_pwrite64): Don't use CHECK_N.
9900 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
9901 <bp-checks.h>.
9902 (__libc_msgrcv): Don't use CHECK_N.
9903 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
9904 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
9905 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
9906 (__libc_writev): Don't use CHECK_N.
9907
b84660a8
RM
99082013-02-08 Roland McGrath <roland@hack.frob.com>
9909
7f3e75f8
RM
9910 * string/strcpy.c: Removed unused variable.
9911
b84660a8
RM
9912 * Makeconfig (+sysdep-includes): Define with := rather than =.
9913 Use an existing include/ subdir of each sysdeps dir before it.
9914
471514d3
CD
99152013-02-08 Carlos O'Donell <carlos@redhat.com>
9916
9917 * nscd/connection.c (register_traced_file): Comment function.
9918 [HAVE_INOTIFY] (union __inev): Define.
9919 [HAVE_INOTIFY] (inotify_check_files): New function.
9920 [HAVE_INOTIFY] (clear_db_cache): Likewise.
9921 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
9922 clear_db_cache.
9923 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
9924
b2d3c3be
CD
99252013-02-08 Carlos O'Donell <carlos@redhat.com>
9926
9927 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
9928 loaded if not already and that a failure is permanent.
9929
b39949d2
CD
99302013-02-08 Carlos O'Donell <carlos@redhat.com>
9931
ddacd1db 9932 [BZ #15006]
b39949d2
CD
9933 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
9934 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
9935
b2c9eff4
JM
99362013-02-08 Joseph Myers <joseph@codesourcery.com>
9937
f3aae3f3
JM
9938 [BZ #13550]
9939 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
9940 (CHECK_1_NULL_OK): Likewise.
9941 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
9942 (__fxstat): Do not use CHECK_1.
9943 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
9944 <bp-checks.h>.
9945 (___fxstat64): Do not use CHECK_1.
9946 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
9947 <bp-checks.h>.
9948 (__fxstatat): Do not use CHECK_1.
9949 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
9950 <bp-checks.h>.
9951 (__fxstatat64): Do not use CHECK_1.
9952 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
9953 <bp-checks.h>.
9954 (__fxstat): Do not use CHECK_1.
9955 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
9956 <bp-checks.h>.
9957 (__fxstatat): Do not use CHECK_1.
9958 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
9959 <bp-checks.h>.
9960 (__getresgid): Do not use CHECK_1.
9961 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
9962 <bp-checks.h>.
9963 (__getresuid): Do not use CHECK_1.
9964 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
9965 <bp-checks.h>.
9966 (__lxstat): Do not use CHECK_1.
9967 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
9968 <bp-checks.h>.
9969 (__old_msgctl): Do not use CHECK_1.
9970 (__new_msgctl): Likewise.
9971 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
9972 <bp-checks.h>.
9973 (__new_setrlimit): Do not use CHECK_1.
9974 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
9975 <bp-checks.h>.
9976 (__old_shmctl): Do not use CHECK_1.
9977 (__new_shmctl): Likewise.
9978 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
9979 <bp-checks.h>.
9980 (__xstat): Do not use CHECK_1.
9981 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
9982 (__lxstat): Do not use CHECK_1.
9983 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
9984 <bp-checks.h>.
9985 (___lxstat64): Do not use CHECK_1.
9986 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
9987 (__old_msgctl): Do not use CHECK_1.
9988 (__new_msgctl): Likewise.
9989 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
9990 <bp-checks.h>.
9991 (__gettimeofday): Do not use CHECK_1.
9992 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
9993 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
9994 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
9995 <bp-checks.h>.
9996 (__gettimeofday): Do not use CHECK_1.
9997 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
9998 (__old_shmctl): Do not use CHECK_1_NULL_OK.
9999 (__new_shmctl): Do not use CHECK_1.
10000 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
10001 <bp-checks.h>.
10002 (do_sigtimedwait): Do not use CHECK_1.
10003 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
10004 <bp-checks.h>.
10005 (do_sigwaitinfo): Do not use CHECK_1.
10006 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
10007 <bp-checks.h>.
10008 (msgctl): Do not use CHECK_1.
10009 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
10010 <bp-checks.h>.
10011 (shmctl): Do not use CHECK_1.
10012 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
10013 (ustat): Do not use CHECK_1.
10014 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
10015 <bp-checks.h>.
10016 (__fxstat): Do not use CHECK_1.
10017 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
10018 <bp-checks.h>.
10019 (__fxstatat): Do not use CHECK_1.
10020 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
10021 <bp-checks.h>.
10022 (__lxstat): Do not use CHECK_1.
10023 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
10024 <bp-checks.h>.
10025 (__xstat): Do not use CHECK_1.
10026 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
10027 (__xstat): Do not use CHECK_1.
10028 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
10029 (___xstat64): Do not use CHECK_1.
10030
b2c9eff4
JM
10031 [BZ #13550]
10032 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
10033 definitions.
10034 (CHECK_BOUNDS_HIGH): Likewise.
10035 * string/strcpy.c: Do not include <bp-checks.h>.
10036 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
10037
f1d70dad
RM
100382013-02-07 Roland McGrath <roland@hack.frob.com>
10039
10040 * nscd/nscd-client.h (__nscd_drop_map_ref):
10041 Add __attribute__ ((unused)).
10042 * nis/nss-nisplus.h (niserr2nss): Likewise.
10043
10044 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
10045 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
10046
10047 * csu/libc-tls.c (init_static_tls, init_slotinfo):
10048 Remove inline keyword.
10049 * include/rounding-mode.h (round_away): Likewise.
10050 * libio/wfileops.c (adjust_wide_data): Likewise.
10051 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
10052 (__m128i_strloadu_tolower): Likewise.
10053 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
10054 (__m128i_strloadu_tolower): Likewise.
10055 * time/mktime.c (ydhms_diff): Likewise.
10056 * locale/elem-hash.h (elem_hash): Likewise.
10057 * locale/setlocale.c (setdata): Likewise.
10058 * posix/regex_internal.h (re_string_char_size_at): Likewise.
10059 (re_string_wchar_at): Likewise.
10060 (bitset_not, bitset_merge, bitset_mask): Likewise.
10061 [!(__GNUC__ > 3)] (inline): Remove macro.
10062 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
10063 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
10064 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
10065 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
10066 * string/memcmp.c (memcmp_bytes): Likewise.
10067 * locale/programs/locarchive.c (compute_hashval): Likewise.
10068 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
10069 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
10070 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
10071 * nss/getent.c (print_rpc, print_protocols): Likewise.
10072 (print_passwd, print_group, print_aliases): Likewise.
10073 * nis/nss-nisplus.h (niserr2nss): Likewise.
10074 * nscd/connections.c (restart_p): Likewise.
10075 Change return type to bool.
10076
eab55bfb
RM
100772013-02-05 Roland McGrath <roland@hack.frob.com>
10078
7bd642f5
RM
10079 * Makeconfig (all-Depend-files): Add existing
10080 $(sorted-subdirs:=/Depend) files.
10081 (all-subdirs): Remove nss.
10082 * sysdeps/unix/inet/Subdirs: Add it here instead.
10083 * hesiod/Depend: New file.
10084
573c29b2
RM
10085 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
10086 instead of calling alloca.
10087
b2e25af0
RM
10088 * io/lseek.c (__lseek): Rename to __libc_lseek.
10089 Define __lseek as an alias.
10090
eab55bfb
RM
10091 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
10092
9a0d1941
CD
100932013-02-04 Carlos O'Donell <carlos@redhat.com>
10094
10095 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
10096 else clause and remove check for non-standard endianness.
10097
b83bbec4
DM
100982013-02-04 David S. Miller <davem@davemloft.net>
10099
10100 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10101
6277fdab
JM
101022013-02-04 Joseph Myers <joseph@codesourcery.com>
10103
10104 [BZ #13550]
10105 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
10106 (__ubp_memchr): Remove prototype.
10107 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
10108 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
10109 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
10110 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
10111 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
10112 Remove alias.
10113 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
10114 (__ubp_memchr): Likewise.
10115 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
10116 (__ubp_memchr): Likewise.
10117 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
10118 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
10119 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
10120 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
10121 CHECK_STRING.
10122 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
10123 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
10124 (__getcwd): Do not use CHECK_STRING.
10125 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
10126 <bp-checks.h>.
10127 (__real_chown): Do not use CHECK_STRING.
10128 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
10129 <bp-checks.h>.
10130 (fchownat): Do not use CHECK_STRING.
10131 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
10132 CHECK_STRING.
10133 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
10134 <bp-checks.h>.
10135 (__lchown): Do not use CHECK_STRING.
10136 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
10137 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
10138 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
10139 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
10140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
10141 include <bp-checks.h>.
10142 (truncate64): Do not use CHECK_STRING.
10143 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
10144 <bp-checks.h>.
10145 (__real_chown): Do not use CHECK_STRING.
10146 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
10147 <bp-checks.h>.
10148 (__lchown): Do not use CHECK_STRING.
10149 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
10150 <bp-checks.h>.
10151 (__chown): Do not use CHECK_STRING.
10152 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
10153 <bp-checks.h>.
10154 (truncate64): Do not use CHECK_STRING.
10155 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
10156 Likewise.
10157 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
10158 (__xmknod): Do not use CHECK_STRING.
10159 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
10160 <bp-checks.h>.
10161 (__xmknodat): Do not use CHECK_STRING.
10162 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
10163 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
10164
903ae060
AS
101652013-02-04 Andreas Schwab <schwab@suse.de>
10166
10167 [BZ #14142]
10168 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
10169 * include/netdb.h: Likewise for h_errno.
10170 * elf/tst-stackguard1.c: Include <tls.h>.
10171
542f9466
JK
101722013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10173
10174 * elf/link.h (struct link_map): Extend the l_addr comment.
10175 * include/link.h (struct link_map): Likewise.
10176
e782a927
JM
101772013-02-01 Joseph Myers <joseph@codesourcery.com>
10178
10179 [BZ #13550]
10180 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
10181 (BOUNDED_1): Remove macro.
10182 * debug/backtrace.c: Don't include <bp-checks.h>.
10183 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
10184 (__backtrace): Likewise.
10185 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
10186 <bp-checks.h>.
10187 (__backtrace): Don't use BOUNDED_1.
10188 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
10189 <bp-checks.h>.
10190 (__backtrace): Don't use BOUNDED_1.
10191 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
10192 (__backtrace): Don't use BOUNDED_1.
10193 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
10194 (shmat): Don't use BOUNDED_N.
10195
8cf28c5e
JM
101962013-01-31 Joseph Myers <joseph@codesourcery.com>
10197
3a7ac8a0
JM
10198 [BZ #13550]
10199 * sysdeps/generic/bp-start.h: Remove file.
10200 * csu/libc-start.c: Don't include <bp-start.h>.
10201 (LIBC_START_MAIN): Set up __environ directly instead of using
10202 INIT_ARGV_and_ENVIRON.
10203 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
10204 <bp-start.h>.
10205
f3499f95
JM
10206 [BZ #13550]
10207 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
10208 definitions.
10209 (CHECK_FCNTL): Likewise.
10210 (CHECK_N_PAGES): Likewise.
10211
32a45bea
JM
10212 [BZ #13550]
10213 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
10214 definitions.
10215 (CHECK_SIGSET_NULL_OK): Likewise.
10216 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
10217 <bp-checks.h>.
10218 (sigpending): Don't use CHECK_SIGSET.
10219 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
10220 <bp-checks.h>.
10221 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10222 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
10223 <bp-checks.h>.
10224 (do_sigsuspend): Don't use CHECK_SIGSET.
10225 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
10226 use CHECK_SIGSET.
10227 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
10228 (do_sigwait): Don't use CHECK_SIGSET.
10229 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
10230 use CHECK_SIGSET.
10231 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
10232 include <bp-checks.h>.
10233 (sigpending): Don't use CHECK_SIGSET.
10234 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
10235 include <bp-checks.h>.
10236 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10237 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
10238 <bp-checks.h>.
10239 (sigpending): Don't use CHECK_SIGSET.
10240 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
10241 <bp-checks.h>.
10242 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10243
2e8a5c8c
JM
10244 [BZ #13550]
10245 * sysdeps/generic/bp-semctl.h: Remove file.
10246 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
10247 <bp-checks.h> and <bp-semctl.h>.
10248 (__old_semctl): Don't use CHECK_SEMCTL.
10249 (__new_semctl): Likewise.
10250 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
10251 and <bp-semctl.h>.
10252 (__old_semctl): Don't use CHECK_SEMCTL.
10253 (__new_semctl): Likewise.
10254 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
10255 <bp-checks.h> and <bp-semctl.h>.
10256 (__old_semctl): Don't use CHECK_SEMCTL.
10257 (__new_semctl): Likewise.
10258 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
10259 <bp-checks.h> and <bp-semctl.h>.
10260 (semctl): Don't use CHECK_SEMCTL.
10261
c2d54929
JM
10262 [BZ #13550]
10263 * Makerules (elide-bp-thunks): Remove variable.
10264 (elide-routines.oS): Don't use $(elide-bp-thunks).
10265 (elide-routines.os): Likewise.
10266 (elide-routines.o): Likewise.
10267 (elide-routines.op): Likewise.
10268 (elide-routines.og): Likewise.
10269 (objects): Don't use $(bp-thunks).
10270 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
10271 include.
10272 (common-generated): Do not add s-proto-bp.d.
10273 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
10274 (int): Likewise.
10275 (typ): Likewise.
10276 Do not generate makefile rules for bounded-pointer thunks.
10277 * sysdeps/generic/bp-thunks.h: Remove file.
10278 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
10279 * sysdeps/unix/s-proto-bp.S: Likewise.
10280
8cf28c5e
JM
10281 [BZ #15062]
10282 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
10283 parts of result separately when argument is not close to line from
10284 -i to i and one part of argument is small.
10285 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10286 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10287 * math/libm-test.inc (cacos_test): Add more tests.
10288 (casin_test): Likewise.
10289 (casinh_test): Likewise.
10290 * sysdeps/i386/fpu/libm-test-ulps: Update.
10291 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10292
c4e33b8d
DM
102932013-01-31 David S. Miller <davem@davemloft.net>
10294
10295 * po/de.po: Update from translation team.
10296
3b60b421
MK
102972013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
10298
10299 * time/tzfile.c: Include stdint.h for SIZE_MAX.
10300
bb931195
TS
103012013-01-25 Thomas Schwinge <thomas@codesourcery.com>
10302
b5a5da23
TS
10303 * configure.in (_AC_PROG_CC_C89): New definition.
10304 * configure: Regenerate.
10305
bb931195
TS
10306 * configure.in (AC_PROG_CPP): New definition.
10307 * configure: Regenerate.
10308
8c53a12c
JM
103092013-01-23 Joseph Myers <joseph@codesourcery.com>
10310
10311 * debug/tst-backtrace.h: New file.
10312 * debug/tst-backtrace2.c: Include tst-backtrace.h.
10313 (ret): Remove variable.
10314 (x): Likewise.
10315 (FAIL): Remove macro.
10316 (NO_INLINE): Likewise.
10317 (fn1): Use match function instead of strstr.
10318 * debug/tst-backtrace3.c: Include tst-backtrace.h.
10319 (ret): Remove variable.
10320 (x): Likewise.
10321 (FAIL): Remove macro.
10322 (NO_INLINE): Likewise.
10323 (fn): Use match function instead of strstr.
10324 * debug/tst-backtrace4.c: Include tst-backtrace.h.
10325 (ret): Remove variable.
10326 (x): Likewise.
10327 (FAIL): Remove macro.
10328 (NO_INLINE): Likewise.
10329 (handle_signal): Use match function instead of strstr.
10330 * debug/tst-backtrace5.c: Include tst-backtrace.h.
10331 (ret): Remove variable.
10332 (x): Likewise.
10333 (FAIL): Remove macro.
10334 (NO_INLINE): Likewise.
10335 (handle_signal): Use match function instead of strstr.
10336
4858fa2a
RM
103372013-01-23 Roland McGrath <roland@hack.frob.com>
10338
10339 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
10340
bae8e7f5
DM
103412013-01-23 David S. Miller <davem@davemloft.net>
10342
10343 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
10344 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
10345 argument of CAS if possible.
10346 * sysdeps/sparc/sparc64/bits/atomic.h
10347 (__arch_compare_and_exchange_val_32_acq): Likewise.
10348 (__arch_compare_and_exchange_val_64_acq): Likewise.
10349
9cbbc4ae
PT
103502013-01-23 Pino Toscano <toscano.pino@tiscali.it>
10351
10352 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
10353 * sysdeps/posix/ulimit.c: ... this.
92a601b8 10354 Include <limits.h>.
67b3f58c 10355 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 10356
5655a0b5
AC
103572013-01-23 Adam Conrad <adconrad@0c3.net>
10358
10359 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
10360 (LDFLAGS-tst-array5): Likewise.
10361
052aff95
JM
103622013-01-23 Joseph Myers <joseph@codesourcery.com>
10363
10364 [BZ #15036]
10365 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
10366 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
10367 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
10368 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
10369
7c1e01aa
DM
103702013-01-21 David S. Miller <davem@davemloft.net>
10371
10372 * sysdeps/sparc/backtrace.c: New file.
10373 * sysdeps/sparc/sparc32/backtrace.h: New file.
10374 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
10375 * sysdeps/sparc/sparc64/backtrace.h: New file.
10376 * sysdeps/sparc/sparc64/backtrace.c: Delete.
10377 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
10378 -funwind-tables.
10379
ab087e0a
AS
103802013-01-21 Andreas Schwab <schwab@suse.de>
10381
10382 [BZ #15020]
10383 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
10384 closed its stdout.
10385
ed689c2f
AS
103862013-01-20 Andreas Schwab <schwab@linux-m68k.org>
10387
10388 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
10389 "mpa2.h".
10390 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10391
31d470ac
JM
103922013-01-18 Joseph Myers <joseph@codesourcery.com>
10393 Mark Mitchell <mark@codesourcery.com>
10394 Tom de Vries <tom@codesourcery.com>
10395 Paul Pluzhnikov <ppluzhnikov@google.com>
10396
10397 * debug/tst-backtrace2.c: New file.
10398 * debug/tst-backtrace3.c: Likewise.
10399 * debug/tst-backtrace4.c: Likewise.
10400 * debug/tst-backtrace5.c: Likewise.
10401 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
10402 (CFLAGS-tst-backtrace3.c): Likewise.
10403 (CFLAGS-tst-backtrace4.c): Likewise.
10404 (CFLAGS-tst-backtrace5.c): Likewise.
10405 (LDFLAGS-tst-backtrace2): Likewise.
10406 (LDFLAGS-tst-backtrace3): Likewise.
10407 (LDFLAGS-tst-backtrace4): Likewise.
10408 (LDFLAGS-tst-backtrace5): Likewise.
10409 (tests): Add new tests tst-backtrace2, tst-backtrace3,
10410 tst-backtrace4 and tst-backtrace5.
10411
90567f30 104122013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
10413 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10414
10415 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
10416 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
10417 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
10418 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
10419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10420 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
10421 "+r" and remove output regs list as redundant. Add explicit inline
10422 asm to specify register of return val to work around compiler codegen
10423 bug. Remove (int) cast on return value. Add return type parameter to
10424 use in macro so that this macro does not truncate return value for
10425 64-bit values.
10426 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
10427 pass to INTERNAL_VSYSCALL_NCS.
10428 (INLINE_VSYSCALL): Add 'long int' as return type to
10429 INTERNAL_VSYSCALL_NCS macro invocation.
10430 (INTERNAL_VSYSCALL): Add 'long int' as return type to
10431 INTERNAL_VSYSCALL_NCS macro invocation.
10432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10433
d3b9ea61
SP
104342013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10435
0b57daeb
SP
10436 [BZ #14496]
10437 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
10438 Fix application of SIMD FP exception mask.
10439
caa99d06
SP
10440 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
10441 mp_no from a power of two.
10442 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
10443 __mpexp_twomm1. Use __pow_mp.
10444
d3b9ea61
SP
10445 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
10446 multiplication.
10447
1dbaee3c
DM
104482013-01-17 David S. Miller <davem@davemloft.net>
10449
10450 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10451
728d7b43
JM
104522013-01-17 Joseph Myers <joseph@codesourcery.com>
10453
10454 [BZ #15023]
10455 * include/complex.h: Condition contents on [!_COMPLEX_H].
10456 (__kernel_casinhf): New prototype.
10457 (__kernel_casinh): Likewise.
10458 (__kernel_casinhl): Likewise.
10459 * math/Makefile (libm_calls): Add k_casinh.
10460 * math/k_casinh.c: New file.
10461 * math/k_casinhf.c: Likewise.
10462 * math/k_casinhl.c: Likewise.
10463 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
10464 finite nonzero arguments.
10465 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
10466 finite nonzero arguments.
10467 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
10468 finite nonzero arguments.
10469 * math/s_casinh.c: Do not include <float.h>.
10470 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
10471 * math/s_casinhf.c: Do not include <float.h>.
10472 (__casinhf): Move code for finite nonzero arguments to
10473 k_casinhf.c.
10474 * math/s_casinhl.c: Do not include <float.h>.
10475 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
10476 redefine.
10477 (__casinhl): Move code for finite nonzero arguments to
10478 k_casinhl.c.
10479 * math/libm-test.inc (cacos_test): Add more tests.
10480 * sysdeps/i386/fpu/libm-test-ulps: Update.
10481 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10482
2a26ef3a
PT
104832013-01-17 Pino Toscano <toscano.pino@tiscali.it>
10484
10485 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
10486 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
10487 [!HAVE_MREMAP]: Remove [defined linux] case.
10488 * malloc/arena.c: Do not include <malloc-sysdep.h>.
10489
a897655d
SP
104902013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10491
10492 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
10493
881ebe89 104942013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
10495
10496 * elf/elf.h (R_386_SIZE32): New relocation.
10497 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
10498 R_386_SIZE32.
10499 (elf_machine_rela): Likewise.
10500 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
10501 R_X86_64_SIZE64 and R_X86_64_SIZE32.
10502
59981e9b
JM
105032013-01-17 Joseph Myers <joseph@codesourcery.com>
10504
10505 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
10506 (FP_FAST_FMA): Do not define.
10507 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
10508 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
10509 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
10510 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
10511 !_SOFT_FLOAT]: Likewise.
10512 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
10513 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
10514 value.
10515 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
10516 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
10517 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
10518 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
10519 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
10520 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
10521 file.
10522
cfa8054f
AS
105232013-01-16 Andreas Schwab <schwab@suse.de>
10524
10525 [BZ #14327]
10526 * include/stdlib.h (__mktemp): Add declaration.
10527 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
10528 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
10529
dd930cc5
SP
105302013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10531
881ebe89
SP
10532 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
10533 definitions.
10534 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
10535 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
10536 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
10537 definitions here.
10538 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
10539 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
10540 definitions.
10541 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
10542 and ONE.
10543 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
10544 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
10545 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
10546 definitions.
10547 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
10548 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
10549 definitions.
10550 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 10551
dd930cc5
SP
10552 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
10553
c19a9f89
DM
105542013-01-15 David S. Miller <davem@davemloft.net>
10555
1aa61767
DM
10556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10557 trunc{,f} to libm-sysdep_routes.
10558 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
10560 file.
10561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
10562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
10563 file.
10564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
10565 file.
10566 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
10567 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
10568 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
10569 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
10570 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
10571 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
10572 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
10573 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
10574
c42d5e98
DM
10575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10576 nearbyint{,f} to libm-sysdep_routes.
10577 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
10579 New file.
10580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
10581 file.
10582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
10583 New file.
10584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
10585 file.
10586 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
10587 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
10588 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
10589 file.
10590 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
10591 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
10592 file.
10593 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
10594 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
10595 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
10596
c19a9f89
DM
10597 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
10598 libc_feholdexcept and libc_fesetenv.
10599
357679d2
MF
106002013-01-15 Mike Frysinger <vapier@gentoo.org>
10601
10602 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
10603
65a82e3d
DM
106042013-01-14 David S. Miller <davem@davemloft.net>
10605
8b954ab9
DM
10606 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
10607 (SPARC_ASM_VIS2_IFUNC): Likewise.
10608 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
10609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
10610 use of 'siam' instruction.
10611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
10612 Likewise.
10613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
10614 Likewise.
10615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
10616 Likewise.
10617 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
10618 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
10619 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
10620 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
10621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
10622 file.
10623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
10624 file.
10625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
10626 file.
10627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
10628 file.
10629 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
10630 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
10631 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
10632 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
10633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
10634 new VIS2 routines.
10635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
10636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
10637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
10638 Likewise.
10639 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
10640 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
10641 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
10642 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
10643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
10644 routines to libm-sysdep_routines.
10645 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10646
65a82e3d
DM
10647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10648 fdim/fdimf to libm-sysdep_routines.
10649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
10650 file.
10651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
10652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
10653 file.
10654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
10655 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
10656 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
10657 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
10658 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
10659 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
10660 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
10661
e34ab705
SP
106622013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
10663
2a91b573
SP
10664 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
10665 to optimize copies.
10666
1066a534
SP
10667 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
10668 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
10669 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10670
e34ab705
SP
10671 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
10672 local variable MPTWO.
10673 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
10674 Likewise.
10675
aba5e596
MF
106762013-01-13 Mike Frysinger <vapier@gentoo.org>
10677
10678 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
10679 GLOB_NOESCAPE.
10680
e557e9e5
MF
106812013-01-13 Mike Frysinger <vapier@gentoo.org>
10682
10683 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
10684
0428cec9
MF
106852013-01-13 Mike Frysinger <vapier@gentoo.org>
10686
10687 * manual/pattern.texi (glob_t): Document gl_flags.
10688 (glob64_t): Likewise.
10689
8794a964
DM
106902013-01-11 David S. Miller <davem@davemloft.net>
10691
66438c3f
RM
10692 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
10693 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
10694 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
10695 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
10696 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
10697 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
10698 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
10699 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
10700 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
10701 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
10702 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
10703 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
10704 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
10705
4ae4244d
DM
10706 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
10707 sparc V9 rather than using V8 code.
10708 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
10709 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
10710
8794a964
DM
10711 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
10712 Move to...
10713 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
10714 Here.
10715
6270516e
RM
107162013-01-11 Roland McGrath <roland@hack.frob.com>
10717
10718 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
10719 not in the main loop.
10720 * configure: Regenerated.
10721
6a57d931
JM
107222013-01-11 Joseph Myers <joseph@codesourcery.com>
10723
10724 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
10725 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
10726 to just #else.
10727 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
10728 [!__GLIBC_HAVE_LONG_LONG] case.
10729 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
10730 condition to just #else.
10731 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
10732 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
10733 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
10734 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
10735 unconditional.
10736 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
10737 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
10738 #elif condition to just #else.
10739 * sysdeps/unix/sysv/linux/sys/sysmacros.h
10740 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
10741 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
10742 #elif condition to just #else.
10743
0e8529e9
SE
107442013-01-11 Steve Ellcey <sellcey@mips.com>
10745
10746 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
10747 (EF_MIPS_ARCH_64): Fix value.
10748 (EF_MIPS_ARCH_32R2): New.
10749 (EF_MIPS_ARCH_64R2): New.
10750
740b3dbe
L
107512013-01-11 H.J. Lu <hongjiu.lu@intel.com>
10752
10753 * Makeconfig (+link-pie-before-libc): New.
10754 (+link-pie-after-libc): Likewise.
10755 (+link-pie-tests): Likewise.
10756 (+link-pie): Rewritten.
10757 (link-before-libc): Remove $(config-LDFLAGS).
10758 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
10759 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
10760 (config-LDFLAGS): Renamed to ...
10761 (rtld-LDFLAGS): This.
10762 (rtld-tests-LDFLAGS): New macro.
10763 (link-libc-rpath-link): Likewise.
10764 (link-libc-tests-rpath-link): Likewise.
10765 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
10766 (link-libc): Prepand $(link-libc-rpath-link).
10767 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
10768 (test-program-prefix): New macro.
10769 (test-via-rtld-prefix): Likewise.
10770 (test-program-cmd): Likewise.
10771 (host-test-program-cmd): Likewise.
10772 * Makefile ($(common-objpfx)testrun.sh): Replace
10773 $(run-program-prefix) with $(test-program-prefix).
10774 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
10775 $(rtld-LDFLAGS).
10776 ($(common-objpfx)shlib.lds): Likewise.
10777 (build-module-helper): Likewise.
10778 ($(common-objpfx)format.lds): Likewise.
10779 * Rules (binaries-pie-tests): New.
10780 (binaries-pie-notests): Likewise.
10781 (binaries-pie): Rewritten.
10782 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
10783 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
10784 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
10785 (make-test-out): Replace $(host-built-program-cmd) with
10786 $(host-test-program-cmd).
10787 * config.make.in (build-hardcoded-path-in-tests): New variable.
10788 * configure.in (--enable-hardcoded-path-in-tests): New configure
10789 option.
10790 (hardcoded_path_in_tests): New AC_SUBST.
10791 * configure: Regenerated.
10792 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
10793 $(built-program-cmd) with $(test-program-cmd).
10794 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
10795 (test_program_cmd): This.
10796 * elf/Makefile ($(objpfx)order.out): Run test with
10797 $(test-program-prefix).
10798 ($(objpfx)order2.out): Likewise.
10799 ($(objpfx)tst-initorder.out): Likewise.
10800 ($(objpfx)tst-initorder2.out): Likewise.
10801 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
10802 $(test-program-cmd).
10803 ($(objpfx)tst-array1-static.out): Likewise.
10804 ($(objpfx)tst-array2.out): Likewise.
10805 ($(objpfx)tst-array3.out): Likewise.
10806 ($(objpfx)tst-array4.out): Likewise.
10807 ($(objpfx)tst-array5.out): Likewise.
10808 ($(objpfx)tst-array5-static.out): Likewise.
10809 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
10810 $(test-program-cmd).
10811 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
10812 $(run-program-prefix) with $(test-program-prefix).
10813 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
10814 (test_program_prefix): This.
10815 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
10816 $(run-program-prefix) with $(test-program-prefix).
10817 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
10818 (test_program_prefix): This.
10819 * iconvdata/tst-tables.sh: Likewise.
10820 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
10821 $(run-program-prefix) with $(test-program-prefix).
10822 ($(objpfx)tst-translit.out): Likewise.
10823 ($(objpfx)tst-gettext2.out): Likewise.
10824 ($(objpfx)tst-gettext4.out): Likewise.
10825 ($(objpfx)tst-gettext6.out): Likewise.
10826 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
10827 (test_program_prefix): This.
10828 * intl/tst-gettext2.sh: Likewise.
10829 * intl/tst-gettext4.sh Likewise.
10830 * intl/tst-gettext6.sh: Likewise.
10831 * intl/tst-translit.sh: Likewise.
10832 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
10833 with $(test-program-cmd).
10834 * libio/Makefile ($(objpfx)test-freopen.out): Replace
10835 $(run-program-prefix) with $(test-program-prefix).
10836 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
10837 (test_program_prefix): This.
10838 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
10839 $(run-program-prefix) with $(test-program-prefix).
10840 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
10841 (test_program_prefix): This.
10842 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
10843 * posix/Makefile ($(objpfx)globtest.out): Replace
10844 $(run-via-rtld-prefix) and $(test-wrapper) with
10845 $(test-program-prefix) and $(test-via-rtld-prefix).
10846 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
10847 $(test-program-prefix).
10848 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
10849 $(host-test-program-cmd).
10850 (tst-spawn-ARGS): Likewise.
10851 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
10852 $(test-program-prefix).
10853 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
10854 (test_via_rtld_prefix): This.
10855 (test_wrapper): Renamed to ...
10856 (test_program_prefix): This.
10857 (run_program_prefix): Replaced by test_program_prefix.
10858 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
10859 (test_program_prefix): This.
10860 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
10861 with $(host-test-program-cmd).
10862 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
10863 $(run-program-prefix) with $(test-program-prefix).
10864 ($(objpfx)tst-printf.out): Likewise.
10865 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
10866 $(test-program-cmd).
10867 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
10868 (test_program_prefix): This.
10869 * stdio-common/tst-unbputc.sh: Likewise.
10870 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
10871 $(run-program-prefix) with $(test-program-prefix).
10872 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
10873 (test_program_prefix): This.
10874 * string/Makefile ($(objpfx)tst-svc.out): Replace
10875 $(built-program-cmd) with $(test-program-cmd).
10876
c6fe55cf
AJ
108772013-01-11 Andreas Jaeger <aj@suse.de>
10878
10879 [BZ #15003]
10880 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
10881 value. Sync with Linux 3.7.
10882
9e6919c8
DM
108832013-01-10 David S. Miller <davem@davemloft.net>
10884
10885 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
10886 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
10887 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
10888
1c9f1a02
RM
108892013-01-10 Roland McGrath <roland@hack.frob.com>
10890
10891 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
10892 never set.
10893 * configure: Regenerated.
10894
b9de2dde
DM
108952013-01-10 David S. Miller <davem@davemloft.net>
10896
10897 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
10898 sparc V9 rather than using V8 code.
10899 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
10900 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
10901
e7f68ef4
RM
109022013-01-10 Roland McGrath <roland@hack.frob.com>
10903
10904 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
10905 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
10906 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
10907 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
10908 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
10909 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
10910 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
10911 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
10912 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
10913 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
10914 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
10915 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
10916 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
10917 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
10918 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
10919 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
10920 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
10921 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
10922 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
10923 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
10924 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
10925 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
10926 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
10927 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
10928 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
10929 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
10930 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
10931
5a47cc9c
DM
109322013-01-10 David S. Miller <davem@davemloft.net>
10933
10934 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10935
4cf8f209
L
109362013-01-10 H.J. Lu <hongjiu.lu@intel.com>
10937
10938 * posix/Makefile (tests-static): New variable.
10939 (tests): Add $(tests-static).
10940 (tst-exec-static-ARGS): New variable.
10941 (tst-spawn-static-ARGS): Likewise.
10942 * posix/tst-exec-static.c: New file.
10943 * posix/tst-spawn-static.c: Likewise.
10944 * posix/tst-exec.c: Support run directly.
10945 * posix/tst-spawn.c: Likewise.
10946
fed0faa1
JM
109472013-01-10 Joseph Myers <joseph@codesourcery.com>
10948
828beb13
JM
10949 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
10950 long.
10951 * math/bits/mathcalls.h (llrint): Likewise.
10952 (llround): Likewise.
10953 * stdlib/stdlib.h (struct drand48_data): Likewise.
10954 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
10955 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
10956 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
10957 Likewise.
10958 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
10959 Likewise.
10960 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
10961 (elf_greg_t): Likewise.
10962 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
10963 (__jmp_buf): Likewise.
10964 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
10965 definitions.
10966 (llrint): Likewise, for all definitions.
10967 (llrintl): Likewise.
10968
fed0faa1
JM
10969 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
10970 Remove [__GNUC__] condition.
10971 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
10972 condition to just [__USE_ISOC99].
10973 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
10974
1a20cb20
L
109752013-01-10 H.J. Lu <hongjiu.lu@intel.com>
10976
10977 [BZ #14200]
10978 * sysdeps/unix/sysv/linux/x86/bits/environments.h
10979 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
10980 defined.
10981 (_POSIX_V6_ILP32_OFF32): Likewise.
10982 (_XBS5_ILP32_OFF32): Likewise.
10983 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
10984 (__ILP32_OFFBIG_LDFLAGS): Likewise.
10985
751b85f7
SP
109862013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10987
7490eb81
SP
10988 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
10989
751b85f7
SP
10990 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
10991 doubles __mpexp_twomm1. Adjust usage.
10992 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
10993 Remove.
10994
988197f0
AS
109952013-01-10 Andreas Schwab <schwab@suse.de>
10996
10997 [BZ #14964]
10998 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
10999 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
11000
e83d7298
DM
110012013-01-09 David S. Miller <davem@davemloft.net>
11002
034ed64b 11003 [BZ #15003]
e83d7298
DM
11004 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
11005 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
11006 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
11007 TCP_FASTOPEN): Define.
11008 (tcp_repair_opt): New structure.
11009 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
11010 enum values.
11011 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
11012 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
11013 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
11014 (tcp_cookie_transactions): New structure.
11015
d5e0b9bd
AB
110162013-01-09 Anton Blanchard <anton@samba.org>
11017
11018 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
11019 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
11020 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
11021 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
11022
0c07e3ea
JM
110232013-01-09 Joseph Myers <joseph@codesourcery.com>
11024
11025 * include/features.h (__USE_ANSI): Remove.
11026
232f7002
RM
110272013-01-09 Roland McGrath <roland@hack.frob.com>
11028
ad98e30c
RM
11029 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
11030
232f7002
RM
11031 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
11032
950c99ca
SP
110332013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
11034
b5792741
SP
11035 * sysdeps/s390/fpu/libm-test-ulps: Update.
11036
47cf2278
SP
11037 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11038
950c99ca
SP
11039 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
11040 (__acr): Likewise.
11041 (__cpy): Likewise.
11042 (norm): Likewise.
11043 (denorm): Likewise.
11044 (__mp_dbl): Likewise.
11045 (__dbl_mp): Likewise.
11046 (add_magnitudes): Likewise.
11047 (sub_magnitudes): Likewise.
11048 (__add): Likewise.
11049 (__sub): Likewise.
11050 (__mul): Likewise.
11051 (__inv): Likewise.
11052 (__dvd): Likewise.
11053 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
11054 (__acr): Likewise.
11055 (__cpy): Likewise.
11056 (norm): Likewise.
11057 (denorm): Likewise.
11058 (__mp_dbl): Likewise.
11059 (__dbl_mp): Likewise.
11060 (add_magnitudes): Likewise.
11061 (sub_magnitudes): Likewise.
11062 (__add): Likewise.
11063 (__sub): Likewise.
11064 (__mul): Likewise.
11065 (__inv): Likewise.
11066 (__dvd): Likewise.
11067 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
11068 (__acr): Likewise.
11069 (__cpy): Likewise.
11070 (norm): Likewise.
11071 (denorm): Likewise.
11072 (__mp_dbl): Likewise.
11073 (__dbl_mp): Likewise.
11074 (add_magnitudes): Likewise.
11075 (sub_magnitudes): Likewise.
11076 (__add): Likewise.
11077 (__sub): Likewise.
11078 (__mul): Likewise.
11079 (__inv): Likewise.
11080 (__dvd): Likewise.
11081
eede9df9
JM
110822013-01-08 Joseph Myers <joseph@codesourcery.com>
11083
11084 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
11085 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
11086 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
11087 2 && __USE_EXTERN_INLINES]: Likewise.
11088
c40ea3d9
AJ
110892013-01-08 Andreas Jaeger <aj@suse.de>
11090
11091 [BZ# 14985]
11092 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
11093 Remove.
11094 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
11095 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
11096
2ccdea26
AB
110972013-01-07 Anton Blanchard <anton@samba.org>
11098
11099 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
11100 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
11101 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
11102 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
11103 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
11104 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
11105 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
11106 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
11107 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11108 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11109 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11110 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11111 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
11112 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11113 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
11114 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11115 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11116 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11117 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
11118 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
11119 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
11120 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
11121 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11122 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
11123 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
11124 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
11125 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
11126 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
11127 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
11128 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
11129 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
11130 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11131 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11132 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
11133 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
11134 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11135 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11136 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
11137 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
11138 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
11139 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
11140 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11141 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
11142
a9708fed
JM
111432013-01-07 Joseph Myers <joseph@codesourcery.com>
11144
375607b9
JM
11145 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
11146 (__MALLOC_PMT): Likewise.
11147 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
11148 [__GNUC__], only on [_LIBC].
11149 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
11150 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
11151 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
11152 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
11153 forward declaration.
11154 (realloc_hook_ini): Likewise.
11155 (memalign_hook_ini): Likewise.
11156 (__libc_memalign): Do not use __MALLOC_PMT in variable
11157 declaration.
11158 (__libc_valloc): Likewise.
11159 (__libc_pvalloc): Likewise.
11160 (__libc_calloc): Likewise.
11161 (__posix_memalign): Likewise.
11162
a9708fed
JM
11163 [BZ #14996]
11164 * math/s_casinh.c: Include <float.h>.
11165 (__casinh): Do not do computation with squaring and square root
11166 for large arguments.
11167 * math/s_casinhf.c: Include <float.h>.
11168 (__casinhf): Do not do computation with squaring and square root
11169 for large arguments.
11170 * math/s_casinhl.c: Include <float.h>.
11171 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
11172 (__casinhl): Do not do computation with squaring and square root
11173 for large arguments.
11174 * math/libm-test.inc (casin_test): Add more tests.
11175 (casinh_test): Likewise.
11176 * sysdeps/i386/fpu/libm-test-ulps: Update.
11177 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11178
afec409a
L
111792013-01-04 H.J. Lu <hongjiu.lu@intel.com>
11180
11181 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
11182 (__x86_64_raw_data_cache_size): Likewise.
11183 (__x86_64_data_cache_size_half): Likewise.
11184 (__x86_64_raw_data_cache_size_half): Likewise.
11185 (__x86_64_shared_cache_size): Likewise.
11186 (__x86_64_raw_shared_cache_size): Likewise.
11187 (__x86_64_shared_cache_size_half): Likewise.
11188 (__x86_64_raw_shared_cache_size_half): Likewise.
11189 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
11190 to ...
11191 (__x86_data_cache_size): This.
11192 (__x86_64_raw_data_cache_size): Renamed to ...
11193 (__x86_raw_data_cache_size): This.
11194 (__x86_64_data_cache_size_half): Renamed to ...
11195 (__x86_data_cache_size_half): This.
11196 (__x86_64_raw_data_cache_size_half): Renamed to ...
11197 (__x86_raw_data_cache_size_half): This.
11198 (__x86_64_shared_cache_size): Renamed to ...
11199 (__x86_shared_cache_size): This.
11200 (__x86_64_raw_shared_cache_size): Renamed to ...
11201 (__x86_raw_shared_cache_size): This.
11202 (__x86_64_shared_cache_size_half): Renamed to ...
11203 (__x86_shared_cache_size_half): This.
11204 (__x86_64_raw_shared_cache_size_half): Renamed to ...
11205 (__x86_raw_shared_cache_size_half): This.
11206 * sysdeps/x86_64/memcpy.S: Updated.
11207 * sysdeps/x86_64/memset.S: Likewise.
11208 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
11209 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11210 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11211
0b3986d0
DM
112122013-01-04 David S. Miller <davem@davemloft.net>
11213
11214 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11215
e47686e9
AS
112162013-01-04 Andreas Schwab <schwab@linux-m68k.org>
11217
d643bac1
AS
11218 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
11219 1 to avoid redefinition warning.
11220 (__USE_GNU): Don't define.
11221 (init_signaling_nan): Protoize.
11222
e47686e9
AS
11223 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11224
b18decba
SP
112252013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11226
fffb407f
SP
11227 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
11228 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
11229 (__cpymn): Likewise.
11230 (norm): Remove commented code.
11231 (denorm): Likewise.
11232 (__mp_dbl): Likewise.
11233 (__inv): Likewise.
11234 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
11235 (__cpymn): Likewise.
11236 (norm): Remove commented code.
11237 (denorm): Likewise.
11238 (__mp_dbl): Likewise.
11239 (__inv): Likewise.
11240
b18decba
SP
11241 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
11242 mp_no value for 1.0 and 2.0.
11243 (norm): Use RADIXI instead of radixi.d.
11244 (denorm): Likewise.
11245 (__mul): Use 0.0 instead of zero.d.
11246 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
11247 mp_no value for 1.0 and 2.0.
11248 (norm): Use RADIXI instead of radixi.d.
11249 (denorm): Likewise.
11250 (__mul): Use 0.0 instead of zero.d.
11251
cdc1c96f
JM
112522013-01-04 Joseph Myers <joseph@codesourcery.com>
11253
11254 [BZ #14994]
11255 * math/s_casinh.c (__casinh): Reduce finite argument to first
11256 quadrant then set signs of results at the end.
11257 * math/s_casinhf.c (__casinhf): Likewise.
11258 * math/s_casinhl.c (__casinhl): Likewise.
11259 * math/libm-test.inc (casin_test): Add more tests.
11260 (casinh_test): Likewise.
11261 * sysdeps/i386/fpu/libm-test-ulps: Update.
11262 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11263
302913e1
SP
112642013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11265
6420d207
SP
11266 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
11267
a9e48ab4
SP
11268 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
11269
b7837264
SP
11270 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
11271 declarations.
11272 (denorm): Likewise.
11273 (__mp_dbl): Likewise.
11274 (__inv): Likewise.
11275
f8af25d2
SP
11276 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
11277 and adjust the header comment.
11278
302913e1
SP
11279 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
11280 variable name from declaration.
11281
5d7dd1ca
L
112822013-01-03 H.J. Lu <hongjiu.lu@intel.com>
11283
11284 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11285 Initialize COMMON_CPUID_INDEX_7 element.
11286 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
11287 (CPUID_RTM): Likewise.
11288 (HAS_RTM): Likewise.
11289 (COMMON_CPUID_INDEX_7): New enum.
11290
2f5f40f4
AS
112912013-01-03 Andreas Schwab <schwab@linux-m68k.org>
11292
11293 [BZ #14981]
11294 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
11295 size is zero, record memory as freed.
11296
4056f4a0
AJ
112972013-01-03 Andreas Jaeger <aj@suse.de>
11298
11299 * po/ia.po: Add new Interlingua translation.
11300
ab15736f 113012012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
11302
11303 * locale/programs/localedef.c: Fix description of '--posix' flag.
11304
568035b7
JM
113052013-01-02 Joseph Myers <joseph@codesourcery.com>
11306
e6898b8d
JM
11307 * NEWS: Update dates in second copyright notice.
11308 * README: Update copyright dates in example.
11309 * manual/libc.texinfo: Update copyright dates.
11310 * scripts/test-installation.pl: Update copyright date in --version
11311 output.
11312
0e2f9562
JM
11313 * hurd/ctty-input.c: Fix copyright notice formatting.
11314 * hurd/ctty-output.c: Likewise.
11315 * hurd/dtable.c: Likewise.
11316 * hurd/hurd-raise.c: Likewise.
11317 * hurd/hurdprio.c: Likewise.
11318 * hurd/msgportdemux.c: Likewise.
11319 * misc/sys/file.h: Likewise.
11320 * misc/sys/ioctl.h: Likewise.
11321 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
11322 * sysdeps/mach/hurd/chdir.c: Likewise.
11323 * sysdeps/mach/hurd/fchdir.c: Likewise.
11324 * sysdeps/mach/hurd/rename.c: Likewise.
11325 * sysdeps/mach/hurd/rmdir.c: Likewise.
11326 * sysdeps/mach/hurd/seekdir.c: Likewise.
11327 * sysdeps/mach/hurd/setsid.c: Likewise.
11328 * sysdeps/posix/wait3.c: Likewise.
11329
568035b7
JM
11330 * All files with FSF copyright notices: Update copyright dates
11331 using scripts/update-copyrights.
11332 * intl/plural.c: Regenerated.
11333 * locale/programs/charmap-kw.h: Likewise.
11334 * locale/programs/locfile-kw.h: Likewise.
11335
da08f647
SP
113362013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11337
0f5477af
SP
11338 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
11339 four values.
11340
44e0d4c2
SP
11341 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
11342 calculation loop and add branch prediction.
11343
4d55b4e5
SP
11344 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
11345 check access beyond bounds of m1np.
11346
da08f647
SP
11347 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
11348 MPTWO.
11349 (__inv): Remove local variable MPTWO to use the global
11350 constant.
11351 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
11352 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
11353 variable MPTWO.
11354 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
11355 MP3HALFS static const.
11356
8e051029
DM
113572013-01-01 David S. Miller <davem@davemloft.net>
11358
11359 * po/ca.po: Update from translation team.
11360
f4cf5f2d
JM
113612013-01-01 Joseph Myers <joseph@codesourcery.com>
11362
11363 * scripts/update-copyrights: New file.
11364 * Makeconfig: Reformat copyright notice.
11365 * ctype/ctype.h: Likewise.
11366 * debug/swprintf_chk.c: Likewise.
11367 * elf/dl-cache.c: Likewise.
11368 * elf/dl-debug.c: Likewise.
11369 * elf/dl-object.c: Likewise.
11370 * grp/initgroups.c: Likewise.
11371 * hurd/Makefile: Likewise.
11372 * hurd/hurd/signal.h: Likewise.
11373 * hurd/hurdfault.c: Likewise.
11374 * hurd/hurdioctl.c: Likewise.
11375 * hurd/hurdlookup.c: Likewise.
11376 * hurd/intr-msg.c: Likewise.
11377 * iconv/gconv_open.c: Likewise.
11378 * libio/swprintf.c: Likewise.
11379 * locale/lc-ctype.c: Likewise.
11380 * locale/nl_langinfo.c: Likewise.
11381 * mach/Machrules: Likewise.
11382 * mach/Makefile: Likewise.
11383 * malloc/obstack.h: Likewise.
11384 * manual/Makefile: Likewise.
11385 * manual/tsort.awk: Likewise.
11386 * misc/bits/stab.def: Likewise.
11387 * nis/nis_print_group_entry.c: Likewise.
11388 * nis/nis_table.c: Likewise.
11389 * nis/nss_compat/compat-pwd.c: Likewise.
11390 * nis/nss_compat/compat-spwd.c: Likewise.
11391 * po/Makefile: Likewise.
11392 * posix/fnmatch.c: Likewise.
11393 * posix/regex.h: Likewise.
11394 * resolv/Makefile: Likewise.
11395 * resolv/nss_dns/dns-network.c: Likewise.
11396 * resolv/res_hconf.c: Likewise.
11397 * scripts/gen-sorted.awk: Likewise.
11398 * soft-fp/soft-fp.h: Likewise.
11399 * stdio-common/printf.h: Likewise.
11400 * stdlib/monetary.h: Likewise.
11401 * stdlib/random.c: Likewise.
11402 * stdlib/random_r.c: Likewise.
11403 * sysdeps/generic/Makefile: Likewise.
11404 * sysdeps/gnu/Makefile: Likewise.
11405 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
11406 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11407 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11408 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11409 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11410 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11411 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11412 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11413 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11414 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11415 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
11416 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
11417 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
11418 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
11419 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
11420 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
11421 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
11422 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11423 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11424 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11425 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
11426 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
11427 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
11428 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
11429 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
11430 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
11431 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
11432 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
11433 * sysdeps/mach/hurd/errnos.awk: Likewise.
11434 * sysdeps/mach/hurd/fork.c: Likewise.
11435 * sysdeps/mach/hurd/getcwd.c: Likewise.
11436 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
11437 * sysdeps/mach/hurd/mmap.c: Likewise.
11438 * sysdeps/mach/hurd/utimes.c: Likewise.
11439 * sysdeps/mach/hurd/xmknod.c: Likewise.
11440 * sysdeps/posix/profil.c: Likewise.
11441 * sysdeps/posix/readdir_r.c: Likewise.
11442 * sysdeps/powerpc/bits/mathdef.h: Likewise.
11443 * sysdeps/powerpc/bits/setjmp.h: Likewise.
11444 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
11445 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
11446 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11447 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
11448 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11449 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11450 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11451 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
11452 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11453 * sysdeps/pthread/lio_listio.c: Likewise.
11454 * sysdeps/sparc/dl-procinfo.h: Likewise.
11455 * sysdeps/unix/i386/sysdep.S: Likewise.
11456 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
11457 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
11458 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
11459 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
11460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11461 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
11462 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
11463 * sysdeps/unix/sysv/linux/speed.c: Likewise.
11464 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
11465 * sysdeps/wordsize-32/divdi3.c: Likewise.
11466 * time/sys/time.h: Likewise.
11467 * wcsmbs/Makefile: Likewise.
11468
0549fbba
DM
114692013-01-01 David S. Miller <davem@davemloft.net>
11470
a141f1a7
DM
11471 * po/fr.po: Update from translation team.
11472
0549fbba
DM
11473 * catgets/gencat.c: Update copyright year.
11474 * csu/version.c: Likewise.
11475 * debug/catchsegv.sh: Likewise.
11476 * debug/pcprofiledump.c: Likewise.
11477 * debug/xtrace.sh: Likewise.
11478 * elf/ldconfig.c: Likewise.
11479 * elf/ldd.bash.in: Likewise.
11480 * elf/pldd.c: Likewise.
11481 * elf/sotruss.ksh: Likewise.
11482 * elf/sprof.c: Likewise.
11483 * iconv/iconv_prog.c: Likewise.
11484 * iconv/iconvconfig.c: Likewise.
11485 * locale/programs/locale.c: Likewise.
11486 * locale/programs/localedef.c: Likewise.
11487 * login/programs/pt_chown.c: Likewise.
11488 * malloc/memusage.sh: Likewise.
11489 * malloc/memusagestat.c: Likewise.
11490 * malloc/mtrace.pl: Likewise.
11491 * nscd/nscd.c: Likewise.
11492 * nss/getent.c: Likewise.
11493 * nss/makedb.c: Likewise.
11494 * posix/getconf.c: Likewise.
11495
18ea052c
SP
114962012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
11497
11498 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
11499 numbers.
11500
9c89fca6
MF
115012012-12-30 Mike Frysinger <vapier@gentoo.org>
11502
11503 * math/bits/mathcalls.h (modf): Use __nonnull.
11504
085ec079
SP
115052012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11506
11507 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
11508 (split): Use macro CN instead of the bare value.
11509 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
11510 could be used.
11511 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
11512 instead of the bare value.
11513 (power1): Likewise.
11514
6d9f97e1
SP
115152012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11516
d63f73be
SP
11517 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
11518 __ATAN_TWOM.
11519 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11520
6d9f97e1
SP
11521 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
11522 their values.
11523 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
11524 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11525 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
11526 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
11527
4c4febf5
AJ
115282012-12-28 Andreas Jaeger <aj@suse.de>
11529
af5843ef
AJ
11530 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
11531 values are from Linux 3.7.
11532
4c4febf5
AJ
11533 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
11534 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
11535
99136f82
SP
115362012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11537
2f216c3c 11538 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
11539 TRUE case.
11540
99136f82
SP
11541 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
11542 (norm): Likewise.
11543 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
11544 variables with preprocessor constants.
11545 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11546 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
11547 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
11548
7fffbdff
BH
115492012-12-27 Bruno Haible <bruno@clisp.org>
11550
11551 [BZ #14317]
11552 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
11553 only if needed.
11554
b76eb5f0
SP
115552012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11556
31a7fe5c
SP
11557 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
11558 and use variable directly.
11559 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
11560
b76eb5f0
SP
11561 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
11562 MPONE.
11563 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
11564 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
11565 variable MPONE.
11566 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11567 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
11568 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
11569 include directive. Remove local variable MPONE.
11570 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
11571 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
11572 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
11573
2c8bfe7d
DM
115742012-12-25 David S. Miller <davem@davemloft.net>
11575
11576 * version.h (RELEASE): Set to "development".
11577 (VERSION): Set to "2.17.90".
11578 * NEWS: Add 2.18 section.
11579
147d03b0
DM
115802012-12-21 David S. Miller <davem@davemloft.net>
11581
11582 * po/hr.po: Update from translation team.
11583
a8ebb2b9
AK
115842012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11585
11586 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
11587
95b4f1b6
SE
115882012-12-19 Steve Ellcey <sellcey@mips.com>
11589
b2d94007 11590 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 11591
cedb2a90
MS
115922012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11593
11594 * manual/contrib.texi (Contributors): Spelling correction.
11595
bbf527d6
DM
115962012-12-15 David S. Miller <davem@davemloft.net>
11597
11598 * po/ru.po: Update from translation team.
11599
bc38c906
DM
116002012-12-13 David S. Miller <davem@davemloft.net>
11601
85429b1a
DM
11602 * NEWS: Mention IFUNC testsuite enhancements.
11603
d283e353
DM
11604 * po/pl.po: Update from translation team.
11605 * po/bg.po: Likewise.
11606
bc38c906
DM
11607 * manual/contrib.texi (Contributors): Update entries for Hongjiu
11608 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
11609
a181b0d7
DM
116102012-12-11 David S. Miller <davem@davemloft.net>
11611
4641d57e
DM
11612 * po/sv.po: Update from translation team.
11613
f7bc6495
DM
11614 * po/vi.po: Update from translation team.
11615
6fc9048f
DM
11616 * po/cs.po: Update from translation team.
11617
a181b0d7
DM
11618 * po/de.po: Update from translation team.
11619 * po/eo.po: Likewise.
11620 * po/nl.po: Likewise.
11621
f70bfe80
SP
116222012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11623
3c8b4190
SP
11624 [BZ #14246]
11625 * manual/argp.texi (Argp Helper Functions): Move node to follow
11626 Argp Parsing State.
11627
f70bfe80
SP
11628 [BZ #14872]
11629 * manual/conf.texi (Limits on File System Capacity): Mention if
11630 terminating null is included in the max size.
11631
188f0adf
AJ
116322012-12-10 Andreas Jaeger <aj@suse.de>
11633
11634 * po/cs.po: Update from translation team.
11635
56e7d3ad
SP
116362012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11637
11638 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
11639 void pointer and cast to uintptr_t.
11640 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
11641 path.
11642 * sysdeps/s390/s390-64/memcpy.S: Likewise.
11643 * sysdeps/s390/s390-64/memset.S: Likewise.
11644
76f2d2ea 116452012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
11646
11647 [BZ #14833]
11648 * menual/message.texi (Message Translation): Fix typos.
11649 (Helper programs for gettext): Likewise.
11650
67cbf9a2
AS
116512012-12-07 Andreas Schwab <schwab@linux-m68k.org>
11652
11653 [BZ #14898]
11654 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
11655 Change to -1.
11656
682d0e9a
DM
116572012-12-07 David S. Miller <davem@davemloft.net>
11658
11659 * po/libc.pot: Update.
11660
573cd484
RH
116612012-12-07 Richard Henderson <rth@redhat.com>
11662
7e9da188 11663 [BZ #10114]
573cd484
RH
11664 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
11665 normal/normal case to before the switch.
11666 (_FP_DIV): Likewise.
11667
e933a943
MF
116682012-12-06 Carlos O'Donell <carlos@systemhalted.org>
11669 Mike Frysinger <vapier@gentoo.org>
11670
11671 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
11672 check for __NR_fadvise64_64.
11673
82123268
CM
116742012-12-06 Chris Metcalf <cmetcalf@tilera.com>
11675
11676 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
11677 0, not just to plain "0" as a statement.
11678 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
11679 with cw.
11680
d9814526
JM
116812012-12-06 Joseph Myers <joseph@codesourcery.com>
11682
11683 * NEWS: Use sourceware.org in Bugzilla URL.
11684
7728c574
SP
116852012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11686
f16946dd
SP
11687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
11688 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
11689
5704bbcb
SP
11690 * stdio-common/tst-put-error.c (do_test): Add newline to the
11691 padded test to ensure flush.
11692
17aa0516
JL
116932012-12-05 Jeff Law <law@redhat.com>
11694
11695 * sunrpc/etc.rpc (fedfs_admin): Add entry.
11696
363313b5
JM
116972012-12-05 Joseph Myers <joseph@codesourcery.com>
11698
effbd42a
JM
11699 * README: Don't refer to ports add-on as distributed separately.
11700 Mention AArch64 in list of systems supported in the ports add-on.
11701
87600365
JM
11702 * LICENSES: Add more non-FSF copyright and license notices.
11703
a0d7066a
JM
11704 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
11705 ((unused)).
11706
66ca5a5b
JM
11707 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
11708
363313b5
JM
11709 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
11710 10000 as width of padded output.
11711
b37984ad
JM
117122012-12-04 Joseph Myers <joseph@codesourcery.com>
11713
9003570a
JM
11714 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
11715
b37984ad
JM
11716 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
11717 variable LX with __attribute__ ((unused)).
11718 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
11719 Likewise.
11720 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
11721 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11722 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
11723 with __attribute__ ((unused)).
11724
c8df52ec
DM
117252012-12-04 David S. Miller <davem@abraco.davemloft.net>
11726
11727 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
11728
b3b099af
JM
117292012-12-04 Joseph Myers <joseph@codesourcery.com>
11730
c33aa6e3
JM
11731 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
11732 (CFLAGS-nldbl-acos.c): New variable.
11733 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
11734 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
11735 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
11736 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
11737 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
11738 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
11739 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
11740 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
11741 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
11742 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
11743 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
11744 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
11745 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
11746 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
11747 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
11748 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
11749 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
11750 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
11751 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
11752 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
11753 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
11754 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
11755 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
11756 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
11757 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
11758 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
11759 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
11760 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
11761 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
11762 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
11763 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
11764 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
11765 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
11766 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
11767 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
11768 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
11769 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
11770 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
11771 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
11772 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
11773 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
11774 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
11775 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
11776 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
11777 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
11778 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
11779 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
11780 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
11781 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
11782 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
11783 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
11784 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
11785 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
11786 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
11787 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
11788 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
11789 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
11790 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
11791 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
11792 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
11793 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
11794 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
11795 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
11796 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
11797 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
11798 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
11799 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
11800 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
11801 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
11802 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
11803 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
11804 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
11805 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
11806 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
11807 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
11808 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
11809 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
11810 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
11811 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
11812 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
11813 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
11814 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
11815 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
11816 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
11817 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
11818 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
11819 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
11820 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
11821 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
11822 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
11823 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
11824 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
11825 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
11826 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
11827 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
11828 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
11829 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
11830
20f0018d
JM
11831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11832 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
11833
b3b099af
JM
11834 [BZ #14914]
11835 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
11836 whole low double instead of just low 47 bits when splitting values
11837 into two parts.
11838
029264d1
AM
118392012-12-03 Allan McRae <allan@archlinux.org>
11840
11841 * manual/stdio.texi (Predefined Printf Handlers): Remove
11842 @hsep and @vsep usage.
11843
c9d6789e
MF
118442012-12-03 Mike Frysinger <vapier@gentoo.org>
11845
11846 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
11847 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
11848
4b7634a5
JL
118492012-12-03 Jeff Law <law@redhat.com>
11850
11851 * time/sys/time.h (settimeofday): Do not mark TV argument
11852 as __nonnull.
11853
eb6cbd24
MF
118542012-12-01 Mike Frysinger <vapier@gentoo.org>
11855
11856 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
11857 when currently writing and seek to current position when not.
11858 * libio/Makefile (tests): Remove bug-fclose1.
11859 * libio/bug-fclose1.c: Delete.
11860
f638872a
JM
118612012-12-01 Joseph Myers <joseph@codesourcery.com>
11862
11863 * manual/arith.texi (feenableexcept): Fix typo.
11864 (fedisableexcept): Likewise.
11865
48085d14
RM
118662012-11-30 Roland McGrath <roland@hack.frob.com>
11867
11868 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
11869 second, differently-typed declaration, rather than a cast.
11870
1a538b9f
SP
118712012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11872
11873 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
11874 * include/rpc/svc.h: ... here.
11875
d07f2ff1 118762012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
11877
11878 [BZ #13013]
11879 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
11880 depending n and resplen2 to catch cases where answer
11881 equals answerp2.
11882
c93ec1f0
CD
118832012-11-29 Carlos O'Donell <carlos@systemhalted.org>
11884
11885 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
11886 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
11887
37db69de
MF
118882012-11-29 Mike Frysinger <vapier@gentoo.org>
11889
11890 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
11891
e10c4e4f
RM
118922012-11-29 Roland McGrath <roland@hack.frob.com>
11893
11894 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
11895
2af1b328
JL
118962012-11-28 Jeff Law <law@redhat.com>
11897
11898 [BZ #13761]
11899 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
11900 dataset_temporary. Track alloca usage into alloca_used.
11901 If dataset is large allocate and release it via malloc/free.
11902
111db5b1
FW
119032012-06-04 Florian Weimer <fweimer@redhat.com>
11904
f06cc227 11905 [BZ #14197]
111db5b1
FW
11906 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
11907
dd694abd
DM
119082012-11-28 David S. Miller <davem@davemloft.net>
11909
11910 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11911
9984dd01
JM
119122012-11-28 Joseph Myers <joseph@codesourcery.com>
11913
11914 [BZ #14803]
11915 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
11916 of pi/2 rounded to nearest to 64 bits.
11917 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
11918 nearest to 64 bits.
11919 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
11920 bits.
11921
14bc93a9
JL
119222012-11-28 Jeff Law <law@redhat.com>
11923 Martin Osvald <mosvald@redhat.com>
11924
11925 [BZ #14889]
11926 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
11927 * sunrpc/svc.c: Include time.h.
11928 (__svc_accept_failed): New function.
11929 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
11930 any reason other than EINTR, call __svc_accept_failed.
11931 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
11932 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
11933
e3c6aa3a
AS
119342012-11-28 Andreas Schwab <schwab@suse.de>
11935
11936 * scripts/abilist.awk: Also handle indirect functions in .opd
11937 section.
11938
1bead169
JM
119392012-11-28 Joseph Myers <joseph@codesourcery.com>
11940
11941 [BZ #13881]
11942 * sysdeps/x86/fpu/powl_helper.c: New file.
11943 * sysdeps/x86/fpu/Makefile: Likewise.
11944 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
11945 (p3): New object.
11946 (__ieee754_powl): Use __powl_helper for finite arguments except
11947 integer exponents below 8.
11948 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
11949 (p3): New object.
11950 (__ieee754_powl): Use __powl_helper for finite arguments except
11951 integer exponents below 8.
11952 * math/libm-test.inc (pow_test): Add more tests and enable some
11953 previously disabled tests.
11954 * sysdeps/i386/fpu/libm-test-ulps: Update.
11955 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11956
0817d63d
SP
119572012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11958 Carlos O'Donell <carlos_odonell@mentor.com>
11959
11960 * nss/makedb.c (is_prime): Assert that input is odd and greater
11961 than 4. Note that fact in a comment too.
11962 (next_prime): Add 4 to input.
11963
de2fd463
SP
119642012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11965
11966 [BZ #11741]
11967 * libio/Makefile (tests): Add test case tst-fwrite-error.
11968 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
11969 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
11970 * libio/tst-fwrite-error.c: New test case.
11971
c515fb51
L
119722012-11-26 H.J. Lu <hongjiu.lu@intel.com>
11973
11974 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
11975 before casting to void *.
11976 * include/libc-internal.h (__pointer_type): New macro.
11977 (__integer_if_pointer_type_sub): Likewise.
11978 (__integer_if_pointer_type): Likewise.
11979 (cast_to_integer): Likewise.
11980 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
11981 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
11982 before casting to atomic64_t.
11983 (atomic_exchange_acq): Likewise.
11984 (__arch_exchange_and_add_body): Likewise.
11985 (__arch_add_body): Likewise.
11986 (atomic_add_negative): Likewise.
11987 (atomic_add_zero): Likewise.
11988
4cf77aa9
JM
119892012-11-26 Joseph Myers <joseph@codesourcery.com>
11990
11991 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
11992 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
11993 (add_fdes): Likewise.
11994 (linear_search_fdes): Likewise.
11995 (binary_search_unencoded_fdes): Likewise.
11996
d260b3b4
AS
119972012-11-26 Andreas Schwab <schwab@linux-m68k.org>
11998
11999 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
12000
67060746
AC
120012012-11-24 Adam Conrad <adconrad@0c3.net>
12002
12003 * configure.in: Autodetect C++ header directories.
12004 * configure: Regenerated.
12005
800938a1
MF
120062012-11-23 Mike Frysinger <vapier@gentoo.org>
12007
12008 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
12009
4e6e34e6
AS
120102012-11-23 Andreas Schwab <schwab@linux-m68k.org>
12011
12012 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12013
7c7feb47
JM
120142012-11-22 Joseph Myers <joseph@codesourcery.com>
12015
7184dcdf
JM
12016 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
12017 LDBL_MANT_DIG == 106]: Disable some tests.
12018 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
12019 Likewise.
12020 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
12021 Likewise.
12022
0a42601f
JM
12023 [BZ #14871]
12024 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
12025 input for small inputs. Return +/- pi/2 for large inputs.
12026 * math/libm-test.inc (atan_test): Add more tests.
12027
79c9b9fe
JM
12028 * sysdeps/generic/unwind-dw2-fde-glibc.c
12029 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
12030 __attribute__ ((unused)).
12031
c60d3bf2
JM
12032 [BZ #14645]
12033 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
12034 x * y if x and y are nonzero and z is zero.
12035
ef1e0867
JM
12036 [BZ #14811]
12037 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
12038 nonzero exponents with absolute value below 0x1p-117 to +/-
12039 0x1p-117.
12040
1468ded3
JM
12041 [BZ #14869]
12042 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
12043 up arguments below 2**-450, not just those below 2**-500.
12044 * math/libm-test.inc (hypot_test): Add another test.
12045
8e27e3cc
JM
12046 [BZ #14868]
12047 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
12048 Return a+b for ratio over 2**120, not 2**60.
12049 * math/libm-test.inc (hypot_test): Add another test.
12050
c9c0279b
JM
12051 * math/libm-test.inc (clog_test): Use
12052 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
12053 (clog10_test): Likewise.
12054
7c7feb47
JM
12055 [BZ #6778]
12056 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
12057
fff1530e
AS
120582012-11-22 Andreas Schwab <schwab@suse.de>
12059
12060 * sysdeps/i386/fpu/libm-test-ulps: Update.
12061
94558d30
PT
120622012-11-22 Pino Toscano <toscano.pino@tiscali.it>
12063
12064 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
12065 printf output with newline.
12066
7e1be741
L
120672012-11-21 H.J. Lu <hongjiu.lu@intel.com>
12068
6bfea974
L
12069 [BZ #14865]
12070 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
12071 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
12072 -z nodlopen, -z initfirst and -z execstack support.
12073 * configure: Regenerated.
12074
7e1be741
L
12075 * elf/elf.h (DF_1_NODIRECT): New macro.
12076 (DF_1_IGNMULDEF): Likewise.
12077 (DF_1_NOKSYMS): Likewise.
12078 (DF_1_NOHDR): Likewise.
12079 (DF_1_EDITED): Likewise.
12080 (DF_1_NORELOC): Likewise.
12081 (DF_1_SYMINTPOSE): Likewise.
12082 (DF_1_GLOBAUDIT): Likewise.
12083 (DF_1_SINGLETON): Likewise.
12084 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
12085 DT_1_SUPPORTED_MASK bits.
12086 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
12087
105ce2ce
CD
120882012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
12089
12090 * sysdeps/unix/make-syscalls.sh: Document prefixes.
12091
123be9de
TS
120922012-11-20 Thomas Schwinge <thomas@codesourcery.com>
12093
d072f3f7
TS
12094 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
12095 macro.
12096
123be9de
TS
12097 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
12098 (sendmmsg): Move declarations...
12099 * socket/sys/socket.h: ... here.
12100 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
12101 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
12102 include it from...
12103 * socket/recvmmsg.c: ... this new file.
12104 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
12105 (sendmmsg): Rename to __sendmmsg, create weak alias and make
12106 definition of __sendmmsg hidden.
12107 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
12108 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
12109 Move ENOSYS stub into and include it from...
12110 * socket/sendmmsg.c: ... this new file.
12111 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
12112 (sysdep_routines): Move recvmmsg and sendmmsg...
12113 * socket/Makefile (routines): ... here.
12114 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
12115 (GLIBC_PRIVATE): Add __sendmmsg.
12116 * include/sys/socket.h (__sendmmsg): Add declarations.
12117 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
12118 sendmmsg.
12119
cf9a5d18
JM
121202012-11-20 Joseph Myers <joseph@codesourcery.com>
12121
12122 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
12123 variable I1 with __attribute__ ((unused)).
12124 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
12125
ecd4caf9
JM
121262012-11-19 Joseph Myers <joseph@codesourcery.com>
12127
be14d48f
JM
12128 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
12129 DUMMY variables with __attribute__ ((unused)).
12130
ecd4caf9
JM
12131 * bits/byteswap.h: Include <bits/types.h>.
12132 (__bswap_64): Use __uint64_t instead of unsigned long long int.
12133
986cab95
PT
121342012-11-19 Pino Toscano <toscano.pino@tiscali.it>
12135
12136 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
12137 string_t. Do not manually set errno.
12138 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
12139 length with __strnlen. Make sure to both set errno and return it on
12140 failure.
12141
6d33cc9d
DM
121422012-11-19 David S. Miller <davem@davemloft.net>
12143
12144 With help from Joseph Myers.
12145 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
12146 very large arguments properly.
12147 * math/libm-test.inc (atan_test): New tests.
12148 (atan2_test): New tests.
12149 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12150 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12151
ee663277
JM
121522012-11-19 Joseph Myers <joseph@codesourcery.com>
12153
877f2d8e
JM
12154 [BZ #14856]
12155 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
12156 Define to 3.
12157
116fc08a
JM
12158 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
12159 [POSIX] (EADDRNOTAVAIL): Likewise.
12160 [POSIX] (EAFNOSUPPORT): Likewise.
12161 [POSIX] (EALREADY): Likewise.
12162 [POSIX] (ECONNABORTED): Likewise.
12163 [POSIX] (ECONNREFUSED): Likewise.
12164 [POSIX] (ECONNRESET): Likewise.
12165 [POSIX] (EDESTADDRREQ): Likewise.
12166 [POSIX] (EDQUOT): Likewise.
12167 [POSIX] (EHOSTUNREACH): Likewise.
12168 [POSIX] (EIDRM): Likewise.
12169 [POSIX] (EISCONN): Likewise.
12170 [POSIX] (ELOOP): Likewise.
12171 [POSIX] (EMULTIHOP): Likewise.
12172 [POSIX] (ENETDOWN): Likewise.
12173 [POSIX] (ENETUNREACH): Likewise.
12174 [POSIX] (ENOBUFS): Likewise.
12175 [POSIX] (ENODATA): Likewise.
12176 [POSIX] (ENOLINK): Likewise.
12177 [POSIX] (ENOMSG): Likewise.
12178 [POSIX] (ENOPROTOOPT): Likewise.
12179 [POSIX] (ENOSR): Likewise.
12180 [POSIX] (ENOSTR): Likewise.
12181 [POSIX] (ENOTCONN): Likewise.
12182 [POSIX] (ENOTSOCK): Likewise.
12183 [POSIX] (EOPNOTSUPP): Likewise.
12184 [POSIX] (EOVERFLOW): Likewise.
12185 [POSIX] (EPROTO): Likewise.
12186 [POSIX] (EPROTONOSUPPORT): Likewise.
12187 [POSIX] (EPROTOTYPE): Likewise.
12188 [POSIX] (ESTALE): Likewise.
12189 [POSIX] (ETIME): Likewise.
12190 [POSIX] (ETXTBSY): Likewise.
12191 [POSIX] (EWOULDBLOCK): Likewise.
12192 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
12193 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
12194 [POSIX] (SEEK_CUR): Likewise.
12195 [POSIX] (SEEK_END): Likewise.
12196 [POSIX || UNIX98] (mode_t): Do not require.
12197 [POSIX] (off_t): Likewise.
12198 [POSIX] (pid_t): Likewise.
12199 [POSIX] (sys/stat.h): Do not allow header.
12200 [POSIX] (unistd.h): Likewise.
12201 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
12202 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
12203 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
12204 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
12205 require.
12206 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
12207 sigevent): Specify elements.
12208 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
12209 entry.
12210 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
12211 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
12212
a483863f
JM
12213 * conform/data/cpio.h-data [POSIX]: Disable whole file.
12214 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
12215 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
12216 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
12217 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
12218 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
12219 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
12220 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
12221 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
12222 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
12223 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
12224 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
12225 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
12226 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
12227 Likewise.
12228 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
12229 Likewise.
12230 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
12231 Likewise.
12232 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
12233 Likewise.
12234 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
12235 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
12236 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
12237 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
12238 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
12239 Specify lower bound on value.
12240 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
12241 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
12242 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
12243 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
12244 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
12245 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
12246 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
12247 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
12248 value.
12249 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
12250 as optional.
12251 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
12252 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
12253 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
12254 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
12255 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
12256 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
12257 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
12258 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
12259 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
12260 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
12261 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
12262 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
12263 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
12264 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
12265 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
12266 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
12267 entry.
12268 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
12269 optional.
12270 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
12271 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
12272 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
12273 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
12274 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
12275 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
12276 Likewise.
12277 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
12278 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
12279 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
12280 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
12281 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
12282 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
12283 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
12284 as optional.
12285 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
12286 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
12287 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
12288 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
12289 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
12290 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
12291 specify as optional.
12292 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
12293 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
12294 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
12295 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
12296 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
12297 [XPG3] (NL_LANGMAX): Likewise.
12298 [POSIX || XPG3] (NL_MSGMAX): Likewise.
12299 [POSIX || XPG3] (NL_NMAX): Likewise.
12300 [POSIX || XPG3] (NL_SETMAX): Likewise.
12301 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
12302 [XPG3] (NZERO): Likewise.
12303 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
12304 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
12305 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
12306 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
12307 (REG_ERANGE): Expect.
12308 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
12309 optional-constant.
12310 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
12311 Use (void) in prototype.
12312 [POSIX] (*_t): Allow.
12313 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
12314 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
12315 (WRDE_BADVAL): Expect.
12316
5ba924e3
JM
12317 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
12318 expect.
12319 [XPG3 || XPG4] (O_RSYNC): Likewise.
12320 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
12321 Likewise.
12322 [XPG3 || XPG4] (pthread_sigmask): Likewise.
12323 [XPG3 || XPG4] (sigqueue): Likewise.
12324 [XPG3 || XPG4] (sigtimedwait): Likewise.
12325 [XPG3 || XPG4] (sigwaitinfo): Likewise.
12326 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
12327 [XPG3 || XPG4] (vsnprintf): Likewise.
12328 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
12329 Likewise.
12330 [XPG3 || XPG4] (blksize_t): Likewise.
12331 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
12332 Likewise.
12333 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
12334 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
12335 [XPG3 || XPG4] (struct itimerspec): Likewise.
12336 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
12337 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
12338 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
12339 [XPG3 || XPG4] (clockid_t): Likewise.
12340 [XPG3 || XPG4] (timer_t): Likewise.
12341 [XPG3 || XPG4] (clock_getres): Likewise.
12342 [XPG3 || XPG4] (clock_gettime): Likewise.
12343 [XPG3 || XPG4] (clock_settime): Likewise.
12344 [XPG3 || XPG4] (nanosleep): Likewise.
12345 [XPG3 || XPG4] (timer_create): Likewise.
12346 [XPG3 || XPG4] (timer_delete): Likewise.
12347 [XPG3 || XPG4] (timer_gettime): Likewise.
12348 [XPG3 || XPG4] (timer_getoverrun): Likewise.
12349 [XPG3 || XPG4] (timer_settime): Likewise.
12350 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
12351 [XPG3 || XPG4] (getlogin_r): Likewise.
12352 [XPG3 || XPG4] (pread): Likewise.
12353 [XPG3 || XPG4] (pthread_atfork): Likewise.
12354 [XPG3 || XPG4] (pwrite): Likewise.
12355
ee663277
JM
12356 [BZ #14835]
12357 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
12358 <bits/siginfo.h>.
12359
942caa16
PT
123602012-11-19 Pino Toscano <toscano.pino@tiscali.it>
12361
e19af380
PT
12362 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
12363 finalizing MALLSTREAM.
12364
942caa16
PT
12365 * sysdeps/mach/hurd/syncfs.c: New file.
12366
cfde9b46
SP
123672012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12368
12369 [BZ #14719]
12370 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
12371 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
12372 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
12373 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
12374 (_nss_dns_gethostbyname4_r): Likewise.
12375 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
12376 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
12377
f6da27e5
PH
123782012-11-19 Peng Haitao <penght@cn.fujitsu.com>
12379
12380 [BZ #13763]
12381 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
12382
6665d4a2
SM
123832012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
12384
1f51ee92
SM
12385 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
12386 * elf/cache.c (print_entry): Print ",AArch64" for
12387 FLAG_AARCH64_LIB64
12388
6665d4a2
SM
12389 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
12390 * elf/cache.c (print_entry): Print ",hard-float" for
12391 FLAG_ARM_LIBHF.
12392
05b227bd
DM
123932012-11-18 David S. Miller <davem@davemloft.net>
12394
12395 With help from Joseph Myers.
12396 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
12397 cutoff to 2**-13.
12398 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
12399 cutoff to 2**-25.
12400 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
12401 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
12402 small.
12403 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
12404 * math/libm-test.inc (y0_test): New tests.
12405 (y1_test): New tests.
12406 * sysdeps/i386/fpu/libm-test-ulps: Update.
12407 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12408 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12409
786b0b67
AS
124102012-11-18 Andreas Schwab <schwab@linux-m68k.org>
12411
12412 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
12413 64-bit targets.
12414 * configure: Regenerated.
12415
8e18b86d
DM
124162012-11-17 David S. Miller <davem@davemloft.net>
12417
12418 [BZ #14811]
12419 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
12420 nonzero exponents with absolute value below 0x1p-128 to +/-
12421 0x1p-128.
12422
531f1ae0
JM
124232012-11-17 Joseph Myers <joseph@codesourcery.com>
12424
12df29e2
JM
12425 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
12426
150dc1a0
JM
12427 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
12428
531f1ae0
JM
12429 * posix/getconf-speclist.c: New file.
12430 * posix/posix-envs.def: Likewise.
12431 * posix/confstr.c (START_ENV_GROUP): New macro.
12432 (END_ENV_GROUP): Likewise.
12433 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
12434 (KNOWN_PRESENT_ENV_STRING): Likewise.
12435 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
12436 (UNKNOWN_ENVIRONMENT): Likewise.
12437 (confstr): Include posix-envs.def instead of handling
12438 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
12439 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
12440 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
12441 (END_ENV_GROUP): Likewise.
12442 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
12443 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
12444 (UNKNOWN_ENVIRONMENT): Likewise.
12445 (__sysconf): Include posix-envs.def instead of handling associated
12446 cases directly here.
12447 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
12448 preprocessing getconf-speclist.c rather than running getconf or
12449 generating empty file.
12450
a93f9cbc
PT
124512012-11-16 Pino Toscano <toscano.pino@tiscali.it>
12452
12453 * scripts/check-local-headers.sh: Ignore 'mach' headers.
12454
d64d9f87
AL
124552012-11-16 Andrej Lajovic <natrij@gmail.com>
12456
12457 [BZ #14672]
12458 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
12459
447885eb
DM
124602012-11-16 David S. Miller <davem@davemloft.net>
12461
12462 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
12463 smaller than LDBL_EPSILON/2.0L, just return xm1.
12464
bcbf9830
L
124652012-11-16 H.J. Lu <hongjiu.lu@intel.com>
12466
12467 * elf/tst-array1.c (init): Set constructor priority to 1000.
12468 (fini): Set destructor priority to 1000.
12469 * elf/tst-array2dep.c: Likewise.
12470
2b766585
SP
124712012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12472
12473 [BZ #11741]
12474 * libio/fileops.c (_IO_new_file_write): Correctly return error.
12475 (_IO_new_file_xsputn): Also return EOF if none of the input
12476 data was written when overflow failed.
12477 * libio/iopadn.c (_IO_padn): Likewise.
12478 * libio/iowpadn.c (_IO_wpadn): Likewise.
12479 * stdio-common/tst-put-error.c: Add copyright notice.
12480 (do_test): Add case for printing padded string.
12481 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
12482 _IO_padn returned error.
12483 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
12484 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
12485 return EOF.
12486
b1848fde
SP
124872012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12488
12489 * libio/libioP.h: Add comment note that the references to C++
12490 bits are now obsolete.
12491
2fd89785
MS
124922012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12493
12494 * math/libm-test.inc (check_complex): Use asprintf.
12495
e3ea5409
JM
124962012-11-14 Joseph Myers <joseph@codesourcery.com>
12497
12498 * debug/pcprofiledump.c (print_version): Update copyright year.
12499 * malloc/memusagestat.c (print_version): Likewise.
12500
2e64d265
L
125012012-11-14 H.J. Lu <hongjiu.lu@intel.com>
12502
12503 [BZ #14831]
12504 * elf/Makefile (tests): Add tst-audit8.
12505 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
12506 ($(objpfx)tst-audit8.out): New target.
12507 (tst-audit8-ENV): New variable.
12508 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
12509 audit if l_reloc_result is NULL.
12510 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
12511 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
12512 * elf/tst-audit8.c: New file.
12513
c485e4d2
MS
125142012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12515
12516 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
12517 * misc/Makefile (CFLAGS-select.c): Define.
12518 * posix/Makefile (CFLAGS-pause.c): Define.
12519
3a0d900a
DM
125202012-11-13 David S. Miller <davem@davemloft.net>
12521
12522 * crypt/Makefile: Move test targets after toplevel Rules
12523 inclusion. Grab any necessary sysdep routines when linking.
12524 * crypt/md5.c (md5_process_block): Remove define, we will always
12525 name it __md5_process_block.
12526 (md5_finish_ctx): Update md5_process_block call.
12527 (md5_stream): Likewise.
12528 (md5_process_bytes): Likewise.
12529 (md5_process_block): Rename to __md5_process_block and move to ...
12530 * crypt/md5-block.c: ... here.
12531 * crypt/sha256.c (sha256_process_block): Move to ...
12532 * crypt/sha256-block.c: ... here.
12533 * crypt/sha512.c (sha512_process_block): Move to ...
12534 * crypt/sha512-block.c: ... here.
12535 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
12536 path.
12537 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
12538 * sysdeps/sparc/sparc64/multiarch/Makefile
12539 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
12540 crypt subdir.
12541 (localedef-aux): Add md5 crypto assembler when in locale subdir.
12542 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
12543 multiarch changes.
12544 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
12545 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
12546 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
12547 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
12548 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
12549 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
12550 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
12551 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
12552 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
12553 file.
12554 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
12555 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
12556 file.
12557 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
12558
8ca89318
JM
125592012-11-13 Joseph Myers <joseph@codesourcery.com>
12560
e27d476a
JM
12561 * timezone/tzselect.ksh: Update from tzcode git revision
12562 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
12563 * timezone/zdump.c: Likewise.
12564 * timezone/zic.c: Likewise.
12565 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
12566 in TZVERSION setting, not $(PKGVERSION).
12567 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
12568 REPORT_BUGS_TO settings.
12569
8ca89318
JM
12570 [BZ #14838]
12571 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
12572 macro.
12573
47594329
MS
125742012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12575
12576 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
12577 detection to immediately after _FP_ROUND().
12578 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
12579 bits are 0.
12580
640ac3f1
DM
125812012-11-11 David S. Miller <davem@davemloft.net>
12582
12583 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
12584 inttypes.h
12585 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
12586 __close rather than their public counterparts.
12587
3d2577bb
JM
125882012-11-10 Joseph Myers <joseph@codesourcery.com>
12589
12590 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
12591 file.
12592 [UNIX98] (sem_timedwait): Do not expect.
12593 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
12594 [XPG4 || UNIX98] (sockatmark): Do not expect.
12595 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
12596 (clock_getcpuclockid): Do not expect.
12597 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
12598 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
12599 Do not expect.
12600 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
12601 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
12602 [UNIX98] (vwscanf): Likewise.
12603 [UNIX98] (vswscanf): Likewise.
12604
fb1ae1ee
JM
126052012-11-09 Joseph Myers <joseph@codesourcery.com>
12606
9ec6f8bd
JM
12607 * timezone/version.h: Remove file.
12608 * timezone/README: Do not refer to version.h.
12609 * timezone/Makefile ($(objpfx)zic.o): New dependency on
12610 $(objpfx)version.h.
12611 ($(objpfx)zdump.o): Likewise.
c3f81911 12612 ($(objpfx)version.h): New target.
9ec6f8bd 12613
0aa8f8a1
JM
12614 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
12615 2012i.
12616 * timezone/README: Don't mention modification to tzselect.ksh.
12617 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
12618 work on unmodified tzselect.ksh. Substitute version numbers in
12619 tzselect.ksh.
12620
4e87147f
JM
12621 * Makefile (format-me): Remove.
12622 (INSTALL): Adjust indentation. Use commands directly instead of
12623 using $(format-me).
12624
8b748aed
JM
12625 * aclocal.m4 (ACX_PKGVERSION): New macro.
12626 (ACX_BUGURL): Likewise.
12627 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
12628 (PKGVERSION): New AC_DEFINE_UNQUOTED.
12629 (REPORT_BUGS_TO): Likewise.
12630 * configure: Regenerated.
12631 * config.h.in (PKGVERSION): New macro.
12632 (REPORT_BUGS_TO): Likewise.
12633 * config.make.in (PKGVERSION): New variable.
12634 (PKGVERSION_TEXI): Likewise.
12635 (REPORT_BUGS_TO): Likewise.
12636 (REPORT_BUGS_TEXI): Likewise.
12637 * Makefile (format-me): Use -I$(common-objpfx)manual.
12638 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
12639 ($(common-objpfx)manual/%): New target.
12640 (manual/%): Remove target.
12641 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
12642 (print_version): Use PKGVERSION.
12643 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
12644 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
12645 and REPORT_BUGS_TO.
12646 ($(objpfx)xtrace): Likewise.
12647 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
12648 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
12649 (print_version): Use PKGVERSION.
12650 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
12651 (do_version): Use PKGVERSION.
12652 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
12653 REPORT_BUGS_TO.
12654 (common-ldd-rewrite): Likewise.
12655 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
12656 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
12657 (print_version): Use PKGVERSION.
12658 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
12659 * elf/pldd.c (argp_program_bug_address): Remove variable.
12660 (more_help): New function.
12661 (argp): Use more_help.
12662 (print_version): Use PKGVERSION.
12663 * elf/sln.c (main): Use PKGVERSION.
12664 (usage): Use REPORT_BUGS_TO.
12665 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
12666 (top level): Use PKGVERSION.
12667 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
12668 (print_version): Use PKGVERSION.
12669 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
12670 (print_version): Use PKGVERSION.
12671 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
12672 (print_version): Use PKGVERSION.
12673 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
12674 (print_version): Use PKGVERSION.
12675 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
12676 (print_version): Use PKGVERSION.
12677 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
12678 (print_version): Use PKGVERSION.
12679 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
12680 and BUGURL.
12681 ($(objpfx)memusage): Likewise.
12682 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
12683 (do_version): Use PKGVERSION.
12684 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
12685 (print_version): Use PKGVERSION.
12686 * malloc/mtrace.pl ($PACKAGE): Remove variable.
12687 ($PKGVERSION): New variable.
12688 ($REPORT_BUGS_TO): Likewise.
12689 (usage): Use $REPORT_BUGS_TO.
12690 (top level): Use $PKGVERSION.
12691 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
12692 ($(objpfx)pkgvers.texi): New rule.
12693 ($(objpfx)stamp-pkgvers): Likewise.
12694 * manual/install.texi: Include pkgvers.texi.
12695 (--with-pkgversion): Document new configure option.
12696 (--with-bugurl): Likewise.
12697 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
12698 than necessarily for this particular distribution. Use
12699 REPORT_BUGS_TO for where to report bugs.
12700 * INSTALL: Regenerated.
12701 * manual/libc.texinfo: Include pkgvers.texi.
12702 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
12703 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
12704 (print_version): Use PKGVERSION.
12705 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
12706 (print_version): Use PKGVERSION.
12707 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
12708 (print_version): Use PKGVERSION.
12709 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
12710 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
12711 macro.
12712 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
12713 (print_version): Use PKGVERSION.
12714 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
12715 (print_version): Use PKGVERSION.
12716 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
12717 and PKGVERSION.
12718
92e4b6a9
JM
12719 * timezone/checktab.awk: Update from tzcode 2012i.
12720 * timezone/ialloc.c: Likewise.
12721 * timezone/private.h: Likewise.
12722 * timezone/scheck.c: Likewise.
12723 * timezone/tzfile.h: Likewise.
12724 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
12725 (TZVERSION): Hardcode tzcode version number.
12726 * timezone/zdump.c: Update from tzcode 2012i.
12727 * timezone/zic.c: Likewise.
12728 * timezone/version.h: New file.
12729 * timezone/README: Describe version.h. Update upstream location.
12730
9bde902c
JM
12731 [BZ #14824]
12732 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
12733 (mktemp): Enable declaration.
12734 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
12735 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
12736 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
12737 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
12738 Likewise.
12739 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
12740 Likewise.
12741 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
12742 Likewise.
12743 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
12744 Likewise.
12745 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
12746 Likewise.
12747 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
12748 Likewise.
12749
fb1ae1ee
JM
12750 [BZ #14821]
12751 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
12752 offset in buffer as u_int32_t not u_long. Consistently use memcpy
12753 for copies of such integer values.
12754 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
12755 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
12756
2c1adbcb
AJ
127572012-11-09 Andreas Jaeger <aj@suse.de>
12758
12759 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
12760 definitions and declarations that are provided by
12761 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
12762
d0f8457e
AK
127632012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12764
3a235abb 12765 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
12766 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
12767 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
12768 definition.
12769
57241e26
MS
127702012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12771
12772 * elf/elf.h: Update comment before AArch64 relocations.
12773
60e8270d
DM
127742012-11-07 David S. Miller <davem@davemloft.net>
12775
12776 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
12777 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
12778 (__start_context): Declare.
12779 (__makecontext_ret): Delete.
12780 (__makecontext): Hook up __start_context instead of
12781 __makecontext_ret.
12782 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
12783 (sysdep_routines): Add __start_context when in stdlib.
12784
0fbb0fbc
JM
127852012-11-07 Joseph Myers <joseph@codesourcery.com>
12786
12787 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
12788 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
12789 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
12790 hardcoded "nm".
12791 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
12792 (READELF): New variable. Use it instead of hardcoded "readelf".
12793
eb48db7e
L
127942012-11-07 H.J. Lu <hongjiu.lu@intel.com>
12795
12796 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
12797 * sysdeps/x86/Makefile: Here.
12798 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
12799 * sysdeps/x86/tst-xmmymm.sh: This.
12800
05bcf62a
JM
128012012-11-07 Joseph Myers <joseph@codesourcery.com>
12802
c4b6cf53
JM
12803 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
12804 expectations.
12805 [UNIX98] (pthread_barrier_t): Do not expect.
12806 [UNIX98] (pthread_barrierattr_t): Likewise.
12807 [UNIX98] (pthread_spinlock_t): Likewise.
12808 [UNIX98] (pthread_barrier_destroy): Likewise.
12809 [UNIX98] (pthread_barrier_init): Likewise.
12810 [UNIX98] (pthread_barrier_wait): Likewise.
12811 [UNIX98] (pthread_barrierattr_destroy): Likewise.
12812 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
12813 [UNIX98] (pthread_barrierattr_init): Likewise.
12814 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
12815 [UNIX98] (pthread_getcpuclockid): Likewise.
12816 [UNIX98] (pthread_mutex_timedlock): Likewise.
12817 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
12818 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
12819 [UNIX98] (pthread_sigmask): Likewise.
12820 [UNIX98] (pthread_spin_destroy): Likewise.
12821 [UNIX98] (pthread_spin_init): Likewise.
12822 [UNIX98] (pthread_spin_lock): Likewise.
12823 [UNIX98] (pthread_spin_trylock): Likewise.
12824 [UNIX98] (pthread_spin_unlock): Likewise.
12825 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
12826 Do not expect.
12827 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
12828 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
12829 [XPG3 || XPG4] (pthread_cond_t): Likewise.
12830 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
12831 [XPG3 || XPG4] (pthread_key_t): Likewise.
12832 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
12833 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
12834 [XPG3 || XPG4] (pthread_once_t): Likewise.
12835 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
12836 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
12837 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
12838 [XPG3 || XPG4] (pthread_t): Likewise.
12839
cbe6e120
JM
12840 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
12841 not expect.
12842 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
12843
1b126443
JM
12844 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
12845 Change function return type to int.
12846
b961a573
JM
12847 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
12848 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
12849 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
12850 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
12851 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
12852 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
12853 [!POSIX] (posix_madvise): Likewise.
12854 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
12855 && !UNIX98].
12856 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
12857 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
12858 (mode_t): Likewise.
12859 (posix_mem_offset): Likewise.
12860 (posix_typed_mem_get_info): Likewise.
12861 (posix_typed_mem_open): Likewise.
12862
9e188909
JM
12863 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
12864 Change condition to [XOPEN2K8].
12865
05bcf62a
JM
12866 * conform/conformtest.pl: Preprocess allow-header data with -x c
12867 instead of from stdin.
12868 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
12869 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
12870 [C99-based standards] (cerfc): Likewise.
12871 [C99-based standards] (cexp2): Likewise.
12872 [C99-based standards] (cexpm1): Likewise.
12873 [C99-based standards] (clog10): Likewise.
12874 [C99-based standards] (clog1p): Likewise.
12875 [C99-based standards] (clog2): Likewise.
12876 [C99-based standards] (clgamma): Likewise.
12877 [C99-based standards] (ctgamma): Likewise.
12878 [C99-based standards] (cerff): Likewise.
12879 [C99-based standards] (cerfcf): Likewise.
12880 [C99-based standards] (cexp2f): Likewise.
12881 [C99-based standards] (cexpm1f): Likewise.
12882 [C99-based standards] (clog10f): Likewise.
12883 [C99-based standards] (clog1pf): Likewise.
12884 [C99-based standards] (clog2f): Likewise.
12885 [C99-based standards] (clgammaf): Likewise.
12886 [C99-based standards] (ctgammaf): Likewise.
12887 [C99-based standards] (cerfl): Likewise.
12888 [C99-based standards] (cerfcl): Likewise.
12889 [C99-based standards] (cexp2l): Likewise.
12890 [C99-based standards] (cexpm1l): Likewise.
12891 [C99-based standards] (clog10l): Likewise.
12892 [C99-based standards] (clog1pl): Likewise.
12893 [C99-based standards] (clog2l): Likewise.
12894 [C99-based standards] (clgammal): Likewise.
12895 [C99-based standards] (ctgammal): Likewise.
12896 * conform/data/inttypes.h-data [C99-based standards]: Include
12897 stdint.h-data. Remove all expectations for stdint.h contents.
12898 [C99-based standards] (PRI*): Do not allow.
12899 [C99-based standards] (SCN*): Likewise.
12900 [C99-based standards] (*_t): Likewise.
12901 [C99-based-standards] (PRId8): Expect macro.
12902 [C99-based-standards] (PRIi8): Likewise.
12903 [C99-based-standards] (PRIo8): Likewise.
12904 [C99-based-standards] (PRIu8): Likewise.
12905 [C99-based-standards] (PRIx8): Likewise.
12906 [C99-based-standards] (PRIX8): Likewise.
12907 [C99-based-standards] (SCNd8): Likewise.
12908 [C99-based-standards] (SCNi8): Likewise.
12909 [C99-based-standards] (SCNo8): Likewise.
12910 [C99-based-standards] (SCNu8): Likewise.
12911 [C99-based-standards] (SCNx8): Likewise.
12912 [C99-based-standards] (PRIdLEAST8): Likewise.
12913 [C99-based-standards] (PRIiLEAST8): Likewise.
12914 [C99-based-standards] (PRIoLEAST8): Likewise.
12915 [C99-based-standards] (PRIuLEAST8): Likewise.
12916 [C99-based-standards] (PRIxLEAST8): Likewise.
12917 [C99-based-standards] (PRIXLEAST8): Likewise.
12918 [C99-based-standards] (SCNdLEAST8): Likewise.
12919 [C99-based-standards] (SCNiLEAST8): Likewise.
12920 [C99-based-standards] (SCNoLEAST8): Likewise.
12921 [C99-based-standards] (SCNuLEAST8): Likewise.
12922 [C99-based-standards] (SCNxLEAST8): Likewise.
12923 [C99-based-standards] (PRIdFAST8): Likewise.
12924 [C99-based-standards] (PRIiFAST8): Likewise.
12925 [C99-based-standards] (PRIoFAST8): Likewise.
12926 [C99-based-standards] (PRIuFAST8): Likewise.
12927 [C99-based-standards] (PRIxFAST8): Likewise.
12928 [C99-based-standards] (PRIXFAST8): Likewise.
12929 [C99-based-standards] (SCNdFAST8): Likewise.
12930 [C99-based-standards] (SCNiFAST8): Likewise.
12931 [C99-based-standards] (SCNoFAST8): Likewise.
12932 [C99-based-standards] (SCNuFAST8): Likewise.
12933 [C99-based-standards] (SCNxFAST8): Likewise.
12934 [C99-based-standards] (PRId16): Likewise.
12935 [C99-based-standards] (PRIi16): Likewise.
12936 [C99-based-standards] (PRIo16): Likewise.
12937 [C99-based-standards] (PRIu16): Likewise.
12938 [C99-based-standards] (PRIx16): Likewise.
12939 [C99-based-standards] (PRIX16): Likewise.
12940 [C99-based-standards] (SCNd16): Likewise.
12941 [C99-based-standards] (SCNi16): Likewise.
12942 [C99-based-standards] (SCNo16): Likewise.
12943 [C99-based-standards] (SCNu16): Likewise.
12944 [C99-based-standards] (SCNx16): Likewise.
12945 [C99-based-standards] (PRIdLEAST16): Likewise.
12946 [C99-based-standards] (PRIiLEAST16): Likewise.
12947 [C99-based-standards] (PRIoLEAST16): Likewise.
12948 [C99-based-standards] (PRIuLEAST16): Likewise.
12949 [C99-based-standards] (PRIxLEAST16): Likewise.
12950 [C99-based-standards] (PRIXLEAST16): Likewise.
12951 [C99-based-standards] (SCNdLEAST16): Likewise.
12952 [C99-based-standards] (SCNiLEAST16): Likewise.
12953 [C99-based-standards] (SCNoLEAST16): Likewise.
12954 [C99-based-standards] (SCNuLEAST16): Likewise.
12955 [C99-based-standards] (SCNxLEAST16): Likewise.
12956 [C99-based-standards] (PRIdFAST16): Likewise.
12957 [C99-based-standards] (PRIiFAST16): Likewise.
12958 [C99-based-standards] (PRIoFAST16): Likewise.
12959 [C99-based-standards] (PRIuFAST16): Likewise.
12960 [C99-based-standards] (PRIxFAST16): Likewise.
12961 [C99-based-standards] (PRIXFAST16): Likewise.
12962 [C99-based-standards] (SCNdFAST16): Likewise.
12963 [C99-based-standards] (SCNiFAST16): Likewise.
12964 [C99-based-standards] (SCNoFAST16): Likewise.
12965 [C99-based-standards] (SCNuFAST16): Likewise.
12966 [C99-based-standards] (SCNxFAST16): Likewise.
12967 [C99-based-standards] (PRId32): Likewise.
12968 [C99-based-standards] (PRIi32): Likewise.
12969 [C99-based-standards] (PRIo32): Likewise.
12970 [C99-based-standards] (PRIu32): Likewise.
12971 [C99-based-standards] (PRIx32): Likewise.
12972 [C99-based-standards] (PRIX32): Likewise.
12973 [C99-based-standards] (SCNd32): Likewise.
12974 [C99-based-standards] (SCNi32): Likewise.
12975 [C99-based-standards] (SCNo32): Likewise.
12976 [C99-based-standards] (SCNu32): Likewise.
12977 [C99-based-standards] (SCNx32): Likewise.
12978 [C99-based-standards] (PRIdLEAST32): Likewise.
12979 [C99-based-standards] (PRIiLEAST32): Likewise.
12980 [C99-based-standards] (PRIoLEAST32): Likewise.
12981 [C99-based-standards] (PRIuLEAST32): Likewise.
12982 [C99-based-standards] (PRIxLEAST32): Likewise.
12983 [C99-based-standards] (PRIXLEAST32): Likewise.
12984 [C99-based-standards] (SCNdLEAST32): Likewise.
12985 [C99-based-standards] (SCNiLEAST32): Likewise.
12986 [C99-based-standards] (SCNoLEAST32): Likewise.
12987 [C99-based-standards] (SCNuLEAST32): Likewise.
12988 [C99-based-standards] (SCNxLEAST32): Likewise.
12989 [C99-based-standards] (PRIdFAST32): Likewise.
12990 [C99-based-standards] (PRIiFAST32): Likewise.
12991 [C99-based-standards] (PRIoFAST32): Likewise.
12992 [C99-based-standards] (PRIuFAST32): Likewise.
12993 [C99-based-standards] (PRIxFAST32): Likewise.
12994 [C99-based-standards] (PRIXFAST32): Likewise.
12995 [C99-based-standards] (SCNdFAST32): Likewise.
12996 [C99-based-standards] (SCNiFAST32): Likewise.
12997 [C99-based-standards] (SCNoFAST32): Likewise.
12998 [C99-based-standards] (SCNuFAST32): Likewise.
12999 [C99-based-standards] (SCNxFAST32): Likewise.
13000 [C99-based-standards] (PRId64): Likewise.
13001 [C99-based-standards] (PRIi64): Likewise.
13002 [C99-based-standards] (PRIo64): Likewise.
13003 [C99-based-standards] (PRIu64): Likewise.
13004 [C99-based-standards] (PRIx64): Likewise.
13005 [C99-based-standards] (PRIX64): Likewise.
13006 [C99-based-standards] (SCNd64): Likewise.
13007 [C99-based-standards] (SCNi64): Likewise.
13008 [C99-based-standards] (SCNo64): Likewise.
13009 [C99-based-standards] (SCNu64): Likewise.
13010 [C99-based-standards] (SCNx64): Likewise.
13011 [C99-based-standards] (PRIdLEAST64): Likewise.
13012 [C99-based-standards] (PRIiLEAST64): Likewise.
13013 [C99-based-standards] (PRIoLEAST64): Likewise.
13014 [C99-based-standards] (PRIuLEAST64): Likewise.
13015 [C99-based-standards] (PRIxLEAST64): Likewise.
13016 [C99-based-standards] (PRIXLEAST64): Likewise.
13017 [C99-based-standards] (SCNdLEAST64): Likewise.
13018 [C99-based-standards] (SCNiLEAST64): Likewise.
13019 [C99-based-standards] (SCNoLEAST64): Likewise.
13020 [C99-based-standards] (SCNuLEAST64): Likewise.
13021 [C99-based-standards] (SCNxLEAST64): Likewise.
13022 [C99-based-standards] (PRIdFAST64): Likewise.
13023 [C99-based-standards] (PRIiFAST64): Likewise.
13024 [C99-based-standards] (PRIoFAST64): Likewise.
13025 [C99-based-standards] (PRIuFAST64): Likewise.
13026 [C99-based-standards] (PRIxFAST64): Likewise.
13027 [C99-based-standards] (PRIXFAST64): Likewise.
13028 [C99-based-standards] (SCNdFAST64): Likewise.
13029 [C99-based-standards] (SCNiFAST64): Likewise.
13030 [C99-based-standards] (SCNoFAST64): Likewise.
13031 [C99-based-standards] (SCNuFAST64): Likewise.
13032 [C99-based-standards] (SCNxFAST64): Likewise.
13033 [C99-based-standards] (PRIdMAX): Likewise.
13034 [C99-based-standards] (PRIiMAX): Likewise.
13035 [C99-based-standards] (PRIoMAX): Likewise.
13036 [C99-based-standards] (PRIuMAX): Likewise.
13037 [C99-based-standards] (PRIxMAX): Likewise.
13038 [C99-based-standards] (PRIXMAX): Likewise.
13039 [C99-based-standards] (SCNdMAX): Likewise.
13040 [C99-based-standards] (SCNiMAX): Likewise.
13041 [C99-based-standards] (SCNoMAX): Likewise.
13042 [C99-based-standards] (SCNuMAX): Likewise.
13043 [C99-based-standards] (SCNxMAX): Likewise.
13044 [C99-based-standards] (PRIdPTR): Likewise.
13045 [C99-based-standards] (PRIiPTR): Likewise.
13046 [C99-based-standards] (PRIoPTR): Likewise.
13047 [C99-based-standards] (PRIuPTR): Likewise.
13048 [C99-based-standards] (PRIxPTR): Likewise.
13049 [C99-based-standards] (PRIXPTR): Likewise.
13050 [C99-based-standards] (SCNdPTR): Likewise.
13051 [C99-based-standards] (SCNiPTR): Likewise.
13052 [C99-based-standards] (SCNoPTR): Likewise.
13053 [C99-based-standards] (SCNuPTR): Likewise.
13054 [C99-based-standards] (SCNxPTR): Likewise.
13055 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
13056 allow.
13057 * conform/data/stdint.h-data: Update comments to clarify
13058 requirements.
13059 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
13060 type.
13061 [C99-based standards] (INT8_MAX): Likewise.
13062 [C99-based standards] (INT16_MIN): Likewise.
13063 [C99-based standards] (INT16_MAX): Likewise.
13064 [C99-based standards] (INT32_MIN): Likewise.
13065 [C99-based standards] (INT32_MAX): Likewise.
13066 [C99-based standards] (INT64_MIN): Likewise.
13067 [C99-based standards] (INT64_MAX): Likewise.
13068 [C99-based standards] (UINT8_MAX): Likewise.
13069 [C99-based standards] (UINT16_MAX): Likewise.
13070 [C99-based standards] (UINT32_MAX): Likewise.
13071 [C99-based standards] (UINT64_MAX): Likewise.
13072 [C99-based standards] (INT_LEAST8_MIN): Likewise.
13073 [C99-based standards] (INT_LEAST8_MAX): Likewise.
13074 [C99-based standards] (INT_LEAST16_MIN): Likewise.
13075 [C99-based standards] (INT_LEAST16_MAX): Likewise.
13076 [C99-based standards] (INT_LEAST32_MIN): Likewise.
13077 [C99-based standards] (INT_LEAST32_MAX): Likewise.
13078 [C99-based standards] (INT_LEAST64_MIN): Likewise.
13079 [C99-based standards] (INT_LEAST64_MAX): Likewise.
13080 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
13081 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
13082 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
13083 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
13084 [C99-based standards] (INT_FAST8_MIN): Likewise.
13085 [C99-based standards] (INT_FAST8_MAX): Likewise.
13086 [C99-based standards] (INT_FAST16_MIN): Likewise.
13087 [C99-based standards] (INT_FAST16_MAX): Likewise.
13088 [C99-based standards] (INT_FAST32_MIN): Likewise.
13089 [C99-based standards] (INT_FAST32_MAX): Likewise.
13090 [C99-based standards] (INT_FAST64_MIN): Likewise.
13091 [C99-based standards] (INT_FAST64_MAX): Likewise.
13092 [C99-based standards] (UINT_FAST8_MAX): Likewise.
13093 [C99-based standards] (UINT_FAST16_MAX): Likewise.
13094 [C99-based standards] (UINT_FAST32_MAX): Likewise.
13095 [C99-based standards] (UINT_FAST64_MAX): Likewise.
13096 [C99-based standards] (INTPTR_MIN): Likewise.
13097 [C99-based standards] (INTPTR_MAX): Likewise.
13098 [C99-based standards] (UINTPTR_MAX): Likewise.
13099 [C99-based standards] (INTMAX_MIN): Likewise.
13100 [C99-based standards] (INTMAX_MAX): Likewise.
13101 [C99-based standards] (UINTMAX_MAX): Likewise.
13102 [C99-based standards] (PTRDIFF_MIN): Likewise.
13103 [C99-based standards] (PTRDIFF_MAX): Likewise.
13104 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
13105 [C99-based standards] (SIZE_MAX): Likewise.
13106 [C99-based standards] (WCHAR_MAX): Likewise.
13107 [C99-based standards] (WINT_MAX): Likewise.
13108 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
13109 constraint on value.
13110 [C99-based standards] (WCHAR_MIN): Likewise.
13111 [C99-based standards] (WINT_MIN): Likewise.
13112 [C99-based standards] (*_t): Allow.
13113 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
13114 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
13115 Include math.h-data and complex.h-data. Remove all expectations
13116 of math.h and complex.h contents.
13117 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
13118 at end of line.
13119 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
13120 (struct tm): Expect tag.
13121 [C99-based-standards] (wcstof): Expect function.
13122 [C99-based-standards] (wcstold): Likewise.
13123 [C99-based-standards] (wcstoll): Likewise.
13124 [C99-based-standards] (wcstoull): Likewise.
13125 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
13126 macro-int-constant. Specify type.
13127 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
13128 constraint on value.
13129 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
13130 Specify type.
13131 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
13132 Specify value.
13133 [ISO C standards]: Do not allow headers.
13134 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
13135 wcs[abcdefghijklmnopqrstuvwxyz]*.
13136 [ISO C standards] (*_t): Do not allow.
13137 * conform/data/wctype.h-data [C99-based standards] (iswblank):
13138 Expect function.
13139 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
13140 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
13141 Specify type.
13142 [ISO C standards]: Do not allow headers.
13143 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
13144 is[abcdefghijklmnopqrstuvwxyz]*.
13145 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
13146 to[abcdefghijklmnopqrstuvwxyz]*.
13147 [ISO C standards] (*_t): Do not allow.
13148 * conform/data/stdalign.h-data: New file.
13149 * conform/data/stdbool.h-data: Likewise.
13150 * conform/data/stdnoreturn.h-data: Likewise.
13151
7514feb8
RM
131522012-11-07 Roland McGrath <roland@hack.frob.com>
13153
13154 [BZ #14815]
13155 * manual/filesys.texi (Directory Entries): Typo fix.
13156 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
13157
19b2ecfc
MS
131582012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13159
13160 * elf/elf.h (EM_AARCH64): New macro.
13161 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
13162 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
13163 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
13164 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
13165 (R_AARCH64_TLSDESC): Likewise.
13166 (NT_ARM_TLS): Likewise.
13167 (NT_ARM_HW_BREAK): Likewise.
13168 (NT_ARM_HW_WATCH): Likewise.
13169
60e235ee
JM
131702012-11-07 Joseph Myers <joseph@codesourcery.com>
13171
13172 [BZ #14811]
13173 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
13174 (__ieee754_powl): Saturate nonzero exponents with absolute value
13175 below 0x1p-79 to +/- 0x1p-79.
13176 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
13177 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
13178 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
13179 nonzero exponents with absolute value below 0x1p-32 to +/-
13180 0x1p-32.
13181 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
13182 (__ieee754_powl): Saturate nonzero exponents with absolute value
13183 below 0x1p-79 to +/- 0x1p-79.
13184 * math/libm-test.inc (pow_test): Add more tests.
13185
0ab234b7
AK
131862012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13187
13188 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
13189 _dl_s390_cap_flags with kernel. Increase string length.
13190 (_dl_s390_platforms): Add z196 and zEC12.
13191
45832f74
JM
131922012-11-07 Joseph Myers <joseph@codesourcery.com>
13193
13194 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
13195 Change XOPEN21K to XOPEN2K.
13196
19218757
MK
131972012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
13198
13199 * string/memmove.c: Use memcpy when possible.
13200
c5f45721
AJ
132012012-11-06 Andreas Jaeger <aj@suse.de>
13202
13203 * po/eo.po: Update from translation team.
13204
82477c28
JM
132052012-11-06 Joseph Myers <joseph@codesourcery.com>
13206
13207 [BZ #14793]
13208 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
13209 exponent and small x and y exponents, scale x or y up. Increase
13210 by 2 the exponent used in scaling up.
13211 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13212 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13213 * math/libm-test.inc (fma_test): Add more tests.
13214 (fma_test_towardzero): Likewise.
13215 (fma_test_downward): Likewise.
13216 (fma_test_upward): Likewise.
13217
99252c8c
JM
132182012-11-05 Joseph Myers <joseph@codesourcery.com>
13219
acfa885f
JM
13220 [BZ #14805]
13221 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
13222 fenv_t *.
13223
99252c8c
JM
13224 [BZ #14801]
13225 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
13226 namespace for names of struct fields.
13227 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
13228 fenv_t fields.
13229 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
13230 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
13231
d6d98dea
ST
132322012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
13233
13234 [BZ #3665]
13235 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
13236
e10bb107
TS
132372012-11-04 Thomas Schwinge <thomas@codesourcery.com>
13238
13239 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
13240 PTR_DEMANGLE.
13241
13242 [BZ #5246]
13243 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
13244 PTR_DEMANGLE.
13245
a0c2940d
JM
132462012-11-04 Joseph Myers <joseph@codesourcery.com>
13247
13248 [BZ #14797]
13249 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
13250 definitely overflow as x * y not x * y + z.
13251 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13252 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13253 * math/libm-test.inc (fma_test): Add more tests.
13254 (fma_test_towardzero): Likewise.
13255 (fma_test_downward): Likewise.
13256 (fma_test_upward): Likewise.
13257
b830319d
TS
132582012-11-04 Thomas Schwinge <thomas@codesourcery.com>
13259
13260 [BZ #157]
13261
13262 * include/stub-tag.h: Remove file.
13263 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
13264 '#include' of it.
13265 * manual/maint.texi (Porting): Don't reference it.
13266 * Makerules ($(objpfx)stubs): Likewise.
13267 * dirent/closedir.c: Don't include <stub-tag.h>.
13268 * dirent/dirfd.c: Likewise.
13269 * dirent/fdopendir.c: Likewise.
13270 * dirent/getdents.c: Likewise.
13271 * dirent/getdents64.c: Likewise.
13272 * dirent/opendir.c: Likewise.
13273 * dirent/readdir.c: Likewise.
13274 * dirent/readdir64.c: Likewise.
13275 * dirent/readdir64_r.c: Likewise.
13276 * dirent/readdir_r.c: Likewise.
13277 * dirent/rewinddir.c: Likewise.
13278 * dirent/seekdir.c: Likewise.
13279 * dirent/telldir.c: Likewise.
13280 * gmon/profil.c: Likewise.
13281 * grp/setgroups.c: Likewise.
13282 * inet/if_index.c: Likewise.
13283 * io/access.c: Likewise.
13284 * io/chdir.c: Likewise.
13285 * io/chmod.c: Likewise.
13286 * io/chown.c: Likewise.
13287 * io/close.c: Likewise.
13288 * io/dup.c: Likewise.
13289 * io/dup2.c: Likewise.
13290 * io/dup3.c: Likewise.
13291 * io/euidaccess.c: Likewise.
13292 * io/faccessat.c: Likewise.
13293 * io/fchdir.c: Likewise.
13294 * io/fchmod.c: Likewise.
13295 * io/fchmodat.c: Likewise.
13296 * io/fchown.c: Likewise.
13297 * io/fchownat.c: Likewise.
13298 * io/fcntl.c: Likewise.
13299 * io/flock.c: Likewise.
13300 * io/fstatfs.c: Likewise.
13301 * io/fstatfs64.c: Likewise.
13302 * io/fstatvfs.c: Likewise.
13303 * io/fstatvfs64.c: Likewise.
13304 * io/futimens.c: Likewise.
13305 * io/fxstat.c: Likewise.
13306 * io/fxstat64.c: Likewise.
13307 * io/fxstatat.c: Likewise.
13308 * io/fxstatat64.c: Likewise.
13309 * io/getcwd.c: Likewise.
13310 * io/isatty.c: Likewise.
13311 * io/lchmod.c: Likewise.
13312 * io/lchown.c: Likewise.
13313 * io/link.c: Likewise.
13314 * io/linkat.c: Likewise.
13315 * io/lseek.c: Likewise.
13316 * io/lseek64.c: Likewise.
13317 * io/lxstat64.c: Likewise.
13318 * io/mkdir.c: Likewise.
13319 * io/mkdirat.c: Likewise.
13320 * io/mkfifo.c: Likewise.
13321 * io/mkfifoat.c: Likewise.
13322 * io/open.c: Likewise.
13323 * io/open64.c: Likewise.
13324 * io/openat.c: Likewise.
13325 * io/openat64.c: Likewise.
13326 * io/pipe.c: Likewise.
13327 * io/pipe2.c: Likewise.
13328 * io/poll.c: Likewise.
13329 * io/posix_fadvise.c: Likewise.
13330 * io/posix_fadvise64.c: Likewise.
13331 * io/posix_fallocate.c: Likewise.
13332 * io/posix_fallocate64.c: Likewise.
13333 * io/read.c: Likewise.
13334 * io/readlink.c: Likewise.
13335 * io/readlinkat.c: Likewise.
13336 * io/rmdir.c: Likewise.
13337 * io/sendfile.c: Likewise.
13338 * io/sendfile64.c: Likewise.
13339 * io/statfs.c: Likewise.
13340 * io/statfs64.c: Likewise.
13341 * io/statvfs.c: Likewise.
13342 * io/statvfs64.c: Likewise.
13343 * io/symlink.c: Likewise.
13344 * io/symlinkat.c: Likewise.
13345 * io/ttyname.c: Likewise.
13346 * io/ttyname_r.c: Likewise.
13347 * io/umask.c: Likewise.
13348 * io/unlink.c: Likewise.
13349 * io/unlinkat.c: Likewise.
13350 * io/utime.c: Likewise.
13351 * io/utimensat.c: Likewise.
13352 * io/write.c: Likewise.
13353 * io/xmknod.c: Likewise.
13354 * io/xmknodat.c: Likewise.
13355 * io/xstat.c: Likewise.
13356 * io/xstat64.c: Likewise.
13357 * login/getpt.c: Likewise.
13358 * login/grantpt.c: Likewise.
13359 * login/unlockpt.c: Likewise.
13360 * math/e_acoshl.c: Likewise.
13361 * math/e_acosl.c: Likewise.
13362 * math/e_asinl.c: Likewise.
13363 * math/e_atan2l.c: Likewise.
13364 * math/e_atanhl.c: Likewise.
13365 * math/e_coshl.c: Likewise.
13366 * math/e_expl.c: Likewise.
13367 * math/e_fmodl.c: Likewise.
13368 * math/e_gammal_r.c: Likewise.
13369 * math/e_hypotl.c: Likewise.
13370 * math/e_j0l.c: Likewise.
13371 * math/e_j1l.c: Likewise.
13372 * math/e_jnl.c: Likewise.
13373 * math/e_lgammal_r.c: Likewise.
13374 * math/e_log10l.c: Likewise.
13375 * math/e_log2l.c: Likewise.
13376 * math/e_logl.c: Likewise.
13377 * math/e_powl.c: Likewise.
13378 * math/e_rem_pio2l.c: Likewise.
13379 * math/e_sinhl.c: Likewise.
13380 * math/e_sqrtl.c: Likewise.
13381 * math/fclrexcpt.c: Likewise.
13382 * math/fedisblxcpt.c: Likewise.
13383 * math/feenablxcpt.c: Likewise.
13384 * math/fegetenv.c: Likewise.
13385 * math/fegetexcept.c: Likewise.
13386 * math/fegetround.c: Likewise.
13387 * math/feholdexcpt.c: Likewise.
13388 * math/fesetenv.c: Likewise.
13389 * math/fesetround.c: Likewise.
13390 * math/feupdateenv.c: Likewise.
13391 * math/fgetexcptflg.c: Likewise.
13392 * math/fraiseexcpt.c: Likewise.
13393 * math/fsetexcptflg.c: Likewise.
13394 * math/ftestexcept.c: Likewise.
13395 * math/k_cosl.c: Likewise.
13396 * math/k_rem_pio2l.c: Likewise.
13397 * math/k_sinl.c: Likewise.
13398 * math/k_tanl.c: Likewise.
13399 * math/s_asinhl.c: Likewise.
13400 * math/s_atanl.c: Likewise.
13401 * math/s_cbrtl.c: Likewise.
13402 * math/s_erfl.c: Likewise.
13403 * math/s_expm1l.c: Likewise.
13404 * math/s_log1pl.c: Likewise.
13405 * math/s_tanhl.c: Likewise.
13406 * misc/acct.c: Likewise.
13407 * misc/brk.c: Likewise.
13408 * misc/chflags.c: Likewise.
13409 * misc/chroot.c: Likewise.
13410 * misc/fchflags.c: Likewise.
13411 * misc/fgetxattr.c: Likewise.
13412 * misc/flistxattr.c: Likewise.
13413 * misc/fremovexattr.c: Likewise.
13414 * misc/fsetxattr.c: Likewise.
13415 * misc/fsync.c: Likewise.
13416 * misc/ftruncate.c: Likewise.
13417 * misc/futimes.c: Likewise.
13418 * misc/futimesat.c: Likewise.
13419 * misc/getdomain.c: Likewise.
13420 * misc/getdtsz.c: Likewise.
13421 * misc/gethostid.c: Likewise.
13422 * misc/gethostname.c: Likewise.
13423 * misc/getloadavg.c: Likewise.
13424 * misc/getpagesize.c: Likewise.
13425 * misc/getsysstats.c: Likewise.
13426 * misc/getxattr.c: Likewise.
13427 * misc/gtty.c: Likewise.
13428 * misc/ioctl.c: Likewise.
13429 * misc/lgetxattr.c: Likewise.
13430 * misc/listxattr.c: Likewise.
13431 * misc/llistxattr.c: Likewise.
13432 * misc/lremovexattr.c: Likewise.
13433 * misc/lsetxattr.c: Likewise.
13434 * misc/lutimes.c: Likewise.
13435 * misc/madvise.c: Likewise.
13436 * misc/mincore.c: Likewise.
13437 * misc/mlock.c: Likewise.
13438 * misc/mlockall.c: Likewise.
13439 * misc/mmap.c: Likewise.
13440 * misc/mprotect.c: Likewise.
13441 * misc/msync.c: Likewise.
13442 * misc/munlock.c: Likewise.
13443 * misc/munlockall.c: Likewise.
13444 * misc/munmap.c: Likewise.
13445 * misc/preadv.c: Likewise.
13446 * misc/preadv64.c: Likewise.
13447 * misc/ptrace.c: Likewise.
13448 * misc/pwritev.c: Likewise.
13449 * misc/pwritev64.c: Likewise.
13450 * misc/readv.c: Likewise.
13451 * misc/reboot.c: Likewise.
13452 * misc/remap_file_pages.c: Likewise.
13453 * misc/removexattr.c: Likewise.
13454 * misc/revoke.c: Likewise.
13455 * misc/select.c: Likewise.
13456 * misc/setdomain.c: Likewise.
13457 * misc/setegid.c: Likewise.
13458 * misc/seteuid.c: Likewise.
13459 * misc/sethostid.c: Likewise.
13460 * misc/sethostname.c: Likewise.
13461 * misc/setregid.c: Likewise.
13462 * misc/setreuid.c: Likewise.
13463 * misc/setxattr.c: Likewise.
13464 * misc/sstk.c: Likewise.
13465 * misc/stty.c: Likewise.
13466 * misc/swapoff.c: Likewise.
13467 * misc/swapon.c: Likewise.
13468 * misc/sync.c: Likewise.
13469 * misc/syncfs.c: Likewise.
13470 * misc/syscall.c: Likewise.
13471 * misc/truncate.c: Likewise.
13472 * misc/ualarm.c: Likewise.
13473 * misc/usleep.c: Likewise.
13474 * misc/ustat.c: Likewise.
13475 * misc/utimes.c: Likewise.
13476 * misc/vhangup.c: Likewise.
13477 * misc/writev.c: Likewise.
13478 * posix/_exit.c: Likewise.
13479 * posix/alarm.c: Likewise.
13480 * posix/execve.c: Likewise.
13481 * posix/fexecve.c: Likewise.
13482 * posix/fork.c: Likewise.
13483 * posix/fpathconf.c: Likewise.
13484 * posix/getaddrinfo.c: Likewise.
13485 * posix/getegid.c: Likewise.
13486 * posix/geteuid.c: Likewise.
13487 * posix/getgid.c: Likewise.
13488 * posix/getgroups.c: Likewise.
13489 * posix/getlogin.c: Likewise.
13490 * posix/getlogin_r.c: Likewise.
13491 * posix/getpgid.c: Likewise.
13492 * posix/getpid.c: Likewise.
13493 * posix/getppid.c: Likewise.
13494 * posix/getresgid.c: Likewise.
13495 * posix/getresuid.c: Likewise.
13496 * posix/getsid.c: Likewise.
13497 * posix/getuid.c: Likewise.
13498 * posix/glob64.c: Likewise.
13499 * posix/nanosleep.c: Likewise.
13500 * posix/pathconf.c: Likewise.
13501 * posix/pause.c: Likewise.
13502 * posix/posix_madvise.c: Likewise.
13503 * posix/pread.c: Likewise.
13504 * posix/pread64.c: Likewise.
13505 * posix/pwrite.c: Likewise.
13506 * posix/pwrite64.c: Likewise.
13507 * posix/sched_getaffinity.c: Likewise.
13508 * posix/sched_getp.c: Likewise.
13509 * posix/sched_gets.c: Likewise.
13510 * posix/sched_primax.c: Likewise.
13511 * posix/sched_primin.c: Likewise.
13512 * posix/sched_rr_gi.c: Likewise.
13513 * posix/sched_setaffinity.c: Likewise.
13514 * posix/sched_setp.c: Likewise.
13515 * posix/sched_sets.c: Likewise.
13516 * posix/sched_yield.c: Likewise.
13517 * posix/setgid.c: Likewise.
13518 * posix/setlogin.c: Likewise.
13519 * posix/setpgid.c: Likewise.
13520 * posix/setresgid.c: Likewise.
13521 * posix/setresuid.c: Likewise.
13522 * posix/setsid.c: Likewise.
13523 * posix/setuid.c: Likewise.
13524 * posix/sleep.c: Likewise.
13525 * posix/spawni.c: Likewise.
13526 * posix/sysconf.c: Likewise.
13527 * posix/times.c: Likewise.
13528 * posix/wait.c: Likewise.
13529 * posix/wait3.c: Likewise.
13530 * posix/wait4.c: Likewise.
13531 * posix/waitpid.c: Likewise.
13532 * resolv/gai_sigqueue.c: Likewise.
13533 * resource/getpriority.c: Likewise.
13534 * resource/getrlimit.c: Likewise.
13535 * resource/getrusage.c: Likewise.
13536 * resource/nice.c: Likewise.
13537 * resource/setpriority.c: Likewise.
13538 * resource/setrlimit.c: Likewise.
13539 * resource/ulimit.c: Likewise.
13540 * rt/aio_cancel.c: Likewise.
13541 * rt/aio_fsync.c: Likewise.
13542 * rt/aio_read.c: Likewise.
13543 * rt/aio_sigqueue.c: Likewise.
13544 * rt/aio_suspend.c: Likewise.
13545 * rt/aio_write.c: Likewise.
13546 * rt/clock_getres.c: Likewise.
13547 * rt/clock_gettime.c: Likewise.
13548 * rt/clock_nanosleep.c: Likewise.
13549 * rt/clock_settime.c: Likewise.
13550 * rt/lio_listio.c: Likewise.
13551 * rt/mq_close.c: Likewise.
13552 * rt/mq_getattr.c: Likewise.
13553 * rt/mq_notify.c: Likewise.
13554 * rt/mq_open.c: Likewise.
13555 * rt/mq_receive.c: Likewise.
13556 * rt/mq_send.c: Likewise.
13557 * rt/mq_setattr.c: Likewise.
13558 * rt/mq_timedreceive.c: Likewise.
13559 * rt/mq_timedsend.c: Likewise.
13560 * rt/mq_unlink.c: Likewise.
13561 * rt/shm_open.c: Likewise.
13562 * rt/shm_unlink.c: Likewise.
13563 * rt/timer_create.c: Likewise.
13564 * rt/timer_delete.c: Likewise.
13565 * rt/timer_getoverr.c: Likewise.
13566 * rt/timer_gettime.c: Likewise.
13567 * rt/timer_settime.c: Likewise.
13568 * setjmp/__longjmp.c: Likewise.
13569 * setjmp/setjmp.c: Likewise.
13570 * signal/kill.c: Likewise.
13571 * signal/killpg.c: Likewise.
13572 * signal/raise.c: Likewise.
13573 * signal/sigaction.c: Likewise.
13574 * signal/sigaltstack.c: Likewise.
13575 * signal/sigblock.c: Likewise.
13576 * signal/sigignore.c: Likewise.
13577 * signal/sigintr.c: Likewise.
13578 * signal/signal.c: Likewise.
13579 * signal/sigpause.c: Likewise.
13580 * signal/sigpending.c: Likewise.
13581 * signal/sigqueue.c: Likewise.
13582 * signal/sigreturn.c: Likewise.
13583 * signal/sigset.c: Likewise.
13584 * signal/sigsetmask.c: Likewise.
13585 * signal/sigstack.c: Likewise.
13586 * signal/sigsuspend.c: Likewise.
13587 * signal/sigtimedwait.c: Likewise.
13588 * signal/sigvec.c: Likewise.
13589 * signal/sigwait.c: Likewise.
13590 * signal/sigwaitinfo.c: Likewise.
13591 * signal/sysv_signal.c: Likewise.
13592 * socket/accept.c: Likewise.
13593 * socket/accept4.c: Likewise.
13594 * socket/bind.c: Likewise.
13595 * socket/connect.c: Likewise.
13596 * socket/getpeername.c: Likewise.
13597 * socket/getsockname.c: Likewise.
13598 * socket/getsockopt.c: Likewise.
13599 * socket/isfdtype.c: Likewise.
13600 * socket/listen.c: Likewise.
13601 * socket/recv.c: Likewise.
13602 * socket/recvfrom.c: Likewise.
13603 * socket/recvmsg.c: Likewise.
13604 * socket/send.c: Likewise.
13605 * socket/sendmsg.c: Likewise.
13606 * socket/sendto.c: Likewise.
13607 * socket/setsockopt.c: Likewise.
13608 * socket/shutdown.c: Likewise.
13609 * socket/sockatmark.c: Likewise.
13610 * socket/socket.c: Likewise.
13611 * socket/socketpair.c: Likewise.
13612 * stdio-common/ctermid.c: Likewise.
13613 * stdio-common/cuserid.c: Likewise.
13614 * stdio-common/remove.c: Likewise.
13615 * stdio-common/rename.c: Likewise.
13616 * stdio-common/renameat.c: Likewise.
13617 * stdio-common/tempname.c: Likewise.
13618 * stdlib/getcontext.c: Likewise.
13619 * stdlib/makecontext.c: Likewise.
13620 * stdlib/setcontext.c: Likewise.
13621 * stdlib/swapcontext.c: Likewise.
13622 * stdlib/system.c: Likewise.
13623 * streams/fattach.c: Likewise.
13624 * streams/fdetach.c: Likewise.
13625 * streams/getmsg.c: Likewise.
13626 * streams/getpmsg.c: Likewise.
13627 * streams/putmsg.c: Likewise.
13628 * streams/putpmsg.c: Likewise.
13629 * sysdeps/unix/bsd/getpt.c: Likewise.
13630 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
13631 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
13632 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
13633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
13634 Likewise.
13635 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
13636 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
13637 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
13638 * sysvipc/msgctl.c: Likewise.
13639 * sysvipc/msgget.c: Likewise.
13640 * sysvipc/msgrcv.c: Likewise.
13641 * sysvipc/msgsnd.c: Likewise.
13642 * sysvipc/semctl.c: Likewise.
13643 * sysvipc/semget.c: Likewise.
13644 * sysvipc/semop.c: Likewise.
13645 * sysvipc/semtimedop.c: Likewise.
13646 * sysvipc/shmat.c: Likewise.
13647 * sysvipc/shmctl.c: Likewise.
13648 * sysvipc/shmdt.c: Likewise.
13649 * sysvipc/shmget.c: Likewise.
13650 * termios/tcdrain.c: Likewise.
13651 * termios/tcflow.c: Likewise.
13652 * termios/tcflush.c: Likewise.
13653 * termios/tcgetattr.c: Likewise.
13654 * termios/tcgetpgrp.c: Likewise.
13655 * termios/tcsendbrk.c: Likewise.
13656 * termios/tcsetattr.c: Likewise.
13657 * termios/tcsetpgrp.c: Likewise.
13658 * time/adjtime.c: Likewise.
13659 * time/clock.c: Likewise.
13660 * time/getitimer.c: Likewise.
13661 * time/gettimeofday.c: Likewise.
13662 * time/setitimer.c: Likewise.
13663 * time/settimeofday.c: Likewise.
13664 * time/stime.c: Likewise.
13665 * time/time.c: Likewise.
13666
136672012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 13668
a20492cf
PT
13669 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
13670 /usr/old/bin.
13671
72e182e3
PT
13672 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
13673 instead of spaces.
13674 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
13675
fbeafede
JM
136762012-11-03 Joseph Myers <joseph@codesourcery.com>
13677
5b5b04d6
JM
13678 [BZ #14796]
13679 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
13680 FE_TONEAREST before applying Dekker multiplication and Knuth
13681 addition. Clear inexact exceptions and check for exact zero
13682 results afterwards.
13683 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13684 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13685 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13686 * math/libm-test.inc (fma_test): Add more tests.
13687 (fma_test_towardzero): Likewise.
13688 (fma_test_downward): Likewise.
13689 (fma_test_upward): Likewise.
13690 * sysdeps/generic/math_private.h (default_libc_fesetround): New
13691 function.
13692 (libc_fesetround): New macro.
13693 (libc_fesetroundf): Likewise.
13694 (libc_fesetroundl): Likewise.
13695 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
13696 function.
13697 (libc_fesetround_387): Likewise.
13698 (libc_fesetroundf): New macro.
13699 (libc_fesetround): Likewise.
13700 (libc_fesetroundl): Likewise.
13701 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
13702 function.
13703 (libc_fesetroundf): New macro.
13704 (libc_fesetround): Likewise.
13705 (libc_fesetroundl): Likewise.
13706 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
13707 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
13708 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
13709 libm_hidden_ver.
13710 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
13711 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
13712 libm_hidden_def.
13713 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
13714 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
13715 libm_hidden_ver.
13716 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
13717 libm_hidden_def.
13718
fbeafede
JM
13719 [BZ #3439]
13720 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
13721 integer constant usable in #if and use that to give value to enum
13722 constant.
13723 (FE_DIVBYZERO): Likewise.
13724 (FE_UNDERFLOW): Likewise.
13725 (FE_OVERFLOW): Likewise.
13726 (FE_INVALID): Likewise.
13727 (FE_INVALID_SNAN): Likewise.
13728 (FE_INVALID_ISI): Likewise.
13729 (FE_INVALID_IDI): Likewise.
13730 (FE_INVALID_ZDZ): Likewise.
13731 (FE_INVALID_IMZ): Likewise.
13732 (FE_INVALID_COMPARE): Likewise.
13733 (FE_INVALID_SOFTWARE): Likewise.
13734 (FE_INVALID_SQRT): Likewise.
13735 (FE_INVALID_INTEGER_CONVERSION): Likewise.
13736 (FE_TONEAREST): Likewise.
13737 (FE_TOWARDZERO): Likewise.
13738 (FE_UPWARD): Likewise.
13739 (FE_DOWNWARD): Likewise.
13740 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
13741 (FE_DIVBYZERO): Likewise.
13742 (FE_OVERFLOW): Likewise.
13743 (FE_UNDERFLOW): Likewise.
13744 (FE_INEXACT): Likewise.
13745 (FE_TONEAREST): Likewise.
13746 (FE_DOWNWARD): Likewise.
13747 (FE_UPWARD): Likewise.
13748 (FE_TOWARDZERO): Likewise.
13749 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
13750 (FE_UNDERFLOW): Likewise.
13751 (FE_OVERFLOW): Likewise.
13752 (FE_DIVBYZERO): Likewise.
13753 (FE_INVALID): Likewise.
13754 (FE_TONEAREST): Likewise.
13755 (FE_TOWARDZERO): Likewise.
13756 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
13757 (FE_OVERFLOW): Likewise.
13758 (FE_UNDERFLOW): Likewise.
13759 (FE_DIVBYZERO): Likewise.
13760 (FE_INEXACT): Likewise.
13761 (FE_TONEAREST): Likewise.
13762 (FE_TOWARDZERO): Likewise.
13763 (FE_UPWARD): Likewise.
13764 (FE_DOWNWARD): Likewise.
13765 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
13766 (FE_DIVBYZERO): Likewise.
13767 (FE_OVERFLOW): Likewise.
13768 (FE_UNDERFLOW): Likewise.
13769 (FE_INEXACT): Likewise.
13770 (FE_TONEAREST): Likewise.
13771 (FE_DOWNWARD): Likewise.
13772 (FE_UPWARD): Likewise.
13773 (FE_TOWARDZERO): Likewise.
13774
105ca950
CM
137752012-11-02 Chris Metcalf <cmetcalf@tilera.com>
13776
13777 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
13778
a542b389
AS
137792012-11-03 Andreas Schwab <schwab@linux-m68k.org>
13780
13781 * scripts/cross-test-ssh.sh (command): Use newlines to separate
13782 commands. Quote $PWD.
13783 (blacklist_exports): Don't use remove_newlines. Replace "declare
13784 -x" by "export".
13785 (remove_newlines): Remove.
13786
f62c8abc
L
137872012-11-02 H.J. Lu <hongjiu.lu@intel.com>
13788
13789 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
13790 * stdlib/stdlib.h (atof): Moved to ...
13791 * include/bits/stdlib-float.h: Here. New file.
13792 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
13793 * stdlib/bits/stdlib-float.h: New file.
13794 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
13795 -mno-sse -mno-mmx.
13796 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
13797 <xmmintrin.h>.
13798
0155d5b2
JM
137992012-11-02 Joseph Myers <joseph@codesourcery.com>
13800
a68d0680
JM
13801 * conform/conformtest.pl (@headers): Add fenv.h.
13802 * conform/data/fenv.h-data: New file.
13803 * include/fenv.h [_ISOMAC]: Disable all contents of file except
13804 include of <math/fenv.h>.
13805
caf7f573
JM
13806 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
13807 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
13808 && !UNIX98]. Enables tests for XOPEN2K8.
13809 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
13810 POSIX2008]: Likewise.
13811
6c073ad6
JM
13812 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
13813 (struct rusage): Do not expect type or its members.
13814
0155d5b2
JM
13815 [BZ #3439]
13816 * math/math.h (FP_NAN): Define macro to integer constant usable in
13817 #if and use that to give value to enum constant.
13818 (FP_INFINITE): Likewise.
13819 (FP_ZERO): Likewise.
13820 (FP_SUBNORMAL): Likewise.
13821 (FP_NORMAL): Likewise.
13822
b5dcacb4
AS
138232012-11-02 Andreas Schwab <schwab@linux-m68k.org>
13824
13825 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
13826 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
13827 arguments.
13828
f7934be8
RM
138292012-11-02 Roland McGrath <roland@hack.frob.com>
13830
13831 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
13832 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
13833 autoconf-time if not.
13834 * configure.in: Remove AC_PREREQ.
13835
d7d08bde
TMQMF
138362012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13837
13838 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
13839 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
13840 of the internal implementation.
13841
dcdae19a
JM
138422012-11-02 Joseph Myers <joseph@codesourcery.com>
13843
13844 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
13845 except include of <misc/sys/syslog.h>.
13846
d6cffd3e
AS
138472012-11-01 Andreas Schwab <schwab@linux-m68k.org>
13848
13849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
13850 function returns with a NULL context exit with zero.
13851
b3563932
TMQMF
138522012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13853
13854 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
13855
b288a93d
L
138562012-11-01 H.J. Lu <hongjiu.lu@intel.com>
13857
13858 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
13859 (run_program_cmd): This.
13860 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
13861 (tst_langinfo): New variable. Use it.
13862
a2421a68
SAS
138632012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
13864
13865 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
13866 floating point opcodes.
13867
6f796e1b
TS
138682012-11-01 Thomas Schwinge <thomas@codesourcery.com>
13869
7402596b
TS
13870 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
13871 variable.
13872
d0d4f868
TS
13873 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
13874
6f796e1b
TS
13875 * sysdeps/mach/hurd/powerpc: Remove directory.
13876 * sysdeps/mach/powerpc: Likewise.
13877
4da224a2
AS
138782012-11-01 Andreas Schwab <schwab@linux-m68k.org>
13879
13880 * scripts/check-local-headers.sh: Ignore c++ headers.
13881
341dd673
TS
138822012-11-01 Thomas Schwinge <thomas@codesourcery.com>
13883
13884 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
13885 __libc_cleanup_region_start argument.
13886
473611b2
JM
138872012-11-01 Joseph Myers <joseph@codesourcery.com>
13888
13889 [BZ #14784]
13890 [BZ #14785]
13891 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
13892 x * y using scaling, not as x * y + z.
13893 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13894 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13895 * math/libm-test.inc (fma_test): Add more tests.
13896 (fma_test_towardzero): Likewise.
13897 (fma_test_downward): Likewise.
13898 (fma_test_upward): Likewise.
13899
4078da3d
TS
139002012-11-01 Thomas Schwinge <thomas@codesourcery.com>
13901
13902 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
13903
903252aa
JM
139042012-10-31 Joseph Myers <joseph@codesourcery.com>
13905
13906 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
13907 New variable.
13908
cbc818d0
TS
139092012-10-31 Thomas Schwinge <thomas@codesourcery.com>
13910
13911 * rt/tst-shm.c (worker): Correct checking for mmap failure.
13912
5a03cb1e
AS
139132012-10-31 Andreas Schwab <schwab@linux-m68k.org>
13914
13915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13916 Fix sort order.
13917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13918 Likewise.
13919
90aff2ff
TMQMF
139202012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13921
13922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13923 Fix the order of the list for glibc 2.17.
13924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13925 Likewise.
13926
1818fcb7
AS
139272012-10-31 Andreas Schwab <schwab@linux-m68k.org>
13928
13929 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13930
ef82f4da
JM
139312012-10-31 Joseph Myers <joseph@codesourcery.com>
13932
16a0e2ec
JM
13933 [BZ #14610]
13934 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
13935 for low part of x being zero before using __atanl (y).
13936 * math/libm-test.inc (atan2_test): Add another test.
13937
0eb69512
JM
13938 * manual/install.texi (Configuring and compiling): Document
13939 general use of test-wrapper and test-wrapper-env.
13940 * INSTALL: Regenerated.
13941
ef82f4da
JM
13942 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
13943 (__fma): Do not extract and scale down low bits on after-rounding
13944 systems when result rounded to normal precision would have normal
13945 exponent.
13946 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
13947 (__fmal): Do not extract and scale down low bits on after-rounding
13948 systems when result rounded to normal precision would have normal
13949 exponent.
13950 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
13951 (__fmal): Do not extract and scale down low bits on after-rounding
13952 systems when result rounded to normal precision would have normal
13953 exponent.
13954 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
13955 macro.
13956 (fma_test): Add more tests.
13957 (fma_test_towardzero): Likewise.
13958 (fma_test_downward): Likewise.
13959 (fma_test_upward): Likewise.
13960
954ef0d9
L
139612012-10-30 H.J. Lu <hongjiu.lu@intel.com>
13962
13963 * sysdeps/i386/tininess.h: Renamed to ...
13964 * sysdeps/x86/tininess.h: This.
13965 * sysdeps/x86_64/tininess.h: Removed.
13966
df61ffb2
JM
139672012-10-30 Joseph Myers <joseph@codesourcery.com>
13968
13969 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
13970 input. Use $(build-program-cmd).
13971 ($(objpfx)tst-array1-static.out): Likewise.
13972 ($(objpfx)tst-array2.out): Likewise.
13973 ($(objpfx)tst-array3.out): Likewise.
13974 ($(objpfx)tst-array4.out): Likewise.
13975 ($(objpfx)tst-array5.out): Likewise.
13976 ($(objpfx)tst-array5-static.out): Likewise.
13977
01767843
CM
139782012-10-30 Chris Metcalf <cmetcalf@tilera.com>
13979
47cc1490
CM
13980 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
13981 if defined.
13982
01767843
CM
13983 * nss/nsswitch.h (nss_interface_function): Provide new
13984 macro for use with NSS functions.
13985 * grp/initgroups.c: Use new macro.
13986 * nss/getXXbyYY.c: Likewise.
13987 * nss/getXXbyYY_r.c: Likewise.
13988 * nss/getXXent.c: Likewise.
13989 * nss/getXXent_r.c: Likewise.
13990 * sysdeps/posix/getaddrinfo.c: Likewise.
13991
8321aa97
AJ
139922012-10-30 Andreas Jaeger <aj@suse.de>
13993
13994 * po/ru.po: Update Russion translation from translation project.
13995
2a27fd6d
JM
139962012-10-30 Joseph Myers <joseph@codesourcery.com>
13997
8627a232
JM
13998 [BZ #14152]
13999 [BZ #14783]
14000 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
14001 result and shift together with sticky bit instead of replicating
14002 round-to-nearest rounding.
14003 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14004 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14005 * math/libm-test.inc (fma_test): Add more tests. Do not permit
14006 missing underflow exceptions.
14007 (fma_test_towardzero): Add more tests.
14008 (fma_test_downward): Likewise.
14009 (fma_test_upward): Likewise.
14010
2a27fd6d
JM
14011 [BZ #14047]
14012 * sysdeps/generic/tininess.h: New file.
14013 * sysdeps/i386/tininess.h: Likewise.
14014 * sysdeps/sh/tininess.h: Likewise.
14015 * sysdeps/x86_64/tininess.h: Likewise.
14016 * stdlib/tst-strtod-underflow.c: Likewise.
14017 * stdlib/tst-tininess.c: Likewise.
14018 * stdlib/strtod_l.c: Include <tininess.h>.
14019 (round_and_return): Do not set errno for exact underflow cases.
14020 Force an underflow exception when setting errno for underflow.
14021 Determine underflow based on rounding to normal precision if
14022 TININESS_AFTER_ROUNDING.
14023 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
14024 ERANGE for exact underflow cases.
14025 * stdlib/Makefile (tests): Add tst-tininess and
14026 tst-strtod-underflow.
14027 ($(objpfx)tst-tininess): Use $(link-libm).
14028 ($(objpfx)tst-strtod-underflow): Likewise.
14029
e7170363
AJ
140302012-10-30 Andreas Jaeger <aj@suse.de>
14031
e5088dc6
AJ
14032 [BZ#14767]
14033 * elf/Makefile (tests): Remove conditional for have-initfini-array
14034 since this is now always required and the variable does not exist
14035 anymore.
14036 (tests-static): Likewise.
14037 (modules-names): Likewise.
14038
e7170363 14039 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
14040
14041 * elf/tst-array1.c (fini_array): Make writeable so that it can be
14042 merged with constructor/destructor.
14043 (init_array): Likewise.
14044 * elf/tst-array2dep.c (fini_array): Likewise.
14045 (init_array): Likewise.
14046
60457d8a
MF
140472012-10-29 Mike Frysinger <vapier@gentoo.org>
14048
14049 * manual/message.texi: Delete @cartouche tags.
14050
8bece752
PT
140512012-10-29 Pino Toscano <toscano.pino@tiscali.it>
14052
94ce799f
PT
14053 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
14054 EOPNOTSUPP.
14055 * sysdeps/mach/hurd/fsync.c: Likewise.
14056
8bece752
PT
14057 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
14058 [_POSIX_REALTIME_SIGNALS]: Change condition to
14059 [_POSIX_REALTIME_SIGNALS > 0].
14060
86ebe6b1
AJ
140612012-10-27 Andreas Jaeger <aj@suse.de>
14062
14063 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
14064 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
14065 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
14066 [__WORDSIZE != 64]: Likewise.
14067
54399c08
L
140682012-10-26 H.J. Lu <hongjiu.lu@intel.com>
14069
14070 * iconvdata/tst-table.sh: Remove ${SHELL}.
14071 * iconvdata/tst-tables.sh: Likewise.
14072
e2211bed
DM
140732012-10-25 David S. Miller <davem@davemloft.net>
14074
14075 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14076 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
14077 of strtoull.
14078
f303f97c
DM
14079 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
14080 ifunc-impl-list.c
14081 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14082 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
14083 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
14084 file.
14085
1e9d84cd
RM
140862012-10-25 Roland McGrath <roland@hack.frob.com>
14087
14088 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14089 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
14090 __getdirentries.
14091
df381762
JM
140922012-10-25 Joseph Myers <joseph@codesourcery.com>
14093 Jim Blandy <jimb@codesourcery.com>
14094
14095 * scripts/cross-test-ssh.sh: New file.
14096 * manual/install.texi (Configuring and compiling): Document use of
14097 cross-test-ssh.sh.
14098 * INSTALL: Regenerated.
14099
bff64913
PT
141002012-10-25 Pino Toscano <toscano.pino@tiscali.it>
14101
14102 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
14103 EOPNOTSUPP.
14104
25fe8932
JM
141052012-10-25 Joseph Myers <joseph@codesourcery.com>
14106
14107 * Makeconfig (run-program-prefix): Fix comment.
14108
cc1290d0
JM
141092012-10-24 Joseph Myers <joseph@codesourcery.com>
14110 Jim Blandy <jimb@codesourcery.com>
14111
14112 * Makeconfig (test-wrapper): New variable,
14113 (test-wrapper-env): Likewise.
14114 [$(cross-compiling) = yes && $(test-wrapper) != ""]
14115 (run-built-tests): Define to yes.
14116 (run-program-prefix): Use $(test-wrapper).
14117 (built-program-cmd): Likewise.
14118 * Rules (make-test-out): Use $(test-wrapper-env) and
14119 $(host-built-program-cmd).
14120 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
14121 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
14122 tst-pathopt.sh.
14123 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
14124 $(test-wrapper-env) to tst-rtld-load-self.sh.
14125 ($(objpfx)order2.out): Use $(test-wrapper).
14126 ($(objpfx)tst-initorder.out): Likewise.
14127 ($(objpfx)tst-initorder2.out): Likewise.
14128 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
14129 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
14130 (test_wrapper_env): New variable. Use it to run ld.so.
14131 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
14132 Use it to run ld.so.
14133 (test_wrapper_env): Likewise.
14134 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
14135 $(test-wrapper) to run-iconv-test.sh.
14136 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
14137 (ICONV): Use $test_wrapper.
14138 * posix/Makefile ($(objpfx)globtest.out): Pass
14139 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
14140 globtest.sh, not $(run-program-prefix).
14141 * posix/globtest.sh (run_via_rtld_prefix): New variable.
14142 (test_wrapper): Likewise.
14143 (test_wrapper_env): Likewise. Use it to run globtest with HOME
14144 set together with run_via_rtld_prefix.
14145 (run_program_prefix): Define in terms of test_wrapper and
14146 run_via_rtld_prefix.
14147
6e6249d0
RM
141482012-10-24 Roland McGrath <roland@hack.frob.com>
14149
14150 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
14151 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
14152 Targets removed.
14153
14154 [BZ #14743]
14155 * include/time.h: Remove librt_hidden_proto (clock_gettime).
14156 Declare __clock_getres, __clock_gettime, __clock_settime,
14157 __clock_nanosleep, and __clock_getcpuclockid.
14158 * rt/clock_gettime.c: Define __clock_gettime as an alias.
14159 Remove librt_hidden_def (clock_gettime).
14160 * sysdeps/unix/clock_gettime.c: Likewise.
14161 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
14162 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
14163 * rt/clock_getres.c: Define __clock_getres as an alias.
14164 * sysdeps/posix/clock_getres.c: Likewise.
14165 * rt/clock_settime.c: Define __clock_settime as an alias.
14166 * sysdeps/unix/clock_settime.c: Likewise.
14167 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
14168 * sysdeps/unix/clock_nanosleep.c: Likewise.
14169 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
14170 * rt/clock-compat.c: New file.
14171 * rt/Makefile (librt-routines): Add clock-compat and move
14172 $(clock-routines) to ...
14173 (routines): ... here, new variable.
14174 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
14175 Don't add get_clockfreq here.
14176 * rt/Versions (libc: GLIBC_2.17): New version set.
14177 Add clock_* symbols here.
14178 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
14179 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
14180 (GLIBC_2.17): Add clock_* symbols.
14181 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
14182 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
14183 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
14184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14185 Likewise.
14186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14187 Likewise.
14188 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
14189 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
14190 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
14191 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
14192 * NEWS: Mention the move.
14193
14194 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
14195 Use __open, __read, __close rather than their public counterparts.
14196 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14197 (__get_clockfreq_via_cpuinfo): Likewise.
14198 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
14199 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
14200
14201 * config.h.in (HAVE_IFUNC): New #undef.
14202 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
14203 was successful.
14204 * configure: Regenerated.
14205
0cae3f4b
MF
142062012-10-24 Mike Frysinger <vapier@gentoo.org>
14207
14208 * configure.in: Move READELF check to start of file.
14209 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
14210 libc_cv_asm_gnu_indirect_function in the process.
14211 * configure: Regenerated.
14212
8175a253
MF
142132012-10-24 Mike Frysinger <vapier@gentoo.org>
14214
14215 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
14216 send the output to /dev/null.
14217 (libc_cv_cc_with_libunwind): Likewise.
14218 (libc_cv_as_noexecstack): Likewise.
14219 * configure: Regenerate.
14220
0708a7d1
JM
142212012-10-24 Joseph Myers <joseph@codesourcery.com>
14222
10b40d85
JM
14223 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
14224
0708a7d1
JM
14225 * posix/globtest.sh (TMPDIR): Do not set.
14226 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
14227 (testout): Likewise.
14228
9fddec1a
AJ
142292012-10-24 Andreas Jaeger <aj@suse.de>
14230
3a8db22f
AJ
14231 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
14232 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
14233 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
14234 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
14235 posix_fadvise64, posix_fallocate64.
14236
9fddec1a
AJ
14237 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
14238 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
14239 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
14240 Likewise.
14241 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
14242 Likewise.
14243 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
14244
14245 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
14246 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
14247 <bits/fcntl-linux.h>.
14248 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
14249
14250 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
14251 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
14252 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
14253 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
14254 [__WORDSIZE != 64]: Likewise.
14255
ebfd1bbd
JM
142562012-10-23 Joseph Myers <joseph@codesourcery.com>
14257
03ac099f
JM
14258 * Makeconfig (run-built-tests): New variable.
14259 * Rules [$(cross-compiling) = yes]: Change condition to
14260 [$(run-built-tests) = no].
14261 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
14262 to [$(run-built-tests) = yes].
14263 * elf/Makefile [$(cross-compiling) = no]: Likewise
14264 * grp/Makefile [$(cross-compiling) = no]: Likewise.
14265 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
14266 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
14267 * intl/Makefile [$(cross-compiling) = no]: Likewise.
14268 * io/Makefile [$(cross-compiling) = no]: Likewise.
14269 * libio/Makefile [$(cross-compiling) = no]: Likewise.
14270 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
14271 * misc/Makefile [$(cross-compiling) = no]: Likewise.
14272 * posix/Makefile [$(cross-compiling) = no]: Likewise.
14273 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
14274 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
14275 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
14276 * string/Makefile [$(cross-compiling) = no]: Likewise.
14277
ebfd1bbd
JM
14278 * posix/Makefile ($(objpfx)globtest.out): Pass
14279 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
14280 $(rtld-installed-name).
14281 * posix/globtest.sh (elf_objpfx): Remove variable.
14282 (rtld_installed_name): Likewise.
14283 (library_path): Likewise.
14284 (run_program_prefix): New variable. Use for running globtest
14285 binary.
14286
166bca24
JB
142872012-10-23 Jim Blandy <jimb@codesourcery.com>
14288 Joseph Myers <joseph@codesourcery.com>
14289
14290 * Makeconfig (host-built-program-cmd): New variable.
14291 * elf/Makefile (tst-stackguard1-ARGS): Use
14292 $(host-built-program-cmd).
14293 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
14294 (tst-spawn-ARGS): Likewise.
14295 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
14296
88866099
JM
142972012-10-23 Joseph Myers <joseph@codesourcery.com>
14298 Jim Blandy <jimb@codesourcery.com>
14299
14300 * Makeconfig (run-via-rtld-prefix): New variable.
14301 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
14302 (built-program-cmd): Likewise.
14303
b4b4c296
AJ
143042012-10-22 Andreas Jaeger <aj@suse.de>
14305
14306 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
14307 __O_RSYNC if it exists, otherwise to O_SYNC.
14308
6fb54a22
JB
143092012-10-22 Jim Blandy <jimb@codesourcery.com>
14310 Joseph Myers <joseph@codesourcery.com>
14311
14312 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
14313 /dev/null.
14314 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
14315 from /dev/null
14316 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
14317 /dev/null.
14318
481b90b9
AJ
143192012-10-22 Andreas Jaeger <aj@suse.de>
14320
2a0e2669
AJ
14321 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
14322 Define always.
14323 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
14324
76e38f9a
AJ
14325 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14326 bits/fcntl-linux.h.
14327
7cd37b43
AJ
14328 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
14329 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
14330
481b90b9
AJ
14331 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
14332 to __O_LARGEFILE.
14333 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
14334 to __O_LARGEFILE.
14335
aba75984
JB
143362012-10-21 Jim Blandy <jimb@codesourcery.com>
14337 Joseph Myers <joseph@codesourcery.com>
14338
14339 * config.make.in (NM): New variable.
14340
88d4247f
AJ
143412012-10-21 Andreas Jaeger <aj@suse.de>
14342
14343 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
14344 definitions and declarations that are provided by
14345 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
14346
f2eed205
L
143472012-10-20 H.J. Lu <hongjiu.lu@intel.com>
14348
14349 [BZ #14683]
14350 * elf/Makefile (tests-static): Add tst-leaks1-static.
14351 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
14352 ($(objpfx)tst-leaks1-static): New rule.
14353 ($(objpfx)tst-leaks1-static-mem): Likewise.
14354 (tst-leaks1-static-ENV): New macro.
14355 * elf/dl-open.c (dl_open_worker): Check the main application
14356 only if SHARED is defined.
14357 * elf/tst-leaks1-static.c: New file.
14358
335e6931
AJ
143592012-10-20 Andreas Jaeger <aj@suse.de>
14360
14361 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
14362 generic values for Linux.
14363 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
14364 and declarations that are provided by <bits/fcntl-linux.h> and
14365 include <bits/fcntl-linux.h>.
14366 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14367 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14368
ac5c94d3
RM
143692012-10-20 Roland McGrath <roland@hack.frob.com>
14370
14371 * io/fcntl.h: Move include of <bits/types.h> to the top and
14372 include it unconditionally.
14373
de54b33a
L
143742012-10-20 H.J. Lu <hongjiu.lu@intel.com>
14375
228cfb01
L
14376 * wcsmbs/Makefile (tests-ifunc): New variable.
14377 (tests): Add $(tests-ifunc).
14378 * wcsmbs/test-wcschr-ifunc.c: New file.
14379 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
14380 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
14381 * wcsmbs/test-wcslen-ifunc.c: Likewise.
14382 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
14383 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
14384
69f07e5f
L
14385 * string/Makefile (tests-ifunc): New variable.
14386 (tests): Add $(tests-ifunc).
14387 * string/test-memccpy.c (TEST_NAME): New macro.
14388 * string/test-memchr.c (TEST_NAME): Likewise.
14389 * string/test-memcmp.c (TEST_NAME): Likewise.
14390 * string/test-memcpy.c (TEST_NAME): Likewise.
14391 * string/test-memmem.c (TEST_NAME): Likewise.
14392 * string/test-memmove.c (TEST_NAME): Likewise.
14393 * string/test-memset.c (TEST_NAME): Likewise.
14394 * string/test-rawmemchr.c (TEST_NAME): Likewise.
14395 * string/test-stpcpy.c (TEST_NAME): Likewise.
14396 * string/test-stpncpy.c (TEST_NAME): Likewise.
14397 * string/test-strcasecmp.c (TEST_NAME): Likewise.
14398 * string/test-strcasestr.c (TEST_NAME): Likewise.
14399 * string/test-strcat.c (TEST_NAME): Likewise.
14400 * string/test-strchr.c (TEST_NAME): Likewise.
14401 * string/test-strcmp.c(TEST_NAME): Likewise.
14402 * string/test-strcpy.c (TEST_NAME): Likewise.
14403 * string/test-strcspn.c (TEST_NAME): Likewise.
14404 * string/test-strlen.c (TEST_NAME): Likewise.
14405 * string/test-strncasecmp.c (TEST_NAME): Likewise.
14406 * string/test-strncmp.c (TEST_NAME): Likewise.
14407 * string/test-strncpy.c (TEST_NAME): Likewise.
14408 * string/test-strnlen.c (TEST_NAME): Likewise.
14409 * string/test-strpbrk.c (TEST_NAME): Likewise.
14410 * string/test-strrchr.c (TEST_NAME): Likewise.
14411 * string/test-strspn.c (TEST_NAME): Likewise.
14412 * string/test-strstr.c (TEST_NAME): Likewise.
14413 * string/test-bcopy-ifunc.c: New file.
14414 * string/test-bzero-ifunc.c: Likewise.
14415 * string/test-memccpy-ifunc.c: Likewise.
14416 * string/test-memchr-ifunc.c: Likewise.
14417 * string/test-memcmp-ifunc.c: Likewise.
14418 * string/test-memcpy-ifunc.c: Likewise.
14419 * string/test-memmem-ifunc.c: Likewise.
14420 * string/test-memmove-ifunc.c: Likewise.
14421 * string/test-mempcpy-ifunc.c: Likewise.
14422 * string/test-memset-ifunc.c: Likewise.
14423 * string/test-rawmemchr-ifunc.c: Likewise.
14424 * string/test-stpcpy-ifunc.c: Likewise.
14425 * string/test-stpncpy-ifunc.c: Likewise.
14426 * string/test-strcasecmp-ifunc.c: Likewise.
14427 * string/test-strcasestr-ifunc.c: Likewise.
14428 * string/test-strcat-ifunc.c: Likewise.
14429 * string/test-strchr-ifunc.c: Likewise.
14430 * string/test-strchrnul-ifunc.c: Likewise.
14431 * string/test-strcmp-ifunc.c: Likewise.
14432 * string/test-strcpy-ifunc.c: Likewise.
14433 * string/test-strcspn-ifunc.c: Likewise.
14434 * string/test-strlen-ifunc.c: Likewise.
14435 * string/test-strncasecmp-ifunc.c: Likewise.
14436 * string/test-strncat-ifunc.c: Likewise.
14437 * string/test-strncmp-ifunc.c: Likewise.
14438 * string/test-strncpy-ifunc.c: Likewise.
14439 * string/test-strnlen-ifunc.c: Likewise.
14440 * string/test-strpbrk-ifunc.c: Likewise.
14441 * string/test-strrchr-ifunc.c: Likewise.
14442 * string/test-strspn-ifunc.c: Likewise.
14443 * string/test-strstr-ifunc.c: Likewise.
14444
de54b33a
L
14445 * debug/Makefile (tests-ifunc): New variable.
14446 (tests): Add $(tests-ifunc).
14447 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
14448 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
14449 * debug/test-stpcpy_chk-ifunc.c: New file.
14450 * debug/test-strcpy_chk-ifunc.c: Likewise.
14451
88481c16
SP
144522012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14453
14454 [BZ #13601]
14455 * elf/dl-load.c (open_verify): Retry read if the entire ELF
14456 header is not read in.
14457
135948bd
JM
144582012-10-19 Joseph Myers <joseph@codesourcery.com>
14459
89f1c388
JM
14460 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
14461 script to $(SHELL) as $<. Pass $(common-objpfx) to script
14462 directly. Pass built executable to script as
14463 $(built-program-cmd).
14464 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
14465 $testprogram without using LD_LIBRARY_PATH and $ldso.
14466
e40a0d21
JM
14467 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
14468 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
14469 $(rtld-installed-name).
14470 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
14471 (rtld_installed_name): Likewise.
14472 (library_path): Likewise.
14473 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
14474 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
14475 $(run-program-prefix) to tst-tables.sh.
14476 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
14477 it to run tst-table-from and tst-table-to.
14478 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
14479 Pass it to tst-table.sh.
14480 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
14481 $(run-program-prefix) to tst-gettext.sh.
14482 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
14483 tst-translit.sh.
14484 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
14485 tst-gettext2.sh.
14486 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
14487 to run tst-gettext.
14488 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
14489 to run tst-gettext2.
14490 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
14491 to run tst-translit.
14492 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
14493 $(run-program-prefix) to tst-mtrace.sh.
14494 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
14495 to run tst-mtrace.
14496 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
14497 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
14498 $(rtld-installed-name).
14499 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
14500 (rtld_installed_name): Likewise.
14501 (run_program_prefix): New variable. Use it to run wordexp-test.
14502
728e272a
JM
14503 * Makeconfig (ARCH): Remove all definitions.
14504 (machine): Likewise.
14505 [ARCH]: Remove conditional code.
14506 [!objdir]: Give error.
14507 [!objdir] (objpfx): Remove.
14508 [!objdir] (common-objpfx): Likewise.
14509 [!objdir] (common-objdir): Likewise.
14510 * configure.in (config_makefile): Remove. Hardcode Makefile in
14511 AC_CONFIG_FILES call.
14512 * configure: Regenerated.
14513
d528cdcf
JM
14514 [BZ #13888]
14515 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
14516 or TMPDIR.
14517 (testout): Likewise.
14518
135948bd
JM
14519 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
14520 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
14521 $(rtld-installed-name).
14522 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
14523 (rtld_installed_name): Likwise.
14524 (runit): Remove function.
14525 (run_getconf): New variable, Use it for running getconf binary.
14526
38c78296
L
145272012-10-18 H.J. Lu <hongjiu.lu@intel.com>
14528
14529 [BZ #14716]
14530 * string/test-memmem.c (check_result): New function.
14531 (do_one_test): Use it.
14532 (check1): New function.
14533 (test_main): Use it.
14534
d077f65f
MT
145352012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
14536
14537 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
14538
ced52c71
JM
145392012-10-18 Joseph Myers <joseph@codesourcery.com>
14540
14541 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
14542 (_G_LSEEK64): Likewise.
14543 (_G_MMAP64): Likewise.
14544 (_G_FSTAT64): Likewise.
14545 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
14546 (_G_LSEEK64): Likewise.
14547 (_G_MMAP64): Likewise.
14548 (_G_FSTAT64): Likewise.
14549 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
14550 unconditional. Call __mmap64 directly.
14551 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
14552 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
14553 __lseek64 directly.
14554 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
14555 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
14556 __mmap64 directly.
14557 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
14558 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
14559 __lseek64 directly.
14560 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
14561 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
14562 __lseek64 directly.
14563 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
14564 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
14565 __lseek64 directly.
14566 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
14567 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
14568 __fxstat64 directly.
14569 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
14570 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
14571 unconditional.
14572 (freopen64) [!_G_OPEN64]: Remove conditional code.
14573 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
14574 unconditional.
14575 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
14576 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
14577 unconditional.
14578 (ftello64) [!_G_LSEEK64]: Remove conditional code.
14579 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
14580 unconditional.
14581 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
14582 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
14583 unconditional.
14584 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
14585 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
14586 unconditional.
14587 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
14588 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
14589 unconditional.
14590 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
14591 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
14592 unconditional.
14593 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
14594
b741de23
SP
145952012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14596
14597 [BZ #12140]
14598 * manual/memory.texi (Malloc Tunable Parameters): Add note
14599 about free list pointers overwriting some perturb bytes.
14600 Wording suggested by Roland McGrath.
14601
f9b9d9c9
JM
146022012-10-17 Joseph Myers <joseph@codesourcery.com>
14603
14604 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
14605 (lgamma_test): Likewise.
14606 (tgamma_test): Likewise.
14607
172a631a
FW
146082012-10-16 Florian Weimer <fweimer@redhat.com>
14609
14610 [BZ #14700]
14611 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
14612 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
14613
e9f37252
MK
146142012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
14615
14616 * NEWS: Mention BZ #14716.
14617 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
14618 when removing AVAILABLE1_USES_J macro.
14619
d394eb74
L
146202012-10-12 H.J. Lu <hongjiu.lu@intel.com>
14621
14622 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
14623 (__bswap_64): __uint64_t for unsigned 64-bit int.
14624
ca38dc17
AS
146252012-10-12 Andreas Schwab <schwab@linux-m68k.org>
14626
14627 * include/string.h (memmem): Declare libc hidden alias.
14628 * string/memmem.c (memmem): Define libc hidden alias.
14629 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
14630 __read, __close instead of open, read, close.
14631
9a387d1f
L
146322012-10-11 H.J. Lu <hongjiu.lu@intel.com>
14633
ac49ecaf
L
14634 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
14635 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
14636 global and hidden.
14637 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
14638 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
14639 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
14640 Likewise.
14641 (__rawmemchr_sse2): Likewise.
14642 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
14643 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
14644 (__strchr_sse2): Likewise.
14645 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
14646 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
14647 (__strcasecmp_sse2): Likewise.
14648 (__strncasecmp_sse2): Likewise.
14649 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
14650 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
14651 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
14652 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
14653 (__strrchr_sse2): Likewise.
14654 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
14655 ifunc-impl-list.c.
14656 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
14657 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
14658 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
14659 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
14660 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
14661 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
14662 * sysdeps/x86_64/multiarch/memset.S: Likewise.
14663 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14664 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
14665 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
14666 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
14667 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
14668 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
14669 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
14670 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
14671 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
14672 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
14673 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
14674 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
14675 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
14676 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
14677 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
14678 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
14679 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
14680 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
14681 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14682 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
14683 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
14684 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
14685 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
14686
b090e8ea
L
14687 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
14688 global and hidden.
14689 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
14690 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
14691 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
14692 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
14693 Likewise.
14694 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
14695 Likewise.
14696 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
14697 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
14698 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
14699 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
14700 ifunc-impl-list.c.
14701 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
14702 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
14703 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
14704 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
14705 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
14706 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
14707 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
14708 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
14709 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
14710 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
14711 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
14712 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
14713 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
14714 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
14715 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
14716 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14717 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
14718 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
14719 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
14720 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
14721 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14722 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
14723 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
14724 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
14725 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14726 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
14727 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
14728 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
14729 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
14730 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
14731 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
14732 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
14733 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
14734 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
14735 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
14736 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
14737 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
14738 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
14739 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
14740 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
14741 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
14742
11dd4af6
L
14743 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
14744 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
14745 * include/ifunc-impl-list.h: New file.
14746 * misc/ifunc-impl-list.c: Likewise.
14747 * misc/Makefile (routines): Add ifunc-impl-list.
14748 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
14749 * string/test-string.h: Include <ifunc-impl-list.h>.
14750 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
14751 impl_array): New variables.
14752 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
14753 are defined.
14754 (test_init): Call __libc_ifunc_impl_list to initialize
14755 func_list if TEST_IFUNC and TEST_NAME are defined.
14756
9a387d1f
L
14757 * string/Makefile (strop-tests): Add bcopy and bzero.
14758 * string/test-bcopy.c: New file.
14759 * string/test-bzero.c: Likewise.
14760 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
14761 defined.
14762 * string/test-memset.c: Support bzero test if TEST_BZERO is
14763 defined.
14764 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
14765 __libc_memmove.
14766 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
14767 __libc_memset.
14768 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
14769 of memset.
14770
472371b9
JM
147712012-10-10 Joseph Myers <joseph@codesourcery.com>
14772
1e4a9536
JM
14773 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
14774 * configure: Regenerated.
14775
d173d12e
JM
14776 * Makeconfig (+link-static-before-libc): Don't include
14777 $(link-static-libc).
14778
472371b9
JM
14779 * libio/libio.h (_IO_pos_t): Remove.
14780
89a3ad0b
AO
147812012-10-10 Alexandre Oliva <aoliva@redhat.com>
14782
14783 * NEWS: Add note about FIPS mode. Wording suggested by Roland
14784 McGrath.
14785
e7451425
AO
147862012-10-10 Alexandre Oliva <aoliva@redhat.com>
14787
14788 * crypt/crypt-entry.c: Include fips-private.h.
14789 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
14790 * crypt/md5c-test.c (main): Tolerate disabled MD5.
14791 * sysdeps/unix/sysv/linux/fips-private.h: New file.
14792 * sysdeps/generic/fips-private.h: New file, dummy fallback.
14793
4ba74a35
AO
147942012-10-10 Alexandre Oliva <aoliva@redhat.com>
14795
14796 * crypt/crypt-private.h: Include stdbool.h.
14797 (_ufc_setup_salt_r): Return bool.
14798 * crypt/crypt-entry.c: Include errno.h.
14799 (__crypt_r): Return NULL with EINVAL for bad salt.
14800 * crypt/crypt_util.c (bad_for_salt): New.
14801 (_ufc_setup_salt_r): Check that salt is long enough and within
14802 the specified alphabet.
14803 * crypt/badsalttest.c: New file.
14804 * crypt/Makefile (tests): Add it.
14805 ($(objpfx)badsalttest): New.
14806
f96f1242
MK
148072012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
14808
14809 * NEWS: Add entry for BZ #14602.
14810
0e8e0c1c
JM
148112012-10-09 Joseph Myers <joseph@codesourcery.com>
14812
14813 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
14814 type-generic.
14815 * math/libm-test.inc: Update comment listing what functions and
14816 macros are tested.
14817 (isgreater_test): New function.
14818 (isgreaterequal_test): Likewise.
14819 (isless_test): Likewise.
14820 (islessequal_test): Likewise.
14821 (islessgreater_test): Likewise.
14822 (isunordered_test): Likewise.
14823 (main): Call the new functions.
14824
273edc5e
RM
148252012-10-09 Roland McGrath <roland@hack.frob.com>
14826
b8493de0
RM
14827 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
14828 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
14829 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
14830 * sysdeps/i386/configure: Regenerated.
14831 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
14832 * sysdeps/mach/configure: Regenerated.
14833 * sysdeps/mach/hurd/configure: Regenerated.
14834 * sysdeps/powerpc/configure: Regenerated.
14835 * sysdeps/powerpc/powerpc32/configure: Regenerated.
14836 * sysdeps/powerpc/powerpc64/configure: Regenerated.
14837 * sysdeps/s390/s390-32/configure: Regenerated.
14838 * sysdeps/s390/s390-64/configure: Regenerated.
14839 * sysdeps/sh/configure: Regenerated.
14840 * sysdeps/sparc/configure: Regenerated.
14841 * sysdeps/unix/sysv/linux/configure: Regenerated.
14842 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
14843 * sysdeps/x86_64/configure: Regenerated.
14844
273edc5e
RM
14845 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
14846 defined. Don't check if MAP is NULL.
14847
c8450f70
JM
148482012-10-09 Joseph Myers <joseph@codesourcery.com>
14849
14850 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
14851 (_G_stat64): Likewise.
14852 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
14853 (_G_stat64): Likewise.
14854 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
14855 instead of struct _G_stat64.
14856 * libio/fileops.c (mmap_remap_check): Likewise.
14857 (decide_maybe_mmap): Likewise.
14858 (_IO_new_file_seekoff): Likewise.
14859 (_IO_file_stat): Likewise.
14860 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
14861 _G_off64_t.
14862 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
14863 instead of struct _G_stat64.
14864 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
14865
57e605ba
MK
148662012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
14867
14868 [BZ #14602]
14869 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14870 Replace with ...
14871 (CHECK_EOL): New macro.
14872 (two_way_short_needle): Check beginning of haystack for EOL. Use
14873 CHECK_EOL.
14874 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14875 Replace with CHECK_EOL.
14876 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14877 Replace with CHECK_EOL.
14878
ef1bb361
JM
148792012-10-08 Joseph Myers <joseph@codesourcery.com>
14880
14881 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
14882 type-generic.
14883 * math/libm-test.inc: Update comment listing what functions and
14884 macros are tested.
14885 (finite_test): New function.
14886 (isinf_test): Likewise.
14887 (isnan_test): Likewise.
14888 (fpclassify_test): Test subnormal input.
14889 (isfinite_test): Likewise.
14890 (isnormal_test): Likewise.
14891 (main): Call the new functions.
14892
55f11534
JN
148932012-10-08 Jonathan Nieder <jrnieder@gmail.com>
14894
14895 [BZ #14660]
14896 * Makerules (%.dynsym): Force C locale when running
14897 $(OBJDUMP) --dynamic-syms.
14898
1ab29350
AS
148992012-10-08 Andreas Schwab <schwab@linux-m68k.org>
14900
14901 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
14902 <stdint.h>.
14903
f1ecb7ef
DM
149042012-10-06 David S. Miller <davem@davemloft.net>
14905
14906 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
14907 upper 32-bits of the length value in %o2 since we use branch-on-register
14908 tests which consider the entire 64-bit register.
14909
5d41d91a
L
149102012-10-06 H.J. Lu <hongjiu.lu@intel.com>
14911
14912 * string/test-strstr.c (check2): Add a test for page boundary.
14913
3baddb72
DM
149142012-10-05 David S. Miller <davem@davemloft.net>
14915
14916 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
14917 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
14918 file.
14919 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
14920 sysdep_routines.
14921 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
14922 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
14923 and bzero when HWCAP_SPARC_CRYPTO is present.
14924
9cee5585
L
149252012-10-05 H.J. Lu <hongjiu.lu@intel.com>
14926
d7e0dab9
L
14927 [BZ #14602]
14928 * string/test-strstr.c (check2): New function.
14929 (test_main): Call check2.
14930
03759f47
L
14931 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
14932 and bug-strchr1.
14933 * string/bug-strcasestr1.c (do_test): Moved to ...
14934 * string/test-strcasestr.c (check1): Here. New function.
14935 (do_one_test): Break out result checking code into ...
14936 (check_result): This. New function.
14937 (do_one_test): Call check_result.
14938 (test_main): Call check1.
14939 * string/bug-strchr1.c (do_test): Moved to ...
14940 * string/test-strchr.c (check1): Here. New function.
14941 (do_one_test): Break out result checking code into ...
14942 (check_result): This. New function.
14943 (do_one_test): Call check_result.
14944 (test_main): Call check1.
14945 * string/bug-strstr1.c (main): Moved to ...
046f153e 14946 * string/test-strstr.c (check1): Here. New function.
03759f47
L
14947 (do_one_test): Break out result checking code into ...
14948 (check_result): This. New function.
14949 (do_one_test): Call check_result.
14950 (test_main): Call check1.
14951 * string/bug-strcasestr1.c: Removed.
14952 * string/bug-strchr1.c: Likewise.
14953 * string/bug-strstr1.c: Likewise.
14954
53cea63e
L
14955 * elf/Makefile (dl-routines): Add hwcaps.
14956 * elf/dl-support.c (_dl_important_hwcaps): Removed.
14957 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
14958 (_dl_important_hwcaps): Moved to ...
14959 * elf/dl-hwcaps.c: Here. New file.
14960 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
14961
9cee5585 14962 [BZ #14557]
bb859b06
L
14963 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
14964 if IS_IN_rtld isn't defined.
14965
9cee5585
L
14966 * elf/dl-support.c (_dl_sysinfo_map): New.
14967 Include "get-dynamic-info.h" and "setup-vdso.h".
14968 (_dl_non_dynamic_init): Call setup_vdso.
14969 * elf/dynamic-link.h: Don't include <assert.h>.
14970 (elf_get_dynamic_info): Moved to ...
14971 * elf/get-dynamic-info.h: Here. New file.
14972 * elf/dynamic-link.h: Include "get-dynamic-info.h".
14973 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
14974 * elf/setup-vdso.h: Here. New file.
14975 * elf/rtld.c: Include "setup-vdso.h".
14976 (dl_main): Call setup_vdso.
14977
23c31b76
JM
149782012-10-05 Joseph Myers <joseph@codesourcery.com>
14979
28234b07
JM
14980 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
14981 creal in comment listing functions tested. List finite, isinf,
14982 isnan, isless, islessequal, isgreater, isgreaterequal,
14983 islessgreater, isunordered, lgamma_r and pow10 as functions and
14984 macros not tested. Mention which functions not tested are aliases
14985 for other functions. Fix typo. Note that signs of NaNs are not
14986 tested.
14987
23c31b76
JM
14988 * scripts/config.guess: Update from config.git.
14989 * scripts/config.sub: Likewise.
14990
9043e228
RM
149912012-10-04 Roland McGrath <roland@hack.frob.com>
14992
14993 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
14994 * misc/madvise.c (madvise): Renamed to __madvise.
14995 Make madvise a weak alias.
14996 * include/sys/mman.h: Declare __madvise.
14997 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
14998 * sysdeps/unix/syscalls.list
14999 (madvise): Make __madvise the strong name, and madvise a weak alias.
15000 * sysdeps/unix/sysv/linux/syscalls.list
15001 (madvise, mmap): Remove redundant entries.
15002 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
15003 * malloc/malloc.c (mtrim): Likewise.
15004 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
15005
f57f8055
RM
150062012-10-03 Roland McGrath <roland@hack.frob.com>
15007
15008 * sysdeps/mach/hurd/dl-cache.c: File removed.
15009 * config.h.in (USE_LDCONFIG): New #undef.
15010 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
15011 * configure: Regenerated.
15012 * elf/Makefile (dl-routines): Add dl-cache only under
15013 [$(use-ldconfig) = yes].
15014 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
15015 cache on [USE_LDCONFIG].
15016 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
15017 [USE_LDCONFIG].
15018 * elf/rtld.c (dl_main): Likewise.
15019
5bb0c10a
PT
150202012-10-03 Pino Toscano <toscano.pino@tiscali.it>
15021
15022 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
15023 _SC_LEVEL4_CACHE_LINESIZE.
15024
010188c6
RM
150252012-10-03 Roland McGrath <roland@hack.frob.com>
15026
15027 * sysdeps/unix/bsd/confstr.h: File removed.
15028
b6c5ec07
AO
150292012-10-02 Alexandre Oliva <aoliva@redhat.com>
15030
15031 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
15032 sys/sdt-config.h.
15033
408223d4
RM
150342012-10-02 Roland McGrath <roland@hack.frob.com>
15035
15036 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
15037 Make 'mapoff' field ElfW(Off) rather than off_t.
15038
bb9510dc
DL
150392012-10-02 Dmitry V. Levin <ldv@altlinux.org>
15040
fc997c6e
DL
15041 * nscd/Makefile: Remove nscd-cflags and all its users.
15042 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
15043 (CFLAGS-nonlib): Add compiler flags for nscd modules.
15044
bb9510dc
DL
15045 [BZ #10631]
15046 * malloc.c (malloc_printerr): Clarify error message.
15047
05699367
L
150482012-10-02 H.J. Lu <hongjiu.lu@intel.com>
15049
15050 [BZ #14648]
15051 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15052 Set bit_FMA_Usable if FMA is supported.
15053 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
15054 macro.
15055 (bit_FMA4_Usable): Updated.
15056 (index_FMA_Usable): New macro.
15057 (CPUID_FMA): Likewise
15058 (HAS_FMA): Defined with bit_FMA_Usable.
15059
51367701
RM
150602012-10-01 Roland McGrath <roland@hack.frob.com>
15061
15062 * bits/types.h (__swblk_t): Type removed.
15063 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
15064 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
15065 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15066 (__SWBLK_T_TYPE): Likewise.
15067 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15068 (__SWBLK_T_TYPE): Likewise.
15069 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15070 (__SWBLK_T_TYPE): Likewise.
15071 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
15072 (__SWBLK_T_TYPE): Likewise.
15073
4d57bf63 150742012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 15075 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
15076
15077 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
15078 (xdr_mapname): Use YPMAXMAP as maxsize.
15079 (xdr_peername): Use YPMAXPEER as maxsize.
15080 (xdr_keydat): Use YPAXRECORD as maxsize.
15081 (xdr_valdat): Use YPMAXRECORD as maxsize.
15082
93c65d43
RM
150832012-10-01 Roland McGrath <roland@hack.frob.com>
15084
497a03d6
RM
15085 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
15086
93c65d43
RM
15087 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
15088 * csu/init-first.c: ... here.
15089 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
15090 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
15091 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
15092 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
15093 * sysdeps/i386/init-first.c: File removed.
15094 * sysdeps/sh/init-first.c: File removed.
15095
bec749fd
JM
150962012-10-01 Joseph Myers <joseph@codesourcery.com>
15097
15098 [BZ #14645]
15099 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
15100 if x * y might underflow to zero and z is zero.
15101 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15102 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15103 * math/libm-test.inc (min_subnorm_value): New variable.
15104 (fma_test): Add more tests.
15105 (fma_test_towardzero): Likewise.
15106 (fma_test_downward): Likewise
15107 (fma_test_upward): Likewise.
15108 (initialize): Set min_subnorm_value.
15109
8ec5b013
JM
151102012-09-29 Joseph Myers <joseph@codesourcery.com>
15111
15112 [BZ #14638]
15113 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
15114 0 + 0.
15115 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
15116 mode for addition resulting in exact zero.
15117 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
15118 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
15119 exact 0 + 0.
15120 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15121 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15122 * math/libm-test.inc (fma_test): Add more tests.
15123 (fma_test_towardzero): New function.
15124 (fma_test_downward): Likewise.
15125 (fma_test_upward): Likewise.
15126 (main): Call the new functions.
15127
b1fa802e
DM
151282012-09-28 David S. Miller <davem@davemloft.net>
15129
15130 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
15131
d3b9fd9e
RM
151322012-09-28 Roland McGrath <roland@hack.frob.com>
15133
ea4d37b3
RM
15134 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
15135 instead of SIGALRM.
15136
ac51c949
RM
15137 * sysdeps/gnu/_G_config.h: Moved to ...
15138 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
15139 * sysdeps/mach/hurd/_G_config.h: Moved to ...
15140 * sysdeps/generic/_G_config.h: ... here.
15141
28c195f7
RM
15142 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
15143
848917f9
RM
15144 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
15145
6bacf05b
RM
15146 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
15147 Conditionalize target on [libnss_test1.so-version].
15148
91363dbb
RM
15149 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
15150
cc87f7d8
RM
15151 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
15152 (elfobjdir): Move out of conditionals.
15153
b1c608fe
RM
15154 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
15155 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
15156 (__nss_lookup_function): Conditionalize label remove_from_tree on
15157 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 15158
1d9a6d96
DM
151592012-09-28 David S. Miller <davem@davemloft.net>
15160
15161 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
15162 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
15163 file.
15164 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
15165 sysdep_routines.
15166 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
15167 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
15168 when HWCAP_SPARC_CRYPTO is present.
15169
72581615
PT
151702012-09-28 Pino Toscano <toscano.pino@tiscali.it>
15171
15172 * io/tst-mknodat.c: Create a FIFO instead of a socket.
15173
715a900c
JL
151742012-09-28 Andreas Schwab <schwab@linux-m68k.org>
15175
15176 [BZ #6530]
15177 * stdio-common/vfprintf.c (process_string_arg): Revert
15178 2000-07-22 change.
15179
151802011-09-28 Jonathan Nieder <jrnieder@gmail.com>
15181
15182 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
15183 for testcase.
15184 * stdio-common/tst-sprintf.c: Include <locale.h>
15185 (main): Test sprintf's handling of incomplete multibyte
15186 characters.
15187
9bac1d86
L
151882012-09-28 H.J. Lu <hongjiu.lu@intel.com>
15189
15190 * elf/dl-runtime.c (VERSYMIDX): Removed.
15191 * elf/dl-version.c (VERSYMIDX): Likewise.
15192 * elf/do-rel.h (VERSYMIDX): Likewise.
15193 (VALIDX): Likewise.
15194 * elf/dynamic-link.h (VERSYMIDX): Likewise.
15195 * elf/rtld.c (VALIDX): Likewise.
15196 (ADDRIDX): Likewise.
9bac1d86
L
15197 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
15198 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
15199 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
15200 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
15201 (VALIDX): Likewise.
15202 (ADDRIDX): Likewise.
9bac1d86 15203
b31606c0
PT
152042012-09-28 Pino Toscano <toscano.pino@tiscali.it>
15205
15206 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
15207
11541177
JL
152082012-09-28 Dmitry V. Levin <ldv@altlinux.org>
15209
15210 [BZ #11438]
15211 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
15212 to global scope.
15213 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
15214 addresses are in the same scope as 192.0.2/24.
15215 * posix/gai.conf: Document new scope table defaults.
15216
adb26fae
SP
152172012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15218
15219 [BZ #5298]
15220 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
15221 for ftell. Compute offsets from write pointers instead.
15222 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
15223
4573c6b0
SP
152242012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15225
15226 [BZ #14543]
15227 * libio/Makefile (tests): New test case tst-fseek.
15228 * libio/tst-fseek.c: New test case to verify that fseek/ftell
15229 combination works in wide mode.
15230 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
15231 state when the external buffer state changes.
15232
aa9bbfe6
DM
152332012-09-27 David S. Miller <davem@davemloft.net>
15234
15235 [BZ #14376]
15236 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
15237 pass reloc->r_addend in as the 'high' argument to
15238 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
15239
784421e7
DM
15240 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15241
c39bc8b8
PT
152422012-09-28 Pino Toscano <toscano.pino@tiscali.it>
15243
15244 * rt/tst-aio2.c: Include <pthread.h>.
15245 * rt/tst-aio3.c: Likewise.
15246
1ccc2399
SE
152472012-09-27 Steve Ellcey <sellcey@mips.com>
15248
15249 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
15250
31ed4153
L
152512012-09-27 H.J. Lu <hongjiu.lu@intel.com>
15252
25f5f885
L
15253 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
15254 contents on [SHARED].
31ed4153 15255
b7bfe116
MP
152562012-09-26 Marek Polacek <polacek@redhat.com>
15257
15258 [BZ #14530]
15259 [BZ #13741]
15260 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
15261 for C++ and GCC <4.3 as well as for non GCC compilers.
15262
43c4edba
MT
152632012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
15264
15265 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15266
6a1bf82f
RM
152672012-09-25 Roland McGrath <roland@hack.frob.com>
15268
15269 * Makefile.in (all, install): Declare with .PHONY.
15270 Reported by Michael Hope <michael.hope@linaro.org>.
15271
8ad11b9a
TMQMF
152722012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15273
15274 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
15275 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
15276 system header.
15277 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
15278 Likewise.
15279 (sydep_routines): Add the new and the internal functions.
15280 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
15281 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
15282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
15283 (GLIBC_2.17): Add the new function.
15284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
15285 (GLIBC_2.17): Likewise.
15286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
15287 (GLIBC_2.17): Likewise.
15288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
15289 (GLIBC_2.17): Likewise.
15290 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
15291
7e2fca8d
AM
152922012-09-25 Alan Modra <amodra@gmail.com>
15293
15294 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
15295 Add release barrier before setting once_control to say
15296 initialisation is done. Add hints on lwarx. Use macro in
15297 place of isync.
15298 (clear_once_control): Add release barrier.
15299
b87c4b24
JM
153002012-09-25 Joseph Myers <joseph@codesourcery.com>
15301
d032e0d2
JM
15302 [BZ #13629]
15303 * math/s_clog.c (__clog): Handle more values close to |z| = 1
15304 specially.
15305 * math/s_clog10.c (__clog10): Likewise.
15306 * math/s_clog10f.c (__clog10f): Likewise.
15307 * math/s_clog10l.c (__clog10l): Likewise.
15308 * math/s_clogf.c (__clogf): Likewise.
15309 * math/s_clogl.c (__clogl): Likewise.
15310 * math/Makefile (libm-calls): Add x2y2m1.
15311 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
15312 (__x2y2m1): Likewise.
15313 (__x2y2m1l): Likewise.
15314 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
15315 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
15316 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
15317 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
15318 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
15319 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
15320 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
15321 * sysdeps/i386/fpu/libm-test-ulps: Update.
15322 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15323
b87c4b24
JM
15324 [BZ #14621]
15325 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
15326 int as type of variable DEPTH.
15327 (glob): Use size_t instead of int as type of variables NEWCOUNT
15328 and OLD_PATHC.
15329
6d3bf199
LD
153302012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15331
22bf5c17
LD
15332 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
15333 Add s_sincosf-sse2.
15334 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
15335 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
15336 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
15337 macros for using routine as __sincosf_ia32.
15338 Use macro for function declaration and weak_alias.
15339 * sysdeps/i386/fpu/libm-test-ulps: Update.
15340
15341 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
15342 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15343
15344 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
15345 subnormal argument.
15346 * math/s_cexpf.c (__cexpf): Likewise.
15347 * math/s_csinf.c (__csinf): Likewise.
15348 * math/s_csinhf.c (__csinhf): Likewise.
15349 * math/s_ctanf.c (__ctanf): Likewise.
15350 * math/s_ctanhf.c (__ctanhf): Likewise.
15351 * math/s_ccosh.c (__ccoshf): Likewise.
15352 * math/s_cexp.c (__cexpl): Likewise.
15353 * math/s_csin.c (__csin): Likewise.
15354 * math/s_csinh.c (__csinh): Likewise.
15355 * math/s_ctan.c (__ctan): Likewise.
15356 * math/s_ctanh.c (ctanh): Likewise.
15357 * math/s_ccoshl.c (__ccoshl): Likewise.
15358 * math/s_cexpl.c (__cexpl): Likewise.
15359 * math/s_csinl.c (__csinl): Likewise.
15360 * math/s_csinhl.c (__csinhl): Likewise.
15361 * math/s_ctanl.c (__ctanl): Likewise.
15362 * math/s_ctanhl.c (__ctanhl): Likewise.
15363
203e5603
JM
153642012-09-25 Joseph Myers <joseph@codesourcery.com>
15365
15366 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
15367 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
15368 (_IO_off_t): Define to __off_t, not _G_off_t.
15369 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
15370 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
15371 (_IO_wint_t): Define to wint_t, not _G_wint_t.
15372 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
15373 type of __dummy and __dummy2 fields.
15374 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
15375 (_G_ssize_t): Likewise.
15376 (_G_off_t): Likewise.
15377 (_G_pid_t): Likewise.
15378 (_G_uid_t): Likewise.
15379 (_G_wchar_t): Likewise.
15380 (_G_wint_t): Likewise.
15381 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
15382 (_G_ssize_t): Likewise.
15383 (_G_off_t): Likewise.
15384 (_G_pid_t): Likewise.
15385 (_G_uid_t): Likewise.
15386 (_G_wchar_t): Likewise.
15387 (_G_wint_t): Likewise.
15388 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
15389 (_G_ssize_t): Likewise.
15390 (_G_off_t): Likewise.
15391 (_G_pid_t): Likewise.
15392 (_G_uid_t): Likewise.
15393 (_G_wchar_t): Likewise.
15394 (_G_wint_t): Likewise.
15395
9fab36eb
SP
153962012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15397
15398 * malloc/arena.c: Include malloc-sysdep.h.
15399 (shrink_heap): Use check_may_shrink_heap to decide if madvise
15400 is sufficient to shrink the heap or an unmap is needed.
15401 * sysdeps/generic/malloc-sysdep.h: New file. Define
15402 new function check_may_shrink_heap.
15403 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
15404 new function check_may_shrink_heap.
15405
2b4f00d1
SP
154062012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15407
15408 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
15409 comments.
15410
9a9028b1
DL
154112012-09-24 Dmitry V. Levin <ldv@altlinux.org>
15412
57c69bef
DL
15413 * catgets/test-gencat.sh: Add "set -e".
15414 * elf/tst-pathopt.sh: Likewise.
15415 * grp/tst_fgetgrent.sh: Likewise.
15416 * iconvdata/run-iconv-test.sh: Likewise.
15417 * intl/tst-gettext.sh: Likewise.
15418 * intl/tst-gettext2.sh: Likewise.
15419 * intl/tst-gettext4.sh: Likewise.
15420 * intl/tst-gettext6.sh: Likewise.
15421 * intl/tst-translit.sh: Likewise.
15422 * io/ftwtest-sh: Likewise.
15423 * libio/test-freopen.sh: Likewise.
15424 * malloc/tst-mtrace.sh: Likewise.
15425 * posix/globtest.sh: Likewise.
15426 * posix/tst-getconf.sh: Likewise.
15427 * posix/wordexp-tst.sh: Likewise.
15428 * stdio-common/tst-printf.sh: Likewise.
15429 * stdio-common/tst-unbputc.sh: Likewise.
15430 * stdlib/tst-fmtmsg.sh: Likewise.
15431 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
15432 * catgets/Makefile: Do not specify -e option when running
15433 testsuite shell scripts.
15434 * elf/Makefile: Likewise.
15435 * grp/Makefile: Likewise.
15436 * iconvdata/Makefile: Likewise.
15437 * intl/Makefile: Likewise.
15438 * io/Makefile: Likewise.
15439 * libio/Makefile: Likewise.
15440 * malloc/Makefile: Likewise.
15441 * posix/Makefile: Likewise.
15442 * stdio-common/Makefile: Likewise.
15443 * stdlib/Makefile: Likewise.
15444 * sysdeps/x86_64/Makefile: Likewise.
15445
9a9028b1
DL
15446 * io/ftwtest-sh: Add copyright header.
15447 * posix/globtest.sh: Likewise.
15448 * posix/tst-getconf.sh: Likewise.
15449 * posix/wordexp-tst.sh: Likewise.
15450 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
15451
ced6f16e
L
154522012-09-24 H.J. Lu <hongjiu.lu@intel.com>
15453
94b32c39
L
15454 [BZ #13679]
15455 * Makeconfig (+link): Defined as $(+link-static) if
15456 $(build-shared) isn't yes.
15457 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
15458 isn't yes.
15459 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
15460
189e935b
L
15461 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
15462
ced6f16e
L
15463 [BZ #14562]
15464 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
15465 new chunk size with MALLOC_ALIGN_MASK.
15466
a9f8e53a
JM
154672012-09-24 Joseph Myers <joseph@codesourcery.com>
15468
15469 [BZ #5044]
15470 * stdio-common/printf_fphex.c: Include <stdbool.h> and
15471 <rounding-mode.h>.
15472 (__printf_fphex): Determine rounding using get_rounding_mode and
15473 round_away.
15474 * stdio-common/tst-printf-round.c (struct hex_test): New
15475 structure.
15476 (hex_tests): New variable.
15477 (test_hex_in_one_mode): New function.
15478 (do_test): Also run tests for hex float output.
15479
43153109
JM
154802012-09-21 Joseph Myers <joseph@codesourcery.com>
15481
15482 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
15483 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
15484 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
15485 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
15486 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
15487 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
15488 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
15489 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
15490
8a26625d
JM
154912012-09-20 Joseph Myers <joseph@codesourcery.com>
15492
15493 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
15494 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
15495 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
15496 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
15497
f3fd569c
DL
154982012-09-19 Dmitry V. Levin <ldv@altlinux.org>
15499
15500 [BZ #14579]
15501 * elf/rtld.c (dl_main): Limit the check for self loading to normal
15502 mode only.
15503 * elf/tst-rtld-load-self.sh: New test.
15504 * elf/Makefile: Run it.
15505
63bbedd4
JM
155062012-09-18 Joseph Myers <joseph@codesourcery.com>
15507
15508 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
15509 (tst-writev-ENV): Remove.
15510 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
15511
626f8b6a
CM
155122012-09-17 Chris Metcalf <cmetcalf@tilera.com>
15513
15514 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
15515
b7aaa4d6
JM
155162012-09-17 Joseph Myers <joseph@codesourcery.com>
15517
15518 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
15519 unconditional.
15520 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
15521 Likewise.
15522 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
15523 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
15524 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
15525 Likewise.
15526
65513990
L
155272012-09-14 H.J. Lu <hongjiu.lu@intel.com>
15528
15529 [BZ #14587]
15530 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
15531 * config.make.in (have-cpp-asm-debuginfo): Removed.
15532 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
15533 * configure: Regenerated.
15534
784761be
JM
155352012-09-14 Joseph Myers <joseph@codesourcery.com>
15536
15537 [BZ #5044]
15538 * stdio-common/printf_fp.c: Include <stdbool.h> and
15539 <rounding-mode.h>.
15540 (___printf_fp): Determine rounding using get_rounding_mode and
15541 round_away.
15542 * stdio-common/tst-printf-round.c: New file.
15543 * stdio-common/Makefile (tests): Add tst-printf-round.
15544 (link-libm): New variable.
15545 ($(objpfx)tst-printf-round): Depend in $(link-libm).
15546
9503345f
L
155472012-09-13 H.J. Lu <hongjiu.lu@intel.com>
15548
15549 [BZ #14576]
15550 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
15551 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
15552 Likewise.
15553 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
15554 Likewise.
15555
ad35fc00
JM
155562012-09-13 Joseph Myers <joseph@codesourcery.com>
15557
15558 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
15559 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15560 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15561 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15562
6c9b0f68
JM
155632012-09-12 Joseph Myers <joseph@codesourcery.com>
15564
15565 [BZ #14518]
15566 * include/rounding-mode.h: New file.
15567 * sysdeps/generic/get-rounding-mode.h: Likewise.
15568 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
15569 * stdlib/strtod_l.c: Include <rounding-mode.h>.
15570 (MAX_VALUE): New macro.
15571 (MIN_VALUE): Likewise.
15572 (overflow_value): New function.
15573 (underflow_value): Likewise.
15574 (round_and_return): Use overflow_value and underflow_value to
15575 determine return values in overflow and underflow cases. Use
15576 round_away to determine rounding depending on rounding mode.
15577 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
15578 determine return values in overflow and underflow cases.
15579 * stdlib/tst-strtod-round.c: Include <fenv.h>.
15580 (struct test_results): New structure.
15581 (struct test): Use struct test_results to store expected results
15582 for all rounding modes.
15583 (TEST): Include expected results for all rounding modes.
15584 (test_in_one_mode): New function.
15585 (do_test): Use test_in_one_mode to compute and check results.
15586 Check results for all rounding modes.
15587 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
15588 $(link-libm).
15589
19fcedd5
AM
155902012-12-09 Allan McRae <allan@archlinux.org>
15591
1e9d84cd 15592 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 15593
8bbfd2f1
JM
155942012-09-11 Joseph Myers <joseph@codesourcery.com>
15595
15596 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
15597 (_G_int32_t): Likewise.
15598 (_G_uint16_t): Likewise.
15599 (_G_uint32_t): Likewise.
15600 (_G_HAVE_BOOL): Likewise.
15601 (_G_HAVE_ATEXIT): Likewise.
15602 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
15603 (_G_HAVE_IO_FILE_OPEN): Likewise.
15604 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
15605 (_G_int32_t): Likewise.
15606 (_G_uint16_t): Likewise.
15607 (_G_uint32_t): Likewise.
15608 (_G_HAVE_BOOL): Likewise.
15609 (_G_HAVE_ATEXIT): Likewise.
15610 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
15611 (_G_HAVE_IO_FILE_OPEN): Likewise.
15612 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
15613 (_G_int32_t): Likewise.
15614 (_G_uint16_t): Likewise.
15615 (_G_uint32_t): Likewise.
15616 (_G_HAVE_BOOL): Likewise.
15617 (_G_HAVE_ATEXIT): Likewise.
15618 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
15619 (_G_HAVE_IO_FILE_OPEN): Likewise.
15620
b1dc5912
L
156212012-09-11 H.J. Lu <hongjiu.lu@intel.com>
15622
15623 * csu/libc-tls.c: Update copyright years.
15624
0e886ef9
JM
156252012-09-10 Joseph Myers <joseph@codesourcery.com>
15626
28361c5e
JM
15627 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
15628 [!_G_USING_THUNKS]: Remove conditional code.
15629 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
15630 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
15631
0e886ef9
JM
15632 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
15633 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
15634 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15635 (_G_VTABLE_LABEL_PREFIX): Likewise.
15636 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15637 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15638 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15639 (_G_VTABLE_LABEL_PREFIX): Likewise.
15640 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
15641 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15642 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15643 (_G_VTABLE_LABEL_PREFIX): Likewise.
15644 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
15645
bcba7aa2
L
156462012-09-10 H.J. Lu <hongjiu.lu@intel.com>
15647
15648 * libio/Makefile: Include ../Makeconfig before tests.
15649 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
15650 only if $(build-shared) is yes.
15651
06585ee8
L
15652 * iconv/gconv_db.c: Update copyright years.
15653
80ccd52c
LD
156542012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15655
15656 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
15657 unwind info if defined PIC. Fix special cases description.
15658 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
15659
15660 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
15661 DP_HI_MASK entry.
15662 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
15663
691bc9c1
L
156642012-09-07 H.J. Lu <hongjiu.lu@intel.com>
15665
3d9b46b3
L
15666 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
15667
de2139a9
L
15668 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
15669 is NULL.
15670
5ca78dd0
L
15671 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
15672 (LDLIBS-tst-chk4): This.
15673 (LDFLAGS-tst-chk5): Renamed to ...
15674 (LDLIBS-tst-chk5): This.
15675 (LDFLAGS-tst-chk6): Renamed to ...
15676 (LDLIBS-tst-chk6): This.
15677 (LDFLAGS-tst-lfschk4): Renamed to ...
15678 (LDLIBS-tst-lfschk4): This.
15679 (LDFLAGS-tst-lfschk5): Renamed to ...
15680 (LDLIBS-tst-lfschk5): This.
15681 (LDFLAGS-tst-lfschk6): Renamed to ...
15682 (LDLIBS-tst-lfschk6): This.
15683
691bc9c1
L
15684 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
15685 on $(common-objpfx)soversions.mk.
15686
65cafb1c
JM
156872012-09-07 Joseph Myers <joseph@codesourcery.com>
15688
15689 [BZ #10014]
15690 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
15691 example host name.
15692
c78ab094
SP
156932012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
15694
15695 * malloc/arena.c (arena_get_retry): New function that gets
15696 another arena for the caller to try its request on.
15697 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
15698 current arena cannot fulfill the request.
15699 (__libc_memalign): Likewise.
15700 (__libc_memalign): Likewise.
15701 (__libc_pvalloc): Likewise.
15702 (__libc_calloc): Likewise.
15703
01f49f59
JT
157042012-09-05 John Tobey <john.tobey@gmail.com>
15705
15706 [BZ #13542]
15707 * manual/arith.texi (Operations on Complex): Fix description
15708 of carg branch cut.
15709
4c23fed5
JM
157102012-09-06 Joseph Myers <joseph@codesourcery.com>
15711
1d3c8572
JM
15712 [BZ #10014]
15713 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
15714 host name.
15715
4c23fed5
JM
15716 [BZ #10038]
15717 * manual/memory.texi (Memory): Make order of menu items match
15718 order of sections.
15719
04570aaa
L
157202012-09-06 H.J. Lu <hongjiu.lu@intel.com>
15721
15722 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
15723 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
15724 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
15725
b80af2f4
L
157262012-09-06 H.J. Lu <hongjiu.lu@intel.com>
15727
15728 * csu/libc-tls.c (static_dtv): Renamed to ...
15729 (_dl_static_dtv): This. Make it global.
15730 (_dl_initial_dtv): Removed.
15731 (__libc_setup_tls): Updated.
15732 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
15733 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
15734 DL_INITIAL_DTV.
15735
2abe9f15
PM
157362012-09-06 Petr Machata <pmachata@redhat.com>
15737
15738 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
15739 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
15740 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
15741 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
15742
0948c3af
L
157432012-09-06 H.J. Lu <hongjiu.lu@intel.com>
15744
15745 [BZ #14545]
15746 * csu/libc-tls.c (_dl_initial_dtv): New variable.
15747 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
15748 freeing dtv[-1].
15749
a5055ad1
L
157502012-09-06 H.J. Lu <hongjiu.lu@intel.com>
15751
15752 [BZ #14544]
15753 * Makeconfig (link-static-before-libc): Replace $(+prector)
15754 with $(+prectorT).
15755 (link-static-after-libc): Replace $(+postctor) with
15756 $(+postctorT).
15757 (link-bounded): Replace $(+prector)/$(+postctor) with
15758 $(+prectorT)/$(+postctorT).
15759 (+prectorT): New macro.
15760 (+postctorT): Likewise.
15761
ed8c2ecd
JM
157622012-09-06 Joseph Myers <joseph@codesourcery.com>
15763
15764 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
15765 (round_str): Handle values above the maximum for IBM long double
15766 as inexact.
15767 * stdlib/tst-strtod-round.c (tests): Regenerated.
15768
14c996c8
AK
157692012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15770
15771 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
15772 assembler flag.
15773 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
15774 zarch_nohighgprs around the zarch optimized routines.
15775 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
15776 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
15777 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
15778 for zarch.
15779
430d6ce6
DM
157802012-09-05 David S. Miller <davem@davemloft.net>
15781
15782 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15783
ff04dda4
DM
15784 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
15785 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
15786 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
15787 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
15788 entries.
15789
24d4e01b
AO
157902012-09-05 Alexandre Oliva <aoliva@redhat.com>
15791
15792 * malloc/arena.c: Fold copyright years.
15793 * malloc/mcheck.c, malloc/memusage.c: Likewise.
15794
61d58174
AO
157952012-09-05 Alexandre Oliva <aoliva@redhat.com>
15796
15797 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
15798
20196a5e
AO
157992012-09-05 Alexandre Oliva <aoliva@redhat.com>
15800
15801 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
15802
5c447383
AO
158032012-09-05 Alexandre Oliva <aoliva@redhat.com>
15804
15805 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
15806 change internal state upon failure.
15807
fad64255
AO
158082012-09-05 Alexandre Oliva <aoliva@redhat.com>
15809
15810 * malloc/mcheck.c (mcheck_check_all): Fix typo.
15811 * malloc/memusage.c (mmap): Likewise.
15812 (mmap64, mremap): Likewise. Adjust name in comment.
15813
1ffb8c90
SP
158142012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15815
15816 * libio/fileops.c: Fix typos in comments.
15817 * libio/oldfileops.c: Likewise.
15818 * libio/wfileops.c: Likewise.
15819
6ef9cc37
SP
158202012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15821
15822 [BZ #1349]
15823 * malloc/Makefile (tests): Add tst-malloc-usable test case.
15824 (tst-malloc-usable-ENV): Set environment for test case.
15825 * malloc/hooks.c (malloc_check_get_size): New function to get
15826 requested size.
15827 * malloc/malloc.c (musable): Use malloc_check_get_size.
15828 * malloc/tst-malloc-usable.c: New test case.
15829
4d038ae3
AS
158302012-09-05 Andreas Schwab <schwab@linux-m68k.org>
15831
15832 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
15833
c4e85184
AM
158342012-09-05 Allan McRae <allan@archlinux.org>
15835
b9dafc56 15836 [BZ #13966]
c4e85184
AM
15837 * configure.in (CXX_SYSINCLUDES): Use compiler output to
15838 determine header location.
15839 * configure: Regenerated.
15840
e1343020
AS
158412012-09-05 Andreas Schwab <schwab@linux-m68k.org>
15842
15843 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
15844 float format.
15845 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
15846 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
15847 format.
e1343020
AS
15848 (test): Regenerate.
15849
0a9f1987
DM
158502012-09-04 David S. Miller <davem@davemloft.net>
15851
15852 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
15853 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
15854 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
15855
29237804
FW
158562012-09-04 Florian Weimer <fweimer@redhat.com>
15857
15858 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
15859 failures.
15860
edb3cb88
FW
15861 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
15862
60160d83
JM
158632012-09-04 Joseph Myers <joseph@codesourcery.com>
15864
15865 [BZ #9914]
15866 * libio/iogetdelim.c: Include <limits.h>.
15867 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
15868 + len + 1 would overflow.
15869
bcd6c8dc
AJ
158702012-09-03 Andreas Jaeger <aj@suse.de>
15871
15872 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15873 * sysdeps/i386/fpu/libm-test-ulps: Update.
15874
4ffffbd2
LD
158752012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15876
15877 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
15878 Add s_sinf-sse2, s_conf-sse2.
15879
15880 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
15881 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
15882 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
15883 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
15884
15885 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
15886 for using routine as __sinf_ia32.
15887 Use macro for function declaration and weak_alias.
15888 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
15889 for using routine as __cosf_ia32.
15890 Use macro for function declaration and weak_alias.
15891
15892 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
15893 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
15894
15895 * sysdeps/x86_64/fpu/s_sinf.S: New file.
15896 * sysdeps/x86_64/fpu/s_cosf.S: New file.
15897 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15898
15899 * math/libm-test.inc (cos_test): Add more test cases.
15900 (sin_test): Likewise.
15901 (sincos_test): Likewise.
15902
511fa286
AK
159032012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15904
15905 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
15906 (IFUNC_RESOLVE): Make pointers to the specialized implementations
15907 hidden.
15908 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
15909
5f30cfec
L
159102012-09-02 H.J. Lu <hongjiu.lu@intel.com>
15911
15912 [BZ #14538]
15913 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
15914 first element of the GOT.
15915 (elf_machine_load_address): Return the difference between
15916 the runtime address of _DYNAMIC and elf_machine_dynamic ().
15917
0786794f
AM
159182012-09-01 Allan McRae <allan@archlinux.org>
15919
5f30cfec
L
15920 [BZ #13412]
15921 * configure.in (AWK): Require gawk version 3.0 or later.
15922 * configure: Regenerated.
0786794f 15923
26889eac
JM
159242012-09-01 Joseph Myers <joseph@codesourcery.com>
15925
15926 * sysdeps/unix/sysv/linux/kernel-features.h
15927 (__ASSUME_POSIX_CPU_TIMERS): Remove.
15928 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15929 [__NR_clock_getres]: Make code unconditional.
15930 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
15931 (clock_getcpuclockid): Remove code left unreachable by removal of
15932 conditionals.
15933 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
15934 code unconditional.
15935 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
15936 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
15937 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
15938 Make code unconditional.
15939 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
15940 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
15941 * sysdeps/unix/sysv/linux/clock_settime.c
15942 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
15943 conditional code.
15944 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
15945 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
15946
d22e28b0
L
159472012-08-29 H.J. Lu <hongjiu.lu@intel.com>
15948
15949 [BZ #14476]
15950 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
15951 scripts/test-installation.pl.
15952
15953 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
15954 and $ld_so_version if it is set.
15955
050af9c4
SP
159562012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15957
15958 [BZ #14516]
15959 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
15960 failure if reading from procfs failed.
15961 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
15962
ad845c0b
JM
159632012-08-27 Joseph Myers <joseph@codesourcery.com>
15964
15965 * sysdeps/unix/sysv/linux/kernel-features.h
15966 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
15967 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
15968 Remove conditional code.
15969 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15970 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
15971 Remove conditional code.
15972 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15973 * sysdeps/unix/sysv/linux/i386/fxstat.c
15974 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
15975 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15976 * sysdeps/unix/sysv/linux/i386/fxstatat.c
15977 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
15978 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15979 * sysdeps/unix/sysv/linux/i386/lxstat.c
15980 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
15981 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15982 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
15983 Remove conditional code.
15984 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15985 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
15986 Remove conditional code.
15987 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15988 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
15989 <kernel-features.h>.
15990 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
15991 Remove.
15992 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
15993 Remove conditional code.
15994 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15995 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
15996 Remove conditional.
15997
5dbf56af
MF
159982012-08-27 Mike Frysinger <vapier@gentoo.org>
15999
16000 [BZ #5400]
16001 * NEWS: Add fixed bug number.
16002
d6e70f43
JM
160032012-08-27 Joseph Myers <joseph@codesourcery.com>
16004
7efb4737
JM
16005 [BZ #14519]
16006 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
16007 underflowing exponent in case of negative sign.
16008 * stdlib/tst-strtod-round-data: Add more tests.
16009 * stdlib/tst-strtod-round.c (tests): Regenerated.
16010
af92131a
JM
16011 [BZ #3479]
16012 * stdlib/strtod_l.c (NDIG): Remove.
16013 (HEXNDIG): Likewise.
16014 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
16015 smallest representable value.
16016 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
16017 lie within an exact representation of 1/2 ulp of the result.
16018 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
16019 unconditionally.
16020 (TENS_P9_IDX): Define unconditionally.
16021 (TENS_P9_SIZE): Likewise.
16022 (TENS_P10_IDX): Likewise.
16023 (TENS_P10_SIZE): Likewise.
16024 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
16025 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
16026 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
16027 entries for 10^2^13 and 10^2^14.
16028 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
16029 (TENS_P13_IDX): Define.
16030 (TENS_P13_SIZE): Likewise.
16031 (TENS_P14_IDX): Likewise.
16032 (TENS_P14_SIZE): Likewise.
16033 (_fpioconst_pow10): Change array size to
16034 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
16035 unconditional.
16036 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
16037 1024]: Add entries for 10^2^13 and 10^2^14.
16038 [LAST_POW10 > _LAST_POW10]: Remove #error.
16039 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
16040 (_fpioconst_pow10): Change array size to
16041 FPIOCONST_POW10_ARRAY_SIZE.
16042 * stdlib/gen-fpioconst.c: New file.
16043 * stdlib/gen-tst-strtod-round.c: Likewise.
16044 * stdlib/tst-strtod-round-data: Likewise.
16045 * stdlib/tst-strtod-round.c: Likewise.
16046 * stdlib/Makefile (tests): Add tst-strtod-round.
16047
d6e70f43
JM
16048 [BZ #14459]
16049 * stdlib/strtod_l.c: Include <stdint.h>.
16050 (NDEBUG): Do not define.
16051 (round_and_return): Change EXPONENT parameter to type intmax_t.
16052 Rearrange calculations to avoid internal overflow possibilities.
16053 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
16054 Rearrange calculations to avoid internal overflow possibilities.
16055 Assert that number fits inside MPNSIZE limbs.
16056 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
16057 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
16058 calculations and add assertions to avoid internal overflow
16059 possibilities. Add casts to avoid signed/unsigned operations.
16060 * stdlib/tst-strtod-overflow.c: New file.
16061 * stdlib/Makefile (tests): Add tst-strtod-overflow.
16062
1f529f7d
MP
160632012-08-25 Marek Polacek <polacek@redhat.com>
16064
16065 * time/time.h: Fix some typos in comments.
16066
59a629f1
RM
160672012-08-23 Roland McGrath <roland@hack.frob.com>
16068
16069 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
16070 * posix/tst-rfc3484-2.c: Likewise.
16071 * posix/tst-rfc3484-3.c: Likewise.
16072
d3bafbc9
SM
160732012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
16074
16075 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
16076 (EF_ARM_ABI_FLOAT_HARD): Likewise.
16077
4efcc022
JM
160782012-08-23 Joseph Myers <joseph@codesourcery.com>
16079
16080 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
16081 #include of fxstatat64.c.
16082
3cc3ef96
RM
160832012-08-22 Roland McGrath <roland@hack.frob.com>
16084
f04e2132
RM
16085 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
16086 * shadow/getspent_r.c: Likewise.
16087 * shadow/getspnam.c: Likewise.
16088 * shadow/getspnam_r.c: Likewise.
16089 * gshadow/getsgent.c: Likewise.
16090 * gshadow/getsgent_r.c: Likewise.
16091 * gshadow/getsgnam.c: Likewise.
16092 * gshadow/getsgnam_r.c: Likewise.
16093 * inet/getnetbyad.c: Likewise.
16094 * inet/getnetbyad_r.c: Likewise.
16095 * inet/getnetbynm.c: Likewise.
16096 * inet/getnetbynm_r.c: Likewise.
16097 * inet/getnetent.c: Likewise.
16098 * inet/getnetent_r.c: Likewise.
16099 * inet/getproto.c: Likewise.
16100 * inet/getproto_r.c: Likewise.
16101 * inet/getprtent.c: Likewise.
16102 * inet/getprtent_r.c: Likewise.
16103 * inet/getprtname.c: Likewise.
16104 * inet/getprtname_r.c: Likewise.
16105 * inet/getrpcbyname.c: Likewise.
16106 * inet/getrpcbyname_r.c: Likewise.
16107 * inet/getrpcbynumber.c: Likewise.
16108 * inet/getrpcbynumber_r.c: Likewise.
16109 * inet/getrpcent.c: Likewise.
16110 * inet/getrpcent_r.c: Likewise.
16111 * inet/getaliasent.c: Likewise.
16112 * inet/getaliasent_r.c: Likewise.
16113 * inet/getaliasname.c: Likewise.
16114 * inet/getaliasname_r.c: Likewise.
16115 * nscd/getgrgid_r.c: Likewise.
16116 * nscd/getgrnam_r.c: Likewise.
16117 * nscd/gethstbyad_r.c: Likewise.
16118 * nscd/gethstbynm3_r.c: Likewise.
16119 * nscd/getpwnam_r.c: Likewise.
16120 * nscd/getpwuid_r.c: Likewise.
16121 * nscd/getsrvbynm_r.c: Likewise.
16122 * nscd/getsrvbypt_r.c: Likewise.
16123 * nscd/gai.c: Likewise.
16124
c53d909c
RM
16125 * configure.in (build_nscd): New substituted variable, set
16126 by --disable-build-nscd and defaults to $use_nscd.
16127 * configure: Regenerated.
16128 * config.make.in (build-nscd): New substituted variable.
16129 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
16130 Change conditional to require [$(build-nscd) = yes] as well.
16131 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
16132
3cc3ef96
RM
16133 [BZ# 13696]
16134 * configure.in (use_nscd): New substituted variable, set by
16135 --disable-nscd. If enabled, define USE_NSCD.
16136 * configure: Regenerated.
16137 * config.h.in: Add USE_NSCD.
16138 * config.make.in (use-nscd): New substituted variable.
16139 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
16140 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
16141 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
16142 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
16143 (CFLAGS-getgrnam_r.c): Likewise.
16144 (CFLAGS-initgroups.c): Likewise.
16145 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
16146 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
16147 Variables removed.
16148 * inet/getnetgrent_r.c
16149 (nscd_setnetgrent): New function, broken out of ...
16150 (setnetgrent): ... here. Call it.
16151 (innetgr): Conditionalize nscd bits on [USE_NSCD].
16152 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
16153 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
16154 * nscd/Makefile (routines, aux): Move definitions after include of
16155 Makeconfig. Conditionalize on [$(use-nscd) != no].
16156 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
16157 Conditionalize on [USE_NSCD].
16158 (is_nscd, nscd_init_cb): Likewise.
16159 (nss_load_library): Conditionalize init callback on [USE_NSCD].
16160 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
16161 * nss/nss_db/db-init.c: Likewise.
16162 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
16163 [USE_NSCD].
16164 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
16165 (make_request): Use it.
16166 (cache_valid_p): New function.
16167 (__check_pf): Use it.
16168 * NEWS: Add item for --disable-nscd.
16169
07e51550
DL
161702012-08-22 Dmitry V. Levin <ldv@altlinux.org>
16171
16172 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
16173 to support sed >= 4.2.1-20-ga9bf076.
16174 * configure: Regenerated.
16175
35a5b08b
RM
161762012-08-22 Roland McGrath <roland@hack.frob.com>
16177
16178 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
16179 Conditionalize whole body on [IREL].
16180
8479f23a
JL
161812012-08-22 Jeff Law <law@redhat.com>
16182
16183 [BZ #14505]
16184 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
16185 if the family is PF_UNSPEC.
16186
48da0b21
MF
161872012-08-22 Mike Frysinger <vapier@gentoo.org>
16188
16189 * Makerules (lib-version): Rename from V.
16190 (install-lib-nosubdir): Change V to lib-version.
16191
15d0da8c
WS
161922012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
16193
16194 [BZ #14252]
16195 * powerpc32/power6/wcschr.c: New file.
16196 * powerpc32/power6/wcscpy.c: New file.
16197 * powerpc32/power6/wcsrchr.c: New file.
16198 * powerpc64/power6/wcschr.c: New file.
16199 * powerpc64/power6/wcscpy.c: New file.
16200 * powerpc64/power6/wcsrchr.c: New file.
16201
bcca0895
MK
162022012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
16203
16204 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
16205 (two_way_short_needle): Use it.
5a4aaa33
RM
16206 * string/strstr.c (AVAILABLE1_USES_J): Define.
16207 * string/strcasestr.c: Likewise.
99677e57
MK
16208
16209 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
16210 array references.
16211 * string/strcasestr.c (TOLOWER): Make side-effect safe.
16212
400726de
MK
16213 [BZ #11607]
16214 * NEWS: Add an entry.
16215 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
16216 define their defaults.
16217 (two_way_short_needle): Detect end-of-string on-the-fly.
16218 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
16219 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
16220 * string/bug-strcasestr1.c: New test.
16221 * string/Makefile: Run it.
16222
20a71f2c
MK
162232012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
16224
16225 [BZ #11607]
16226 * string/str-two-way.h (two_way_short_needle): Optimize matching of
16227 the first character.
16228
21ad0558
RM
162292012-08-21 Roland McGrath <roland@hack.frob.com>
16230
16231 * csu/elf-init.c (__libc_csu_irel): Function removed.
16232 * csu/libc-start.c (apply_irel): New function.
16233 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
16234
0e1d9911
JM
162352012-08-21 Joseph Myers <joseph@codesourcery.com>
16236
16237 * sysdeps/unix/sysv/linux/kernel-features.h
16238 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
16239 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
16240 <kernel-features.h>.
16241 [__NR_fadvise64_64]: Make code unconditional.
16242 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
16243 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
16244 !__NR_fadvise64_64)]: Likewise.
16245 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
16246 !__NR_fadvise64_64))]: Likewise.
16247 [__NR_fadvise64]: Make code unconditional.
16248 [!__NR_fadvise64]: Remove conditional code.
16249 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
16250 <kernel-features.h>.
16251 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16252 unconditional.
16253 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16254 conditional code.
16255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
16256 not include <kernel-features.h>.
16257 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16258 unconditional.
16259 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16260 conditional code.
16261 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
16262 include <kernel-features.h>.
16263 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16264 unconditional.
16265 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16266 conditional code.
16267
14a50c9d
WS
162682012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
16269
16270 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
16271 slight instruction rearrangements per scrollpipe analysis.
16272 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
16273
c0f4faf0
RM
162742012-08-20 Roland McGrath <roland@hack.frob.com>
16275
696da859
RM
16276 * manual/syslog.texi (syslog; vsyslog, closelog):
16277 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
16278 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
16279
c0f4faf0
RM
16280 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
16281 DSOCAPS to match condition on defining it.
16282
348363b2
JM
162832012-08-20 Joseph Myers <joseph@codesourcery.com>
16284
a35cbf28
JM
16285 * sysdeps/unix/sysv/linux/kernel-features.h
16286 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
16287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
16288 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16289 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
16291 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16292 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
16294 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16295 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16296
445f7ecd
JM
16297 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
16298 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
16299
348363b2
JM
16300 * sysdeps/unix/sysv/linux/kernel-features.h
16301 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
16302 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
16303 unconditional.
16304 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16305 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
16306 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
16307 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16308 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
16309 Make code unconditional.
16310 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16311 (__mmap64) [!__NR_mmap2]: Likewise.
16312 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
16313 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
16314 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16315 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
16316 [__NR_mmap2]: Make code unconditional.
16317 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16318 (__mmap64) [!__NR_mmap2]: Likewise.
16319
bc5bc0e5
AK
163202012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16321
16322 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
16323
88d506de
AJ
163242012-08-18 Andreas Jaeger <aj@suse.de>
16325
16326 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
16327
493387d2
MF
163282012-08-18 Mike Frysinger <vapier@gentoo.org>
16329
16330 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
16331 * include/unistd.h (__have_sock_cloexec): Likewise.
16332 (__have_pipe2): Likewise.
16333 (__have_dup3): Likewise.
16334
a277af22
MF
163352012-08-18 Mike Frysinger <vapier@gentoo.org>
16336
16337 [BZ #9685]
16338 * include/unistd.h (__have_pipe2): Change define into an extern int.
16339 (__have_dup3): Likewise.
16340 * socket/have_sock_cloexec.c: Include fcntl.h.
16341 (__have_pipe2): New variable.
16342 (__have_dup3): Likewise.
16343
fdab8fd3
MF
163442012-08-17 Mike Frysinger <vapier@gentoo.org>
16345
16346 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
16347
31035e80
MP
163482012-08-17 Marek Polacek <polacek@redhat.com>
16349
16350 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
16351 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
16352
3bd9e993
RM
163532012-08-17 Roland McGrath <roland@hack.frob.com>
16354
c91c505f
RM
16355 * configure.in: Add AC_SUBST for sysheaders.
16356 * configure: Regenerated.
16357 * config.make.in (sysheaders): New substituted variable.
16358
7c6f9d53
RM
16359 * sysdeps/unix/mkfifo.c: Moved ...
16360 * sysdeps/posix/mkfifo.c: ... here.
16361 * sysdeps/unix/mkfifoat.c: Moved ...
16362 * sysdeps/posix/mkfifoat.c: ... here.
16363
16364 * sysdeps/unix/utime.c: Moved ...
16365 * sysdeps/posix/utime.c: ... here.
16366
16367 * sysdeps/unix/time.c: Moved ...
16368 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
16369 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
16370 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
16371
16372 * sysdeps/unix/nice.c: Moved ...
16373 * sysdeps/posix/nice.c: ... here.
16374
16375 * sysdeps/unix/alarm.c: Moved ...
16376 * sysdeps/posix/alarm.c: ... here.
16377
3bd9e993
RM
16378 * intl/Makefile ($(codeset_mo)): Depend on the input file.
16379
d1f09384
JL
163802012-08-17 Jeff Law <law@redhat.com>
16381
16382 * intl/Makefile (codeset_mo): New variable.
16383 ($(codeset_mo)): New target.
16384 (tst-codeset.out): Depend on that. Remove explicit rule.
16385 (tst-gettext3.out, tst-gettext5.out): Likewise.
16386 (LOCPATH-ENV, tst-codeset-ENV): New variables.
16387 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
16388 * intl/tst-codeset.sh: Remove.
16389 * intl/tst-gettext3.sh: Likewise.
16390 * intl/tst-gettext5.sh: Likewise.
16391
2ae1ae5c
RM
163922012-08-17 Roland McGrath <roland@hack.frob.com>
16393
c31fdb83
RM
16394 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
16395 * sysdeps/unix/syscalls.list: ... here.
16396
a0844057
RM
16397 * sysdeps/posix/getaddrinfo.c
16398 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
16399 (gaiconf_init, gaiconf_reload): Use them.
16400 [!_STATBUF_ST_NSEC]
16401 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
16402 Define using time_t rather than struct timespec.
16403
750c1f2a
RM
16404 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
16405 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
16406 Macros removed.
16407 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
16408 [!NO_THREADS].
16409 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
16410 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
16411 Likewise.
16412
2ae1ae5c
RM
16413 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
16414 __libc_cleanup_push argument.
16415
e66a42f5
RM
16416 * bits/param.h: New file.
16417 * misc/sys/param.h: New file.
16418 * include/sys/param.h: New file.
16419 * misc/Makefile (headers): Add bits/param.h.
16420 * sysdeps/generic/sys/param.h: File removed.
16421 * sysdeps/unix/sysv/linux/bits/param.h: New file.
16422 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
16423 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 16424 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 16425
b7c08a66
RM
16426 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
16427 last change.
16428
b2e1c562
RM
16429 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
16430 [_IO_MTSAFE_IO].
16431 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
16432 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
16433 New macros.
16434
c75ccd4c
RM
16435 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
16436 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
16437 rather than -D_IO_MTSAFE_IO conditionally.
16438 * stdio-common/Makefile (CPPFLAGS): Likewise.
16439 * wcsmbs/Makefile (CPPFLAGS): Likewise.
16440 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
16441 Use $(libio-mtsafe).
16442 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
16443 of -D_IO_MTSAFE_IO.
16444 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
16445 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
16446 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
16447 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
16448 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
16449 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
16450 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
16451 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
16452 (CFLAGS-fread_u_chk.c): Likewise.
16453 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
16454 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
16455 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
16456 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
16457 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
16458 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
16459 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
16460 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
16461 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
16462
16463 * libio/Makefile: Test [$(libc-reentrant) = yes]
16464 instead of [$(filter %REENTRANT, $(defines)) nonempty].
16465
16466 * Makeconfig
16467 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
16468 * sysdeps/pthread/configure: File removed.
16469 * sysdeps/pthread/Makeconfig: New file.
16470 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
16471 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
16472
d9195db8
GB
164732012-08-16 Gary Benson <gbenson@redhat.com>
16474
16475 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
16476 unmapping the first object in a namespace.
16477
86466cd9
RM
164782012-08-16 Roland McGrath <roland@hack.frob.com>
16479
16480 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
16481 (__internal_setnetgrent): ... this. Add internal_function to
16482 definition. Add libc_hidden_def.
16483 (setnetgrent): Update caller.
16484 (internal_endnetgrent): Renamed to ...
16485 (__internal_endnetgrent): ... this. Add internal_function to
16486 definition. Add libc_hidden_def.
16487 (endnetgrent): Update caller.
16488 (internal_getnetgrent_r): Renamed to ...
16489 (__internal_getnetgrent_r): ... this. Add internal_function to
16490 definition. Add libc_hidden_def.
16491 (__getnetgrent_r): Update caller.
16492 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
16493
c3c8283c
JM
164942012-08-16 Joseph Myers <joseph@codesourcery.com>
16495
16496 * stdlib/longlong.h: Update from GCC.
16497
db1ee0a8
RM
164982012-08-16 Roland McGrath <roland@hack.frob.com>
16499
16500 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
16501 on _QL, which is set by umul_ppmm but never used.
16502 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
16503 variables, which are set by GMP macros but never used.
16504 * stdio-common/_itowa.c (_itowa): Likewise.
16505 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
16506 * stdlib/mod_1.c (mpn_mod_1): Likewise.
16507
30f69637
CD
165082012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
16509
16510 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
16511 struct La_sh_regs is not constant.
16512 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
16513 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
16514 and struct La_sparc64_regs are not constant.
16515
93a78ac4
JM
165162012-08-16 Joseph Myers <joseph@codesourcery.com>
16517
16518 * sysdeps/unix/sysv/linux/kernel-features.h
16519 (__ASSUME_POSIX_TIMERS): Remove.
16520 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16521 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16522 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
16523 Make code unconditional.
16524 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16525 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
16526 Make code unconditional.
16527 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16528 * sysdeps/unix/sysv/linux/clock_nanosleep.c
16529 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
16530 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16531 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
16532 Make code unconditional.
16533 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16534 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
16535 (__libc_missing_posix_timers): Remove.
16536
dd924cd7
RM
165372012-08-15 Roland McGrath <roland@hack.frob.com>
16538
4b4f2771
RM
16539 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
16540 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
16541
601c888b
RM
16542 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
16543
176790a7
RM
16544 * elf/dl-sym.c: Include <stdlib.h>.
16545
329bc018
RM
16546 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
16547 constants, which avoids warnings in 32-bit builds.
16548
e04e272d
RM
16549 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
16550 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
16551
952bf94a
RM
16552 * misc/lseek.c: File moved to ...
16553 * io/lseek.c: ... here.
16554
7c99b50a
RM
16555 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
16556
dd924cd7
RM
16557 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
16558 shifting LEN more than 31 bits at once.
16559
b3f479a8
LD
165602012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16561
16562 [BZ #14195]
8c4ae0d4
RM
16563 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
16564 segmentation fault for a case of two empty input strings.
b3f479a8
LD
16565 * string/test-strncasecmp.c (check1): Renamed to...
16566 (bz12205): ...this.
16567 (bz14195): Add new testcase for two empty input strings and N > 0.
16568 (test_main): Call new testcase, adapt for renamed function.
16569
9c55864e
AJ
165702012-08-15 Andreas Jaeger <aj@suse.de>
16571
16572 [BZ #14090]
16573 * crypt/md5test2.c: New test, based on test supplied by Serge
16574 Belyshev <belyshev@depni.sinp.msu.ru>.
16575 * crypt/Makefile (xtests): Add md5test-giant..
16576 * crypt/Makefile ($(objpfx)md5test-giant): Add.
16577
02dcb6c5
PE
165782012-08-15 Paul Eggert <eggert@cs.ucla.edu>
16579
16580 [BZ #14090]
16581 * crypt/md5.c (md5_process_block): Don't assume the buffer
16582 length is less than 2**32.
16583 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
16584 length is less than 2**64.
16585
a3f95dcc
RM
165862012-08-15 Roland McGrath <roland@hack.frob.com>
16587
be75d758
RM
16588 * string/str-two-way.h: Include <sys/param.h>.
16589 (MAX): Macro removed.
16590
7312ca90
RM
16591 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
16592 Move #define and #undef of memmove to just before and after
16593 including <string.h>.
16594
9a0a5486
RM
16595 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
16596 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
16597 and after including <string.h>. Move declarations of
16598 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
16599 to before #include "string/memmove.c".
16600
67cc348d
RM
16601 * include/dirent.h: Declare __getdirentries.
16602
a3f95dcc
RM
16603 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
16604 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
16605
ca98e171
MF
166062012-08-14 Mike Frysinger <vapier@gentoo.org>
16607
16608 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
16609 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
16610 * sysdeps/i386/configure: Regenerated.
16611 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
16612 STABS_CURRENT_FILE, and STABS_FUN.
16613 (END): Remove call to STABS_FUN_END.
16614 (STABS_CURRENT_FILE1): Delete.
16615 (STABS_CURRENT_FILE): Likewise.
16616 (STABS_FUN): Likewise.
16617 (STABS_FUN_END): Likewise.
16618 (STABS_FUN2): Likewise.
16619 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
16620 * sysdeps/x86_64/configure: Regenerated.
16621
5908bf46
RM
166222012-08-14 Roland McGrath <roland@hack.frob.com>
16623
16624 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 16625 * elf/dl-lookup.c: Likewise.
5908bf46 16626
f2c05b9e
JM
166272012-08-14 Joseph Myers <joseph@codesourcery.com>
16628
16629 * sysdeps/unix/sysv/linux/kernel-features.h
16630 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
16631 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
16632 unconditionally.
16633 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
16634 unconditionally.
16635 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
16636 condition on __ASSUME_CLONE_THREAD_FLAGS.
16637
e11f5155
AJ
166382012-08-14 Andreas Jaeger <aj@suse.de>
16639
16640 * sysdeps/i386/fpu/libm-test-ulps: Update.
16641
51a9ba86
MK
166422012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
16643
2fdd4f78
AJ
16644 * include/atomic.h (atomic_exchange_and_add): Split into ...
16645 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
16646 New atomic macros.
51a9ba86 16647
ba6cba9e
MT
166482012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
16649
16650 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16651
42443a47
JL
166522012-08-13 Jeff Law <law@redhat.com>
16653
16654 * manual/stdio.texi (snprintf): Clarify handling of the trailing
16655 null byte in the output string.
16656
121dce05
JM
166572012-08-10 Joseph Myers <joseph@codesourcery.com>
16658
16659 * sysdeps/unix/sysv/linux/kernel-features.h
16660 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
16661 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
16662 (__ASSUME_ARG_MAX_STACK_BASED): Define.
16663 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
16664 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
16665 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
16666 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
16667
bf51f568
JL
166682012-08-09 Jeff Law <law@redhat.com>
16669
16670 [BZ #13939]
16671 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
16672 When avoid_arena is set, don't retry in the that arena. Pick the
16673 next one, whatever it might be.
16674 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
16675 (arena_lock): Pass in new parameter to arena_get2.
16676 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
16677 arena_get2.
16678 (__libc_malloc): Unify retrying after main arena failure with
16679 __libc_memalign version.
16680 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
16681
f85fa270
L
166822012-08-09 H.J. Lu <hongjiu.lu@intel.com>
16683
16684 [BZ #14166]
16685 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
16686 to __redirect_strstr.
16687 (__strstr_sse42): Use typeof __redirect_strstr.
16688 (__strstr_ia32): Likewise.
16689 (__libc_strstr): New prototype.
16690 (strstr): Renamed to ...
16691 (__libc_strstr): This.
16692 (strstr): New strong alias of __libc_strstr.
16693 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
16694 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
16695 __redirect_time.
16696 Include <time.h>.
16697 (__libc_time): New prototype.
16698 (time_ifunc): Replace time with __libc_time.
16699 (time): New strong alias and hidden definition of __libc_time.
16700 (__GI_time): Remove strong alias.
16701 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
16702 Include <stddef.h>.
16703 (memmove): Redefined to __redirect_memmove.
16704 (__memmove_sse2): Use typeof __redirect_memmove.
16705 (__memmove_ssse3): Likewise.
16706 (__memmove_ssse3_back): Likewise.
16707 (__libc_memmove): New prototype.
16708 (memmove): Renamed to ...
16709 (__libc_memmove): This.
16710 (memmove): New strong alias of __libc_memmove.
16711
33b4a91e
MS
167122012-08-08 Mark Salter <msalter@redhat.com>
16713
16714 * elf/elf.h
16715 (R_MN10300_TLS_GD): Define.
16716 (R_MN10300_TLS_LD): Likewise.
16717 (R_MN10300_TLS_LDO): Likewise.
16718 (R_MN10300_TLS_GOTIE): Likewise.
16719 (R_MN10300_TLS_IE): Likewise.
16720 (R_MN10300_TLS_LE): Likewise.
16721 (R_MN10300_TLS_DTPMOD): Likewise.
16722 (R_MN10300_TLS_DTPOFF): Likewise.
16723 (R_MN10300_TLS_TPOFF): Likewise.
16724 (R_MN10300_SYM_DIFF): Likewise.
16725 (R_MN10300_ALIGN): Likewise.
16726 (R_MN10300_NUM): Update.
16727
b36137f1
JM
167282012-08-08 Joseph Myers <joseph@codesourcery.com>
16729
16730 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
16731 Remove.
16732
cdd915fd
RM
167332012-08-08 Roland McGrath <roland@hack.frob.com>
16734
a2433aac
RM
16735 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
16736
cdd915fd
RM
16737 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
16738 sysdeps/unix -> sysdeps/posix move.
16739 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
16740
bf9b740a
AM
167412012-08-07 Allan McRae <allan@archlinux.org>
16742
16743 [BZ #14303]
16744 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
16745 (SUNOS_CPP): Likewise.
16746 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
16747 not found.
16748 (open_input): Call CPP using execvp.
16749
93df14ee
JM
167502012-08-07 Joseph Myers <joseph@codesourcery.com>
16751
16752 * sysdeps/unix/sysv/linux/kernel-features.h
16753 (__ASSUME_PROT_GROWSUPDOWN): Remove.
16754 (__ASSUME_NO_CLONE_DETACHED): Likewise.
16755 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
16756 (__ASSUME_WAITID_SYSCALL): Likewise.
16757 * sysdeps/unix/sysv/linux/dl-execstack.c
16758 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
16759 code unconditional.
16760 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
16761 conditional code.
16762 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
16763 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
16764 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
16765 code.
16766 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
16767 unconditional.
16768 [__ASSUME_WAITID_SYSCALL]: Likewise.
16769 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
16770
d34689de
RM
167712012-08-07 Roland McGrath <roland@hack.frob.com>
16772
a281decc
RM
16773 * sysdeps/unix/closedir.c: Renamed to ...
16774 * sysdeps/posix/closedir.c: ... here.
16775 * sysdeps/unix/dirfd.c: Renamed to ...
16776 * sysdeps/posix/dirfd.c: ... here.
16777 * sysdeps/unix/dirstream.h: Renamed to ...
16778 * sysdeps/posix/dirstream.h: ... here.
16779 * sysdeps/unix/fdopendir.c: Renamed to ...
16780 * sysdeps/posix/fdopendir.c: ... here.
16781 * sysdeps/unix/opendir.c: Renamed to ...
16782 * sysdeps/posix/opendir.c: ... here.
16783 * sysdeps/unix/readdir.c: Renamed to ...
16784 * sysdeps/posix/readdir.c: ... here.
16785 * sysdeps/unix/readdir_r.c: Renamed to ...
16786 * sysdeps/posix/readdir_r.c: ... here.
16787 * sysdeps/unix/rewinddir.c: Renamed to ...
16788 * sysdeps/posix/rewinddir.c: ... here.
16789 * sysdeps/unix/seekdir.c: Renamed to ...
16790 * sysdeps/posix/seekdir.c: ... here.
16791 * sysdeps/unix/telldir.c: Renamed to ...
16792 * sysdeps/posix/telldir.c: ... here.
16793 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
16794 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
16795 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
16796 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
16797
22895b47
RM
16798 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
16799 * bits/fcntl.h: ... here.
16800
707a53b6
RM
16801 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
16802 not 0.
16803 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
16804 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
16805 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
16806 (struct flock): Move l_start, l_len to the beginning.
16807 Use __pid_t for l_pid.
16808 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
16809 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
16810 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
16811 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
16812 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
16813 [__USE_LARGEFILE64] (struct flock64): New type.
16814 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
16815
f0bd3e25
RM
16816 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
16817 * bits/dirent.h: ... here.
16818
d34689de
RM
16819 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
16820 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
16821
6dad2c06
JM
168222012-08-07 Joseph Myers <joseph@codesourcery.com>
16823
16824 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16825 Change from 2.6.0 to 2.6.16.
16826 * sysdeps/unix/sysv/linux/configure: Regenerated.
16827 * sysdeps/unix/sysv/linux/kernel-features.h
16828 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
16829 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
16830 version.
16831 (__ASSUME_UTIMES): Likewise.
16832 (__ASSUME_CLONE_STOPPED): Remove.
16833 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
16834 architectures, not kernel version.
16835 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
16836 (__ASSUME_NO_CLONE_DETACHED): Likewise.
16837 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
16838 (__ASSUME_WAITID_SYSCALL): Likewise.
16839 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
16840 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
16841 * README: State 2.6.16 as minimum Linux kernel version. Do not
16842 refer to older versions.
16843
03af9520
RM
168442012-08-06 Roland McGrath <roland@hack.frob.com>
16845
8e49df1d
RM
16846 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
16847 Define alphasort64 as an alias.
16848 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
16849 Define versionsort64 as an alias.
16850 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
16851 Define scandir64 as an alias.
16852 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
16853 Define scandirat64 as an alias.
16854 * dirent/alphasort64.c (alphasort64):
16855 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
16856 * dirent/versionsort64.c: Likewise.
16857 * dirent/scandir64.c: Likewise.
16858 * dirent/scandirat64.c: Likewise.
16859 * sysdeps/wordsize-64/alphasort.c: File removed.
16860 * sysdeps/wordsize-64/alphasort64.c: File removed.
16861 * sysdeps/wordsize-64/scandir.c: File removed.
16862 * sysdeps/wordsize-64/scandir64.c: File removed.
16863 * sysdeps/wordsize-64/scandirat.c: File removed.
16864 * sysdeps/wordsize-64/scandirat64.c: File removed.
16865 * sysdeps/wordsize-64/versionsort.c: File removed.
16866 * sysdeps/wordsize-64/versionsort64.c: File removed.
16867 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
16868 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
16869 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
16870 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
16871 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
16872 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
16873 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
16874 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
16875
16876 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
16877 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
16878 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
16879 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16880 [defined __arch64__ || defined __sparcv9]
16881 (__INO_T_MATCHES_INO64_T): New macro.
16882 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
16883 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
16884 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
16885 * sysdeps/unix/sysv/linux/bits/dirent.h
16886 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
16887 (_DIRENT_MATCHES_DIRENT64): New macro.
16888
03af9520
RM
16889 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
16890 Define lockf64 as an alias.
16891 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
16892 Define fseeko64 as an alias.
16893 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
16894 Define ftello64 as an alias.
16895 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
16896 Define _IO_fgetpos64 and fgetpos64 as aliases.
16897 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
16898 Define _IO_fsetpos64 and fsetpos64 as aliases.
16899 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
16900 Conditionalize body on this.
16901 * libio/fseeko64.c: Likewise.
16902 * libio/ftello64.c: Likewise.
16903 * libio/iofgetpos64.c: Likewise.
16904 * libio/iofsetpos64.c: Likewise.
16905 * sysdeps/wordsize-64/lockf.c: File removed.
16906 * sysdeps/wordsize-64/lockf64.c: File removed.
16907 * sysdeps/wordsize-64/fseeko.c: File removed.
16908 * sysdeps/wordsize-64/fseeko64.c: File removed.
16909 * sysdeps/wordsize-64/ftello.c: File removed.
16910 * sysdeps/wordsize-64/ftello64.c: File removed.
16911 * sysdeps/wordsize-64/iofgetpos.c: File removed.
16912 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
16913 * sysdeps/wordsize-64/iofsetpos.c: File removed.
16914 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
16915 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
16916 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
16917 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
16918 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
16919 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
16920 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
16921 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
16922 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
16923 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
16924 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
16925
16926 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
16927 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
16928 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
16929 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16930 [defined __arch64__ || defined __sparcv9]
16931 (__OFF_T_MATCHES_OFF64_T): New macro.
16932 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
16933 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
16934 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16935 (__OFF_T_MATCHES_OFF64_T): New macro.
16936
c5757acd
L
169372012-08-06 H.J. Lu <hongjiu.lu@intel.com>
16938
16939 * stdlib/secure-getenv.c (__secure_getenv): Replace
16940 GLIBC_2_16 with GLIBC_2_17.
16941
3a31811e
L
169422012-08-06 H.J. Lu <hongjiu.lu@intel.com>
16943
16944 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
16945 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
16946
faa2bccb
DM
169472012-08-03 David S. Miller <davem@davemloft.net>
16948
16949 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16950
85fe1997
JM
169512012-08-03 Joseph Myers <joseph@codesourcery.com>
16952
16953 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
16954 Remove.
16955 (__ASSUME_CORRECT_SI_PID): Likewise.
16956 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
16957 (__ASSUME_TMPFS_NAME): Likewise.
16958 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
16959 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
16960 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
16961 (HAVE_AUX_SECURE): Make definition unconditional.
16962 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
16963 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
16964
4f75b7a0
RM
169652012-08-03 Roland McGrath <roland@hack.frob.com>
16966
16967 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
16968 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
16969 * sysdeps/mach/hurd/eloop-threshold.h: New file.
16970 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
16971 __eloop_threshold instead of SYMLOOP_MAX.
16972
16973 * sysdeps/generic/eloop-threshold.h: New file.
16974 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
16975 of MAXSYMLINKS.
16976 * elf/chroot_canon.c (chroot_canon): Likewise.
16977
7aab07e4
JM
169782012-08-03 Joseph Myers <joseph@codesourcery.com>
16979
16980 [BZ #13717]
16981 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16982 Change to 2.6.0 everywhere.
16983 * sysdeps/unix/sysv/linux/configure: Regenerated.
16984 * sysdeps/unix/sysv/linux/kernel-features.h
16985 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
16986 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
16987 kernel versions.
16988 (__ASSUME_POSIX_TIMERS): Define unconditionally.
16989 (__ASSUME_FUTEX_REQUEUE): Remove.
16990 (__ASSUME_STATFS64): Define unconditionally.
16991 (__ASSUME_AT_SECURE): Likewise.
16992 (__ASSUME_CORRECT_SI_PID): Likewise.
16993 (__ASSUME_TGKILL): Define without depending on kernel version for
16994 i386.
16995 (__ASSUME_UTIMES): Likewise.
16996 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
16997 kernel version.
16998 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
16999 (__ASSUME_TMPFS_NAME): Likewise.
17000 * README: Update reference to Linux kernel versions.
17001
b67e9372
MP
170022012-08-02 Marek Polacek <polacek@redhat.com>
17003
1f529f7d 17004 [BZ# 14150]
b67e9372
MP
17005 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
17006 libc_cv_asm_type_prefix with %.
17007 * configure: Regenerated.
d2441631
RM
17008 * include/libc-symbols.h: Remove comment about
17009 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
17010 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
17011 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
17012 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
17013 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
17014 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
17015 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
17016 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
17017 * elf/tst-unique2mod1.c: Likewise.
17018 * elf/tst-unique1mod2.c: Likewise.
17019 * elf/tst-unique1mod1.c: Likewise.
17020 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
17021 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
17022 Replace ASM_TYPE_DIRECTIVE with .type.
17023 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17024 * sysdeps/i386/sysdep.h: Likewise.
17025 * sysdeps/x86_64/sysdep.h: Likewise.
17026 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
17027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
17028 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 17029 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
17030 * sysdeps/powerpc/powerpc32/sysdep.h:
17031 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
17032 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
17033 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17034 * sysdeps/i386/fpu/e_powf.S: Likewise.
17035 * sysdeps/i386/fpu/e_expl.S: Likewise.
17036 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
17037 * sysdeps/i386/fpu/e_acosh.S: Likewise.
17038 * sysdeps/i386/fpu/e_pow.S: Likewise.
17039 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
17040 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
17041 * sysdeps/i386/fpu/s_expm1.S: Likewise.
17042 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
17043 * sysdeps/i386/fpu/e_log2.S: Likewise.
17044 * sysdeps/i386/fpu/e_log2l.S: Likewise.
17045 * sysdeps/i386/fpu/e_scalb.S: Likewise.
17046 * sysdeps/i386/fpu/e_powl.S: Likewise.
17047 * sysdeps/i386/fpu/e_log10f.S: Likewise.
17048 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
17049 * sysdeps/i386/fpu/e_logl.S: Likewise.
17050 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
17051 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
17052 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
17053 * sysdeps/i386/fpu/e_log2f.S: Likewise.
17054 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
17055 * sysdeps/i386/fpu/e_log.S: Likewise.
17056 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
17057 * sysdeps/i386/fpu/e_logf.S: Likewise.
17058 * sysdeps/i386/fpu/e_log10l.S: Likewise.
17059 * sysdeps/i386/fpu/e_atanh.S: Likewise.
17060 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
17061 * sysdeps/i386/fpu/e_log10.S: Likewise.
17062 * sysdeps/i386/fpu/s_frexp.S: Likewise.
17063 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
17064 * sysdeps/i386/fpu/s_asinh.S: Likewise.
17065 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
17066 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
17067 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
17068 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
17069 * sysdeps/i386/i686/strtok.S: Likewise.
17070 * sysdeps/i386/i386-mcount.S: Likewise.
17071 * sysdeps/i386/strtok.S: Likewise.
17072 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
17073 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
17074 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17075 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
17076 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
17077 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
17078 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
17079 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
17080 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
17081 * sysdeps/x86_64/_mcount.S: Likewise.
17082 * sysdeps/x86_64/strtok.S: Likewise.
17083 * sysdeps/sh/_mcount.S: Likewise.
17084
2747bf9a
RM
170852012-08-01 Roland McGrath <roland@hack.frob.com>
17086
17087 * libio/iofopen.c: Include <fcntl.h>.
17088 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
17089 (_IO_fopen64, fopen64): Define as aliases.
17090 * libio/iofopen64.c: Include <fcntl.h>.
17091 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
17092 Conditionalize body on this.
17093 * sysdeps/wordsize-64/iofopen.c: File removed.
17094 * sysdeps/wordsize-64/iofopen64.c: File removed.
17095
3fb791b8
MP
170962012-08-01 Marek Polacek <polacek@redhat.com>
17097
17098 * libc/Makeconfig: Use elf in place of binfmt-subdir.
17099 Use dlfcn directly instead of a variable.
17100 (binfmt-subdir): Do not define.
17101 (dlfcn): Likewise.
17102
a9f1039f
JM
171032012-08-01 Joseph Myers <joseph@codesourcery.com>
17104
23bddc06
JM
17105 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
17106 Remove all definitions.
17107 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
17108 <kernel-features.h>.
17109 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
17110 (miss_F_GETOWN_EX): Remove all definitions.
17111 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
17112 macro definition.
17113 [!__ASSUME_FCNTL64]: Remove conditional code.
17114 [__ASSUME_FCNTL64]: Make code unconditional.
17115 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
17116 <kernel-features.h>.
17117 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
17118 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
17119 (lockf64) [__NR_fcntl64]: Make code unconditional.
17120 (lockf64) [__ASSUME_FCNTL64]: Likewise.
17121
a9f1039f
JM
17122 * sysdeps/unix/sysv/linux/kernel-features.h
17123 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
17124 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
17125 Make code unconditional.
17126 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17127 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
17129 [__NR_vfork]: Make code unconditional.
17130 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17131 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
17133 [__NR_vfork]: Make code unconditional.
17134 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17135 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17136
09c0ee5f
RM
171372012-08-01 Roland McGrath <roland@hack.frob.com>
17138
48aec5b9
RM
17139 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
17140 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
17141
cd97c966
RM
17142 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17143 Define mkstemp64 as an alias.
3f55550c
RM
17144 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17145 Define mkstemps64 as an alias.
cd97c966
RM
17146 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17147 Define mkostemp64 as an alias.
b8625cfc
RM
17148 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17149 Define mkostemps64 as an alias.
cd97c966
RM
17150 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
17151 Conditionalize body on this.
17152 * misc/mkostemp64.c: Likewise.
b8625cfc 17153 * misc/mkostemps64.c: Likewise.
3f55550c 17154 * misc/mkstemps64.c: Likewise.
cd97c966
RM
17155 * sysdeps/wordsize-64/mkstemp64.c: File removed.
17156 * sysdeps/wordsize-64/mkostemp64.c: File removed.
17157 * sysdeps/wordsize-64/mkostemp.c: File removed.
17158 * sysdeps/wordsize-64/mkstemp.c: File removed.
17159 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
17160 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
17161 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
17162 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
17163
09c0ee5f
RM
17164 [BZ #14138]
17165 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
17166 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
17167 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
17168 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
17169
17170 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
17171 compat_symbol macros from <shlib-compat.h> rather than the underlying
17172 default_symbol_version and symbol_version macros, so that DEFAULT
17173 lines in shlib-versions are respected.
17174 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
17175
7e66ee51
FW
171762012-08-01 Florian Weimer <fweimer@redhat.com>
17177
17178 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
17179 Declare with warn_unused_result.
17180 (setgid, setregid, setegid, setresgid): Likewise.
17181 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
17182 Likewise.
17183 * WUR-REPORT: Remove set*id functions.
17184
d2a54255
PT
171852012-07-31 Pino Toscano <toscano.pino@tiscali.it>
17186
17187 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
17188
7ecdb005
RM
171892012-07-31 Roland McGrath <roland@hack.frob.com>
17190
b4180a5e 17191 [BZ #10191]
789bd351
RM
17192 * include/sys/socket.h (__libc_accept, __libc_accept4):
17193 Add attribute_hidden.
17194 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
17195
40ce302d
RM
17196 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
17197 use of PTR_MANGLE.
17198 * inet/getnetgrent_r.c (setup): Likewise.
17199
7ecdb005
RM
17200 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
17201
e2eabb2c
DM
172022012-07-31 David S. Miller <davem@davemloft.net>
17203
17204 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17205
d0419dbf
JM
172062012-07-31 Joseph Myers <joseph@codesourcery.com>
17207
17208 [BZ #13629]
17209 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
17210 value between 1.0 and 2.0 and smaller part has absolute value less
17211 than 1.0.
17212 * math/s_clog10.c (__clog10): Likewise.
17213 * math/s_clog10f.c (__clog10f): Likewise.
17214 * math/s_clog10l.c (__clog10l): Likewise.
17215 * math/s_clogf.c (__clogf): Likewise.
17216 * math/s_clogl.c (__clogl): Likewise.
17217 * math/libm-test.inc (clog_test): Add more tests.
17218 (clog10_test): Likewise.
17219 * sysdeps/i386/fpu/libm-test-ulps: Update.
17220 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17221
2bc13872
FW
172222012-07-31 Florian Weimer <fweimer@redhat.com>
17223
17224 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
17225 Exit with zero in case no suitable GID is found, and write a
17226 message to standard error.
17227
bea9b193
RM
172282012-07-30 Roland McGrath <roland@hack.frob.com>
17229
17230 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
17231 rather than to 1.
17232 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
17233 (MAXPATHLEN): Removed.
17234 (NOGROUP, NODEV): New macros.
17235 (setbit, clrbit, isset, isclr): New macros.
17236 (howmany, roundup, powerof2): New macros.
17237 (DEV_BSIZE): New macro.
17238
17239 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
17240 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
17241
17242 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
17243 definition on [!__NO_LONG_DOUBLE_MATH].
17244
17245 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
17246 PTR_MANGLE and PTR_DEMANGLE.
17247
17248 * socket/accept4.c (accept4): Rename to __libc_accept4.
17249 Define accept4 as a weak alias.
17250
17251 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
17252 on [_DIRENT_HAVE_D_TYPE].
17253 * io/ftw.c (ftw_dir): Likewise.
17254
17255 * io/xmknod.c (__xmknod): Don't check PATH for being null.
17256
17257 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
17258
17259 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
17260 Use the BSD numbers rather than the arbitrary ones we had.
17261 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
17262 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
17263 (SIGXCPU, SIGXFSZ): New macros.
17264 (_NSIG): Now 32.
17265
17266 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
17267 initializer on [_LIBC_REENTRANT].
17268
17269 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
17270 definitions inside [_POSIX_MAPPED_FILES].
17271
17272 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
17273
17274 * dirent/opendir.c: Include <fcntl.h>.
17275
17276 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
17277 (__libc_getspecific): Likewise.
17278 (__libc_key_create): Likewise.
17279
17280 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
17281 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
17282 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
17283 (tmpfile64): Define as alias.
17284 * sysdeps/wordsize-64/tmpfile.c: File removed.
17285 * sysdeps/wordsize-64/tmpfile64.c: File removed.
17286 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
17287 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
17288
17289 * stdio-common/vfscanf.c: Include <stdbool.h>.
17290 * nss/makedb.c: Likewise.
17291 * stdio-common/_i18n_number.h: Likewise.
17292 * argp/argp-help.c: Likewise.
17293 * posix/wordexp.c: Likewise.
17294 * sysdeps/posix/spawni.c: Likewise.
17295 * nss/nss_files/files-initgroups.c: Likewise.
17296 * stdio-common/reg-modifier.c: Include <stdlib.h>.
17297 * nss/nss_files/files-initgroups.c: Likewise.
17298 * nss/nss_db/db-netgrp.c: Likewise.
17299 * nss/nss_db/db-initgroups.c: Likewise.
17300 * io/fchmodat.c: Include <sys/stat.h>.
17301
17302 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
17303 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
17304
17305 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
17306 [HAVE_MMAP].
17307
17308 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
17309 Add multiple inclusion protection.
17310
e5abc686
DM
173112012-07-27 David S. Miller <davem@davemloft.net>
17312
17313 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17314
815e6fa3
GB
173152012-07-27 Gary Benson <gbenson@redhat.com>
17316
17317 [BZ #14298]
17318 * elf/rtld.c: Include <stap-probe.h>.
17319 (dl_main): Added static probes "init_start" and "init_complete".
17320 * elf/dl-load.c: Include <stap-probe.h>.
17321 (lose): Take new parameter "nsid".
17322 Added static probe "map_failed".
17323 (_dl_map_object_from_fd): Pass namespace id to lose.
17324 Added static probe "map_start".
17325 (open_verify): Pass namespace id to lose.
17326 * elf/dl-open.c: Include <stap-probe.h>.
17327 (dl_open_worker) Added static probes "map_complete", "reloc_start"
17328 and "reloc_complete".
17329 * elf/dl-close.c: Include <stap-probe.h>.
17330 (_dl_close_worker): Added static probes "unmap_start" and
17331 "unmap_complete".
17332 * elf/rtld-debugger-interface.txt: New file documenting the above.
17333
9f98c16c
RM
173342012-07-26 Roland McGrath <roland@hack.frob.com>
17335
17336 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
17337 rather than a string variable.
17338 * sunrpc/rpc_main.c (h_output): Likewise.
17339 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
17340
f3c22df3
PT
173412012-07-26 Pino Toscano <toscano.pino@tiscali.it>
17342
17343 * inet/check_native.c: New file.
17344
3129cfc6
JM
173452012-07-26 Joseph Myers <joseph@codesourcery.com>
17346
da865e95
JM
17347 [BZ #13629]
17348 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
17349 if larger part has absolute value 1.0.
17350 * math/s_clog10.c (__clog10): Likewise.
17351 * math/s_clog10f.c (__clog10f): Likewise.
17352 * math/s_clog10l.c (__clog10l): Likewise.
17353 * math/s_clogf.c (__clogf): Likewise.
17354 * math/s_clogl.c (__clogl): Likewise.
17355 * math/libm-test.inc (clog_test): Add more tests.
17356 (clog10_test): Likewise.
17357 * sysdeps/i386/fpu/libm-test-ulps: Update.
17358 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17359
3129cfc6
JM
17360 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
17361 (pltexit): Likewise.
17362 (La_regs): Likewise.
17363 (La_retval): Likewise.
17364 (int_retval): Likewise.
17365 Update #error for removed macros to refer only to definitions in
17366 tst-audit.h.
17367 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
17368 macro.
17369 (pltexit): Likewise.
17370 (La_regs): Likewise.
17371 (La_retval): Likewise.
17372 (int_retval): Likewise.
17373 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
17374 macro.
17375 (pltexit): Likewise.
17376 (La_regs): Likewise.
17377 (La_retval): Likewise.
17378 (int_retval): Likewise.
17379 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
17380 macro.
17381 (pltexit): Likewise.
17382 (La_regs): Likewise.
17383 (La_retval): Likewise.
17384 (int_retval): Likewise.
17385 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
17386 macro.
17387 (pltexit): Likewise.
17388 (La_regs): Likewise.
17389 (La_retval): Likewise.
17390 (int_retval): Likewise.
17391 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
17392 macro.
17393 (pltexit): Likewise.
17394 (La_regs): Likewise.
17395 (La_retval): Likewise.
17396 (int_retval): Likewise.
17397 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
17398 macro.
17399 (pltexit): Likewise.
17400 (La_regs): Likewise.
17401 (La_retval): Likewise.
17402 (int_retval): Likewise.
17403 * sysdeps/generic/tst-audit.h: Update comment to refer only to
17404 macro definitions in tst-audit.h.
17405 * sysdeps/i386/tst-audit.h: New file.
17406 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
17407 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
17408 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
17409 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
17410 * sysdeps/sh/tst-audit.h: Likewise.
17411 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
17412 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
17413 * sysdeps/x86_64/tst-audit.h: Likewise.
17414
bfc07087
AJ
174152012-07-26 Andreas Jaeger <aj@suse.de>
17416
b1b2aaf8
AJ
17417 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
17418 ptrace.
17419
17420 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
17421 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
17422 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
17423 PTRACE_O_MASK.
17424 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
17425 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
17426 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
17427
bfc07087
AJ
17428 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
17429 value.
17430
17431 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
17432 _sigsys.
17433 (si_call_addr, si_syscall, si_arch): Define new macro.
17434 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
17435 _sigsys.
17436 (si_call_addr, si_syscall, si_arch): Define new marcro.
17437 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
17438 _sigsys.
17439 (si_call_addr, si_syscall, si_arch): Define new macro.
17440 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
17441 _sigsys.
17442 (si_call_addr, si_syscall, si_arch): Define new macro.
17443
89b4b02f
JM
174442012-07-25 Joseph Myers <joseph@codesourcery.com>
17445
17446 [BZ #13717]
17447 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17448 Change to 2.4.21 where previously 2.4.1.
17449 * sysdeps/unix/sysv/linux/configure: Regenerated.
17450 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
17451 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
17452 Linux kernel version.
17453 (__ASSUME_STD_AUXV): Remove.
17454 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
17455 kernel version.
17456 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
17457 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
17458 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
17459 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
17460 (__ASSUME_NETLINK_SUPPORT): Likewise.
17461 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
17462 (__no_netlink_support): Remove conditional definition.
17463 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
17464 Remove.
17465 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
17466 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
17467 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
17468 (if_nameindex_ioctl): Remove.
17469 (if_nameindex_netlink): Do not handle __no_netlink_support.
17470 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
17471 code.
17472 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
17473 Remove conditional code.
17474 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
17475 code.
17476 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
17477 unconditional.
17478 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
17479 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
17480 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
17481 Remove.
17482 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
17483 [!__ASSUME_STD_AUXV]: Remove conditional code.
17484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
17485 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
17486 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
17487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
17488 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
17489 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
17490 code.
17491 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
17492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17493 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
17494 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
17495 conditional code.
17496 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
17497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
17498 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
17499 code.
17500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17501 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
17502 conditional code.
17503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
17504 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17505 code unconditional.
17506 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17507 conditional code.
17508 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17509 unconditional.
17510 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17511 conditional code.
17512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17513 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17514 unconditional.
17515 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17516 conditional code.
17517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
17518 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17519 code unconditional.
17520 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17521 conditional code.
17522 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17523 unconditional.
17524 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17525 conditional code.
17526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
17527 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17528 code unconditional.
17529 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17530 conditional code.
17531 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17532 unconditional.
17533 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17534 conditional code.
17535
842a39cd
AS
175362012-07-25 Andreas Schwab <schwab@linux-m68k.org>
17537
17538 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
17539 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
17540 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
17541 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
17542 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
17543 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
17544 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
17545 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
17546 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
17547 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
17548 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
17549 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
17550 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
17551 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
17552 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
17553 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
17554 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
17555 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
17556 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
17557 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
17558 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
17559 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
17560 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
17561
84b3fd84
FW
175622012-07-25 Florian Weimer <fweimer@redhat.com>
17563
17564 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
17565 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
17566 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
17567 Introduce __libc_secure_getenv.
0c7936d5
FW
17568 * stdlib/Versions (2.17): Add secure_getenv
17569 (GLIBC_PRIVATE): Add __libc_secure_getenv.
17570 * stdlib/secure-getenv.c: Rename __secure_getenv to
17571 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
17572 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
17573 * stdlib/tst-secure-getenv.c: New.
17574 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
17575 * manual/startup.texi (Environment Access): Document
17576 secure_getenv.
84b3fd84
FW
17577 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
17578 __libc_secure_getenv.
17579 * inet/ruserpass.c (ruserpass): Likewise.
17580 * malloc/mtrace.c (mtrace): Likewise.
17581 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 17582 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
17583 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
17584 * sysdeps/posix/tempname.c: Likewise. Evaluate
17585 HAVE_SECURE_GETENV.
17586 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 17587 __secure_getenv to __libc_secure_getenv.
84b3fd84 17588 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
17589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17590 Likewise.
17591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17592 Likewise.
17593 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
17594 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
17595 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17596 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
17597 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
17598 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17599 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 17600
56e49b71
JM
176012012-07-25 Joseph Myers <joseph@codesourcery.com>
17602
17603 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
17604 (struct La_i86_retval): Likewise.
17605 (struct La_x86_64_regs): Likewise.
17606 (struct La_x86_64_retval): Likewise.
17607 (struct La_x32_regs): Likewise.
17608 (struct La_x32_retval): Likewise.
17609 (struct La_ppc32_regs): Likewise.
17610 (struct La_ppc32_retval): Likewise.
17611 (struct La_ppc64_regs): Likewise.
17612 (struct La_ppc64_retval): Likewise.
17613 (struct La_sh_regs): Likewise.
17614 (struct La_sh_retval): Likewise.
17615 (struct La_s390_32_regs): Likewise.
17616 (struct La_s390_32_retval): Likewise.
17617 (struct La_s390_64_regs): Likewise.
17618 (struct La_s390_64_retval): Likewise.
17619 (struct La_sparc32_regs): Likewise.
17620 (struct La_sparc32_retval): Likewise.
17621 (struct La_sparc64_regs): Likewise.
17622 (struct La_sparc64_retval): Likewise.
17623 (struct audit_ifaces): Remove architecture-specific pltenter and
17624 pltexit members.
17625 * sysdeps/i386/ldsodefs.h: New file.
17626 * sysdeps/powerpc/ldsodefs.h: Likewise.
17627 * sysdeps/s390/ldsodefs.h: Likewise.
17628 * sysdeps/sh/ldsodefs.h: Likewise.
17629 * sysdeps/sparc/ldsodefs.h: Likewise.
17630 * sysdeps/x86_64/ldsodefs.h: Likewise.
17631
354691b7
MP
176322012-07-25 Marek Polacek <polacek@redhat.com>
17633
17634 [BZ #6808]
17635 * math/libm-test.inc (yn_test): Add another test.
17636 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
17637 to ERANGE when the result is +-Inf.
17638 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
17639 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
17640 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
17641 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
17642
bf9e2071
JM
176432012-07-24 Joseph Myers <joseph@codesourcery.com>
17644
17645 * conform/data/time.h-data (NULL): Use macro-constant. Require
17646 equal to 0.
17647 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
17648 clock_t.
17649 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
17650
57633811
TS
176512012-07-23 Thomas Schwinge <thomas@codesourcery.com>
17652
17653 * configure.in <sysdeps resolving>: Correct printing
17654 Implies_before.
17655 * configure: Regenerate.
17656
c23c33b0
TS
176572012-07-22 Thomas Schwinge <thomas@codesourcery.com>
17658
17659 * math/w_ilogb.c: Include <limits.h>.
17660 * math/w_ilogbl.c: Likewise.
17661
b5982523
JM
176622012-07-20 Joseph Myers <joseph@codesourcery.com>
17663
17664 * manual/lang.texi (__va_copy): Document primarily as ISO C99
17665 va_copy. Document allowing for unavailable va_copy only as
17666 pre-C99 compatibility.
17667 * manual/string.texi (Copying and Concatenation): Use va_copy
17668 instead of __va_copy in concat example.
17669
ac4ea442
PT
176702012-07-20 Pino Toscano <toscano.pino@tiscali.it>
17671
17672 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
17673 (__sendto): Use create_address_port. Initialize APORT and deallocate
17674 it if not null.
17675
f98eafbd
PT
17676 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
17677 with O_NOLINK passed to __file_name_lookup.
17678
898c7aab
PT
17679 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
17680 with O_NOLINK passed to __file_name_lookup.
17681
0ced335a
PT
17682 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
17683 negative N or less than NGIDS.
17684
b3404dbd
PT
17685 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
17686 type to string_t. Set ERANGE as errno and return it if NAME is not big
17687 enough. Use memcpy instead of strncpy.
17688
0f48659e
JM
176892012-07-20 Joseph Myers <joseph@codesourcery.com>
17690
17691 * elf/Makefile (check-data): Remove.
17692 (localplt.data): New vpath directive.
17693 ($(objpfx)check-localplt.out): Use localplt.data from vpath
17694 instead of $(check-data).
17695 * scripts/data/localplt-generic.data: Move to ...
17696 * sysdeps/generic/localplt.data: ... here.
17697 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
17698 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
17699 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
17700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
17701 ... here.
17702 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
17703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
17704 ... here.
17705 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
17706 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
17707 ... here.
17708 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
17709 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
17710 ... here.
17711 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
17712 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
17713 ... here.
17714 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
17715 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
17716 ... here.
17717
d37cbdaa
AZ
177182012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17719
17720 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
17721 PPC32 and PPC64 files.
17722 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
17723 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
17724
46f85fc2
AK
177252012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17726
17727 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
17728 __makecontext_ret to ...
17729 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
17730 ... here and call exit if uc_link is NULL. New file.
17731 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
17732 __makecontext_ret.S.
17733 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
17734 __makecontext_ret to ...
17735 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
17736 ... here and call exit if uc_link is NULL. New file.
17737 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
17738 __makecontext_ret.S.
17739
08f43f9b
AK
177402012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17741
17742 * elf/elf.h (R_390_IRELATIVE): New definition.
17743 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
17744 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
17745 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
17746 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
17747 (elf_machine_lazy_rel): Likewise.
17748 * sysdeps/s390/dl-irel.h: New file.
17749 * sysdeps/s390/s390-64/memcpy.S: New asm code.
17750 * sysdeps/s390/s390-64/memset.S: New asm code.
17751 * sysdeps/s390/s390-64/memcmp.S: New asm code.
17752 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
17753 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
17754 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
17755 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
17756 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
17757 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
17758 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
17759 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
17760 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
17761 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
17762 * sysdeps/s390/s390-32/memcpy.S: New asm code.
17763 * sysdeps/s390/s390-32/memset.S: New asm code.
17764 * sysdeps/s390/s390-32/memcmp.S: New asm code.
17765
3b05db33
MP
177662012-07-17 Marek Polacek <polacek@redhat.com>
17767
17768 [BZ #14349]
17769 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
17770 * sysdeps/s390/s390-64/configure.in: Likewise.
17771 * sysdeps/sparc/configure.in: Likewise.
17772 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
17773 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
17774 * sysdeps/i386/configure.in: Likewise.
17775 * sysdeps/x86_64/configure.in: Likewise.
17776 * sysdeps/sh/configure.in: Likewise.
17777 * sysdeps/s390/s390-32/configure: Regenerated.
17778 * sysdeps/s390/s390-64/configure: Likewise.
17779 * sysdeps/x86_64/configure: Likewise.
17780 * sysdeps/sh/configure: Likewise.
17781 * sysdeps/powerpc/powerpc64/configure: Likewise.
17782 * sysdeps/powerpc/powerpc32/configure: Likewise.
17783 * sysdeps/sparc/configure: Likwise.
17784 * sysdeps/i386/configure: Likewise.
17785
a66877c6
MP
17786 * elf/dl-open.c: Comment fixes.
17787
cfc82fd8
JM
177882012-07-17 Joseph Myers <joseph@codesourcery.com>
17789
bd29910a
JM
17790 * Makefile [CXX] (check-data): Remove.
17791 [CXX] (c++-types.data): New vpath directive.
17792 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
17793 vpath. Do not allow for C++ type data being missing.
17794 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
17795 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
17796 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
17797 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
17798 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
17799 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
17800 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
17801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
17802 ... here.
17803 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
17804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
17805 ... here.
17806 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
17807 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
17808 ... here.
17809 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
17810 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
17811 ... here.
17812 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
17813 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
17814 ... here.
17815 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
17816 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
17817 ... here.
17818 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
17819 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
17820 ... here.
17821 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
17822 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
17823
cfc82fd8
JM
17824 * elf/tls-macros.h (TLS_LE): Move architecture-specific
17825 definitions to architecture-specific files.
17826 (TLS_IE): Likewise.
17827 (TLS_LD): Likewise.
17828 (TLS_GD): Likewise.
17829 * sysdeps/i386/tls-macros.h: New file.
17830 * sysdeps/powerpc/tls-macros.h: Likewise.
17831 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
17832 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
17833 * sysdeps/sh/tls-macros.h: Likewise.
17834 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
17835 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
17836 * sysdeps/x86_64/tls-macros.h: Likewise.
17837
f7db3170
TS
178382012-07-17 Thomas Schwinge <thomas@codesourcery.com>
17839
07cbfc23
TS
17840 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
17841 zero value for regular exit case.
17842
f7db3170
TS
17843 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
17844 (__start_context): Preserve zero value for regular exit case.
17845
dc97c227
TS
178462012-07-17 Thomas Schwinge <thomas@codesourcery.com>
17847 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17848
17849 * manual/setjmp.texi (setcontext): Clarify normal process
17850 termination when uc_link is the null pointer.
17851 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
17852 exit call.
17853
d0cd7d02
AS
178542012-07-16 Andreas Schwab <schwab@linux-m68k.org>
17855
17856 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
17857 preprocessor. Test for each exception mask separately.
17858
dd318934
AJ
178592012-07-16 Andreas Jaeger <aj@suse.de>
17860
17861 * po/ru.po: Update from translation team.
17862
8048311a
JM
178632012-07-15 Joseph Myers <joseph@codesourcery.com>
17864
17865 * conform/data/string.h-data (NULL): Use macro-constant. Require
17866 equal to 0.
17867 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
17868 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
17869 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
17870 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
17871 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17872
b637d46e
AJ
178732012-07-13 Andreas Jaeger <aj@suse.de>
17874
17875 * po/fr.po: Update from translation team.
17876
541428fe
MP
178772012-07-12 Marek Polacek <polacek@redhat.com>
17878
17879 [BZ #14173]
17880 * math/libm-test.inc (yn_test): Add test for BZ #14173.
17881 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
17882 loop condition.
17883
ec332e94
JM
178842012-07-12 Joseph Myers <joseph@codesourcery.com>
17885
17886 [BZ #13717]
17887 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17888 Change to 2.4.1 where previously 2.4.0.
17889 * sysdeps/unix/sysv/linux/configure: Regenerated.
17890 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
17891 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
17892 version.
17893 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
17894 (__ASSUME_AT_CLKTCK): Remove.
17895 (__ASSUME_AT_PAGESIZE): Likewise.
17896 (__ASSUME_AT_XID): Likewise.
17897 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
17898 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
17899 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
17900 unconditionally.
17901 (HAVE_AUX_PAGESIZE): Likewise.
17902 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
17903 [__ASSUME_AT_CLKTCK]: Make code unconditional.
17904 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
17905
7b6e99be
JB
179062012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
17907
17908 [BZ #14307]
17909 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
17910 the temporary buffer used to invoke __gethostbyname2_r,
17911 __gethostbyaddr_r and gethostbyname4_r to make room for struct
17912 host_data / struct gaih_addrtuple.
17913 * resolv/nss_dns/dns-host.c (global scope): Move definition of
17914 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
17915 header file nss/nsswitch.h.
17916 * nss/nsswitch.h (global scope): Add definition of implementation
17917 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
17918 resolv/nss_dns/dns-host.c).
17919
608404eb
AJ
179202012-07-11 Andreas Jaeger <aj@suse.de>
17921
17922 * po/fr.po: Update from translation team.
17923
71220aca
AJ
17924 * po/sv.po: Update from translation team
17925 * po/fr.po: Another update from translation team.
17926
28cfe843
AZ
179272012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17928
17929 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
17930 for subnormals or multiply small sinh result by itself.
17931 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
17932 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17933
6b90f981
DM
179342012-07-11 David S. Miller <davem@davemloft.net>
17935
17936 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17937
c6825772
AS
179382012-07-10 Andreas Schwab <schwab@linux-m68k.org>
17939
17940 [BZ #14347]
17941 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
17942 (INTERNAL_MARK): Shift it here.
17943
7b8e0d49
MP
179442012-07-10 Marek Polacek <polacek@redhat.com>
17945
17946 [BZ #14151]
17947 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
17948 libc_cv_asm_global_directive with .globl.
17949 * configure: Regenerated.
17950 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
17951 with .globl.
17952 * sysdeps/i386/configure: Regenerated.
17953 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
17954 with .globl.
17955 * sysdeps/x86_64/configure: Regenerated.
17956 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
17957 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
17958 * elf/tst-unique2mod2.c: Likewise.
17959 * elf/tst-unique2mod1.c: Likewise.
17960 * elf/tst-unique1mod2.c: Likewise.
17961 * elf/tst-unique1mod1.c: Likewise.
17962 * sysdeps/s390/s390-32/sysdep.h: Likewise.
17963 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
17964 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17965 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17966 * sysdeps/mach/sysdep.h: Likewise.
17967 * sysdeps/i386/sysdep.h: Likewise.
17968 * sysdeps/i386/i386-mcount.S: Likewise.
17969 * sysdeps/x86_64/_mcount.S: Likewise.
17970 * sysdeps/x86_64/sysdep.h: Likewise.
17971 * sysdeps/sh/_mcount.S: Likewise.
17972 * sysdeps/sh/sysdep.h: Likewise.
17973 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
17974 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
17975 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
17976 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
17977 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
17978 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
17979 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
17980 * locale/localeinfo.h: Likewise.
17981 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
17982 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
17983
6c55cda3
RM
179842012-07-09 Roland McGrath <roland@hack.frob.com>
17985
17986 [BZ #14336]
17987 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
17988 system".
17989 * manual/message.texi (The Uniforum approach): Likewise.
17990 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
17991 (glibc iconv Implementation): Likewise.
17992
638a572e
JM
179932012-07-09 Joseph Myers <joseph@codesourcery.com>
17994
17995 [BZ #14337]
17996 * math/s_clog.c (__clog): Avoid scaling a value down where that
17997 could result in underflow.
17998 * math/s_clog10.c (__clog10): Likewise.
17999 * math/s_clog10f.c (__clog10f): Likewise.
18000 * math/s_clog10l.c (__clog10l): Likewise.
18001 * math/s_clogf.c (__clogf): Likewise.
18002 * math/s_clogl.c (__clogl): Likewise.
18003 * math/libm-test.inc (clog_test): Add more tests.
18004 (clog10_test): Likewise.
18005 * sysdeps/i386/fpu/libm-test-ulps: Update.
18006 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18007
261f4859
AS
180082012-07-06 Andreas Schwab <schwab@linux-m68k.org>
18009
0abaf3e4
AS
18010 [BZ #14283]
18011 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
18012 by 7 not 8 to examine high bit of fractional part.
18013
261f4859
AS
18014 [BZ #14042]
18015 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
18016 for call to __mcount_internal.
18017 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
18018 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
18019 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
18020
f17ac40d
JM
180212012-07-06 Joseph Myers <joseph@codesourcery.com>
18022
9ad63c23
JM
18023 [BZ #14154]
18024 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
18025 approximation for values within 0x1p-13f of an odd multiple of
18026 pi/4.
18027 * math/libm-test.inc (tan_test): Do not allow spurious underflow
18028 exception. Add more tests.
18029 * sysdeps/i386/fpu/libm-test-ulps: Update.
18030
f17ac40d
JM
18031 [BZ #6778]
18032 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
18033 inputs and return -1 for them. Do not check for +Inf in case not
18034 reachable for +Inf.
18035 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
18036 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
18037 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
18038 and return -1 for them. Do not check for +Inf in case not
18039 reachable for +Inf.
18040 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
18041 define.
18042 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
18043 and return -1 for them. Do not check for +Inf in case not
18044 reachable for +Inf.
18045 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
18046 spurious underflow.
18047 * sysdeps/i386/fpu/libm-test-ulps: Update.
18048 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18049
fb21f89b
MF
180502012-07-06 Mike Frysinger <vapier@gentoo.org>
18051
18052 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
18053
cdfe2c5e
JM
180542012-07-05 Joseph Myers <joseph@codesourcery.com>
18055
18056 [BZ #14157]
18057 [BZ #14331]
18058 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
18059 could result in spurious underflow. Scale down values above
18060 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
18061 * math/s_csqrtf.c (__csqrtf): Likewise.
18062 * math/s_csqrtl.c (__csqrtl): Likewise.
18063 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
18064 spurious underflow.
18065 * sysdeps/i386/fpu/libm-test-ulps: Update.
18066 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18067
70d35b67
AS
180682012-07-04 Andreas Schwab <schwab@linux-m68k.org>
18069
704bc459
AS
18070 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
18071 xopen-msg.sed.
18072 * catgets/xopen-msg.awk: New file.
18073 * catgets/xopen-msg.sed: Removed.
18074
70d35b67
AS
18075 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
18076 po2text.sed.
18077 * intl/po2test.awk: New file.
18078 * intl/po2test.sed: Removed.
18079
ca61cf32
JM
180802012-07-04 Joseph Myers <joseph@codesourcery.com>
18081
18082 [BZ #14328]
18083 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
18084 or multiply small sinh result by itself.
18085 * math/s_ctanf.c (__ctanf): Likewise.
18086 * math/s_ctanh.c (__ctanh): Likewise.
18087 * math/s_ctanhf.c (__ctanhf): Likewise.
18088 * math/s_ctanhl.c (__ctanhl): Likewise.
18089 * math/s_ctanl.c (__ctanl): Likewise.
18090 * math/libm-test.inc (ctan_test_tonearest): New function.
18091 (ctan_test_towardzero): Likewise.
18092 (ctan_test_downward): Likewise.
18093 (ctan_test_upward): Likewise.
18094 (ctanh_test_tonearest): Likewise.
18095 (ctanh_test_towardzero): Likewise.
18096 (ctanh_test_downward): Likewise.
18097 (ctanh_test_upward): Likewise.
18098 (main): Call these new functions.
18099 * sysdeps/i386/fpu/libm-test-ulps: Update.
18100 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18101
ca48a46a
MF
181022012-07-03 Mike Frysinger <vapier@gentoo.org>
18103
18104 * .gitignore: Delete /ports entry.
18105
9d63d37d
AJ
181062012-07-03 Andreas Jaeger <aj@suse.de>
18107
18108 * po/bg.po: Update from translation team.
18109 * po/cs.po: Likewise.
18110 * po/de.po: Likewise.
18111 * po/hr.po: Likewise.
18112 * po/nl.pl: Likewise.
18113 * po/pl.po: Likewise.
18114 * po/vi.po: Likewise.
18115
370ca3d2
JM
181162012-07-03 Joseph Myers <joseph@codesourcery.com>
18117
95f5a9a8
JM
18118 * Makeconfig [!+link] (+link-before-libc): New variable.
18119 [!+link] (+link-after-libc): Likewise.
18120 [!+link] (+link-tests): Likewise.
18121 [!+link] (+link): Define in terms of $(+link-before-libc) and
18122 $(+link-after-libc).
18123 [!+link-static] (+link-static-before-libc): New variable.
18124 [!+link-static] (+link-static-after-libc): Likewise.
18125 [!+link-static] (+link-static-tests): Likewise.
18126 [!+link-static] (+link-static): Define in terms of
18127 $(+link-static-before-libc) and $(+link-static-after-libc).
18128 [build-shared] (link-libc-before-gnulib): New variable.
18129 [build-shared] (link-libc-tests): Likewise.
18130 [build-shared] (link-libc): Define in terms of
18131 $(link-libc-before-gnulib).
18132 [!build-shared] (link-libc-tests): New variable.
18133 (link-libc-static-tests): New variable.
18134 [!gnulib] (gnulib-arch): New variable.
18135 [!gnulib] (gnulib-tests): Likewise.
18136 [!gnulib] (static-gnulib-arch): Likewise.
18137 [!gnulib] (static-gnulib-tests): Likewise.
18138 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
18139 Define with "=" instead of ":=".
18140 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
18141 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
18142 * Rules (binaries-all-notests): New variable.
18143 (binaries-all-tests): Likewise.
18144 (binaries-static-notests): Likewise.
18145 (binaries-static-tests): Likewise.
18146 (binaries-all): Define using $(binaries-all-notests) and
18147 $(binaries-all-tests).
18148 (binaries-static): Define using $(binaries-static-notests) and
18149 $(binaries-static-tests).
18150 (binaries-shared-tests): New variable.
18151 (binaries-shared-notests): Likewise.
18152 (binaries-shared): Remove variable.
18153 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
18154 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
18155 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
18156 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
18157 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
18158 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
18159 * elf/Makefile (sln-modules): New variable.
18160 (extra-objs): Add $(sln-modules:=.o).
18161 (ldconfig-modules): Add static-stubs.
18162 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
18163 * elf/static-stubs.c: New file.
18164
7a845b2c
JM
18165 [BZ #14283]
18166 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
18167 by 7 not 8 to examine high bit of fractional part. Use volatile
18168 variables when splitting into final array of floats if
18169 __FLT_EVAL_METHOD__ != 0.
18170 * math/libm-test.inc (cos_test): Add another test.
18171 (sin_test): Likewise.
18172 * sysdeps/i386/fpu/libm-test-ulps: Update.
18173
e2283f38
JM
18174 [BZ #14273]
18175 * math/libm-test.inc (cosh_test): Add more tests.
18176
370ca3d2
JM
18177 * version.h (RELEASE): Set to "development".
18178 (VERSION): Set to "2.16.90".
18179
ee9247c3
CD
181802012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
18181
18182 * NEWS: Update copyright. Remove last-updated date.
18183 Mention math library bug fixes and timezone data changes.
18184 * README: Mention GNU/Hurd, x32, and HPPA support status.
18185
4648c381
TS
181862012-06-28 Thomas Schwinge <thomas@codesourcery.com>
18187
18188 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
18189
aac78a43
AJ
181902012-06-27 Andreas Jaeger <aj@suse.de>
18191
18192 * manual/contrib.texi (Contributors): Add Samuel Thibault.
18193
ed3dbfad
AJ
181942012-06-25 Andreas Jaeger <aj@suse.de>
18195
18196 * sysdeps/s390/fpu/libm-test-ulps: Update.
18197
4d0ee855
AS
181982012-06-23 Andreas Schwab <schwab@linux-m68k.org>
18199 Thomas Schwinge <thomas@codesourcery.com>
18200
18201 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
18202 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
18203 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
18204 fanotify_mark.
18205
af1bce34
TS
182062012-06-23 Thomas Schwinge <thomas@codesourcery.com>
18207
a9fa33ba
TS
18208 * sysdeps/mach/start.c: Remove file.
18209 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
18210 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
18211 * sysdeps/sh/init-first.c: Likewise.
18212
58f902b8
TS
18213 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
18214 registers for frame unwinding purposes, add CFI directives.
18215 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
18216 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
18217 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
18218 Likewise.
18219
1518f58b
TS
18220 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
18221 __fortify_fail returning.
18222 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
18223
db9b5059
TS
18224 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
18225 sysdeps/sh/____longjmp_chk.S.
18226 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
18227 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
18228 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
18229 (gen-as-const-headers): Append sigaltstack-offsets.sym.
18230
967705fe
TS
18231 * sysdeps/sh/abort-instr.h: New file.
18232 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
18233 process in case exit returns.
18234
a9def8c4
TS
18235 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
18236 initialize the GOT register before use.
18237
2a649725
TS
18238 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
18239 calculation of ARGC > 4.
18240
af1bce34
TS
18241 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
18242 meaningful names to some local labels.
18243
d230f50a
KK
182442012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
18245 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18246
18247 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
18248 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
18249 (__arch_compare_and_exchange_val_16_acq): Likewise.
18250 (__arch_compare_and_exchange_val_32_acq): Likewise.
18251 (atomic_exchange_and_add): Fix gUSA sequence.
18252 (atomic_add): Likewise.
18253 (atomic_add_negative): Likewise.
18254 (atomic_add_zero): Likewise.
18255 (atomic_bit_test_set): Likewise.
18256
0479b305
AS
182572012-06-22 Andreas Schwab <schwab@redhat.com>
18258
18259 [BZ #13579]
18260 * include/link.h (struct link_map): Add l_free_initfini.
18261 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
18262 l_initfini.
18263 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
18264 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
18265 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
18266 set.
18267
0e3933b9
CD
182682012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
18269
18270 * configure.in: Use AC_LANG_SOURCE.
18271 * configure: Regenerate.
18272
4248b1b1
RM
182732012-06-22 Roland McGrath <roland@hack.frob.com>
18274
18275 * configure.in (libc_cv_localstatedir): New substituted variable.
18276 * configure: Regenerated.
18277 * config.make.in (localstatedir): New variable, substituted from
18278 libc_cv_localstatedir.
18279 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
18280 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
18281 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
18282 * sysdeps/gnu/configure: Regenerated.
18283
006dd861
JL
182842012-06-21 Jeff Law <law@redhat.com>
18285
18286 [BZ #14277]
18287 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
18288 free. Simplify list management for _LIBC case.
18289
79662d42
JM
182902012-06-21 Joseph Myers <joseph@codesourcery.com>
18291
b7abb4bf
JM
18292 [BZ #14273]
18293 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
18294 Clear sign bit of 64-bit integer value before comparing against
18295 overflow value.
18296
79662d42
JM
18297 * sysdeps/mach/configure: Regenerated.
18298
1f150908
L
182992012-06-21 H.J. Lu <hongjiu.lu@intel.com>
18300
18301 [BZ #14278]
18302 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
18303
28363bbf
JL
183042012-06-21 Jeff Law <law@redhat.com>
18305
18306 [BZ #13882]
18307 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
18308 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 18309 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
18310 * elf/dl-open.c (dl_open_worker): Likewise.
18311
09615db4
CD
183122012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
18313
18314 * scripts/list-sources.sh: Scan PORTS for translations.
18315 * po/libc.pot: Regenerated.
18316
2174c6dd
AJ
183172012-06-21 Andreas Jaeger <aj@suse.de>
18318
18319 [BZ #12194]
18320 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
18321 warning.
18322 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
18323 * bits/byteswap-16.h (__bswap_16): Likewise.
18324 * bits/byteswap.h (__bswap_constant_16): Likewise.
18325
3ee947b1
L
183262012-06-18 H.J. Lu <hongjiu.lu@intel.com>
18327
18328 [BZ #14117]
a2f34833
L
18329 * sysdeps/i386/fpu_control.h: Removed.
18330 * sysdeps/x86_64/fpu_control.h: Moved to ...
18331 * sysdeps/x86/fpu_control.h: Here.
18332
3ee947b1
L
18333 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
18334 (_FPU_SETCW): Likewise.
18335
ed1825f8
L
183362012-06-15 H.J. Lu <hongjiu.lu@intel.com>
18337
25f1282a
L
18338 [BZ #14117]
18339 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
18340 * sysdeps/x86/fpu/bits/mathinline.h: This.
18341 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
18342
ed1825f8
L
18343 [BZ #14050]
18344 [BZ #14117]
18345 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
18346 functions if __x86_64__ is defined.
18347
36d54b74
CLT
183482012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
18349
18350 * string/endian.h: Add !__ASSEMBLER__ condition for including
18351 conversion interfaces.
18352
10285c21
JM
183532012-06-15 Joseph Myers <joseph@codesourcery.com>
18354
18355 [BZ #14241]
18356 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
18357 of ABS(x) in calculating zero to negative powers other than odd
18358 integers.
18359 * math/libm-test.inc (pow_test): Add more tests.
18360
06c5abbd
AJ
183612012-06-15 Andreas Jaeger <aj@suse.de>
18362
18363 * manual/contrib.texi (Contributors): Update entry of Liubov
18364 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
18365 Machado Filho.
18366
a3aeac40
CH
183672012-06-15 Cyril Hrubis <metan@ucw.cz>
18368
18369 * string/string.h: Add __wur to GNU version of strerror_r.
18370
49bdf4c1
L
183712012-06-14 H.J. Lu <hongjiu.lu@intel.com>
18372
18373 [BZ #14229]
18374 * string/Makefile (tests): Add tst-strtok_r.
18375 * string/tst-strtok_r.c: New file.
18376 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
18377 RAX_LP/RDX_LP on SAVE_PTR.
18378
834f9b8d
RM
183792012-06-14 Roland McGrath <roland@hack.frob.com>
18380
18381 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
18382
75fa1921
JM
183832012-06-14 Joseph Myers <joseph@codesourcery.com>
18384
18385 * libm_test.inc (csqrt_test): Allow more spurious underflow
18386 exceptions.
18387 (j0_test): Likewise.
18388 (j1_test): Likewise.
18389 (y0_test): Likewise.
18390 (y1_test): Likewise.
18391
771766df
CD
183922012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
18393
18394 * po/Makefile (libc.pot): Use UTF-8 charset.
18395
ceb9e56b
PP
183962012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
18397
18398 [BZ #14210]
18399 Suppress sign-conversion warning from FD_SET.
18400 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
18401 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
18402 not unsigned long int.
18403 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
18404
ddb28975
L
184052012-06-12 H.J. Lu <hongjiu.lu@intel.com>
18406
18407 [BZ #14050]
18408 [BZ #14117]
18409 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
18410 __extern_always_inline instead of __extern_inline.
18411 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
18412 (__signbit): Likewise.
18413 (__signbitl): Support C++ namespace.
18414 (lrintf): New inline function.
18415 (lrint): Likewise.
18416 (llrintf): Likewise.
18417 (llrint): Likewise.
18418 (fmaxf): Likewise.
18419 (fmax): Likewise.
18420 (fminf): Likewise.
18421 (fmin): Likewise.
18422 (rint): Likewise.
18423 (rintf): Likewise.
18424 (ceil): Likewise.
18425 (ceilf): Likewise.
18426 (floor): Likewise.
18427 (floorf): Likewise.
18428 (nearbyint): Likewise.
18429 (nearbyintf): Likewise.
18430
d7b4fb26
TS
184312012-06-12 Thomas Schwinge <thomas@codesourcery.com>
18432
18433 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
18434 non-default versions.
18435
eb55f5c2
RM
184362012-06-11 Roland McGrath <roland@hack.frob.com>
18437
18438 [BZ #14218]
18439 * manual/argp.texi (Argp): Reword argp_parse description slightly.
18440
366af02c
TS
184412012-06-09 Thomas Schwinge <thomas@codesourcery.com>
18442
99ff6e5c
TS
18443 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
18444 (FE_UPWARD, FE_DOWNWARD): Don't define.
18445 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
18446 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
18447
366af02c
TS
18448 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
18449 reading it.
18450 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
18451 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18452
793ea851
KK
184532012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18454
18455 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
18456 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
18457 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
18458 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
18459
a728a38f
L
184602012-06-06 H.J. Lu <hongjiu.lu@intel.com>
18461
18462 [BZ #14117]
c08010c7
L
18463 * sysdeps/i386/fpu/bits/fenv.h: Removed.
18464 * sysdeps/i386/fpu/Implies: New file.
18465 * sysdeps/x86_64/fpu/Implies: Likewise.
18466 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
18467 * sysdeps/x86/fpu/bits/fenv.h: This.
18468
a728a38f
L
18469 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
18470 __SSE_MATH__.
18471
6e230d11
SP
184722012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
18473
18474 [BZ #14134]
18475 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
18476 character 0xffff that matches the last element of the
18477 conversion table.
18478
1b671feb
AZ
184792012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18480
18481 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
18482 fmodl commit.
18483
6043738b
AZ
184842012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18485
18486 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
18487 values higher than 25.6283.
18488
34ae0b32
AZ
184892012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18490
18491 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
18492 subnormal exponent extraction and add some __builtin_expect.
18493 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
18494 Fix for subnormal mantissa calculation.
18495
1214ec8f
MF
184962012-06-04 Mike Frysinger <vapier@gentoo.org>
18497
18498 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
18499 cpu2 is -1 and errno is not ENOSYS.
18500
f3d1f93c
L
185012012-06-04 H.J. Lu <hongjiu.lu@intel.com>
18502
18503 [BZ #14117]
0e4a3cd7
L
18504 * sysdeps/i386/i486/bits/string.h: Renamed to ...
18505 * sysdeps/x86/bits/string.h: This.
18506 * sysdeps/x86_64/bits/string.h: Removed.
18507
6704c645
L
18508 * sysdeps/i386/i486/bits/string.h: Define inline functions only
18509 if not compiling for x86-64, but compiling for >= i486.
18510
48495318
L
18511 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
18512 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
18513
14adcbfc
L
18514 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
18515 New macro from Linux kernel 3.4.0.
18516 (FP_XSTATE_MAGIC2): Likewise.
18517 (FP_XSTATE_MAGIC2_SIZE): Likewise.
18518 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
18519 (struct _fpx_sw_bytes): New struct.
18520 (struct _xsave_hdr): Likewise.
18521 (struct _ymmh_state): Likewise.
18522 (struct _xstate): Likewise.
18523
68e408ab
L
18524 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
18525 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
18526 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
18527 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
18528 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
18529 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
18530
f3d1f93c
L
18531 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
18532 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
18533 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
18534 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
18535 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
18536 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
18537
d9dc34cd
TMQMF
185382012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18539
18540 [BZ #13743]
18541 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
18542 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
18543 (sysdep_headers): Include sys/platform/ppc.h.
18544 * sysdeps/powerpc/test-gettimebase.c: Test for
18545 __ppc_get_timebase() to catch future ISA opcode/insn changes.
18546 * manual/Makefile (appendices): Include platform.texi.
18547 * manual/contrib.texi (Contributors): Update @node pointers.
18548 * manual/maint.texi (Maintenance): Likewise.
18549 (Platform): New node.
18550 * manual/platform.texi: New file. Document the new features.
18551
4af3879c
SP
185522012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18553 Jakub Jelinek <jakub@redhat.com>
18554
18555 [BZ #14188]
18556 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
18557 where __builtin_expect is unavailable.
18558
2fd6ff13
DM
185592012-06-03 David S. Miller <davem@davemloft.net>
18560
18561 * stdlib/longlong.h: Updated from GCC.
18562
173f7220
AS
185632012-06-02 Andreas Schwab <schwab@linux-m68k.org>
18564
18565 [BZ #14042]
18566 * sysdeps/powerpc/powerpc32/mcount.c: New file.
18567 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
18568 __mcount_internal.
18569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
18570 (GLIBC_2.16): Likewise.
18571
f34a1c6f
L
185722012-06-01 H.J. Lu <hongjiu.lu@intel.com>
18573
18574 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
18575
88a4576f
JM
185762012-06-01 Joseph Myers <joseph@codesourcery.com>
18577
ea32bcdd
JM
18578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
18579 (default-abi): New variable.
18580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
18581 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
18582 variable.
18583 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
18584 Likewise.
18585 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
18586 Likewise.
18587 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
18588 Likewise.
18589
88a4576f
JM
18590 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
18591 definition. Document in comment.
18592
402fe938
DM
185932012-06-01 David S. Miller <davem@davemloft.net>
18594
18595 * stdlib/longlong.h: Updated from GCC.
18596
3553723f
L
185972012-06-01 H.J. Lu <hongjiu.lu@intel.com>
18598
18599 [BZ #14117]
3bd872c4
L
18600 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
18601 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
18602 sys/debugreg.h sys/io.h here.
18603 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
18604 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
18605 sys/io.h.
18606 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
18607 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
18608 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
18609 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
18610 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
18611 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
18612
3553723f
L
18613 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
18614 Define only if __x86_64__ is defined.
18615
4842e4fe
JM
186162012-06-01 Joseph Myers <joseph@codesourcery.com>
18617
c5bfe3d5
JM
18618 [BZ #14048]
18619 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
18620 Use int64_t for variable i.
18621 * math/libm-test.inc (fmod_test): Add more tests.
18622
4842e4fe
JM
18623 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
18624 z computation is not scheduled after fetestexcept.
18625 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
18626 Use math_force_eval instead of asm to ensure calculation scheduled
18627 before exception test.
18628 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
18629 Ensure a1 + u.d computation is not scheduled after fetestexcept.
18630
efb73488
AJ
186312012-06-01 Aurelien Jarno <aurelien@aurel32.net>
18632
18633 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
18634 computation is not scheduled after fetestexcept.
18635
29bcce7c
L
186362012-06-01 H.J. Lu <hongjiu.lu@intel.com>
18637
18638 [BZ #14117]
18639 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
18640 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
18641
73a68f94
AZ
186422012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18643
18644 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
18645 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
18646
67b6df78
L
186472012-05-31 H.J. Lu <hongjiu.lu@intel.com>
18648
edf2933a 18649 [BZ #14117]
ebc64a18
L
18650 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
18651 <bits/wordsize.h>.
18652 (__WCHAR_MIN): Support __WORDSIZE == 64.
18653 (__WCHAR_MAX): Likewise.
18654
edf2933a
L
18655 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
18656 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
18657
57c6cf40
L
18658 [BZ #14183]
18659 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
18660 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
18661
67b6df78 18662 [BZ #14117]
8eb6281e
L
18663 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
18664 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
18665
aac639f4
L
18666 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
18667 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
18668
67b6df78
L
18669 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
18670 Defined to 1 if __x86_64__ isn't defined.
18671 (_STAT_VER_LINUX_OLD): New.
18672 (st_atime): Remove duplicate.
18673 (st_mtime): Likewise.
18674 (st_ctime): Likewise.
18675
1c2cfe81
DM
186762012-05-31 David S. Miller <davem@davemloft.net>
18677
18678 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
18679 entries.
18680
5be8418c
AS
186812012-06-01 Andreas Schwab <schwab@linux-m68k.org>
18682
e7725326
AS
18683 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
18684 gen-libm-test.pl.
18685
5be8418c
AS
18686 [BZ #14132]
18687 * elf/dl-reloc.c: Include <_itoa.h>.
18688 (_dl_reloc_bad_type): Remove use of INTUSE.
18689 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
18690 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
18691 * stdio-common/psiginfo.c (psiginfo): Likewise.
18692 * stdio-common/psignal.c (psignal): Likewise.
18693 * string/strsignal.c (strsignal): Likewise.
18694 * include/signal.h (_sys_siglist): Declare hidden proto.
18695 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
18696 INTVARDEF with libc_hidden_data_def.
18697 * stdio-common/itoa-udigits.c: Likewise.
18698 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
18699 (_itoa_lower_digits_internal): Remove declaration.
18700 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
18701 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
18702 (_sys_sigabbrev_internal): Remove aliases.
18703 (_sys_siglist): Define hidden alias.
18704
507352f1
MT
187052012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
18706
18707 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18708 bits/sysctl.h.
18709
42bbb1c3
L
187102012-05-31 H.J. Lu <hongjiu.lu@intel.com>
18711
18712 [BZ #14117]
6bd784b6
L
18713 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
18714 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
18715
8bca20f0
L
18716 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
18717 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
18718 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
18719 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
18720 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
18721 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
18722
f9e890a9
L
18723 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
18724 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
18725 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
18726
471101a1
L
18727 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
18728 with __addr.
18729 (insw): Likewise.
18730 (insl): Likewise.
18731 (outsb): Likewise.
18732 (outsw): Likewise.
18733 (outsl): Likewise.
18734
6451c862
L
18735 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
18736 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
18737 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
18738
a254b8c9
L
18739 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
18740 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
18741 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
18742 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
18743 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
18744 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
18745
b8dfdd92
L
18746 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
18747 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
18748
578cd270
L
18749 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
18750 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
18751
de662f5f
L
18752 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
18753 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
18754 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
18755
25653439
L
18756 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
18757 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
18758 to ...
18759 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
18760
6bad24a0
L
18761 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
18762 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
18763 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
18764
42bbb1c3
L
18765 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
18766 for x86-64.
18767 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
18768
2d10d547
JM
187692012-05-31 Joseph Myers <joseph@codesourcery.com>
18770
18771 * math/math.h (M_El): Use two more decimal places.
18772 (M_LOG2El): Likewise.
18773 (M_LOG10El): Likewise.
18774 (M_LN2l): Likewise.
18775 (M_LN10l): Likewise.
18776 (M_PIl): Likewise.
18777 (M_PI_2l): Likewise.
18778 (M_PI_4l): Likewise.
18779 (M_1_PIl): Likewise.
18780 (M_2_PIl): Likewise.
18781 (M_2_SQRTPIl): Likewise.
18782 (M_SQRT2l): Likewise.
18783 (M_SQRT1_2l): Likewise.
18784
f230c29b
DM
187852012-05-31 David S. Miller <davem@davemloft.net>
18786
18787 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
18788 values between float registers.
18789 * sysdeps/sparc/sparc64/memset.S: Likewise.
18790 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
18791
fed806c3
MF
187922012-05-31 Mike Frysinger <vapier@gentoo.org>
18793
18794 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
18795 -D_FORTIFY_SOURCE=1.
18796 (CPPFLAGS-tst-longjmp_chk.c): Define.
18797 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
18798 (CPPFLAGS-tst-longjmp_chk2.c): Define.
18799 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
18800 CFLAGS-tst-wchar-h.c.
18801
30917259
MP
188022012-05-31 Marek Polacek <polacek@redhat.com>
18803
18804 [BZ #14132]
18805 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
18806 __endmntent_internal): Remove declaration.
18807 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
18808 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
18809 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
18810
1c58d5dc
DM
188112012-05-30 David S. Miller <davem@davemloft.net>
18812
18813 * sysdeps/sparc/sparc32/soft-fp/q_util.c
18814 (___Q_simulate_exceptions): Use real FP ops rather than writing
18815 into the %fsr.
18816 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
18817 Likewise.
18818
7dc00e0d
L
188192012-05-30 H.J. Lu <hongjiu.lu@intel.com>
18820
18821 [BZ #14117]
0bd53985
L
18822 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
18823 * sysdeps/x86/bits/xtitypes.h: This.
18824
3a257e66
L
18825 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
18826 * sysdeps/x86/bits/wordsize.h: This.
18827
62f62904
L
18828 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
18829 * sysdeps/x86/bits/huge_vall.h: This.
18830
404fe9d9
L
18831 * sysdeps/i386/bits/select.h: Removed.
18832 * sysdeps/x86_64/bits/select.h: Renamed to ...
18833 * sysdeps/x86/bits/select.h: This.
18834
d48d0446
L
18835 * sysdeps/i386/bits/setjmp.h: Removed.
18836 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
18837 * sysdeps/x86/bits/setjmp.h: This.
18838
7dc00e0d
L
18839 * sysdeps/i386/bits/mathdef.h: Removed.
18840 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
18841 * sysdeps/x86/bits/mathdef.h: This.
18842
03277f8f
AS
188432012-05-30 Andreas Schwab <schwab@linux-m68k.org>
18844
18845 [BZ #14132]
18846 * include/sys/socket.h (__connect_internal)
18847 (__libc_sa_len_internal): Remove declaration.
18848 (__connect, __libc_sa_len): Declare hidden_proto.
18849 (SA_LEN): Remove use of INTUSE.
18850 * socket/connect.c: Add libc_hidden_def.
18851 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
18852 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
18853 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
18854 alias.
18855 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
18856 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
18857 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
18858 of adding _internal alias.
18859
13764867
L
188602012-05-30 H.J. Lu <hongjiu.lu@intel.com>
18861
18862 [BZ #14117]
6bd97696
L
18863 * sysdeps/i386/bits/link.h: Removed.
18864 * sysdeps/i386/bits/linkmap.h: Likewise.
18865 * sysdeps/x86_64/bits/link.h: Renamed to ...
18866 * sysdeps/x86/bits/link.h: This.
18867 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
18868 * sysdeps/x86/bits/linkmap.h: This.
18869
f726f0bb
L
18870 * sysdeps/i386/bits/endian.h: Removed.
18871 * sysdeps/x86_64/bits/endian.h: Renamed to ...
18872 * sysdeps/x86/bits/endian.h: This.
18873
13764867
L
18874 * sysdeps/i386/bits/byteswap.h: Removed.
18875 * sysdeps/i386/bits/byteswap-16.h: Likewise.
18876 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
18877 * sysdeps/x86/bits/byteswap.h: This.
18878 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
18879 * sysdeps/x86/bits/byteswap-16.h: This.
18880 * sysdeps/i386/Implies: Add x86.
18881 * sysdeps/x86_64/Implies: Likewise.
18882
ae251b0b
DM
188832012-05-30 David S. Miller <davem@davemloft.net>
18884
18885 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
18886 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
18887 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
18888 (FP_TRAPPING_EXCEPTIONS): Define.
18889 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
18890 (FP_TRAPPING_EXCEPTIONS): Define.
18891 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
18892 subnormals only when inexact has been signalled or underflow
18893 exceptions are enabled.
18894 (_FP_PACK_CANONICAL): Likewise.
18895
d5c90867
L
188962012-05-30 H.J. Lu <hongjiu.lu@intel.com>
18897
18898 [BZ #14183]
18899 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
18900 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
18901
63f1549e
RH
189022012-05-30 Richard Henderson <rth@twiddle.net>
18903
8d8f2279
RH
18904 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
18905 with #ifndef NOT_IN_libc.
18906
63f1549e
RH
18907 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
18908 marked to avoid plt entry.
18909
0ab0291b
L
189102012-05-30 H.J. Lu <hongjiu.lu@intel.com>
18911
18912 [BZ #14112]
18913 * Makeconfig (default-abi): New macro.
18914 (abi-includes): Likewise.
18915 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
18916 $(abi-$(default-abi)-lib-soname) for soname if defined.
18917 ($(common-objpfx)gnu/lib-names.stmp): Generate from
18918 abi-variants.
18919 * Makefile (installed-stubs): Likewise.
18920 * include/stubs-biarch.h: Removed.
18921 * scripts/lib-names.awk: Only handle one library at a time.
18922 * scripts/soversions.awk: Remove WORDSIZE support.
18923 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
18924 entries.
18925 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
18926 Removed.
18927 (syscall-list-default-condition): Likewise.
18928 (syscall-list-default-condition): Likewise.
18929 (syscall-list-includes): Likewise.
18930 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
18931 syscall-list-* with abi-*. Handle undefined abi-variants.
18932 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
18933 * sysdeps/unix/sysv/linux/i386/Implies: New file.
18934 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
18935 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
18936 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
18937 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
18938 Removed.
18939 (syscall-list-32-options): Likewise.
18940 (syscall-list-32-condition): Likewise.
18941 (syscall-list-64-options): Likewise.
18942 (syscall-list-64-condition): Likewise.
18943 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
18944 macro.
18945 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
18946 Renamed to ...
18947 (abi-*): This.
18948 (abi-64-ld-soname): New macro.
18949 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
18950 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
18951 Renamed to ...
18952 (abi-*): This.
18953 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
18954 * sysdeps/x86_64/x32/shlib-versions: Likewise.
18955
4da0431d
JM
189562012-05-30 Joseph Myers <joseph@codesourcery.com>
18957
3a85279c
JM
18958 * sysdeps/unix/sysv/linux/kernel-features.h
18959 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
18960 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
18961 include <kernel-features.h>.
18962 [!__NR_ftruncate64]: Remove conditional code.
18963 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18964 [__NR_ftruncate64]: Make code unconditional.
18965 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18966 * sysdeps/unix/sysv/linux/truncate64.c: Do not
18967 include <kernel-features.h>.
18968 [!__NR_ftruncate64]: Remove conditional code.
18969 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18970 [__NR_ftruncate64]: Make code unconditional.
18971 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
18973 include <kernel-features.h>.
18974 [!__NR_ftruncate64]: Remove conditional code.
18975 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18976 [__NR_ftruncate64]: Make code unconditional.
18977 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
18979 include <kernel-features.h>.
18980 [!__NR_ftruncate64]: Remove conditional code.
18981 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18982 [__NR_ftruncate64]: Make code unconditional.
18983 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18984
4da0431d
JM
18985 * configure.in (libc_cv_fpie): Weaken to a compile test using
18986 LIBC_TRY_CC_OPTION.
18987 * configure: Regenerated.
18988
11ef492c
AK
189892012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18990
18991 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
18992 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
18993 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
18994 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18995 Refreshed.
18996 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
18997 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
18998 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
18999 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
19000 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
19001 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19002 Refreshed.
19003
d66ef399
DM
190042012-05-27 David S. Miller <davem@davemloft.net>
19005
19006 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
19007 (___Q_zero): New.
19008 (__Q_simulate_exceptions): Return void. Change to simulate
19009 exceptions by writing into the %fsr.
19010 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
19011 (__Qp_handle_exceptions): Likewise.
19012 (numbers): Delete.
19013 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
19014 __Qp_handle_exceptions.
19015 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
19016 __Qp_handle_exceptions.
19017 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
19018 as unused and give dummy FP_RND_NEAREST initializer.
19019 (FP_INHIBIT_RESULTS): Define.
19020 (___Q_simulate_exceptions): Update declaration.
19021 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
19022 formatting.
19023 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
19024 as unused and give dummy FP_RND_NEAREST initializer.
19025 (__Qp_handle_exceptions): Update declaration.
19026 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
19027 formatting.
19028
04fb54b5
TS
190292012-05-27 Thomas Schwinge <thomas@codesourcery.com>
19030
19031 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
19032 the temporary FPU control word.
19033 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
19034 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
19035 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
19036 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
19037 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
19038 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
19039 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
19040 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
19041 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
19042 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
19043 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
19044
3f99608f
KK
190452012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19046
19047 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
19048 fields.
19049
65a4de4e
CLT
190502012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
19051
19052 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
19053 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
19054 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
19055 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
19056 Likewise.
19057 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
19058 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
19059 Likewise.
19060
15749d40
UD
190612012-05-27 Ulrich Drepper <drepper@gmail.com>
19062
19063 * po/h.po: Update from translation team.
19064
25dbcb27
AS
190652012-05-26 Andreas Schwab <schwab@linux-m68k.org>
19066
3d3f8e55
AS
19067 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
19068
25dbcb27
AS
19069 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
19070 handling of denormals.
19071 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19072 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
19073 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
19074 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
19075 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19076 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
19077 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
19078 Likewise.
19079
7ad47a80 190802012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
19081
19082 [BZ #14152]
19083 * math/libm-test.inc (fma_test): Don't always expect underflow
19084 exception.
19085
9c6ea9fa
SP
190862012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19087
19088 [BZ #12416]
19089 * elf/tst-execstack.c: Include stackinfo.h.
19090 (do_test): Adjust test case to ensure that pthread_getattr_np
19091 behaviour remains the same after marking stack executable.
19092
a8239222
JM
190932012-05-25 Joseph Myers <joseph@codesourcery.com>
19094
19095 * sysdeps/unix/sysv/linux/kernel-features.h
19096 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
19097 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
19098 kernel-features.h.
19099 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
19100 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
19101 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
19102 kernel-features.h.
19103 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
19104 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
19105
918b5606
L
191062012-05-25 H.J. Lu <hongjiu.lu@intel.com>
19107
19108 * configure.in: Define the default includes to being none.
19109 * configure: Regenerated.
19110
3a097cc7
RM
191112012-05-25 Roland McGrath <roland@hack.frob.com>
19112
8422c9a5
RM
19113 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
19114 * sysdeps/x86_64/setjmp.S: Likewise.
19115 * sysdeps/i386/bsd-setjmp.S: Likewise.
19116 * sysdeps/i386/bsd-_setjmp.S: Likewise.
19117 * sysdeps/i386/setjmp.S: Likewise.
19118 * sysdeps/i386/__longjmp.S: Likewise.
19119 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
19120 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
19121
3a097cc7
RM
19122 * include/stap-probe.h: New file.
19123 * configure.in: Handle --enable-systemtap.
19124 * configure: Regenerated.
19125 * config.h.in (USE_STAP_PROBE): New #undef.
19126 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
19127 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
19128 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
19129
21708942
JM
191302012-05-25 Joseph Myers <joseph@codesourcery.com>
19131
19132 [BZ #13717]
19133 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
19134 to 2.4.0 where earlier.
19135 * sysdeps/unix/sysv/linux/configure: Regenerated.
19136 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
19137 <kernel-features.h>.
19138 [__ASSUME_32BITUIDS]: Make code unconditional.
19139 [!__ASSUME_32BITUIDS]: Remove conditional code.
19140 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
19141 <kernel-features.h>.
19142 [__ASSUME_32BITUIDS]: Make code unconditional.
19143 [!__ASSUME_32BITUIDS]: Remove conditional code.
19144 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
19145 [__ASSUME_32BITUIDS]: Make code unconditional.
19146 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
19147 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
19148 <kernel-features.h>.
19149 [__ASSUME_32BITUIDS]: Make code unconditional.
19150 [!__ASSUME_32BITUIDS]: Remove conditional code.
19151 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
19152 <kernel-features.h>.
19153 [__ASSUME_32BITUIDS]: Make code unconditional.
19154 [!__ASSUME_32BITUIDS]: Remove conditional code.
19155 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
19156 <kernel-features.h>.
19157 [__ASSUME_32BITUIDS]: Make code unconditional.
19158 [!__ASSUME_32BITUIDS]: Remove conditional code.
19159 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
19160 <kernel-features.h>.
19161 [__ASSUME_32BITUIDS]: Make code unconditional.
19162 [!__ASSUME_32BITUIDS]: Remove conditional code.
19163 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
19164 <kernel-features.h>.
19165 [__ASSUME_32BITUIDS]: Make code unconditional.
19166 [!__ASSUME_32BITUIDS]: Remove conditional code.
19167 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
19168 <kernel-features.h>.
19169 [__ASSUME_32BITUIDS]: Make code unconditional.
19170 [!__ASSUME_32BITUIDS]: Remove conditional code.
19171 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
19172 <kernel-features.h>.
19173 [__ASSUME_32BITUIDS]: Make code unconditional.
19174 [!__ASSUME_32BITUIDS]: Remove conditional code.
19175 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
19176 <kernel-features.h>.
19177 [__ASSUME_32BITUIDS]: Make code unconditional.
19178 [!__ASSUME_32BITUIDS]: Remove conditional code.
19179 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
19180 <kernel-features.h>.
19181 [__ASSUME_32BITUIDS]: Make code unconditional.
19182 [!__ASSUME_32BITUIDS]: Remove conditional code.
19183 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
19184 <kernel-features.h>.
19185 [__ASSUME_32BITUIDS]: Make code unconditional.
19186 [!__ASSUME_32BITUIDS]: Remove conditional code.
19187 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
19188 <kernel-features.h>.
19189 [__NR_setresgid] (__setresgid): Do not declare.
19190 [__ASSUME_32BITUIDS]: Make code unconditional.
19191 [!__ASSUME_32BITUIDS]: Remove conditional code.
19192 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
19193 <kernel-features.h>.
19194 [__NR_setresuid] (__setresuid): Do not declare.
19195 [__ASSUME_32BITUIDS]: Make code unconditional.
19196 [!__ASSUME_32BITUIDS]: Remove conditional code.
19197 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
19198 <kernel-features.h>.
19199 [__ASSUME_32BITUIDS]: Make code unconditional.
19200 [!__ASSUME_32BITUIDS]: Remove conditional code.
19201 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
19202 <kernel-features.h>.
19203 [__ASSUME_32BITUIDS]: Make code unconditional.
19204 [!__ASSUME_32BITUIDS]: Remove conditional code.
19205 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
19206 <kernel-features.h>.
19207 [__ASSUME_32BITUIDS]: Make code unconditional.
19208 [!__ASSUME_32BITUIDS]: Remove conditional code.
19209 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
19210 <kernel-features.h>.
19211 [__ASSUME_32BITUIDS]: Make code unconditional.
19212 [!__ASSUME_32BITUIDS]: Remove conditional code.
19213 * sysdeps/unix/sysv/linux/i386/setregid.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/i386/setresgid.c: Do not include
19218 <kernel-features.h>.
19219 [__ASSUME_32BITUIDS]: Make code unconditional.
19220 [!__ASSUME_32BITUIDS]: Remove conditional code.
19221 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
19222 <kernel-features.h>.
19223 [__ASSUME_32BITUIDS]: Make code unconditional.
19224 [!__ASSUME_32BITUIDS]: Remove conditional code.
19225 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
19226 <kernel-features.h>.
19227 [__ASSUME_32BITUIDS]: Make code unconditional.
19228 [!__ASSUME_32BITUIDS]: Remove conditional code.
19229 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
19230 <kernel-features.h>.
19231 [__ASSUME_32BITUIDS]: Make code unconditional.
19232 [!__ASSUME_32BITUIDS]: Remove conditional code.
19233 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
19234 <kernel-features.h>.
19235 [__ASSUME_32BITUIDS]: Make code unconditional.
19236 [!__ASSUME_32BITUIDS]: Remove conditional code.
19237 * sysdeps/unix/sysv/linux/kernel-features.h
19238 (__ASSUME_SETRESUID_SYSCALL): Remove.
19239 (__ASSUME_SETRESGID_SYSCALL): Likewise.
19240 (__ASSUME_32BITUIDS): Likewise.
19241 (__ASSUME_LDT_WORKS): Likewise.
19242 (__ASSUME_O_DIRECTORY): Likewise.
19243 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
19244 architecture but not kernel version.
19245 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
19246 (__ASSUME_MMAP2_SYSCALL): Likewise.
19247 (__ASSUME_STAT64_SYSCALL): Likewise.
19248 (__ASSUME_IPC64): Likewise.
19249 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
19250 <kernel-features.h>.
19251 [__ASSUME_32BITUIDS]: Make code unconditional.
19252 [!__ASSUME_32BITUIDS]: Remove conditional code.
19253 * sysdeps/unix/sysv/linux/opendir.c: Do not include
19254 <kernel-features.h>.
19255 [__ASSUME_O_DIRECTORY]: Make code unconditional.
19256 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
19257 132096]: Remove conditional code.
19258 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
19259 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
19260 <kernel-features.h>.
19261 [__ASSUME_32BITUIDS]: Make code unconditional.
19262 [!__ASSUME_32BITUIDS]: Remove conditional code.
19263 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
19264 <kernel-features.h>.
19265 [__ASSUME_32BITUIDS]: Make code unconditional.
19266 [!__ASSUME_32BITUIDS]: Remove conditional code.
19267 * sysdeps/unix/sysv/linux/setegid.c: Do not include
19268 <kernel-features.h>.
19269 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
19270 unconditional.
19271 (__setresgid): Do not declare.
19272 [__ASSUME_32BITUIDS]: Make code unconditional.
19273 [!__ASSUME_32BITUIDS]: Remove conditional code.
19274 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
19275 <kernel-features.h>.
19276 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
19277 unconditional.
19278 (__setresuid): Do not declare.
19279 [__ASSUME_32BITUIDS]: Make code unconditional.
19280 [!__ASSUME_32BITUIDS]: Remove conditional code.
19281 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
19282 <kernel-features.h>.
19283 [__ASSUME_32BITUIDS]: Make code unconditional.
19284 [!__ASSUME_32BITUIDS]: Remove conditional code.
19285 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
19286 <kernel-features.h>.
19287 [__ASSUME_32BITUIDS]: Make code unconditional.
19288 [!__ASSUME_32BITUIDS]: Remove conditional code.
19289
a386f1cc
RH
192902012-05-25 Richard Henderson <rth@twiddle.net>
19291
19292 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
19293 dl_hwcap to ifunc resolver.
19294 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
19295 elf_ifunc_invoke.
19296 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
19297 dl_hwcap to ifunc resolver.
19298 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
19299
b6550497
JM
193002012-05-24 Joseph Myers <joseph@codesourcery.com>
19301
19302 [BZ #14153]
19303 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
19304 for |x| <= 2**-26, not 2**-57.
19305 * math/libm-test.inc (acos_test): Do not allow spurious underflow
19306 exception.
19307
b0bc23a1
JL
193082012-05-24 Jeff Law <law@redhat.com>
19309
19310 * stdio-common/Makefile (tests): Add bug25.
19311 * stdio-common/bug25.c: New test.
19312
347c92e9
L
193132012-05-24 H.J. Lu <hongjiu.lu@intel.com>
19314
19315 [BZ #13576]
19316 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
19317 multiple of MALLOC_ALIGNMENT in size.
19318 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
19319
6bcc8b3f
JM
193202012-05-24 Joseph Myers <joseph@codesourcery.com>
19321
19322 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
19323 Require >= 256.
19324 (FILENAME_MAX): Use macro-int-constant.
19325 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
19326 (_IOFBF): Use macro-int-constant.
19327 (_IOLBF): Likewise.
19328 (_IONBF): Likewise.
19329 (SEEK_CUR): Likewise.
19330 (SEEK_END): Likewise.
19331 (SEEK_SET): Likewise.
19332 (TMP_MAX): Likewise.
19333 (EOF): Use macro-int-constant. Require < 0.
19334 (NULL): Use macro-constant. Require == 0.
19335 (stdin): Require type to be FILE *.
19336 (stdout): Likewise.
19337 (stderr): Likewise.
19338 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
19339 macro-int-constant.
19340 (EXIT_SUCCESS): Likewise.
19341 (NULL): Use macro-constant. Require == 0.
19342 (RAND_MAX): Use macro-int-constant.
19343 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
19344 [C99-based standards] (strtof): Require function.
19345 [C99-based standards] (strtold): Likewise.
19346 [C99-based standards] (strtoll): Likewise.
19347 [C99-based standards] (strtoull): Likewise.
19348 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
19349 [ISO || ISO99 || ISO11] (limits.h): Likewise.
19350 [ISO || ISO99 || ISO11] (math.h): Likewise.
19351 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
19352 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
19353 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19354
d18ea0c5
AS
193552012-05-24 Andreas Schwab <schwab@linux-m68k.org>
19356
19357 [BZ #14132]
56d25bb8
AS
19358 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
19359 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
19360 * intl/dgettext.c (DCGETTEXT): Likewise.
19361 * intl/gettext.c (DCGETTEXT): Likewise.
19362 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
19363 * posix/regex_internal.h (gettext): Likewise.
19364 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
19365 Remove declaration.
19366 * include/argz.h (__argz_count_internal)
19367 (__argz_stringify_internal): Remove declaration.
19368 (__argz_count, __argz_stringify): Declare hidden proto.
19369 * intl/dcgettext.c: Remove use of INTDEF.
19370 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
19371 * string/argz-stringify.c: Likewise.
19372 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
19373 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
19374 Declare hidden proto.
d18ea0c5
AS
19375 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
19376 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
19377 Declare hidden proto.
19378 * include/stdio.h (__asprintf_internal): Don't declare.
19379 (__asprintf): Don't define as macro. Declare hidden proto.
19380 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
19381 (__fsetlocking): Declare hidden proto.
19382 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
19383 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
19384 hidden proto.
19385 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
19386 (_IO_setlinebuf): Remove use of INTUSE.
19387 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
19388 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
19389 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
19390 Remove declaration.
19391 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
19392 (_IO_do_flush): Remove use of INTUSE.
19393 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
19394 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
19395 (_IO_adjust_column, _IO_least_wmarker)
19396 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
19397 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
19398 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
19399 (_IO_default_doallocate, _IO_wdefault_doallocate)
19400 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
19401 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
19402 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
19403 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
19404 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
19405 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
19406 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
19407 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
19408 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
19409 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
19410 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
19411 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
19412 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
19413 proto.
19414 (_IO_flush_all_internal, _IO_adjust_column_internal)
19415 (_IO_default_uflow_internal, _IO_default_finish_internal)
19416 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
19417 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
19418 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
19419 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
19420 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
19421 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
19422 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
19423 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
19424 (_IO_file_close_internal, _IO_file_close_it_internal)
19425 (_IO_file_underflow_internal, _IO_file_overflow_internal)
19426 (_IO_file_init_internal, _IO_file_attach_internal)
19427 (_IO_file_fopen_internal, _IO_file_read_internal)
19428 (_IO_file_sync_internal, _IO_file_seek_internal)
19429 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
19430 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
19431 (_IO_str_underflow_internal, _IO_str_overflow_internal)
19432 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
19433 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
19434 (_IO_list_all_internal, _IO_link_in_internal)
19435 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
19436 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
19437 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
19438 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
19439 (_IO_do_write_internal, _IO_padn_internal)
19440 (_IO_getline_info_internal, _IO_getline_internal)
19441 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
19442 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
19443 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
19444 (_IO_vfscanf_internal, _IO_vfprintf_internal)
19445 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
19446 (_IO_init_internal, _IO_un_link_internal): Don't declare.
19447 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
19448 with libc_hidden_ver, remove use of INTUSE.
19449 * libio/genops.c: Likewise.
19450 * libio/freopen.c: Likewise.
19451 * libio/freopen64.c: Likewise.
19452 * libio/iofclose.c: Likewise.
19453 * libio/iofdopen.c: Likewise.
19454 * libio/iofflush.c: Likewise.
19455 * libio/iofflush_u.c: Likewise.
19456 * libio/iofgets.c: Likewise.
19457 * libio/iofgets_u.c: Likewise.
19458 * libio/iofopen.c: Likewise.
19459 * libio/iofopncook.c: Likewise.
19460 * libio/iofread.c: Likewise.
19461 * libio/iofread_u.c: Likewise.
19462 * libio/ioftell.c: Likewise.
19463 * libio/iofwrite.c: Likewise.
19464 * libio/iogetline.c: Likewise.
19465 * libio/iogets.c: Likewise.
19466 * libio/iogetwline.c: Likewise.
19467 * libio/iopadn.c: Likewise.
19468 * libio/iopopen.c: Likewise.
19469 * libio/ioseekoff.c: Likewise.
19470 * libio/ioseekpos.c: Likewise.
19471 * libio/iosetbuffer.c: Likewise.
19472 * libio/iosetvbuf.c: Likewise.
19473 * libio/ioungetc.c: Likewise.
19474 * libio/ioungetwc.c: Likewise.
19475 * libio/iovdprintf.c: Likewise.
19476 * libio/iovsprintf.c: Likewise.
19477 * libio/iovsscanf.c: Likewise.
19478 * libio/memstream.c: Likewise.
19479 * libio/obprintf.c: Likewise.
19480 * libio/oldfileops.c: Likewise.
19481 * libio/oldiofclose.c: Likewise.
19482 * libio/oldiofdopen.c: Likewise.
19483 * libio/oldiofopen.c: Likewise.
19484 * libio/oldiopopen.c: Likewise.
19485 * libio/oldstdfiles.c: Likewise.
19486 * libio/putc.c: Likewise.
19487 * libio/setbuf.c: Likewise.
19488 * libio/setlinebuf.c: Likewise.
19489 * libio/stdfiles.c: Likewise.
19490 * libio/strops.c: Likewise.
19491 * libio/vasprintf.c: Likewise.
19492 * libio/vscanf.c: Likewise.
19493 * libio/vsnprintf.c: Likewise.
19494 * libio/vswprintf.c: Likewise.
19495 * libio/wfiledoalloc.c: Likewise.
19496 * libio/wfileops.c: Likewise.
19497 * libio/wgenops.c: Likewise.
19498 * libio/wmemstream.c: Likewise.
19499 * libio/wstrops.c: Likewise.
19500 * libio/__fpurge.c: Likewise.
19501 * libio/__fsetlocking.c: Likewise.
19502 * assert/assert.c: Likewise.
19503 * debug/fgets_chk.c: Likewise.
19504 * debug/fgets_u_chk.c: Likewise.
19505 * debug/fread_chk.c: Likewise.
19506 * debug/fread_u_chk.c: Likewise.
19507 * debug/gets_chk.c: Likewise.
19508 * debug/obprintf_chk.c: Likewise.
19509 * debug/vasprintf_chk.c: Likewise.
19510 * debug/vdprintf_chk.c: Likewise.
19511 * debug/vsnprintf_chk.c: Likewise.
19512 * debug/vsprintf_chk.c: Likewise.
19513 * malloc/mtrace.c: Likewise.
19514 * misc/error.c: Likewise.
19515 * misc/syslog.c: Likewise.
19516 * stdio-common/asprintf.c: Likewise.
19517 * stdio-common/fxprintf.c: Likewise.
19518 * stdio-common/getw.c: Likewise.
19519 * stdio-common/isoc99_fscanf.c: Likewise.
19520 * stdio-common/isoc99_scanf.c: Likewise.
19521 * stdio-common/isoc99_vfscanf.c: Likewise.
19522 * stdio-common/isoc99_vscanf.c: Likewise.
19523 * stdio-common/isoc99_vsscanf.c: Likewise.
19524 * stdio-common/printf-prs.c: Likewise.
19525 * stdio-common/printf_fp.c: Likewise.
19526 * stdio-common/printf_fphex.c: Likewise.
19527 * stdio-common/printf_size.c: Likewise.
19528 * stdio-common/putw.c: Likewise.
19529 * stdio-common/scanf.c: Likewise.
19530 * stdio-common/sprintf.c: Likewise.
19531 * stdio-common/tmpfile.c: Likewise.
19532 * stdio-common/vfprintf.c: Likewise.
19533 * stdio-common/vfscanf.c: Likewise.
19534 * stdlib/strfmon_l.c: Likewise.
19535 * sunrpc/openchild.c: Likewise.
19536 * sunrpc/xdr_stdio.c: Likewise.
19537 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
19538 * sysdeps/mach/hurd/tmpfile.c: Likewise.
19539
d6c33fda
RM
195402012-05-24 Roland McGrath <roland@hack.frob.com>
19541
c1487492
RM
19542 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
19543
19544 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
19545 in the third column, to generate for the shared library an IFUNC
19546 that uses _dl_vdso_vsym.
19547 * Makerules (COMPILE.c, compile-stdin.c): New variables.
19548 * Makeconfig (object-suffixes-noshared): New variable.
19549
19550 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
19551 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
19552 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
19553 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
19554
d6c33fda
RM
19555 [BZ #14132]
19556 * include/sys/time.h (__gettimeofday): Remove macro.
19557 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
19558 * time/gettimeofday.c (__gettimeofday): Remove #undef.
19559 Remove INTDEF.
19560 (__gettimeofday): Add libc_hidden_def.
19561 (gettimeofday): Add libc_hidden_weak.
19562 * sysdeps/mach/gettimeofday.c: Likewise.
19563 * sysdeps/posix/gettimeofday.c: Likewise.
19564 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
19565 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
19566 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
19567 (__gettimeofday_internal): Remove strong_alias.
19568 (__gettimeofday): Add libc_hidden_def.
19569 (gettimeofday): Add libc_hidden_weak.
19570 * sysdeps/unix/syscalls.list (gettimeofday):
19571 Remove __gettimeofday_internal alias.
19572
b5a2bbe6
L
195732012-05-24 Daniel Jacobowitz <drow@false.org>
19574 H.J. Lu <hongjiu.lu@intel.com>
19575
19576 [BZ #12495]
19577 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
19578 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
19579 (largebin_index_32_big): New.
19580 (largebin_index): Use it for 16-byte alignment.
19581 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
19582 correction with front_misalign.
19583
cfba4fda
L
195842012-05-24 H.J. Lu <hongjiu.lu@intel.com>
19585
7f907421
L
19586 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
19587 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
19588 Likewise.
19589 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
19590 Likewise.
19591 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
19592 Likewise.
19593 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
19594 Likewise.
19595 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
19596 Likewise.
19597 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
19598 Likewise.
19599 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
19600 Likewise.
19601 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
19602 Likewise.
19603 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
19604 Likewise.
19605 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
19606 Likewise.
19607 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
19608 Likewise.
19609 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
19610 Likewise.
19611
cfba4fda
L
19612 * scripts/data/c++-types-x32-linux-gnu.data: New file.
19613 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
19614
80bad0cc
JM
196152012-05-24 Joseph Myers <joseph@codesourcery.com>
19616
7a25eb06
JM
19617 [BZ #10846]
19618 [BZ #14036]
19619 * math/libm-test.inc (exp_test): Add test from bug 14036.
19620 (pow_test): Add test from bug 10846.
19621
795405f9
JM
19622 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
19623 and other flags.
19624 (special_function): Do not include flags in test name.
19625 (parse_args): Likewise.
19626 * sysdeps/i386/fpu/libm-test-ulps: Update.
19627 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19628 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19629 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19630 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19631
80bad0cc
JM
19632 * math/gen-libm-test.pl (%beautify): Add entries for underflow
19633 exceptions.
19634 * math/libm-test.inc ("Philosophy"): Update comment about
19635 exception testing.
19636 (UNDERFLOW_EXCEPTION): New macro.
19637 (UNDERFLOW_EXCEPTION_OK): Likewise.
19638 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
19639 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
19640 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
19641 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
19642 (INVALID_EXCEPTION_OK): Update value.
19643 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
19644 (OVERFLOW_EXCEPTION_OK): Likewise.
19645 (IGNORE_ZERO_INF_SIGN): Likewise.
19646 (test_exceptions): Handle underflow exceptions.
19647 (acos_test): Update for underflow exception expectations.
19648 (cexp_test): Likewise.
19649 (clog_test): Likewise.
19650 (clog10_test): Likewise.
19651 (csqrt_test): Likewise.
19652 (ctan_test): Likewise.
19653 (ctanh_test): Likewise.
19654 (exp_test): Likewise.
19655 (exp10_test): Likewise.
19656 (exp2_test): Likewise.
19657 (expm1_test): Likewise.
19658 (fma_test): Likewise.
19659 (j0_test): Likewise.
19660 (jn_test): Likewise.
19661 (nexttoward_test): Likewise.
19662 (pow_test): Likewise.
19663 (scalbn_test): Likewise.
19664 (scalbln_test): Likewise.
19665 (tan_test): Likewise.
19666 (y1_test): Likewise.
19667 * sysdeps/i386/fpu/libm-test-ulps: Update.
19668 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19669
9e0e3d0b
DM
196702012-05-23 David S. Miller <davem@davemloft.net>
19671
19672 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
19673 (__libc_sigaction): Remove unused local variables.
19674
ccd0a08f
L
196752012-05-23 H.J. Lu <hongjiu.lu@intel.com>
19676
19677 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
19678
62bdf9a6
PE
196792012-05-23 Paul Eggert <eggert@cs.ucla.edu>
19680
f8591f80
PE
19681 mktime: avoid signed integer overflow
19682 * time/mktime.c (__mktime_internal): Do not mishandle the case
19683 where diff == INT_MIN.
19684
94c7d826
PE
19685 mktime: simplify computation of average
19686 * time/mktime.c (ranged_convert): Use new time_t_avg function
19687 instead of rolling our own (probably-slower) code.
19688
ce73d683
PE
19689 mktime: do not assume signed right shift propagates sign bit
19690 * time/mktime.c (isdst_differ): New static function.
19691 (__mktime_internal): No need to normalize tm_isdst now.
19692 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
19693 tm_isdst values.
19694
72a22e59
PE
19695 mktime: merge another wrapv change from gnulib
19696 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
19697 from some compilers.
19698
68605433
PE
19699 mktime: remove incorrect attempt at unusual arithmetics
19700 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
19701 The code didn't really work on such machines anyway.
19702 (TYPE_MINIMUM): Assume two's complement.
19703 (twos_complement_arithmetic): Verify that long_int and time_t
19704 are two's complement (or unsigned, in the latter case).
19705
03cf7fe3
PE
19706 mktime: check signed shifts on long_int and time_t, too
19707 * time/mktime.c (SHR): Check that shifts work as desired
19708 on the types long_int and time_t too, as SHR is used on
19709 such types.
19710
f04dfbc2
PE
19711 mktime: do not assume 'long' is wide enough
19712 * time/mktime.c (verify): Move decl up.
19713 (long_int): New type.
19714 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
19715 to remove assumption in the code that 'long' is wide enough to
19716 store year values. This assumption is not true on x32 and on
19717 some non-glibc platforms.
19718
62bdf9a6
PE
19719 mktime: merge wrapv change from gnulib
19720 * time/mktime.c (WRAPV): New macro.
19721 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
19722 (guess_time_tm, __mktime_internal): Do not assume that signed
19723 integer overflow wraps around; modern compilers generate code
19724 where this assumption is no longer valid.
19725
5e292e4f
L
197262012-05-23 H.J. Lu <hongjiu.lu@intel.com>
19727
19728 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
19729 Replace "jmp L(pseudo_end)" with "ret".
19730 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
19731 Likewise.
19732
8caf8c87
AJ
197332012-05-23 Andreas Jaeger <aj@suse.de>
19734
19735 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
19736 * sysdeps/unix/sysv/linux/poll.c: Remove file.
19737
1a09dc56
AJ
197382012-05-23 Andreas Jaeger <aj@suse.de>
19739 Maximilian Attems <max@stro.at>
19740
19741 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
19742 New macros.
19743
1c87aba0
L
197442012-05-23 H.J. Lu <hongjiu.lu@intel.com>
19745
19746 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
19747 code so that pseudo_end is just ret and the stack pointer is
19748 correct also for static library in error case.
19749
40e45bd5
JM
197502012-05-23 Joseph Myers <joseph@codesourcery.com>
19751
c2670533
JM
19752 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
19753 move to syscalls.list.
19754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
19755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
19756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
19757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
19758
40e45bd5
JM
19759 * manual/install.texi (Running make install): Do not mention Linux
19760 kernel version for which pt_chown is not needed.
19761 (Linux): Do not mention problems with nscd with 2.0 kernels.
19762 * INSTALL: Regenerated.
19763
be08eda5
AJ
197642012-05-23 Andreas Jaeger <aj@suse.de>
19765
19766 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
19767 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
19768 macro.
19769 * sysdeps/unix/sysv/linux/s390/bits/mman.h
19770 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19771 * sysdeps/unix/sysv/linux/sh/bits/mman.h
19772 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19773 * sysdeps/unix/sysv/linux/i386/bits/mman.h
19774 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19775 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
19776 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19777 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
19778 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19779 * sysdeps/unix/sysv/linux/bits/in.h
19780 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
19781
a6a056bb
RM
197822012-05-22 Roland McGrath <roland@hack.frob.com>
19783
19784 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
19785 (PREPARE_VERSION): Just use assert instead, it will be elided
19786 under [NDEBUG] anyway.
19787
c9009328
L
197882012-05-22 H.J. Lu <hongjiu.lu@intel.com>
19789
19790 * sysdeps/unix/sysv/linux/Makefile: Include
19791 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 19792 (sysdep_routines): Remove sysctl.
c9009328
L
19793 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
19794 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
19795 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
19796 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
19797 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
19798
73338355
AJ
197992012-05-22 Andreas Jaeger <aj@suse.de>
19800
19801 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
19802 that pseudo_end is just ret and the stack pointer is correct also
19803 for static library in error case.
19804
d44638b0
PP
198052012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
19806
19807 [BZ #14122]
19808 * nss/nsswitch.c (defconfig_entries): New variable.
19809 (__nss_database_lookup): Don't leak defconfig entries.
19810 (nss_parse_service_list): Don't leak on error paths.
19811 (free_database_entries): New function.
19812 (free_defconfig): New function.
19813 (free_mem): Move common code to free_database_entries.
19814
31a39bd8
L
198152012-05-22 H.J. Lu <hongjiu.lu@intel.com>
19816
da0331a8
L
19817 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
19818 Add arch_prctl.
19819 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
19820
31a39bd8
L
19821 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
19822 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
19823 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
19824 New macro.
19825 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
19826 (INTERNAL_SYSCALL_TYPES): Likewise.
19827 (LOAD_ARGS_TYPES_[1-6]): Likewise.
19828 (LOAD_REGS_TYPES_[1-6]): Likewise.
19829 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
19830 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
19831
45470df3
AZ
198322012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19833
19834 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
19835 copysignl for GLIBC_2_0.
19836 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
19837 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
19838 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
19839 logbl for GLIBC_2_0.
19840 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
19841 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
19842
98a61bcb
L
198432012-05-22 H.J. Lu <hongjiu.lu@intel.com>
19844
a4f6e481
L
19845 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
19846 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
19847
f63d5db6
L
19848 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
19849 Use "neg %eax".
19850
98a61bcb
L
19851 * time/mktime.c: Update copyright years.
19852
95770f14
PE
198532012-05-22 Paul Eggert <eggert@cs.ucla.edu>
19854
6226efbd
PE
19855 mktime: merge comment-quoting-style change from gnulib
19856 * time/mktime.c: Quote 'like this' in comments.
19857 The GNU coding standards suggest that we no longer quote `like this',
19858 as "`" and "'" are typically rendered asymmetrically nowadays.
19859 The typical gnulib style is to quote 'like this' when quoting
19860 code, and "like this" when quoting English.
19861
b99e4f78
PE
19862 * time/mktime.c (compile-command): Add "-I.".
19863
643e01e6
PE
19864 mktime: merge mktime-internal.h change from gnulib
19865 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
19866
2554247d
PE
19867 mktime: merge time_r change from gnulib
19868 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
19869
826dd0ab
PE
19870 mktime: merge DEBUG change from gnulib
19871 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
19872 case system <time.h> has a #define.
19873
bd83aabe
PE
19874 mktime: merge <sys/types.h> change from gnulib
19875 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
19876 since <time.t> is now guaranteed to define time_t.
19877
95770f14
PE
19878 mktime: merge HAVE_CONFIG_H change from gnulib
19879 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
19880
5e1a27a9
L
198812012-05-22 H.J. Lu <hongjiu.lu@intel.com>
19882
0e44a77e
L
19883 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
19884 Use "neg %eax".
19885
5e1a27a9
L
19886 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
19887 __rlim_t cast.
19888 (struct rusage): Use anonymous union to pad each field to
19889 __syscall_slong_t.
19890
46259bec
DM
198912012-05-21 David S. Miller <davem@davemloft.net>
19892
19893 * Makefules (o-iterator): Remove .s cases.
19894 (compile-command.s): Delete.
19895 (COMPILE.s): Delete.
19896 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
19897
59f0c22e
JM
198982012-05-21 Joseph Myers <joseph@codesourcery.com>
19899
19900 * configure.in (libc_cv_predef_stack_protector): Only consider
19901 "foobar" and "__stack_chk_fail" lines in libc_undefs.
19902 * configure: Regenerated.
19903
20c07380
L
199042012-05-21 H.J. Lu <hongjiu.lu@intel.com>
19905
bbb3154b
L
19906 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
19907 New macro. Use R*LP on int and pointer.
19908 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
19909 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
19910 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
19911 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
19912
20c07380
L
19913 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
19914 [__WORDSIZE_TIME64_COMPAT32] instead of
19915 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
19916 (struct utmp): Likewise.
19917 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
19918 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
19919 Renamed to ...
19920 (__WORDSIZE_TIME64_COMPAT32): This.
19921 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
19922 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
19923 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
19924 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
19925 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
19926 (__WORDSIZE_TIME64_COMPAT32): New macro.
19927
d8d1017e
AJ
199282012-05-21 Andreas Jaeger <aj@suse.de>
19929
19930 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
19931 only if [SHARED]. Add prototype for __wcschr_ia32.
19932
6c7fb145
RM
199332012-05-21 Roland McGrath <roland@hack.frob.com>
19934
19935 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
19936 of %rbp unmolested in the jmp_buf while mangling the low bits.
19937 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
19938 unmolested high bits of %rbp while demangling the low bits.
19939 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
19940
66274218
AJ
199412012-05-21 Andreas Jaeger <aj@suse.de>
19942
07c58f8f
AJ
19943 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
19944 * sunrpc/svc_simple.c: Use it for registerrpc.
19945 * sunrpc/xcrypt.c: Use it for passwd2des.
19946
66274218
AJ
19947 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
19948
61f65140
L
199492012-05-21 H.J. Lu <hongjiu.lu@intel.com>
19950
19951 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
19952 Don't define if [__SYSCALL_WORDSIZE != 32].
19953 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
19954 New macro.
19955
5fefb436
AJ
199562012-05-21 Bruno Haible <bruno@clisp.org>
19957 Andreas Jaeger <aj@suse.de>
19958
19959 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
19960 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
19961 inptr and inend for must_buffer_ch.
19962 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
19963 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
19964 * stdio-common/Makefile (tests): Remove bug15.
19965 (bug15-ENV): Remove macro.
19966 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
19967 anymore.
19968
d8e272ab
AJ
199692012-05-19 Andreas Jaeger <aj@suse.de>
19970 Roland McGrath <roland@hack.frob.com>
19971
19972 * manual/contrib.texi: Completely rewritten. It contains now an
19973 alphabetical list of contributors and their contributions.
19974
4a56a162
RH
199752012-05-21 Richard Henderson <rth@twiddle.net>
19976
19977 * misc/getauxval.c (__getauxval): Use unsigned long int.
19978 * misc/sys/auxv.h: Include <sys/cdefs.h>.
19979 (getauxval): Use unsigned long int.
19980
d024d23c
L
199812012-05-21 H.J. Lu <hongjiu.lu@intel.com>
19982
19983 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
19984
cbc00a03
RM
199852012-05-21 Roland McGrath <roland@hack.frob.com>
19986
19987 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
19988 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
19989 __alignof__ (long double).
19990
478143fa
AZ
199912012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19992
19993 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19994
c7683a6d
RH
199952012-05-20 Richard Henderson <rth@twiddle.net>
19996
19997 * misc/getauxval.c: New file.
19998 * misc/sys/auxv.h: New file.
19999 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
20000 (routines): Add getauxval.
20001 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
20002 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
20003 * elf/dl-sysdep.c (_dl_auxv): Remove.
20004 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
20005 * elf/dl-support.c (_dl_auxv): New variable.
20006 (_dl_aux_init): Initialize it.
20007 * manual/startup.texi (Auxiliary Vector): New node.
20008 * sysdeps/generic/bits/hwcap.h: New file.
20009 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
20010 * sysdeps/powerpc/sysdep.h: ... here. Include it.
20011 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
20012 * sysdeps/sparc/sysdep.h: ... here. Include it.
20013 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
20014 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
20015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20016 Update.
c7683a6d
RH
20017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
20018 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
20019 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
20020 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
20021 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
20022 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
20023 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
20024 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
20025
a6f1845d
AZ
200262012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20027
20028 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20029
cbcbe830
DM
200302012-05-19 David S. Miller <davem@davemloft.net>
20031
20032 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20033
e0b16cc2
JM
200342012-05-19 Joseph Myers <joseph@codesourcery.com>
20035
20036 [BZ #14123]
20037 * math/s_ccosh.c: Include <float.h>
20038 (__ccosh): Avoid internal overflow calculating sinh and cosh
20039 values before multiplying by sin and cos values.
20040 * math/s_ccoshf.c: Likewise.
20041 * math/s_ccoshl.c: Likewise.
20042 * math/s_csin.c: Likewise.
20043 * math/s_csinf.c: Likewise.
20044 * math/s_csinl.c: Likewise.
20045 * math/s_csinh.c: Likewise.
20046 * math/s_csinhf.c: Likewise.
20047 * math/s_csinhl.c: Likewise.
20048 * math/libm-test.inc (ccos_test): Add more tests.
20049 (ccosh_test): Likewise.
20050 (csin_test): Likewise.
20051 (csinh_test): Likewise.
20052 * sysdeps/i386/fpu/libm-test-ulps: Update.
20053 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20054
6ad13e08
L
200552012-05-19 H.J. Lu <hongjiu.lu@intel.com>
20056
f66f0ce8
L
20057 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
20058 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
20059
6ad13e08
L
20060 * sysdeps/x86_64/x32/_itoa.h: Add comment.
20061
b1d072a7
JM
200622012-05-19 Joseph Myers <joseph@codesourcery.com>
20063
20064 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
20065 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
20066 * sysdeps/powerpc/soft-fp/Versions: Likewise.
20067 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
20068 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
20069 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
20070 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
20071 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
20072 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
20073 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
20074 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
20075 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
20076 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
20077 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
20078 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
20079 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
20080 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
20081 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
20082 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
20083 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
20084 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
20085 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
20086 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
20087 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
20088 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
20089 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
20090 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
20091 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
20092 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
20093 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
20094 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
20095
9eae47cb
AJ
200962012-05-18 Andreas Jaeger <aj@suse.de>
20097
20098 * csu/.gitignore: Delete.
20099
bb07f69f
L
201002012-05-18 H.J. Lu <hongjiu.lu@intel.com>
20101
20102 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
20103 (timex): Use __syscall_slong_t.
20104
e6bdb741
AJ
201052012-05-18 Andreas Jaeger <aj@suse.de>
20106 Carlos O'Donell <carlos_odonell@mentor.com>
20107
20108 * manual/install.texi (Configuring and compiling): Update
20109 description about files modified in the source directory.
d6c33fda 20110 * INSTALL: Regenerated.
e6bdb741 20111
1b74487e
L
201122012-05-18 H.J. Lu <hongjiu.lu@intel.com>
20113
20114 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
20115 value. Use "or" to set return value to -1.
20116 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
20117 negate return value.
20118
a88b64b9
TMQMF
201192012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20120
20121 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
20122 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
20123 failure if the compiler has Graphite support disabled.
20124 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
20125 Likewise.
20126 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
20127 CFLAGS-memmove.c): Likewise.
20128 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
20129 Likewise.
20130
3707636e
L
201312012-05-18 H.J. Lu <hongjiu.lu@intel.com>
20132
610b8622
L
20133 * sysdeps/x86_64/x32/_itoa.h: New file.
20134
7cd195df
L
20135 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
20136 getdents system call only if kernel and user dirents have the
20137 same d_ino and d_off.
20138
94b07d20
L
20139 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
20140 LLONG_MAX != LONG_MAX.
20141 (_itoa_word): Use _ITOA_WORD_TYPE on value.
20142 (_fitoa_word): Likewise.
20143
18298070
L
20144 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
20145 years.
20146 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
20147 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
20148 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
20149
553c7ea4
L
20150 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
20151 include <bits/wordsize.h>. Check __x86_64__ instead of
20152 __WORDSIZE.
20153 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
20154 if __x86_64__ is defined. Use anonymous union on fpstate.
20155
3707636e
L
20156 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
20157 anonymous union.
20158
b53ef01a
AS
201592012-05-18 Andreas Schwab <schwab@linux-m68k.org>
20160
37fb1dc0
AS
20161 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
20162 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
20163 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
20164 Refer to _rtld_local_ro instead of _rtld_global_ro.
20165 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
20166 Likewise.
20167 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
20168 Likewise.
20169 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
20170 Likewise.
20171 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
20172 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
20173 of _rtld_global, and rtld_progname instead of _dl_argv[0].
20174
b53ef01a
AS
20175 * sysdeps/powerpc/powerpc32/dl-machine.c
20176 (__elf_machine_runtime_setup) [PROF]: Don't reference
20177 _dl_prof_resolve.
20178
7a185db2
AJ
201792012-05-18 Andreas Jaeger <aj@suse.de>
20180
20181 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
20182 function only available for GCCs before 3.4 since GCC 3.4
20183 introduced a builtin.
20184 (lrint): Likewise.
20185 (llrintf): Likewise.
20186 (llrint): Likewise.
20187 (fmaxf): Likewise.
20188 (fmax): Likewise.
20189 (fminf): Likewise.
20190 (fmin): Likewise.
20191 (rint): Likewise.
20192 (rintf): Likewise.
20193 (nearbyint): Likewise.
20194 (nearbyintf): Likewise.
20195 (ceil): Likewise.
20196 (ceilf): Likewise.
20197 (floor): Likewise.
20198 (floorf): Likewise.
20199
3e5aef87
L
202002012-05-17 H.J. Lu <hongjiu.lu@intel.com>
20201
428bd707
L
20202 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
20203 on both fields and cast pointer to __syscall_ulong_t.
20204
3e5aef87
L
20205 * bits/types.h (__fsword_t): New type.
20206 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
20207 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
20208 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20209 (__FSWORD_T_TYPE): Likewise.
20210 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20211 (__FSWORD_T_TYPE): Likewise.
20212 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20213 (__FSWORD_T_TYPE): Likewise.
20214 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
20215 (__FSWORD_T_TYPE): Likewise.
20216 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
20217 __SWORD_TYPE with __fsword_t.
20218 (statfs64): Likewise.
20219
1ba7c3dc
DM
202202012-05-17 David S. Miller <davem@davemloft.net>
20221
20222 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
20223
59910343
AJ
202242012-05-17 Andreas Jaeger <aj@suse.de>
20225
20226 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
20227 warning.
20228
2e4c1e9e
L
202292012-05-17 H.J. Lu <hongjiu.lu@intel.com>
20230
20231 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
20232
de7f5ce7
AJ
202332012-05-17 Andreas Jaeger <aj@suse.de>
20234
20235 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
20236 when it is used.
20237
286abc3d
CM
202382012-05-17 Chris Metcalf <cmetcalf@tilera.com>
20239
20240 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
20241
477cc68e
L
202422012-05-17 H.J. Lu <hongjiu.lu@intel.com>
20243
20244 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
20245 * sysdeps/x86_64/tst-mallocalign1.c: New file.
20246
1a0994f5
CD
202472012-05-17 Andreas Jaeger <aj@suse.de>
20248 Carlos O'Donell <carlos_odonell@mentor.com>
20249
20250 [BZ #14059]
20251 * sysdeps/x86_64/multiarch/init-arch.h
20252 (bit_YMM_Usable): Rename to...
20253 (bit_AVX_Usable): ... this.
20254 (bit_FMA4_Usable): New macro.
20255 (bit_XMM_state): New macro.
20256 (bit_YMM_state): New macro.
20257 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
20258 [__ASSEMBLER__] (index_AVX_Usable): ... this.
20259 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
20260 (CPUID_OSXSAVE): New macro.
20261 (CPUID_AVX): New macro.
20262 (CPUID_FMA4): New macro.
20263 (index_YMM_Usable): Rename to...
20264 (index_AVX_Usable): ... this.
20265 (HAS_AVX): Use HAS_ARCH_FEATURE.
20266 (HAS_FMA4): Likewise.
20267 (HAS_YMM_USABLE): Remove.
20268 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20269 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
20270 are present.
20271 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
20272 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
20273 * sysdeps/x86_64/multiarch/Makefile: Likewise.
20274 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
20275 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
20276
0af797de
CM
202772012-05-17 Chris Metcalf <cmetcalf@tilera.com>
20278
20279 * math/libm-test.c: Support platforms without multiple rounding modes.
20280 * math/bug-nextafter.c: Support platforms without FP exceptions.
20281 * math/bug-nexttoward.c: Likewise.
20282 * math/test-fenv.c: Likewise.
20283 * math/test-misc.c: Likewise.
20284 * stdlib/bug-getcontext.c: Likewise.
20285
e39745ff
AJ
202862012-05-17 Andreas Jaeger <aj@suse.de>
20287
20288 * manual/examples/search.c (critter_cmp): Change signature to
20289 avoid warnings.
20290 * manual/string.texi (Collation Functions): Likewise.
20291
48970aba
L
202922012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20293
20294 * bits/types.h: Fold copyright years.
20295 * bits/typesizes.h: Likewise.
20296 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
20297 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
20298 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
20299 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
20300 * time/time.h: Likewise.
20301
bedee953
PP
203022012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
20303
20304 [BZ #208]
20305 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
20306 in instead of returning them. Return void.
20307 (__libc_mallinfo): Accumulate over all arenas.
20308 (__malloc_stats): Adjust for change in int_mallinfo interface.
20309
61653dfb
RM
203102012-05-16 Roland McGrath <roland@hack.frob.com>
20311
30b99d79
RM
20312 [BZ #10375]
20313 * configure.in (NM): Add AC_CHECK_TOOL for it.
20314 (libc_extra_cflags): New substituted variable.
20315 Check for -fstack-protector being used implicitly.
20316 * configure: Regenerated.
20317 * config.make.in (config-extra-cflags): New variable,
20318 gets @libc_extra_cflags@.
20319 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
20320
61653dfb
RM
20321 [BZ #10375]
20322 * configure.in: Check for _FORTIFY_SOURCE being predefined.
20323 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
20324 * configure: Regenerated.
20325 * config.make.in (CPPUNDEFS): New substituted variable.
20326 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
20327 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
20328 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
20329
661768bb
L
203302012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20331
20332 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
20333 (mq_attr): Use __syscall_slong_t.
20334
d4261567
L
203352012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20336
20337 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
20338 Check __x86_64__ instead of __WORDSIZE.
20339 (_STAT_VER_LINUX): Likewise.
20340 (stat): Check __x86_64__ instead of __WORDSIZE. Use
20341 __syscall_ulong_t and __syscall_slong_t.
20342 (stat64): Likewise.
20343
cf3ff365
L
203442012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20345
20346 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
20347
76cf3e4d
L
203482012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20349
20350 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
20351
a637753a
L
203522012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20353
20354 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
20355 __syscall_ulong_t.
20356
d5e05119
L
20357 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
20358 include <bits/wordsize.h>. Check __x86_64__ instead of
20359 __WORDSIZE.
20360 (greg_t): Use "__extension__ long long int" if __x86_64__ is
20361 defined.
20362 (mcontext_t): Replace "unsigned long" with "unsigned long long".
20363
f62ee380
L
20364 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
20365 include <bits/wordsize.h>. Check __x86_64__ instead of
20366 __WORDSIZE.
20367 (user_regs_struct): Use "__extension__ unsigned long long"
20368 instead of "unsigned long" if __x86_64__ is defined.
20369 (user): Likewise. Pad after pointer field if __ILP32__ is
20370 defined.
20371
4e124ced
JM
203722012-05-16 Joseph Myers <joseph@codesourcery.com>
20373
6a3951a0
JM
20374 * configure.in (makeinfo): Require version 4.5 or later. Allow
20375 versions 5 to 9.
20376 * configure: Regenerated.
20377 * manual/install.texi (texinfo): Increase version requirement to
20378 4.5 or later.
20379 * INSTALL: Regenerated.
20380
4e124ced
JM
20381 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
20382
953ca31a
L
203832012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20384
20385 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
20386
617aca05
L
20387 * sysdeps/x86_64/x32/ffs.c: New file.
20388
5762f7ae
L
20389 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
20390 __syscall_ulong_t.
20391 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
20392 defined. Use __syscall_ulong_t.
20393 (shminfo): Use __syscall_ulong_t.
20394 (shm_info): Likewise.
20395
a26b6856
L
20396 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
20397 __syscall_ulong_t.
20398
cb2b9ef7
L
20399 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
20400 <bits/wordsize.h>.
20401 (msgqnum_t): Use __syscall_ulong_t.
20402 (msglen_t): Likewise.
20403 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
20404 __syscall_ulong_t.
20405
34683bb0
L
20406 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
20407 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
20408
84a68786
L
20409 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
20410
48baa5f1
L
20411 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
20412 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
20413
180be88b
L
20414 * sysvipc/sys/msg.h (msgbuf): Replace long int with
20415 __syscall_slong_t.
20416
5e90c8ad
L
20417 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
20418 include <bits/wordsize.h>. Check __x86_64__ instead of
20419 __WORDSIZE.
20420
23dfb58b
L
20421 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
20422 "unsigned long long int" if __x86_64__ is defined.
20423 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
20424
ce5d54b0
L
20425 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
20426 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
20427 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
20428
13dc9eac
L
20429 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
20430 <stdint.h>.
20431 (GET_PC): Cast to uintptr_t first.
20432 (GET_FRAME): Likewise.
20433 (GET_STACK): Likewise.
20434
a7895d15
L
20435 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
20436 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
20437 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
20438 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
20439 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
20440 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
20441 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
20442 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
20443 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
20444 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
20445 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
20446 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
20447 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
20448 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
20449 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
20450 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
20451 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
20452 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
20453 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
20454 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
20455 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
20456 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
20457 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
20458 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
20459 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
20460 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
20461 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
20462 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
20463 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
20464
656416c9
AS
204652012-05-16 Andreas Schwab <schwab@linux-m68k.org>
20466
5bd66283
AS
20467 * Makerules (+depfiles): Also collect depfiles from .oS in
20468 $(extra-objs).
20469 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
20470 .oS, $(libnldbl-routines)).
20471
656416c9
AS
20472 * Makerules (native-compile-mkdep-flags): Define.
20473 * sunrpc/Makefile (extra-objs): Add $(addprefix
20474 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
20475 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
20476 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
20477 calling $(make-target-directory).
20478
a46f2169
L
204792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20480
20481 * bits/types.h (__snseconds_t): Removed.
20482 * time/time.h (struct timespec): Replace __snseconds_t with
20483 __syscall_slong_t.
20484 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
20485 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
20486 Likewise.
20487 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20488 (__SNSECONDS_T_TYPE): Likewise.
20489 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20490 (__SNSECONDS_T_TYPE): Likewise.
20491 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20492 (__SNSECONDS_T_TYPE): Likewise.
20493
6af6528b
L
204942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20495
20496 * sysdeps/mach/hurd/bits/typesizes.h
20497 (__SYSCALL_SLONG_TYPE): New macro.
20498 (__SYSCALL_ULONG_TYPE): Likewise.
20499
de986b56
L
205002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20501
20502 * bits/types.h (__syscall_slong_t): New type.
20503 (__syscall_ulong_t): Likewise.
20504
20505 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
20506 (__SYSCALL_ULONG_TYPE): Likewise.
20507 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20508 (__SYSCALL_SLONG_TYPE): Likewise.
20509 (__SYSCALL_ULONG_TYPE): Likewise.
20510 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20511 (__SYSCALL_SLONG_TYPE): Likewise.
20512 (__SYSCALL_ULONG_TYPE): Likewise.
20513 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20514 (__SYSCALL_SLONG_TYPE): Likewise.
20515 (__SYSCALL_ULONG_TYPE): Likewise.
20516
85736dc7
L
205172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20518
20519 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
20520 Add sigaltstack-offsets.sym.
20521 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
20522 <sigaltstack-offsets.h>.
20523 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
20524 longjmp_msg pointer.
20525 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
20526 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
20527 signal stack.
20528 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
20529
cc03b296
JM
205302012-05-15 Joseph Myers <joseph@codesourcery.com>
20531
a9538892
JM
20532 * elf/stackguard-macros.h: Remove file.
20533 * sysdeps/generic/stackguard-macros.h: New file.
20534 * sysdeps/i386/stackguard-macros.h: Likewise.
20535 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
20536 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
20537 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
20538 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
20539 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
20540 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
20541 * sysdeps/x86_64/stackguard-macros.h: Likewise.
20542 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
20543 <elf/stackguard-macros.h>.
20544
cc03b296
JM
20545 [BZ #14109]
20546 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
20547 __aligned__ in attribute.
20548 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
20549 (gregset_t): Likewise.
20550
93171016
L
205512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20552
20553 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
20554 * sysdeps/x86_64/64/Implies-after: Here. New file.
20555 * sysdeps/x86_64/x32/Implies-after: New file.
20556
d86813a0
L
205572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20558
20559 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
20560 and access return value for _dl_profile_fixup. Use R10_LP to
20561 load frame size.
20562
2953ec75
L
205632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20564
20565 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
20566
3b550e9e
L
205672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20568
20569 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
20570 * sysdeps/x86_64/x32/sysdep.h: New file.
20571
eda41706
L
205722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20573
20574 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
20575 * sysdeps/x86_64/setjmp.S: Likewise.
20576
9ea01d93
AZ
205772012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20578
20579 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
20580 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
20581 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
20582 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
20583 remove unused global constant.
20584
02a91938
CM
205852012-05-15 Chris Metcalf <cmetcalf@tilera.com>
20586
20587 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
20588 include of <not-cancel.h>.
20589
6540185f
RM
205902012-05-15 Roland McGrath <roland@hack.frob.com>
20591
20592 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
20593
509072a0
AJ
205942012-05-15 Jeff Law <law@redhat.com>
20595 Andreas Jaeger <aj@suse.de>
20596
20597 [BZ #13594]
20598 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
20599 out from...
20600 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
20601 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
20602 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
20603 code changing __hst_map_handle.map.
20604
ba75122d
RM
206052012-05-15 Roland McGrath <roland@hack.frob.com>
20606
20607 * configure.in (sysnames): Look for Implies-before and Implies-after
20608 files.
20609 * configure: Regenerated.
20610
890d8bd8
L
206112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20612
20613 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
20614 8-byte data alignment with LP_SIZE alignment.
20615
f6ee6623
L
206162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20617
20618 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
20619 into R10_LP.
20620
ea2626f6
L
206212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20622
20623 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
20624
085f715e
L
206252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20626
20627 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
20628 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
20629 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
20630 Likewise.
20631 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
20632
be8498fc
L
206332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20634
20635 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
20636 (stackinfo_sub_sp): Likewise.
20637
70bc83b9
L
206382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20639
20640 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
20641 RAX_LP.
20642
9bc0b730
L
206432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20644
20645 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
20646 into R*_LP.
20647
6d2850e7
L
206482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20649
20650 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
20651 sizes into R*_LP.
20652
3cb84561
L
206532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20654
20655 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
20656
54e2ed81
L
206572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20658
20659 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
20660 into R11_LP and load __x86_64_shared_cache_size_half into
20661 R8_LP.
20662
8a17f349
L
206632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20664
20665 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
20666 R8_LP.
20667
777b1eea
AZ
206682012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20669
20670 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
20671 logb for POWER7.
20672 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
20673 logbf for POWER7.
20674 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
20675 logbl for POWER7.
20676 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
20677 powerpc32/power7/fpu/s_logb.c via #include.
20678 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
20679 powerpc32/power7/fpu/s_logbf.c via #include.
20680 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
20681 powerpc32/power7/fpu/s_logbl.c via #include.
20682
d20d4ac2
JM
206832012-05-15 Joseph Myers <joseph@codesourcery.com>
20684
20685 * README.libm: Remove file.
20686
6cdef1ab
L
206872012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20688
20689 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
20690 count for x32. Use R*_LP and omit operand-size suffix.
20691
0b254d8f
L
206922012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20693
20694 * shlib-versions: Move x86_64-.*-linux.* entries to ...
20695 * sysdeps/x86_64/64/shlib-versions: Here. New file.
20696 * sysdeps/x86_64/x32/shlib-versions: New file.
20697
ceb809dc
RM
206982012-05-14 Roland McGrath <roland@hack.frob.com>
20699
20700 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
20701 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
20702 Use _dl_fatal_printf instead.
20703
37f1abd4
JM
207042012-05-14 Joseph Myers <joseph@codesourcery.com>
20705
20706 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
20707 set if not set by the user. Do not allow for being unset.
20708 * sysdeps/unix/sysv/linux/configure: Regenerated.
20709
11de3a33
L
207102012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20711
20712 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
20713 the `q' suffix from lea and replace .quad with ASM_ADDR.
20714
e02f153a
L
207152012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20716
20717 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
20718 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
20719 instead of $17.
20720 (PTR_DEMANGLE): Likewise.
20721
520ae0fd
L
207222012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20723
20724 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
20725 (LP_OP): Likewise.
20726 (ASM_ADDR): Likewise.
20727 (RAX_LP): Likewise.
20728 (RBP_LP): Likewise.
20729 (RBX_LP): Likewise.
20730 (RCX_LP): Likewise.
20731 (RDI_LP): Likewise.
20732 (RSI_LP): Likewise.
20733 (RSP_LP): Likewise.
20734 (R8_LP): Likewise.
20735 (R9_LP): Likewise.
20736 (R10_LP): Likewise.
20737 (R10_LP): Likewise.
20738 (R11_LP): Likewise.
20739 (R12_LP): Likewise.
20740 (R13_LP): Likewise.
20741 (R14_LP): Likewise.
20742 (R15_LP): Likewise.
20743
b985be81
L
207442012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20745
20746 * sysdeps/x86_64/x32/dl-machine.h: New file.
20747
6a4888ff
AJ
207482012-05-14 Andreas Jaeger <aj@suse.de>
20749
20750 * manual/Makefile (subdir): Remove export of subdir.
20751 (all): Remove target.
20752 (.PHONY): Remove all from list.
20753 (mkinstalldirs): Remove.
20754 (.PHONY): Remove installdirs from list.
20755 ($(inst_infodir)/libc.info): Use make-target-directory.
20756 (installdirs): Remove.
20757 (subdir_%): Remove.
20758 (glibc-targets): Remove.
20759 (lib): Remove.
20760 (stubs): Remove.
20761 ($(objpfx)stubs ../po/manual.pot): Remove.
20762 ($(objpfx)stamp%): Remove.
20763 (make-target-directory): Remove.
20764 (subdir_install): Remove.
20765 (routines): Remove.
20766 (aux): Remove.
20767 (sources): Remove.
20768 (objects): Remove.
20769 (headers): Remove.
20770
20771 [BZ #13750]
20772 * manual/.gitignore: Remove, it's not needed anymore.
20773 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
20774 all files in it.
20775 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
20776 directory.
20777 (texis): Renamed to $(objpfx)texis.
20778 (texis-path): New, contains path to generated files.
20779 (chapters.%): Use texis-path for complete path, add extra argument
20780 libc-texinfo.sh.
20781 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
20782 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
20783 (summary,texi, stamp-summary): Use complete path of
20784 files. Generate files in build dir.
20785 (dir-add.texi): Build in build dir.
20786 (libm-err.texi,stamp-libm-err): Likewise.
20787 (version.texi, stamp-version): Likewise.
20788 (.%c.texi): Likewise.
20789 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
20790 (mostlyclean): Remove target.
20791 (realclean): Remove target.
20792 (generated): Add new variable with contents from mostlyclean and
20793 realclean, remove entries duplicated in common-mostlyclean, add
20794 stamp-libm-err and stamp-version.
20795 (generated-dirs): Add libc directory.
20796 ($(inst_infodir)/libc.info): Install files from build dir.
20797
20798 * manual/install.texi (Configuring and compiling): Adjust since
20799 the info files are not part of the tar ball anymore.
20800
7ac77294
AJ
208012012-05-14 Andreas Jaeger <aj@suse.de>
20802
20803 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
20804 variable.
20805
ffb7875d
JM
208062012-05-14 Joseph Myers <joseph@codesourcery.com>
20807
20808 [BZ #13717]
20809 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
20810 to 2.2.0 where earlier.
20811 * sysdeps/unix/sysv/linux/configure: Regenerated.
20812 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
20813 Remove conditional code.
20814 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
20815 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
20816 Remove conditional code.
20817 [!__NR_lchown]: Likewise.
20818 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20819 [__NR_lchown]: Likewise.
20820 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
20821 comment referencing __ASSUME_LCHOWN_SYSCALL.
20822 * sysdeps/unix/sysv/linux/i386/sigaction.c
20823 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20824 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20825 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
20826 Remove conditional code.
20827 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
20828 (__protocol_available): Remove #if 0 code.
20829 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
20830 conditional code.
20831 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
20832 * sysdeps/unix/sysv/linux/kernel-features.h
20833 (__ASSUME_GETCWD_SYSCALL): Don't define.
20834 (__ASSUME_REALTIME_SIGNALS): Likewise.
20835 (__ASSUME_PREAD_SYSCALL): Likewise.
20836 (__ASSUME_PWRITE_SYSCALL): Likewise.
20837 (__ASSUME_POLL_SYSCALL): Likewise.
20838 (__ASSUME_LCHOWN_SYSCALL): Likewise.
20839 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
20840 non-SPARC.
20841 (__ASSUME_SIOCGIFNAME): Don't define.
20842 (__ASSUME_MSG_NOSIGNAL): Likewise.
20843 (__ASSUME_SENDFILE): Define unconditionally.
20844 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
20845 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
20846 conditional code.
20847 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
20848 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
20849 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
20850 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20851 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
20852 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
20853 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
20855 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20856 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
20858 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20859 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
20861 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20862 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
20864 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20865 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
20867 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20868 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
20870 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20871 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
20873 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20874 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
20876 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20877 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20878 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
20879 Remove conditional code.
20880 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20881 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
20882 Remove conditional code.
20883 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20884 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
20885 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
20886 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
20887 Remove conditional code.
20888 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20889 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
20890 Remove conditional code.
20891 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20892 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
20893 Remove conditional code.
20894 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20895 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
20896 Remove conditional code.
20897 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20898 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
20899 Remove conditional code.
20900 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20901 * sysdeps/unix/sysv/linux/sh/pwrite64.c
20902 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20903 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20904 * sysdeps/unix/sysv/linux/sigaction.c
20905 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20906 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20907 * sysdeps/unix/sysv/linux/sigpending.c
20908 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20909 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20910 * sysdeps/unix/sysv/linux/sigprocmask.c
20911 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20912 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20913 * sysdeps/unix/sysv/linux/sigsuspend.c
20914 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20915 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20916 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
20917 (__libc_missing_rt_sigs): Remove.
20918 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
20919 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
20920 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
20921 Remove conditional code.
20922 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
20923 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
20924 return 1.
20925 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
20926 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
20927 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
20928 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
20929
1bfb7291
AJ
209302012-05-14 Andreas Jaeger <aj@suse.de>
20931
caae5a81
AJ
20932 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
20933 it's not used in glibc.
20934 (__coshm1): Likewise.
20935 (__acosh1p): Likewise.
20936 (__sgn): Likewise.
20937
1bfb7291
AJ
20938 * manual/string.texi (Copying and Concatenation): Add missing
20939 variable in concat example.
20940 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
20941
c044d724
L
209422012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20943
144c5467 20944 [BZ #14103]
c044d724
L
20945 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
20946 __builtin_clzl with __builtin_clzll.
20947
2523c62b
L
209482012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20949
20950 [BZ #14104]
20951 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
20952 libc_freeres_ptr.
20953
d7bb4c42
LD
209542012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20955
20956 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
20957 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
20958 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
20959 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
20960
9dc4e1fb
MF
209612012-05-14 Mike Frysinger <vapier@gentoo.org>
20962
20963 * NEWS: Update ia64 info.
20964
c7df0112
AS
209652012-05-12 Andreas Schwab <schwab@linux-m68k.org>
20966
20967 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
20968 used as bcopy.
20969
dc70356c
TS
209702012-05-12 Thomas Schwinge <thomas@codesourcery.com>
20971
20972 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
20973 * sysdeps/unix/syscalls.list (dup3): Likewise.
20974 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
20975 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
20976
9fb1a21f
L
209772012-05-11 H.J. Lu <hongjiu.lu@intel.com>
20978
20979 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
20980 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
20981
4822a2a5
L
209822012-05-11 H.J. Lu <hongjiu.lu@intel.com>
20983
20984 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
20985 thread pointer.
20986 (TLS_IE): Use mov/add instead of movq/addq to load thread
20987 pointer.
20988 (TLS_GD_PREFIX): New.
20989 (TLS_GD): Use it.
20990
842b81d6
DM
209912012-05-11 David S. Miller <davem@davemloft.net>
20992
20993 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
20994 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
20995 (_FPU_SETCW): Likewise.
20996
1cf463cd
L
209972012-05-10 H.J. Lu <hongjiu.lu@intel.com>
20998
20999 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
21000 is 32-byte aligned.
21001
60cc4a18
AS
210022012-05-11 Andreas Schwab <schwab@linux-m68k.org>
21003
21004 [BZ #11837]
21005 * iconvdata/gb18030.c: Update tables.
21006 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
21007 characters specially.
21008 (BODY for TO_LOOP): Add encoding of missing ranges.
21009
febb44a4
TS
210102012-05-11 Thomas Schwinge <thomas@codesourcery.com>
21011
21012 [BZ #13673]
21013 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
21014 * sysdeps/mach/hurd/dup3.c: Likewise.
21015 * sysdeps/mach/hurd/readlinkat.c: Likewise.
21016 * sysdeps/powerpc/memmove.c:: Likewise.
21017
0a10fb9e
L
210182012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21019
21020 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
21021 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
21022
df8a552f
L
210232012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21024
21025 * elf/elf.h (R_X86_64_RELATIVE64): New.
21026 (R_X86_64_NUM): Updated.
21027 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
21028 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
21029 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
21030 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
21031 tst-quad1pie tst-quad2pie
21032 (modules-names): Add tst-quadmod1 tst-quadmod2.
21033 ($(objpfx)tst-quad1): New dependency.
21034 ($(objpfx)tst-quad2): Likewise.
21035 ($(objpfx)tst-quad1pie): Likewise.
21036 ($(objpfx)tst-quad2pie): Likewise.
21037 * sysdeps/x86_64/tst-quad1.c: New file.
21038 * sysdeps/x86_64/tst-quad1pie.c: New file.
21039 * sysdeps/x86_64/tst-quad2.c: Likewise.
21040 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
21041 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
21042 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
21043 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
21044 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
21045
f34d6f84
ST
210462012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21047
f42d41d1
ST
21048 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
21049 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
21050 * streams/stropts.h (t_scalar_t): Define type.
21051
3c3571fc
ST
21052 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
21053 (_PATH_PRESERVE): Set to "/var/lib".
21054 (_PATH_RWHODIR): Set to "/var/spool/rwho".
21055
61f06bd3
ST
21056 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
21057 instead of int.
21058
918d4d71
ST
21059 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
21060 if __dir_mkfile succeeded.
21061
f34d6f84
ST
21062 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
21063 checking for _hurd_dtablesize. Unlock it right after having
21064 finished _hurd_dtable allocation.
21065
10589b4a
TS
210662012-05-10 Thomas Schwinge <thomas@schwinge.name>
21067
674cdbc7
TS
21068 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
21069 * sysdeps/mach/hurd/configure: Regenerated.
21070 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
21071 special-casing to...
21072 * sysdeps/gnu/configure.in: ... this new file.
21073 * sysdeps/unix/sysv/linux/configure: Regenerated.
21074 * sysdeps/gnu/configure: New generated file.
21075
8e41b99f
TS
21076 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
21077 for Linux: use nsec instead of usec, as well as:
21078 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
21079 members of type struct timespec.
21080 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
21081 New macros.
21082 (struct stat64): Likewise.
21083 (_STATBUF_ST_NSEC): New macro.
21084 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
21085
10589b4a
TS
21086 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
21087 __strtoul_internal rather than strtoul.
21088
63643c85
PT
210892012-05-10 Pino Toscano <toscano.pino@tiscali.it>
21090
21091 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
21092 and reject them.
21093
3faebe6a
ST
210942012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21095
21096 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
21097 which preserves existing values.
21098 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
21099
c6474b07
PT
211002012-05-10 Pino Toscano <toscano.pino@tiscali.it>
21101
21102 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
21103 TIMEOUT values. Return EINVAL for NFDS values either negative or
21104 greater than FD_SETSIZE.
21105
1043890b
ST
211062012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21107
21108 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
21109 allocated, call __vm_protect to finish enabling the existing space, and
21110 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
21111 allocate the remainder.
21112
37ed8b9b
PT
211132012-05-10 Pino Toscano <toscano.pino@tiscali.it>
21114
21115 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
21116 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
21117
db653660
ST
211182012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21119
37ed8b9b
PT
21120 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
21121 sysdeps/mach/hurd/readlink.c.
b29d4053 21122
db653660
ST
21123 * posix/tst-sysconf.c (posix_options): Only use
21124 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
21125 _POSIX_SYNCHRONIZED_IO when they are defined
21126 * sysdeps/mach/hurd/bits/posix_opt.h:
21127 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
21128 (_XOPEN_REALTIME): Undefine macro.
21129 (_XOPEN_REALTIME_THREADS): Undefine macro.
21130 (_XOPEN_SHM): Undefine macro.
21131 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
21132 macro to -1.
21133 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
21134 macro to -1.
21135 (_POSIX_ASYNC_IO): Undefine macro.
21136 (_POSIX_PRIORITIZED_IO): Undefine macro.
21137 (_POSIX_SPIN_LOCKS): Define macro to -1.
21138
ee16e894
ST
21139 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
21140 SA_NODEFER, SA_RESETHAND.
21141 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
21142 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
21143 F_DUPFD_CLOEXEC.
21144
6103ae3b
TS
211452012-05-10 Thomas Schwinge <thomas@schwinge.name>
21146
21147 * elf/Makefile (pldd-modules): Define unconditionally.
21148
80b4e5f3
TS
211492012-05-10 Thomas Schwinge <thomas@schwinge.name>
21150
21151 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
21152
edadcbd6
ST
211532012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21154
21155 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
21156 Return ENOENT when name is empty.
21157 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
21158
80694780
TS
211592012-05-10 Thomas Schwinge <thomas@schwinge.name>
21160
1792c087
TS
21161 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
21162
80694780
TS
21163 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
21164
6b645f0d
ST
211652012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21166
80694780
TS
21167 Fix mlock in all cases except non-readable pages.
21168 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
21169 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 21170
6b645f0d
ST
21171 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
21172 (__mkdir): When path is `/', just fail with EEXIST.
21173 * sysdeps/mach/hurd/mkdirat.c: Likewise.
21174
e468f8a3
TS
211752012-05-10 Thomas Schwinge <thomas@schwinge.name>
21176
21177 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
21178 <sys/uio.h> (for writev).
21179 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
21180 and <sys/param.h> (for MIN).
21181
a4186cff
PT
211822012-05-10 Pino Toscano <toscano.pino@tiscali.it>
21183
21184 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
21185 REQUESTED_TIME. Properly set the remaining time and return EINTR
21186 if interrupted.
21187
510bbf14
TS
211882012-05-10 Thomas Schwinge <thomas@schwinge.name>
21189
21190 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
21191 Depend on against $(link-rpcuserlibs).
21192
5d5722e8
ST
211932012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21194
a4186cff
PT
21195 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
21196 (__libc_stack_end): Do not use attribute_relro.
21197 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
21198 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 21199 to libthread-provided value.
a4186cff
PT
21200 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
21201 attribute_relro.
5d5722e8 21202
37233df9
TS
212032012-05-10 Thomas Schwinge <thomas@schwinge.name>
21204
be971a2b
TS
21205 [BZ #3748]
21206 * bits/libc-lock.h (__libc_once_get): New macro.
21207 * sysdeps/mach/bits/libc-lock.h: Likewise.
21208 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
21209 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
21210 instead of using implementation details.
21211
37233df9
TS
21212 * libio/fileops.c: Unconditionally include <kernel-features.h>.
21213 * libio/freopen.c: Likewise.
21214 * libio/freopen64.c: Likewise.
21215 * misc/syslog.c: Likewise.
21216 * nscd/connections.c: Likewise.
21217 * nscd/netgroupcache.c: Likewise.
21218 * sysdeps/posix/getcwd.c: Likewise.
21219
38de94a5
RM
212202012-05-10 Roland McGrath <roland@hack.frob.com>
21221
21222 * math/w_ilogbf.c: Add #include <limits.h>.
21223
67530489
ST
212242012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21225
a4186cff 21226 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
21227 path instead of returning without unlocking.
21228
67530489
ST
21229 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
21230 immediate-write ioctls.
21231 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
21232
5aa3a74a
TS
212332012-05-10 Thomas Schwinge <thomas@schwinge.name>
21234
18bad2ae
TS
21235 * sysdeps/mach/hurd/i386/init-first.c (init): Use
21236 __builtin_frame_address instead of making assumptions about the
21237 location of the return address relative to DATA. Force early load of
21238 the return address.
21239 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
21240 __builtin_frame_address.
21241
5aa3a74a
TS
21242 dup3 for GNU Hurd.
21243 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
21244 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
21245 implement dup3 and do some further code clean-ups.
21246 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
21247 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
21248
ecd0de9a
ST
212492012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21250
cd9fa985
ST
21251 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
21252
a4186cff
PT
21253 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
21254 HURD_CRITICAL_END around holding _hurd_dtable_lock.
21255 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
21256 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
21257 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
21258 d->port.lock.
802ca5a5 21259
a4186cff
PT
21260 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
21261 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
21262 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 21263
bcf55240
TS
212642012-05-10 Thomas Schwinge <thomas@schwinge.name>
21265
6960eb42
TS
21266 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
21267 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
21268 definitions.
21269
eb43375f
TS
21270 accept4 for GNU Hurd.
21271 * include/sys/socket.h (__libc_accept4): New prototype.
21272 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
21273 to implement __libc_accept4.
21274 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
21275 __libc_accept4.
21276 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
21277
bcf55240
TS
21278 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
21279 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
21280 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
21281 signal-defines.sym.
21282
6178c55b
ST
212832012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21284
a4186cff 21285 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 21286
6f080c2f
TS
212872012-05-10 Thomas Schwinge <thomas@schwinge.name>
21288
21289 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
21290 assertion on O_CLOEXEC flag.
21291 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
21292 * hurd/intern-fd.c: Likewise.
21293 * hurd/port2fd.c: Likewise.
21294
bcfe3a54
ST
212952012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21296
21297 [BZ #3906]
21298 * bits/in.h (IPV6_PKTINFO): Define new macro.
21299 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
21300
89c9aa49
AZ
213012012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21302
21303 [BZ #13954]
21304 [BZ #13955]
21305 [BZ #13956]
21306 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
21307 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
21308 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
21309 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
21310 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21311 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
21312 * math/libm-test.inc (logb_test) : Additional logb tests.
21313
021db4be
AJ
213142012-05-09 Andreas Schwab <schwab@linux-m68k.org>
21315 Andreas Jaeger <aj@suse.de>
21316
21317 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
21318 * configure: Regenerated.
21319 * config.h.in (LINK_OBSOLETE_RPC): New macro.
21320 * config.make.in (link-obsolete-rpc): New substituted variable.
21321 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
21322 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
21323 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
21324 (shared-only-routines): Don't set it under [link-obsolete-rpc],
21325 so that libc.a contains the symbols.
21326 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
21327 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
21328 * sunrpc/auth_none.c: Likewise.
21329 * sunrpc/auth_unix.c: Likewise.
21330 * sunrpc/authdes_prot.c: Likewise.
21331 * sunrpc/authuxprot.c: Likewise.
21332 * sunrpc/clnt_gen.c: Likewise.
21333 * sunrpc/clnt_perr.c: Likewise.
21334 * sunrpc/clnt_raw.c: Likewise.
21335 * sunrpc/clnt_simp.c: Likewise.
21336 * sunrpc/clnt_tcp.c: Likewise.
21337 * sunrpc/clnt_udp.c: Likewise.
21338 * sunrpc/clnt_unix.c: Likewise.
21339 * sunrpc/des_crypt.c: Likewise.
21340 * sunrpc/des_soft.c: Likewise.
21341 * sunrpc/get_myaddr.c: Likewise.
21342 * sunrpc/key_call.c: Likewise.
21343 * sunrpc/key_prot.c: Likewise.
21344 * sunrpc/netname.c: Likewise.
21345 * sunrpc/pm_getmaps.c: Likewise.
21346 * sunrpc/pm_getport.c: Likewise.
21347 * sunrpc/pmap_clnt.c: Likewise.
21348 * sunrpc/pmap_prot.c: Likewise.
21349 * sunrpc/pmap_prot2.c: Likewise.
21350 * sunrpc/pmap_rmt.c: Likewise.
21351 * sunrpc/publickey.c: Likewise.
21352 * sunrpc/rpc_cmsg.c: Likewise.
21353 * sunrpc/rpc_common.c: Likewise.
21354 * sunrpc/rpc_dtable.c: Likewise.
21355 * sunrpc/rpc_prot.c: Likewise.
21356 * sunrpc/rpc_thread.c: Likewise.
21357 * sunrpc/rtime.c: Likewise.
21358 * sunrpc/svc.c: Likewise.
21359 * sunrpc/svc_auth.c: Likewise.
21360 * sunrpc/svc_raw.c: Likewise.
21361 * sunrpc/svc_run.c: Likewise.
21362 * sunrpc/svc_tcp.c: Likewise.
21363 * sunrpc/svc_udp.c: Likewise.
21364 * sunrpc/svc_unix.c: Likewise.
21365 * sunrpc/svcauth_des.c: Likewise.
21366 * sunrpc/xcrypt.c: Likewise.
21367 * sunrpc/xdr.c: Likewise.
21368 * sunrpc/xdr_array.c: Likewise.
21369 * sunrpc/xdr_float.c: Likewise.
21370 * sunrpc/xdr_intXX_t.c: Likewise.
21371 * sunrpc/xdr_mem.c: Likewise.
21372 * sunrpc/xdr_rec.c: Likewise.
21373 * sunrpc/xdr_ref.c: Likewise.
21374 * sunrpc/xdr_sizeof.c: Likewise.
21375 * sunrpc/xdr_stdio.c: Likewise.
21376
b5c086a2
RM
213772012-05-10 Roland McGrath <roland@hack.frob.com>
21378
21379 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
21380 change. Update copyright years.
21381
6d74dd09
JM
213822012-05-10 Joseph Myers <joseph@codesourcery.com>
21383
21384 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
21385
28e72501
MK
213862012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
21387 Joseph Myers <joseph@codesourcery.com>
21388 Paul Pluzhnikov <ppluzhnikov@google.com>
21389
21390 [BZ #14012]
21391 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
21392 requiring rpcgen.
21393 [cross-compiling] (extra-libs): Likewise.
21394 [cross-compiling] (extra-libs-others): Likewise.
21395 [cross-compiling] (librpcsvc-routines): Likewise.
21396 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
21397 [cross-compiling] (omit-deps): Likewise.
21398 (sunrpc-CPPFLAGS): New variable.
21399 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
21400 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
21401 (cross-rpcgen-objs): New variable.
21402 (extra-objs): Append $(cross-rpcgen-objs).
21403 ($(cross-rpcgen-objs)): New rule.
21404 ($(objpfx)cross-rpcgen): Likewise.
21405 (rpcgen-cmd): Define to use $(built-program-file). Expand
21406 comment.
21407 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
21408 ($(objpfx)x%.stmp): Likewise.
21409 * sunrpc/proto.h [IS_IN_build] (_): Define.
21410 [IS_IN_build] (_libc_intl_domainname): Likewise.
21411
c8c59454
L
214122012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21413
21414 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
21415 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
21416 and R_X86_64_TPOFF64.
21417
6f27cd16
JM
214182012-05-10 Joseph Myers <joseph@codesourcery.com>
21419
21420 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
21421 sysdeps/unix/sysv/syscalls.list.
21422 (stime): Likewise.
21423 (utime): Likewise.
21424 * sysdeps/unix/sysv/syscalls.list: Remove file.
21425
02467e1c
PE
214262012-05-10 Paul Eggert <eggert@cs.ucla.edu>
21427
21428 [BZ #3440]
21429 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
21430 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
21431 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
21432 (__LC_IDENTIFICATION): Make these macros useful in #if
21433 expressions, as required by C99.
21434
da392631
AS
214352012-05-10 Andreas Schwab <schwab@linux-m68k.org>
21436
21437 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
21438 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
21439 after this.
21440
8115f29b
L
214412012-05-09 H.J. Lu <hongjiu.lu@intel.com>
21442
21443 * stdlib/longlong.h: Updated from GCC.
21444
bdd74070
AJ
214452012-05-09 Andreas Jaeger <aj@suse.de>
21446
edfe0dbe
AJ
21447 * nscd/nscd.c (run_modes): Make named enum, reorder so that
21448 default is first entry.
21449 (run_mode): Set type.
21450 (main): Remove informal message about syslog.
21451 (options): Fix typo.
21452
bcfe3a54
ST
21453 [BZ #14053]
21454 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 21455 to asm.
bcfe3a54
ST
21456 (lrint): Likewise.
21457 (llrintf): Likewise.
21458 (llrint): Likewise.
21459 (rint): Likewise.
21460 (rintf): Likewise.
21461 (nearbyint): Likewise.
21462 (nearbyintf): Likewise.
bdd74070 21463
91d8d69e
AJ
214642012-05-09 Andreas Jaeger <aj@suse.de>
21465 Pedro Alves <palves@redhat.com>
21466
21467 * nscd/nscd.c (run_mode): Use enum.
21468 (main): Cleanup coding style issue.
21469
bb90b80b
AJ
214702012-05-09 Alexandre Oliva <aoliva@redhat.com>
21471 Andreas Jaeger <aj@suse.de>
21472
bcfe3a54
ST
21473 * nscd/nscd.c (go_background): Replaced with...
21474 (run_mode): ... this.
bb90b80b 21475 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
21476 (options): Add -F --foreground.
21477 (main): Implement it.
21478 (parse_opt): Parse it.
bb90b80b 21479
1a4b75a1
AJ
214802012-05-09 Andreas Jaeger <aj@suse.de>
21481
21482 [BZ #14083]
21483 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
21484 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
21485 -Wconversion warning.
21486 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
21487 Likewise.
21488
b1cc2472
JM
214892012-05-09 Joseph Myers <joseph@codesourcery.com>
21490
21491 * conform/data/locale.h-data (NULL): Use macro-constant. Require
21492 == 0.
21493 (LC_ALL): Use macro-int-constant.
21494 (LC_COLLATE): Likewise.
21495 (LC_CTYPE): Likewise.
21496 (LC_MESSAGES): Likewise.
21497 (LC_MONETARY): Likewise.
21498 (LC_NUMERIC): Likewise.
21499 (LC_TIME): Likewise.
21500 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
21501 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
21502 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21503 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
21504 Specify type.
21505 [C99-based standards] (float_t): Expect type.
21506 [C99-based standards] (double_t): Expect type.
21507 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
21508 type.
21509 [C99-based standards] (HUGE_VALL): Likewise.
21510 [C99-based standards] (INFINITY): Likewise.
21511 [C99-based standards] (NAN): Likewise.
21512 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
21513 [C99-based standards] (FP_NAN): Likewise.
21514 [C99-based standards] (FP_NORMAL): Likewise.
21515 [C99-based standards] (FP_SUBNORMAL): Likewise.
21516 [C99-based standards] (FP_ZERO): Likewise.
21517 [C99-based standards] (FP_FAST_FMA): Use
21518 optional-macro-int-constant. Specify type. Require == 1.
21519 [C99-based standards] (FP_FAST_FMAF): Likewise.
21520 [C99-based standards] (FP_FAST_FMAL): Likewise.
21521 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
21522 [C99-based standards] (FP_ILOGBNAN): Likewise.
21523 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
21524 Specify type.
21525 [C99-based standards] (MATH_ERREXCEPT): Likewise.
21526 [C99-based standards] (math_errhandling): Specify type.
21527 [ISO99 || ISO11] (signgam): Do not allow.
21528 [non-C99-based standards] (copysignf): Do not allow.
21529 [non-C99-based standards] (exp2f): Likewise.
21530 [non-C99-based standards] (log2f): Likewise.
21531 [non-C99-based standards] (modff): Allow.
21532 [non-C99-based standards] (erff): Do not allow.
21533 [non-C99-based standards] (erfcf): Likewise.
21534 [non-C99-based standards] (gammaf): Likewise.
21535 [non-C99-based standards] (hypotf): Likewise.
21536 [non-C99-based standards] (j0f): Likewise.
21537 [non-C99-based standards] (j1f): Likewise.
21538 [non-C99-based standards] (jnf): Likewise.
21539 [non-C99-based standards] (lgammaf): Likewise.
21540 [non-C99-based standards] (tgammaf): Likewise.
21541 [non-C99-based standards] (y0f): Likewise.
21542 [non-C99-based standards] (y1f): Likewise.
21543 [non-C99-based standards] (ynf): Likewise.
21544 [non-C99-based standards] (isnanf): Likewise.
21545 [non-C99-based standards] (acoshf): Likewise.
21546 [non-C99-based standards] (asinhf): Likewise.
21547 [non-C99-based standards] (atanhf): Likewise.
21548 [non-C99-based standards] (cbrtf): Likewise.
21549 [non-C99-based standards] (expm1f): Likewise.
21550 [non-C99-based standards] (ilogbf): Likewise.
21551 [non-C99-based standards] (log1pf): Likewise.
21552 [non-C99-based standards] (logbf): Likewise.
21553 [non-C99-based standards] (nextafterf): Likewise.
21554 [non-C99-based standards] (remainderf): Likewise.
21555 [non-C99-based standards] (rintf): Likewise.
21556 [non-C99-based standards] (scalbf): Likewise.
21557 [non-C99-based standards] (copysignl): Likewise.
21558 [non-C99-based standards] (exp2l): Likewise.
21559 [non-C99-based standards] (log2l): Likewise.
21560 [non-C99-based standards] (modfl): Allow.
21561 [non-C99-based standards] (erfl): Do not allow.
21562 [non-C99-based standards] (erfcl): Likewise.
21563 [non-C99-based standards] (gammal): Likewise.
21564 [non-C99-based standards] (hypotl): Likewise.
21565 [non-C99-based standards] (j0l): Likewise.
21566 [non-C99-based standards] (j1l): Likewise.
21567 [non-C99-based standards] (jnl): Likewise.
21568 [non-C99-based standards] (lgammal): Likewise.
21569 [non-C99-based standards] (tgammal): Likewise.
21570 [non-C99-based standards] (y0l): Likewise.
21571 [non-C99-based standards] (y1l): Likewise.
21572 [non-C99-based standards] (ynl): Likewise.
21573 [non-C99-based standards] (isnanl): Likewise.
21574 [non-C99-based standards] (acoshl): Likewise.
21575 [non-C99-based standards] (asinhl): Likewise.
21576 [non-C99-based standards] (atanhl): Likewise.
21577 [non-C99-based standards] (cbrtl): Likewise.
21578 [non-C99-based standards] (expm1l): Likewise.
21579 [non-C99-based standards] (ilogbl): Likewise.
21580 [non-C99-based standards] (log1pl): Likewise.
21581 [non-C99-based standards] (logbl): Likewise.
21582 [non-C99-based standards] (nextafterl): Likewise.
21583 [non-C99-based standards] (remainderl): Likewise.
21584 [non-C99-based standards] (rintl): Likewise.
21585 [non-C99-based standards] (scalbl): Likewise.
21586 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21587 [non-C99-based standards] (FP_*): Do not allow.
21588 [C99-based standards] (FP_*): Change to
21589 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
21590 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
21591 allow.
21592 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
21593 (SIG_ERR): Likewise.
21594 [X/Open-based standards] (SIG_HOLD): Likewise.
21595 (SIG_IGN): Likewise.
21596 (SIGABRT): Use macro-int-constant. Specify type. Require
21597 positive value.
21598 (SIGFPE): Likewise.
21599 (SIGILL): Likewise.
21600 (SIGINT): Likewise.
21601 (SIGSEGV): Likewise.
21602 (SIGTER): Likewise.
21603 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
21604 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
21605 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
21606 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
21607 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
21608 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
21609 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
21610 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
21611 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
21612 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
21613 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
21614 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
21615 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
21616 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
21617 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
21618 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
21619 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
21620 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
21621 [X/Open-based standards] (SIGTRAP): Likewise.
21622 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
21623 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
21624 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
21625 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
21626 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
21627 allow.
21628
b9f1922d
IW
216292012-05-08 Ian Wienand <ianw@vmware.com>
21630
21631 [BZ #14080]
21632 * time/tzset.c (__tzset_parse_tz): Update default rules for
21633 daylight time changes in the Energy Policy Act of 2005.
21634
1db86e88
AJ
216352012-05-09 Andreas Jaeger <aj@suse.de>
21636
21637 [BZ #13983]
21638 * elf/ldconfig.c (parse_conf): Change string to make clear that
21639 ldconfig only issued a warning if ld.so.conf does not exist.
21640
dee4a4e3
DM
216412012-05-08 David S. Miller <davem@davemloft.net>
21642
ee0db190
DM
21643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
21644 movxtod instead of popping the value on the stack.
21645
dee4a4e3
DM
21646 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21647
6a43ec98
CD
216482012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
21649
21650 * config.h.in: Add HAVE_ARM_PCS_VFP.
21651
05c2c961
RMG
216522012-05-08 Roland Mc Grath <roland@hack.frob.com>
21653
bcfe3a54
ST
21654 [BZ #13979]
21655 * include/features.h: Warn if user requests __FORTIFY_SOURCE
21656 checking but the checks are disabled for any reason.
05c2c961 21657
4b30f61a
L
216582012-05-08 H.J. Lu <hongjiu.lu@intel.com>
21659
21660 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
21661 and ELF64_R_TYPE with ELFW(R_TYPE).
21662
eee2bc67
JM
216632012-05-08 Joseph Myers <joseph@codesourcery.com>
21664
7ea5391a
JM
21665 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
21666 (ulimit): Likewise.
21667
eee2bc67
JM
21668 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
21669 (settimeofday): Likewise.
21670
abb66a67
MF
216712012-05-08 Mike Frysinger <vapier@gentoo.org>
21672
21673 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
21674 a struct th_u2 inside the union, and move tu_block/tu_code into
21675 a new th_u3 union of tu_block/tu_code inside of that. Move
21676 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
21677 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
21678 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
21679 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
21680 (th_stuff): Change to th_u1.tu_stuff.
21681 (th_data): Define.
21682 (th_msg): Change to th_u1.th_u2.tu_data.
21683
7f18b530
DM
216842012-05-07 David S. Miller <davem@davemloft.net>
21685
05760585
DM
21686 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21687
7f18b530
DM
21688 [BZ #14074]
21689 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
21690 (SETUP_PIC_REG): Use it.
21691 (SETUP_PIC_REG_LEAF): Use it.
21692
495fd99f
JM
216932012-05-07 Joseph Myers <joseph@codesourcery.com>
21694
21695 [BZ #13885]
21696 [BZ #13923]
21697 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21698 USE_AS_EXPM1L.
21699 (EXPL_FINITE): Likewise.
21700 (FLDLOG): Likewise.
21701 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
21702 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
21703 e_expl.S.
21704 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21705 USE_AS_EXPM1L.
21706 (EXPL_FINITE): Likewise.
21707 (FLDLOG): Likewise.
21708 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
21709 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
21710 e_expl.S.
21711 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
21712 test of -max_value argument for long double.
21713 * sysdeps/i386/fpu/libm-test-ulps: Update.
21714 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21715
6693d694
DM
217162012-05-06 David S. Miller <davem@davemloft.net>
21717
21718 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
21719 quad soft-float symbols whose references which are compiler
21720 generated.
21721 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
21722
6c23e11c
JM
217232012-05-06 Joseph Myers <joseph@codesourcery.com>
21724
d8b82cad
JM
21725 [BZ #13884]
21726 [BZ #13914]
21727 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21728 USE_AS_EXP10L.
21729 (EXPL_FINITE): Likewise.
21730 (FLDLOG): Likewise.
21731 (c0): Likewise.
21732 (c1): Likewise.
21733 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
21734 Adjust comments for base varying.
21735 (__expl_finite): Change alias to EXPL_FINITE.
21736 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
21737 e_expl.S.
21738 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
21739 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
21740 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
21741 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
21742 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21743 USE_AS_EXP10L.
21744 (EXPL_FINITE): Likewise.
21745 (FLDLOG): Likewise.
21746 (c0): Likewise.
21747 (c1): Likewise.
21748 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
21749 Adjust comments for base varying.
21750 (__expl_finite): Change alias to EXPL_FINITE.
21751 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
21752 tests for bugs.
21753 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21754
6c23e11c
JM
21755 [BZ #14064]
21756 * math/libm-test.inc (check_float_internal): Correct ulp
21757 calculation for subnormal expected results.
21758
29ba805c
AJ
217592012-05-06 Andreas Jaeger <aj@suse.de>
21760
21761 * Makeconfig (+math-flags): New, set to -frounding-math.
21762 (+cflags): Add +math-flags so that all of glibc gets compiled with
21763 it.
21764
21765 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
21766
7b17aeda
JM
217672012-05-05 Joseph Myers <joseph@codesourcery.com>
21768
5779f134
JM
21769 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
21770 Disable one test.
21771
41498f4d
JM
21772 [BZ #13787]
21773 [BZ #13922]
21774 [BZ #14036]
21775 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
21776 (__ieee754_expl): Allow for and saturate large arguments.
21777 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
21778 (u_threshold): Likewise.
21779 (__exp): Call __ieee754_exp before checking for overflow and
21780 underflow.
21781 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
21782 (u_threshold): Likewise.
21783 (__expf): Call __ieee754_expf before checking for overflow and
21784 underflow.
21785 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
21786 (u_threshold): Likewise.
21787 (__expl): Call __ieee754_expl before checking for overflow and
21788 underflow.
21789 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
21790 (__ieee754_expl): Allow for and saturate large arguments.
21791 * math/libm-test.inc (exp_test): Add another test. Do not allow
21792 missing overflow exception on overflow.
21793 (expm1_test): Do not allow missing overflow exception on overflow.
21794
6698b8bf
JM
21795 * sysdeps/i386/fpu/e_expl.c: Move to ...
21796 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
21797 rather than using inline asm.
21798 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
21799 * sysdeps/x86_64/fpu/e_expl.S: Copy from
21800 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
21801
7b17aeda
JM
21802 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
21803 (nice): Likewise.
21804 (poll): Likewise.
21805 (signal): Likewise.
21806 (time): Likewise.
21807 (times): Likewise.
21808
f7c85819
JM
218092012-05-04 Joseph Myers <joseph@codesourcery.com>
21810
21811 * sysdeps/unix/syscalls.list (adjtime): Add entry from
21812 sysdeps/unix/common/syscalls.list.
21813 (fchmod): Likewise.
21814 (fchown): Likewise.
21815 (ftruncate): Likewise.
21816 (getrusage): Likewise.
21817 (gettimeofday): Likewise.
21818 (setpgid): Likewise.
21819 (setregid): Likewise.
21820 (setreuid): Likewise.
21821 (sigaction): Likewise.
21822 (truncate): Likewise.
21823 (vhangup): Likewise.
21824 * sysdeps/unix/common/syscalls.list: Remove file.
21825 * sysdeps/unix/bsd/Implies: Don't include unix/common.
21826 * sysdeps/unix/sysv/linux/Implies: Likewise.
21827
336270d0
L
218282012-05-04 H.J. Lu <hongjiu.lu@intel.com>
21829
21830 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
21831 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
21832 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
21833 Moved to ...
21834 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
21835 Here.
21836 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
21837 to ...
21838 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
21839 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
21840 to ...
21841 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
21842 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
21843 to ...
21844 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
21845 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
21846 to ...
21847 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
21848 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
21849 to ...
21850 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
21851 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
21852 to ...
21853 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
21854 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
21855 to ...
21856 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
21857 Here.
21858 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
21859 to ...
21860 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
21861 Here.
21862 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
21863 to ...
21864 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
21865 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
21866 Moved to ...
21867 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
21868 Here.
21869 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
21870 to ...
21871 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
21872
d128e450
JM
218732012-05-04 Joseph Myers <joseph@codesourcery.com>
21874
fa8ee516
JM
21875 * sysdeps/unix/common/bits/dirent.h: Remove file.
21876 * sysdeps/unix/common/bits/fcntl.h: Likewise.
21877
d128e450
JM
21878 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
21879 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
21880 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
21881 * sysdeps/unix/bsd/isatty.c: Likewise.
21882 * sysdeps/unix/bsd/tcdrain.c: Likewise.
21883 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
21884 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
21885
ff8faaf0 218862012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 21887
62881be4 21888 [BZ #13563]
31dc8730
AZ
21889 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
21890 long double comparison inaccuracies.
21891 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
21892 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21893
6fef930c
AS
218942012-05-04 Andreas Schwab <schwab@linux-m68k.org>
21895
21896 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
21897 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
21898
8f203e6c
JM
218992012-05-04 Joseph Myers <joseph@codesourcery.com>
21900
21901 [BZ #14049]
21902 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
21903 nonzero digits before rounding a hex value.
21904 * stdlib/tst-strtod.c (tests): Add another test.
21905
5197d9c2
AK
219062012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21907
21908 * sysdeps/s390/fpu/libm-test-ulps: Update.
21909
f0c1dedf
AJ
219102012-05-03 Andreas Jaeger <aj@suse.de>
21911
21912 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
21913 does not get optimized out.
21914 (malloc_opt_barrier): New.
21915
a65ef2ae 219162012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 21917 Roland McGrath <roland@hack.frob.com>
a65ef2ae 21918
2b942cb7 21919 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 21920 intermediate file deletion.
2b942cb7 21921 (generated): Add .symlist files.
a65ef2ae 21922
54b71e02
JM
219232012-05-03 Joseph Myers <joseph@codesourcery.com>
21924
21925 [BZ #13775]
21926 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
21927 Redirect under this condition.
21928 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
21929 [__USE_GNU] (__dprintf_chk): Not under this condition.
21930 [__USE_GNU] (__vdprintf_chk): Likewise.
21931 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
21932 under this condition.
21933 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
21934 [__USE_XOPEN2K8] (dprintf): Define under this condition.
21935 [__USE_XOPEN2K8] (vdprintf): Likewise.
21936 [__USE_GNU] (__dprintf_chk): Not under this condition.
21937 [__USE_GNU] (__vdprintf_chk): Likewise.
21938 [__USE_GNU] (dprintf): Likewise.
21939 [__USE_GNU] (vdprintf): Likewise.
21940
d3dfcc41
RM
219412012-05-03 Roland McGrath <roland@hack.frob.com>
21942
21943 * elf/Makefile (common-generated): Set this instead of generated for
21944 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
21945 $(all-built-dso)-derived lists.
21946
7ac30cc5
AJ
219472012-05-03 Andreas Jaeger <aj@suse.de>
21948
0c51e550
AJ
21949 * sysdeps/i386/fpu/libm-test-ulps: Update.
21950
7ac30cc5
AJ
21951 * FAQ: Removed.
21952 * FAQ.in: Likewise.
21953 * scripts/gen-FAQ.pl: Likewise.
21954 * manual/install.texi (Installation): Point to online location of
21955 FAQ.
21956 * Makefile (files-for-dist): Remove FAQ.
21957 (FAQ): Remove.
21958
d4c2917f
AM
219592012-05-02 Allan McRae <allan@archlinux.org>
21960
21961 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
21962 (LDFLAGS-reldepmod5.so): Likewise.
21963 (LDFLAGS-reldep6mod1.so): Likewise.
21964 (LDFLAGS-reldep6mod4.so): Likewise.
21965 (LDFLAGS-reldep8mod3.so): Likewise.
21966 (LDFLAGS-unload4mod1.so): Likewise.
21967 (LDFLAGS-unload4mod2.so): Likewise.
21968 (LDFLAGS-tst-initorder): Likewise.
21969 (LDFLAGS-tst-initordera2.so): Likewise.
21970 (LDFLAGS-tst-initordera3.so): Likewise.
21971 (LDFLAGS-tst-initordera4.so): Likewise.
21972 (LDFLAGS-tst-initorderb2.so): Likewise.
21973 (LDFLAGS-noload): Likewise.
21974 (LDFLAGS-next): Likewise.
21975 (LDFLAGS-order2mod1.so): Likewise.
21976 (LDFLAGS-order2mod2.so): Likewise.
21977 (LDFLAGS-tst-initorder2): Likewise.
21978 (LDFLAGS-tst-initorder2a.so): Likewise.
21979 (LDFLAGS-tst-initorder2b.so): Likewise.
21980 (LDFLAGS-tst-initorder2c.so): Likewise.
21981 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
21982
d77f993f
DM
219832012-05-02 David S. Miller <davem@davemloft.net>
21984
21985 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21986
171a70b4
PP
219872012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
21988
21989 [BZ #14055]
21990 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
21991
0be196ad
AJ
219922012-05-02 Andreas Jaeger <aj@suse.de>
21993
21994 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
21995 since we manipulate rounding mode.
21996 (CPPFLAGS-test-idouble.c): Likewise.
21997 (CPPFLAGS-test-ifloat.c): Likewise.
21998 (CFLAGS-test-ldouble.c): Likewise.
21999 (CFLAGS-test-double.c): Likewise.
22000 (CFLAGS-test-float.c): Likewise.
22001 (CFLAGS-test-misc.c): Likewise.
22002 (CFLAGS-test-test-fenv.c): Likewise.
22003
4f9d04aa
AZ
220042012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22005
2b942cb7
RM
22006 [BZ #2550]
22007 [BZ #2570]
22008 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
22009 comparisons to determine direction to adjust input.
4f9d04aa 22010
82a79e7d
RM
220112012-05-01 Roland McGrath <roland@hack.frob.com>
22012
f5a01ca9
RM
22013 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
22014 output to the target.
22015
90fe4186
RM
22016 * scripts/localplt.awk: New file.
22017 * elf/Makefile ($(objpfx)check-localplt): Target removed.
22018 (check-localplt-CFLAGS): Variable removed.
22019 ($(all-built-dso:=.jmprel)): New static pattern rule.
22020 (generated): Add those targets.
22021 (localplt-built-dso): New variable.
22022 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
22023
22024 * elf/check-localplt.c: File removed.
22025
82397ed6
RM
22026 * scripts/check-execstack.awk: New file.
22027 * elf/Makefile ($(objpfx)check-execstack): Target removed.
22028 (check-execstack-CFLAGS): Variable removed.
22029 ($(objpfx)check-execstack.h): Target removed.
22030 ($(objpfx)execstack-default): New target.
22031 (generated): Add that instead of check-execstack.h.
22032 ($(all-built-dso:=.phdr)): New static pattern rule.
22033 (generated): Add those targets.
22034 * elf/check-execstack.c: File removed.
22035
82a79e7d
RM
22036 * scripts/check-textrel.awk: New file.
22037 * elf/Makefile ($(objpfx)check-textrel): Target removed.
22038 (check-textrel-CFLAGS): Variable removed.
22039 (all-built-dso): Use := to define.o
22040 ($(all-built-dso:=.dyn)): New static pattern rule.
22041 (generated): Add those targets.
22042 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
22043 * config.make.in (READELF): New substituted variable.
22044 * elf/check-textrel.c: File removed.
22045
62fde54f 220462012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 22047
615605c9
JM
22048 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
22049 allow.
22050 * conform/data/ctype.h-data [C99-based standards] (isblank):
22051 Expect function.
22052 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
22053 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
22054 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22055 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
22056 Specify type. Require positive value.
22057 (EILSEQ): Likewise.
22058 (ERANGE): Likewise.
22059 [ISO || POSIX] (EILSEQ): Do not expect.
22060 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
22061 Specify type. Require positive value.
22062 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
22063 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
22064 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
22065 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
22066 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
22067 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
22068 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
22069 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
22070 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
22071 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
22072 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
22073 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
22074 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
22075 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
22076 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
22077 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
22078 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
22079 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
22080 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
22081 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
22082 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
22083 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
22084 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
22085 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
22086 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
22087 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
22088 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
22089 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
22090 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
22091 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
22092 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
22093 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
22094 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
22095 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
22096 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
22097 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
22098 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
22099 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
22100 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
22101 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
22102 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
22103 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
22104 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
22105 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
22106 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
22107 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
22108 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
22109 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
22110 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
22111 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
22112 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
22113 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
22114 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
22115 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
22116 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
22117 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
22118 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
22119 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
22120 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
22121 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
22122 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
22123 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
22124 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
22125 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
22126 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
22127 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
22128 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
22129 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
22130 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
22131 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
22132 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
22133 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
22134 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
22135 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
22136 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
22137 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
22138 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
22139 Require >= 2.
22140 (FLT_ROUNDS): Expect as macro, not constant.
22141 (FLT_MANT_DIG): Use macro-int-constant.
22142 (DBL_MANT_DIG): Likewise.
22143 (LDBL_MANT_DIG): Likewise.
22144 (FLT_DIG): Likewise.
22145 (DBL_DIG): Likewise.
22146 (LDBL_DIG): Likewise.
22147 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
22148 (DBL_MIN_EXP): Likewise.
22149 (LDBL_MIN_EXP): Likewise.
22150 (FLT_MAX_EXP): Use macro-int-constant.
22151 (DBL_MAX_EXP): Likewise.
22152 (LDBL_MAX_EXP): Likewise.
22153 (FLT_MAX_10_EXP): Likewise.
22154 (DBL_MAX_10_EXP): Likewise.
22155 (LDBL_MAX_10_EXP): Likewise.
22156 (FLT_MAX): Use macro-constant.
22157 (DBL_MAX): Likewise.
22158 (LDBL_MAX): Likewise.
22159 (FLT_EPSILON): Use macro-constant. Give upper bound.
22160 (DBL_EPSILON): Likewise.
22161 (LDBL_EPSILON): Likewise.
22162 (FLT_MIN): Likewise.
22163 (DBL_MIN): Likewise.
22164 (LDBL_MIN): Likewise.
22165 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
22166 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
22167 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
22168 [ISO11] (FLT_HAS_SUBNORM): Likewise.
22169 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
22170 [ISO11] (DBL_DECIMAL_DIG): Likewise.
22171 [ISO11] (FLT_DECIMAL_DIG): Likewise.
22172 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
22173 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
22174 [ISO11] (FLT_TRUE_MIN): Likewise.
22175 [ISO11] (LDBL_TRUE_MIN): Likewise.
22176 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22177 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
22178 (SCHAR_MIN): Use macro-int-constant. Specify type.
22179 (SCHAR_MAX): Likewise.
22180 (UCHAR_MAX): Likewise.
22181 (CHAR_MIN): Likewise.
22182 (CHAR_MAX): Likewise.
22183 (MB_LEN_MAX): Use macro-int-constant.
22184 (SHRT_MIN): Use macro-int-constant. Specify type.
22185 (SHRT_MAX): Likewise.
22186 (USHRT_MAX): Likewise.
22187 (INT_MAX): Likewise.
22188 (INT_MIN): Use macro-int-constant. Specify type. Make upper
22189 bound negative.
22190 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
22191 bound with "U".
22192 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
22193 bound with "L".
22194 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
22195 bound negative. Suffix upper bound with "L".
22196 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
22197 bound with "UL".
22198 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
22199 Specify type.
22200 [C99-based standards] (LLONG_MAX): Likewise.
22201 [C99-based standards] (ULLONG_MAX): Likewise.
22202 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
22203 == 0.
22204 [ISO11] (max_align_t): Require type.
22205 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22206
c9140a62
JM
22207 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
22208 from $CFLAGS, without defining away __attribute__ calls.
22209 (checknamespace): Use $CFLAGS_namespace.
22210
9af0bf29
JM
22211 * conform/conformtest.pl (@keywords): Only include C99 keywords
22212 for standards based on C99 or C11.
22213
343222a2
JM
22214 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
22215 Disable tests.
22216 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
22217 UNIX98]: Likewise.
22218
661f8cf0
JM
22219 * conform/conformtest.pl: Handle "macro-int-constant" and test for
22220 usability of symbols in #if.
22221
ee74b9cb
JM
22222 * conform/conformtest.pl: If macro or constant types start
22223 "promoted:", expect the symbol to be of the following type
22224 promoted by the integer promotions.
62fde54f 22225
aafc49b3
JM
22226 * conform/conformtest.pl: Parse all "constant" and "macro" lines
22227 in one place. Also handle "macro-constant".
22228
fefdf574
JM
22229 * conform/conformtest.pl: Only accept expected macro values with
22230 "==". Parse all "macro" lines in one place.
22231 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
22232
f2d922fe
JM
22233 * conform/conformtest.pl: Handle braced types on "constant" lines
22234 instead of handling "typed-constant".
22235 * conform/data/signal.h-data: Use "constant" instead of
22236 "typed-constant".
22237
d22956c9
JM
22238 * conform/conformtest.pl: Handle "optional-" at start of lines in
22239 one place rather than duplicating several cases. Handle each
22240 format of "macro" line with initial "optional-".
22241
028e2e38
JM
22242 * conform/conformtest.pl: Only accept expected constant or
22243 optional-constant values with "==". Parse all "constant" lines in
22244 one place. Parse all "optional-constant" lines in one place.
22245 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
22246 * conform/data/fmtmsg.h-data: Likewise.
22247 * conform/data/netinet/in.h-data: Likewise.
22248 * conform/data/tar.h-data: Likewise.
22249 * conform/data/limits.h-data: Use "==" form on "constant" and
22250 "optional-constant" lines.
22251
1b8f2850
JM
22252 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
22253 Use -std=c99 for XOPEN2K.
22254 (@knownproblems): Remove.
22255 (newtoken): Don't check %isknown.
22256
a05a144b
JM
22257 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
22258 Do not expect macro.
22259 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
22260 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
22261 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
22262 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
22263 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
22264 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
22265 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
22266 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
22267 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
22268 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
22269 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
22270 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
22271 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
22272 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
22273 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
22274 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
22275 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
22276 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
22277 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
22278 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
22279 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
22280 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
22281 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
22282 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
22283 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
22284 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
22285 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
22286 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
22287 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
22288 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
22289 [XPG3] (acosh): Likewise.
22290 [XPG3] (asinh): Likewise.
22291 [XPG3] (atanh): Likewise.
22292 [XPG3] (cbrt): Likewise.
22293 [XPG3] (expm1): Likewise.
22294 [XPG3] (ilogb): Likewise.
22295 [XPG3] (log1p): Likewise.
22296 [XPG3] (logb): Likewise.
22297 [XPG3] (nextafter): Likewise.
22298 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
22299 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
22300 [XPG3] (remainder): Likewise.
22301 [XPG3] (rint): Likewise.
22302 [XPG3 || XPG4 || UNIX98] (round): Likewise.
22303 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
22304 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
22305 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
22306 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
22307 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
22308 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
22309 [UNIX98 || XOPEN2K] (scalb): Expect.
22310 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
22311 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
22312 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
22313 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
22314 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
22315 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
22316 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
22317 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
22318 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
22319 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
22320 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
22321 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
22322 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
22323 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
22324 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
22325 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
22326 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
22327 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
22328 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
22329 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
22330 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
22331 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
22332 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
22333 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
22334 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
22335 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
22336 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
22337 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
22338 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
22339 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
22340 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
22341 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
22342 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
22343 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
22344 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
22345 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
22346 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
22347 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
22348 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
22349 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
22350 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
22351 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
22352 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
22353 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
22354 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
22355 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
22356 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
22357 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
22358 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
22359 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
22360 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
22361 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
22362 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
22363 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
22364 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
22365 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
22366 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
22367 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
22368 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
22369 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
22370 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
22371 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
22372 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
22373 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
22374 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
22375 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
22376 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
22377 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
22378 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
22379 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
22380 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
22381 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
22382 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
22383 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
22384 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
22385 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
22386 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
22387 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
22388 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
22389 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
22390 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
22391 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
22392 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
22393 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
22394 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
22395 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
22396 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
22397 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
22398 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
22399 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
22400 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
22401 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
22402 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
22403 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
22404 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
22405 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
22406 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
22407 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
22408 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
22409 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
22410 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
22411 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
22412 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
22413 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
22414 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
22415 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
22416 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
22417 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
22418 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
22419 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
22420 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
22421 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
22422 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
22423 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
22424 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
22425 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
22426 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
22427 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
22428 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
22429 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
22430 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
22431 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
22432 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
22433 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
22434 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
22435 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
22436 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
22437 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
22438 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
22439 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
22440 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
22441 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
22442 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
22443 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
22444 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
22445 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
22446 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
22447
73c5ebe3
JM
22448 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
22449 _XOPEN_SOURCE_EXTENDED for XPG4.
22450
39c33b6c
JM
22451 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
22452
62fde54f
JM
22453 * Makeconfig (localtime): Remove variable.
22454 (inst_localtime-file): Likewise.
22455
0741d64c
AS
224562012-05-01 Andreas Schwab <schwab@linux-m68k.org>
22457
22458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
22459 Update.
22460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22461 Update.
22462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
22463 Update.
22464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
22465 Update.
22466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
22467 Update.
22468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
22469 Update.
22470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22471 Update.
22472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
22473 Update.
22474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22475 Update.
22476
7cb029ee
JM
224772012-05-01 Joseph Myers <joseph@codesourcery.com>
22478
22479 [BZ #2550]
22480 [BZ #2570]
22481 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
22482 comparisons to determine direction to adjust input.
22483 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
22484 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
22485 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
22486 Likewise.
22487 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
22488 Likewise.
22489 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
22490 Likewise.
22491 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
22492 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
22493 Likewise.
22494 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
22495 Likewise.
22496 * math/libm-test.inc (nexttoward_test): Add more tests.
22497
412bd966
AS
224982012-05-01 Andreas Schwab <schwab@linux-m68k.org>
22499
22500 [BZ #14040]
22501 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
22502 in version GLIBC_2.1, not GLIBC_2.0.
22503 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
22504 Likewise.
22505
9568c0c2
JM
225062012-04-30 Joseph Myers <joseph@codesourcery.com>
22507
adfbc8ac
JM
22508 [BZ #13942]
22509 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
22510 (1 - x) * (1 + x).
22511 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
22512 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
22513 * math/libm-test.inc (acos_test): Add more tests.
22514 (asin_test): Likewise.
22515 * sysdeps/i386/fpu/libm-test-ulps: Update.
22516 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22517
5ba3cc69
JM
22518 [BZ #14034]
22519 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
22520 of square root.
22521 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
22522 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
22523 * math/libm-test.inc (acos_test_tonearest): New function.
22524 (acos_test_towardzero): Likewise.
22525 (acos_test_downward): Likewise.
22526 (acos_test_upward): Likewise.
22527 (asin_test_tonearest): Likewise.
22528 (asin_test_towardzero): Likewise.
22529 (asin_test_downward): Likewise.
22530 (asin_test_upward): Likewise.
22531 (main): Call the new functions.
22532 * sysdeps/i386/fpu/libm-test-ulps: Update.
22533 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22534
9568c0c2
JM
22535 [BZ #13884]
22536 [BZ #13924]
22537 * math/e_exp10.c: Include <float.h>.
22538 (__ieee754_exp10): Handle underflow here rather than multiplying
22539 large negative argument by M_LN10.
22540 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
22541 of __ieee754_expf.
22542 * math/e_exp10l.c: Include <float.h>.
22543 (__ieee754_exp10l): Handle underflow here rather than multiplying
22544 large negative argument by M_LN10l.
22545 * math/libm-test.inc (exp10_test): Add another test. Do not allow
22546 spurious overflow exception on underflow.
22547
5ac3ea17
MP
225482012-04-29 Marek Polacek <polacek@redhat.com>
22549
22550 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
22551 (__fortify_function): New macro.
22552 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
22553 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
22554 __extern_always_inline.
22555 * libio/bits/stdio2.h: Likewise.
22556 * libio/bits/stdio.h: Likewise.
22557 * string/string.h: Likewise.
22558 * string/bits/string3.h: Likewise.
22559 * include/stdio.h: Likewise.
22560 * stdlib/bits/stdlib.h: Likewise.
22561 * stdlib/stdlib.h: Likewise.
22562 * rt/bits/mqueue2.h: Likewise.
22563 * rt/mqueue.h: Likewise.
22564 * posix/bits/unistd.h: Likewise.
22565 * posix/unistd.h: Likewise.
22566 * io/bits/poll2.h: Likewise.
22567 * io/bits/fcntl2.h: Likewise.
22568 * io/fcntl.h: Likewise.
22569 * io/sys/poll.h: Likewise.
22570 * misc/bits/syslog.h: Likewise.
22571 * misc/bits/syslog-ldbl.h: Likewise.
22572 * misc/sys/syslog.h: Likewise.
22573 * socket/bits/socket2.h: Likewise.
22574 * socket/sys/socket.h: Likewise.
22575 * debug/tst-chk1.c: Likewise.
22576 * wcsmbs/bits/wchar2.h: Likewise.
22577 * wcsmbs/bits/wchar-ldbl.h: Likewise.
22578 * wcsmbs/wchar.h: Likewise.
22579
ecf0ebfb
AJ
225802012-04-29 Andreas Jaeger <aj@suse.de>
22581
22582 * Makerules (tests): Remove enable-check-abi protection.
22583 (check-abi-warn): Remove.
22584 (check-abi-%): Remove check-abi-warn usage.
22585
22586 * configure.in: Remove check-abi configure option.
22587 * configure: Regenerated.
22588 * config.make.in (enable-check-abi): Remove.
22589
6d5c57fa
AS
225902012-04-28 Andreas Schwab <schwab@linux-m68k.org>
22591
24c5d07e 22592 [BZ #14033]
ded5180a
AS
22593 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
22594 double functions to double *_finite functions.
22595
7e0d315d
AS
22596 [BZ #13941]
22597 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
22598 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
22599 LDBL_MIN_EXP.
22600 * stdio-common/Makefile (tests): Add tst-sprintf3.
22601 * stdio-common/tst-sprintf3.c: New file.
22602
6d5c57fa
AS
22603 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
22604 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
22605
0749ff8b
JM
226062012-04-28 Joseph Myers <joseph@codesourcery.com>
22607
22608 * conform/conformtest.pl: Remove duplicate typed-constant
22609 handling.
22610
8dbd5d7b
DM
226112012-04-28 David S. Miller <davem@davemloft.net>
22612
22613 * Makerules (%.abilist): Add vpath on sysdep_dirs.
22614 (check-abi-%): Remove AWK script prerequisite and explicit
22615 abilist directory.
22616 (check-abi): Rewrite to just diff the symlist with the abilist.
22617 (config-tls, config-abi-config): Delete, no longer used.
22618 (update-abi-%): Remove AWK script and explicit abilist directory.
22619 (update-abi): Rewrite to simply compare and conditionally copy the
22620 symlist and the sysdep abilist file. Remove update-abi-config
22621 checks.
22622 * abilist/ld.abilist: Remove.
22623 * abilist/libBrokenLocale.abilist: Remove.
22624 * abilist/libanl.abilist: Remove.
22625 * abilist/libcrypt.abilist: Remove.
22626 * abilist/libdl.abilist: Remove.
22627 * abilist/librt.abilist: Remove.
22628 * abilist/libthread_db.abilist: Remove.
22629 * abilist/libutil.abilist: Remove.
22630 * scripts/extract-abilist.awk: Remove.
22631 * scripts/merge-abilist.awk: Remove.
22632 * sysdeps/generic/libcidn.abilist: New file.
22633 * sysdeps/generic/libnss_compat.abilist: New file.
22634 * sysdeps/generic/libnss_db.abilist: New file.
22635 * sysdeps/generic/libnss_dns.abilist: New file.
22636 * sysdeps/generic/libnss_files.abilist: New file.
22637 * sysdeps/generic/libnss_hesiod.abilist: New file.
22638 * sysdeps/generic/libnss_nis.abilist: New file.
22639 * sysdeps/generic/libnss_nisplus.abilist: New file.
22640 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
22641 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
22642 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
22643 file.
22644 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
22645 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
22646 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
22647 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
22648 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
22649 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
22650 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
22651 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
22652 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
22653 file.
22654 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
22655 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
22656 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
22657 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
22658 file.
22659 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
22660 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
22661 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
22662 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
22663 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
22664 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
22665 file.
22666 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
22667 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
22668 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
22669 file.
22670 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
22671 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
22672 New file.
22673 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
22674 New file.
22675 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
22676 New file.
22677 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
22678 New file.
22679 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
22680 New file.
22681 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
22682 New file.
22683 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
22684 New file.
22685 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
22686 New file.
22687 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
22688 New file.
22689 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
22690 New file.
22691 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
22692 New file.
22693 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
22694 New file.
22695 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
22696 New file.
22697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
22698 file.
22699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
22700 New file.
22701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
22702 New file.
22703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
22704 file.
22705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
22706 New file.
22707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
22708 New file.
22709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
22710 file.
22711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
22712 New file.
22713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22714 New file.
22715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
22716 New file.
22717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
22718 New file.
22719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
22720 New file.
22721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
22722 New file.
22723 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
22724 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
22725 file.
22726 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
22727 New file.
22728 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
22729 file.
22730 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
22731 file.
22732 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
22733 file.
22734 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
22735 file.
22736 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
22737 file.
22738 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22739 New file.
22740 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
22741 file.
22742 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
22743 file.
22744 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
22745 New file.
22746 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
22747 file.
22748 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
22749 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
22750 file.
22751 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
22752 New file.
22753 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
22754 file.
22755 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
22756 file.
22757 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
22758 file.
22759 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
22760 file.
22761 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
22762 file.
22763 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22764 New file.
22765 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
22766 file.
22767 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
22768 file.
22769 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
22770 New file.
22771 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
22772 file.
22773 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
22774 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
22775 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
22776 file.
22777 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
22778 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
22779 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
22780 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
22781 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
22782 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
22783 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
22784 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
22785 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
22786 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
22787 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
22788 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
22789 file.
22790 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
22791 New file.
22792 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
22793 file.
22794 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
22795 file.
22796 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
22797 file.
22798 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
22799 file.
22800 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
22801 file.
22802 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
22803 New file.
22804 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
22805 New file.
22806 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
22807 file.
22808 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
22809 New file.
22810 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
22811 file.
22812 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
22813 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
22814 file.
22815 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
22816 New file.
22817 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
22818 file.
22819 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
22820 file.
22821 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
22822 file.
22823 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
22824 file.
22825 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
22826 file.
22827 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
22828 New file.
22829 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
22830 New file.
22831 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
22832 file.
22833 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
22834 New file.
22835 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
22836 file.
22837
41d73a1b
JM
228382012-04-28 Joseph Myers <joseph@codesourcery.com>
22839
22840 * conform/conformtest.pl: Fix typo in handling typed-constant from
22841 allow-header.
22842
28aeeda4
JM
228432012-04-27 Joseph Myers <joseph@codesourcery.com>
22844
adae8f5e
JM
22845 * README: Cut down references to pre-2.6 Linux kernels and
22846 Linuxthreads. Update lists of configurations in libc and ports
22847 and sort alphabetically. Say "or newer" with Linux kernel version
22848 requirements.
22849
28aeeda4
JM
22850 * config.h.in [IS_IN_build]: Allow compiling without optimization.
22851
a462cb63
RA
228522012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22853
22854 [BZ #887]
22855 * math/libm-test.inc (logb_test_downward): New test to expose
22856 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
22857 rounding mode.
22858
6ad3493e
JM
228592012-04-27 Joseph Myers <joseph@codesourcery.com>
22860
22861 [BZ #14027]
22862 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
22863 to be done.
22864 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
22865 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
22866
2ce4f015
JM
228672012-04-26 Joseph Myers <joseph@codesourcery.com>
22868
5aeb141a
JM
22869 * sysdeps/unix/i386/brk.S: Remove file.
22870 * sysdeps/unix/i386/dl-brk.S: Likewise.
22871 * sysdeps/unix/i386/pipe.S: Likewise.
22872 * sysdeps/unix/i386/sigreturn.S: Likewise.
22873 * sysdeps/unix/i386/syscall.S: Likewise.
22874 * sysdeps/unix/i386/vfork.S: Likewise.
22875 * sysdeps/unix/i386/wait.S: Likewise.
22876
7143acae
JM
22877 * sysdeps/unix/common/tcsendbrk.c: Move to ...
22878 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
22879
2ce4f015
JM
22880 * configure.in (arm*-none*): Do not allow without
22881 --enable-hacker-mode.
22882 (netbsd*): Remove case setting base_os.
22883 (386bsd*): Likewise.
22884 (freebsd*): Likewise.
22885 (bsdi*): Likewise.
22886 (osf*): Likewise.
22887 (sunos*): Likewise.
22888 (ultrix*): Likewise.
22889 (newsos*): Likewise.
22890 (dynix*): Likewise.
22891 (*bsd*): Likewise.
22892 (sysv*): Likewise.
22893 (isc*): Likewise.
22894 (esix*): Likewise.
22895 (sco*): Likewise.
22896 (minix*): Likewise.
22897 (irix4*): Likewise.
22898 (irix6*): Likewise.
22899 (solaris[2-9]*): Likewise.
22900 (none): Likewise.
22901 * configure: Regenerated.
22902
0ac229c8
AZ
229032012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22904
22905 [BZ #11521]
22906 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
22907 overflow or cancellation in calculating denominator.
22908 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
22909 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
22910 down expression to avoid unexpected rounding in newer GCCs.
22911 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
22912
33f244f4
DM
229132012-04-26 David S. Miller <davem@davemloft.net>
22914
22915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
22916 long-double compat symbols.
22917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
22918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
22919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
22920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
22921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
22922 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
22923 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
22924 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
22925 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
22926 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
22927 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
22928 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
22929 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
22930
cfa1f3e8
DM
229312012-04-25 David S. Miller <davem@davemloft.net>
22932
22933 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
22934 HWCAP_* values only after the memory barriers have been defined.
22935 (atomic_full_barrier): Define.
22936 (atomic_read_barrier): Define.
22937 (atomic_write_barrier): Define.
22938
6e236b92
SP
229392012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22940
22941 * shlib-versions: Add libgcc_s version information.
22942 * sysdeps/generic/libgcc_s.h: Remove.
22943 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
22944 libgcc_s.h.
22945 * sysdeps/gnu/unwind-resume.c: Likewise.
22946 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
22947
aab39a09
DM
229482012-04-25 David S. Miller <davem@davemloft.net>
22949
22950 * sysdeps/unix/sparc/brk.S: Delete.
22951 * sysdeps/unix/sparc/dl-brk.S: Delete.
22952 * sysdeps/unix/sparc/pipe.S: Delete.
22953 * sysdeps/unix/sparc/sysdep.S: Delete.
22954 * sysdeps/unix/sparc/sysdep.h: Delete.
22955 * sysdeps/unix/sparc/vfork.S: Delete.
22956 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
22957 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
22958 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
22959 ret_ERRVAL, r0, r1, MOVE): Define.
22960 (JUMPTARGET): Remove.
22961 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
22962 sysdeps/unix/sparc/sysdep.h
22963 (ENTRY, END): Remove.
22964 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22965
a3cc4f48
JM
229662012-04-25 Joseph Myers <joseph@codesourcery.com>
22967
2ed8cda2
JM
22968 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
22969 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
22970 -DIS_IN_build.
22971
35d76d59
JM
22972 * timezone/README: Update upstream location and email address for
22973 tzcode and tzdata.
22974 * timezone/zdump.c: Update from tzcode 2012b.
22975 * timezone/zic.c: Likewise.
22976
a3cc4f48
JM
22977 * configure.in (libc_cv_as_needed): Remove test.
22978 * configure: Regenerated.
22979 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
22980 conditional definition.
22981 [$(have-as-needed) != yes] (no-as-needed): Likewise.
22982 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
22983 * config.make.in (have-as-needed): Remove variable.
22984
ceab42c3
SP
229852012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22986 Paul Pluzhnikov <ppluzhnikov@google.com>
22987
22988 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
22989 strings correctly.
22990
3ce2865f
CLT
229912012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
22992
22993 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
22994 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
22995 * sysdeps/sh/strlen.S: Likewise.
22996
f37e0d68
JM
229972012-04-24 Joseph Myers <joseph@codesourcery.com>
22998
ae186e9a
JM
22999 * sysdeps/unix/fork.S: Remove file.
23000 * sysdeps/unix/i386/fork.S: Likewise.
23001 * sysdeps/unix/sparc/fork.S: Likewise.
23002
b96914af
JM
23003 * sysdeps/unix/system.c: Remove file.
23004 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
23005
f37e0d68
JM
23006 * sysdeps/unix/getegid.S: Remove file.
23007 * sysdeps/unix/geteuid.S: Likewise.
23008
87ef29ca
RM
230092012-04-24 Roland McGrath <roland@hack.frob.com>
23010
83bcd236
RM
23011 * scripts/check-localplt.awk: New file.
23012 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
23013 of diff.
23014 * scripts/data/localplt-generic.data: Add a comment.
23015
87ef29ca
RM
23016 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
23017 NODE when __dir_mkfile failed.
23018 * sysdeps/mach/hurd/symlinkat.c: Likewise.
23019 Reported by Ludovic Courtès <ludo@gnu.org>.
23020
e5a6e567
AJ
230212012-04-24 Andreas Jaeger <aj@suse.de>
23022
23023 * Makerules (common-clean): Also remove gen-as-const-headers
23024 files.
23025
c1820385
JM
230262012-04-24 Joseph Myers <joseph@codesourcery.com>
23027
23028 * Makerules (native-compile): Do not change working directory for
23029 build. Use $(OUTPUT_OPTION) in command.
23030 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
23031
94e02fc4
AZ
230322012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23033
23034 [BZ #13886]
23035 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
23036 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
23037 * math/libm-test.inc (floor_test): Add more tests.
23038 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
23039
3a533ca3
JM
230402012-04-24 Joseph Myers <joseph@codesourcery.com>
23041
940ab4b3
JM
23042 * sysdeps/unix/getdents.c: Remove file.
23043 * sysdeps/unix/sysv/getdents.c: Likewise.
23044 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
23045
90e037bd
JM
23046 * sysdeps/unix/syscalls.list (madvise): Add syscall from
23047 sysdeps/unix/mman/syscalls.list.
23048 (mmap): Likewise.
23049 (mprotect): Likewise.
23050 (msync): Likewise.
23051 (munmap): Likewise.
23052 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
23053 * sysdeps/unix/mman/syscalls.list: Remove.
23054 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
23055
3a533ca3
JM
23056 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
23057 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
23058 * configure: Regenerated.
23059 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
23060 $(libgcc_s_suffix).
23061 * config.make.in (libgcc_s_suffix): Remove variable.
23062
1ad743de
JM
230632012-04-23 Joseph Myers <joseph@codesourcery.com>
23064
4ad451e2
JM
23065 * sysdeps/unix/sysv/gethostname.c: Move to ...
23066 * sysdeps/posix/gethostname.c: ... here.
23067
5e37ce39
JM
23068 * sysdeps/unix/execve.S: Remove file.
23069
1ad743de
JM
23070 * sysdeps/unix/_exit.S: Remove file.
23071
4e681b5b
AJ
230722012-04-23 Andreas Jaeger <aj@suse.de>
23073
23074 [BZ #13739]
23075 * manual/Makefile: Remove make dist support, there's no
23076 need for a stand-alone documentation tar ball.
23077 (TEXI2DVI): Define always, it's not in Makeconfig.
23078 (dist): Removed.
23079 (tar-it): Removed.
23080 (edition): Removed.
23081 (glibc-doc-$(edition).tar): Removed
23082 (%.Z): Removed.
23083 (%.gz): Removed.
23084 (%.uu): Removed.
23085 (ETAGS): Remove, it's in Makeconfig.
23086 (move-if-change): Remove, it's in Makeconfig.
23087
38686a03 230882012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
23089
23090 [BZ #13970]
23091 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
23092 (strtod, strtof, strtold, strtol, strtoul, strtoq)
23093 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
23094 (strtod_l, strtof_l, strtold_l): Remove __wur.
23095 It is not necessarily an error to ignore strtol's return value.
23096 One can reliably look at the stored endptr to decide whether
23097 the number had valid syntax.
23098
7c0616fa
AJ
230992012-04-21 Andreas Jaeger <aj@suse.de>
23100
803cb6b7 23101 [BZ #13739]
7c0616fa
AJ
23102 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
23103
b0fe253f
JM
231042012-04-21 Joseph Myers <joseph@codesourcery.com>
23105
23106 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
23107 * sysdeps/unix/sysv/Versions: Remove file.
23108
8280f22d
MT
231092012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
23110
23111 [BZ #13927]
23112 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23113
75ce411f 231142012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
23115
23116 [BZ #7064]
23117 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
23118 version from __vm86.
23119
097d59fa
JM
231202012-04-20 Joseph Myers <joseph@codesourcery.com>
23121
a90f3bcb
JM
23122 * sysdeps/unix/common/lxstat.c: Remove file.
23123 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
23124
edc7ea78
JM
23125 * sysdeps/unix/sysv/Makefile: Remove file.
23126
cb78c221
JM
23127 * sysdeps/unix/sysv/direct.h: Remove file.
23128
efa6a45f
JM
23129 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
23130 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
23131 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
23132 * sysdeps/unix/sysv/bits/signum.h: Likewise.
23133 * sysdeps/unix/sysv/bits/stat.h: Likewise.
23134 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
23135 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
23136
9c9f2d0c
JM
23137 * sysdeps/unix/sysv/setrlimit.c: Remove file.
23138
4541c83b
JM
23139 * sysdeps/unix/xmknod.c: Remove file.
23140 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
23141
f5d153a0
JM
23142 * sysdeps/unix/sysv/settimeofday.c: Remove file.
23143
aa746595
JM
23144 * sysdeps/unix/sysv/i386/time.S: Remove file.
23145
cce5905e
JM
23146 * sysdeps/unix/fxstat.c: Remove file.
23147 * sysdeps/unix/xstat.c: Likewise.
23148 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
23149
37fa3841
JM
23150 * sysdeps/unix/sysv/sigaction.c: Remove file.
23151
ff1962a3
JM
23152 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
23153 (sysdep_headers): Remove variable.
23154 [termio.h not in sysdep_headers] (generated): Likewise.
23155 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
23156 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
23157 * sysdeps/unix/sysv/tcdrain.c: Likewise.
23158 * sysdeps/unix/sysv/tcflow.c: Likewise.
23159 * sysdeps/unix/sysv/tcflush.c: Likewise.
23160 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
23161 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
23162 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
23163 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
23164 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
23165
e7740d31
JM
23166 * sysdeps/unix/siglist.c: Remove file.
23167
ee06f18b
JM
23168 * sysdeps/unix/getppid.S: Remove file.
23169
097d59fa
JM
23170 * sysdeps/unix/mkdir.c: Remove file.
23171 * sysdeps/unix/rmdir.c: Likewise.
23172
ff3d51ec
AS
231732012-04-19 Andreas Schwab <schwab@linux-m68k.org>
23174
23175 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
23176 ERR_MAX value.
23177 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
23178 errlist-compat value.
23179
50f81fd7
DM
231802012-04-18 David S. Miller <davem@davemloft.net>
23181
23182 * sysdeps/generic/memcopy.h (reg_char): Delete.
23183 * debug/strcat_chk.c: Use char, not reg_char.
23184 * debug/strcpy_chk.c: Likewise.
23185 * debug/strncat_chk.c: Likewise.
23186 * debug/strncpy_chk.c: Likewise.
23187 * string/memchr.c: Likewise.
23188 * string/memrchr.c: Likewise.
23189 * string/rawmemchr.c: Likewise.
23190 * string/strcat.c: Likewise.
23191 * string/strchr.c: Likewise.
23192 * string/strchrnul.c: Likewise.
23193 * string/strcmp.c: Likewise.
23194 * string/strcpy.c: Likewise.
23195 * string/strncat.c: Likewise.
23196 * string/strncmp.c: Likewise.
23197 * string/strncpy.c: Likewise.
23198
8ff41c46
WS
231992012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
23200
23201 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
23202 __builtin_memcopy is called when src and dest ranges are known to not
23203 overlap.
23204
6b652f46
WS
232052012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
23206
23207 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
23208 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
23209 fwd_align_merge macro call.
23210 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
23211 bwd_align_merge macro call.
23212 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
23213
b282631e
WS
232142012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
23215
23216 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
23217 bwd_align_merge macros.
23218 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
23219 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
23220 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
23221
95aa737c
DM
232222012-04-18 David S. Miller <davem@davemloft.net>
23223
23224 * sysdeps/sparc/sparc64/memcopy.h: Delete.
23225
7a99a614
AJ
232262012-04-18 Andreas Jaeger <aj@suse.de>
23227
23228 [BZ# 6794]
23229 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
23230 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
23231 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23232
23233 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
23234 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
23235 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23236
23237 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
23238 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
23239 Adjust for changed ldbl-128 files.
23240
23241 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
23242 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
23243 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23244
e5270c23
DM
232452012-04-17 David S. Miller <davem@davemloft.net>
23246
23247 * sysdeps/sparc/sparc32/memcopy.h: Delete.
23248
fb5e92c9
AS
232492012-04-17 Andreas Schwab <schwab@linux-m68k.org>
23250
23251 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
23252 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
23253 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
23254 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
23255 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
23256 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
23257
76da7265
AZ
232582012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23259
23260 [BZ #6794]
23261 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
23262 * math/libm-test.inc: Add ilogb errno and exception tests.
23263 * math/w_ilogb.c: New file: ilogb wrapper.
23264 * math/w_ilogbf.c: New file: ilogbf wrapper.
23265 * math/w_ilogbl.c: New file: ilogbl wrapper.
23266 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
23267 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
23268 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
23269 exception being thrown with 0.0 as argument.
23270 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
23271 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
23272 exception being thrown with 0.0 as argument.
23273 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
23274 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
23275 exception being thrown with 0.0 as argument.
23276 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
23277 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
23278 exception being thrown with 0.0 as argument.
23279 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
23280 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 23281 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
23282 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
23283 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
23284 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
23285 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
23286 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
23287 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
23288
0396e69d
PB
232892012-04-17 Petr Baudis <pasky@ucw.cz>
23290
23291 * include/sys/uio.h: Change __vector to __iovec to avoid clash
23292 with altivec.
23293
750b5926
MP
232942012-04-16 Marek Polacek <polacek@redhat.com>
23295
23296 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
23297
751728a1
MP
232982012-04-16 Marek Polacek <polacek@redhat.com>
23299
23300 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
23301 operands of fdivp instruction.
23302
34a27407
L
233032012-04-13 H.J. Lu <hongjiu.lu@intel.com>
23304
23305 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
23306 * elf/tst-auditmod3b.c: Likewise.
23307 * elf/tst-auditmod4b.c: Likewise.
23308 * elf/tst-auditmod5b.c: Likewise.
23309 * elf/tst-auditmod6b.c: Likewise.
23310 * elf/tst-auditmod6c.c: Likewise.
23311 * elf/tst-auditmod7b.c: Likewise.
23312 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
23313 * sysdeps/x86_64/preconfigure.in: Likewise.
23314 * sysdeps/x86_64/preconfigure: Regenerated.
23315
7e73e17d
L
233162012-04-13 H.J. Lu <hongjiu.lu@intel.com>
23317
23318 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
23319 __ILP32__.
23320
c7a6ab72
AB
233212012-04-13 Antoine Balestrat <merkil33@gmail.com>
23322
23323 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23324 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
23325
a9e8e0e0
CL
233262012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
23327
23328 [BZ #13973]
23329 * locale/iso-639.def: Fix gl language name. Spotted by
23330 Yaron Shahrabani.
23331
ec98af7d
RM
233322012-04-12 Roland McGrath <roland@hack.frob.com>
23333
23334 [BZ #2074]
23335 * libio/libio.h (__io_write_fn): Update comment.
23336
247c3ede
PB
233372012-04-12 Petr Baudis <pasky@ucw.cz>
23338
23339 [BZ #2074]
23340 * stdio.texi (Hook Functions): The user provided writer function
23341 is not allowed to return -1.
23342
55939d6d
DM
233432012-04-11 David S. Miller <davem@davemloft.net>
23344
23345 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23346
90020f5a
MF
233472012-04-11 Mike Frysinger <vapier@gentoo.org>
23348
23349 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
23350 Add a leading slash to rtkaio.
23351
288f9098
JM
233522012-04-11 Jim Meyering <meyering@redhat.com>
23353
90020f5a
MF
23354 [BZ #11959]
23355 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
23356 It is not necessarily an error to ignore fwrite's return
23357 value. One can reliably use ferror to test for errors after
23358 the fact.
288f9098 23359
4be2b570
L
233602012-04-10 H.J. Lu <hongjiu.lu@intel.com>
23361
23362 * bits/types.h (__snseconds_t): New type.
23363 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
23364
23365 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
23366 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23367 (__SNSECONDS_T_TYPE): Likewise.
23368 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23369 (__SNSECONDS_T_TYPE): Likewise.
23370 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23371 (__SNSECONDS_T_TYPE): Likewise.
23372
288f9098 233732012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
23374
23375 [BZ #2636]
23376 * manual/time.texi (Processor Time): Return type of times is
23377 elapsed real time since an arbitrary point in the past.
23378 (CPU Time): Move CLK_TCK from here...
23379 (Processor Time): ...to here. Correct description.
23380 * manual/conf.texi (Constants for Sysconf): Correct description of
23381 _SC_CLK_TCK.
23382
d7dd4413
DM
233832012-04-10 David S. Miller <davem@davemloft.net>
23384
23385 [BZ #13967]
23386 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
23387 where the is a gap between DT_REL(A) and DT_JMPREL.
23388
b46068fc
L
233892012-04-10 H.J. Lu <hongjiu.lu@intel.com>
23390
23391 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
23392 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
23393 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
23394
73d65cc3
SP
233952012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23396
23397 * elf/dl-support.c (_dl_inhibit_cache): New variable.
23398 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
23399 (dl_main): Handle --inhibit-cache.
23400 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
23401 _dl_inhibit_cache.
23402 * elf/dl-load.c (_dl_map_object): Use it.
23403 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
23404
bcc8d661
JM
234052012-04-09 Joseph Myers <joseph@codesourcery.com>
23406
8f9a2fae
JM
23407 [BZ #13872]
23408 * sysdeps/i386/fpu/e_powl.S (p78): New object.
23409 (__ieee754_powl): Saturate large exponents rather than testing for
23410 overflow of y*log2(x).
23411 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23412 * math/libm-test.inc (pow_test): Do not permit spurious overflow
23413 exceptions.
23414
bcc8d661
JM
23415 [BZ #11521]
23416 * math/s_ctan.c: Include <float.h>.
23417 (__ctan): Avoid internal overflow or cancellation in calculating
23418 denominator.
23419 * math/s_ctanf.c: Likewise.
23420 * math/s_ctanl.c: Likewise.
23421 * math/s_ctanh.c: Likewise.
23422 * math/s_ctanhf.c: Likewise.
23423 * math/s_ctanhl.c: Likewise.
23424 * math/libm-test.inc (ctan_test): Add more tests.
23425 (ctanh_test): Likewise.
23426 * sysdeps/i386/fpu/libm-test-ulps: Update.
23427 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23428
823fbbb4
AJ
234292012-04-09 Andreas Jaeger <aj@suse.de>
23430
03879793
AJ
23431 [BZ #6894]
23432 * manual/filesys.texi (Directory Entries): Mention that d_namlen
23433 is an optional BSD extension.
23434
823fbbb4
AJ
23435 [BZ #10254]
23436 * manual/stdio.texi (Opening Streams): Document additional fopen
23437 parameters.
23438
8de131cb
RM
234392012-04-09 Roland McGrath <roland@hack.frob.com>
23440
23441 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
23442 %eax without telling the compiler.
23443
c0ed9d7d
CD
234442012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
23445
23446 [BZ # 13963]
23447 * manual/install.texi: Use sourceware.org.
23448
c483f6b4
JM
234492012-04-09 Joseph Myers <joseph@codesourcery.com>
23450
d7dd9453
JM
23451 [BZ #13873]
23452 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
23453 (__ieee754_pow): Generate overflow and underflow using huge*huge
23454 and tiny*tiny rather than just returning constant infinity or zero
23455 for large exponents.
23456 * math/libm-test.inc (pow_test): Require overflow exceptions for
23457 applicable cases of large exponents.
23458
c483f6b4
JM
23459 [BZ #706]
23460 * sysdeps/i386/fpu/e_pow.S (p10): New object.
23461 (__ieee754_pow): Use iterative multiplication algorithm only for
23462 integer exponents with absolute value below 1024. Check for odd
23463 integer exponents when using algorithm for real exponents.
23464 * math/libm-test.inc (pow_test): Add more tests.
23465 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23466
d2de7579
JM
234672012-04-08 Joseph Myers <joseph@codesourcery.com>
23468
23469 [BZ #13705]
23470 * math/libm-test.inc (exp_test): Do not allow overflow exception
23471 on underflow test.
23472
f77f1232
AJ
234732012-04-08 Aurelien Jarno <aurelien@aurel32.net>
23474
23475 [BZ #13705]
23476 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
23477 instead of __kernel_standard_f.
23478
3884932b
MF
234792012-04-08 Mike Frysinger <vapier@gentoo.org>
23480
23481 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
23482 * sysdeps/x86_64/memset_chk.S: Likewise.
23483
54472e9c
AJ
234842012-04-08 Andreas Jaeger <aj@suse.de>
23485
6ab0fbfc
AJ
23486 [BZ #10153]
23487 * manual/startup.texi (Environment Access): Describe return value
23488 for putenv and setenv.
23489
61efba8c
AJ
23490 [BZ #6895]
23491 * manual/filesys.texi (Directory Entries): Add description for
23492 DT_LNK.
23493
95c3f29a
AJ
23494 [BZ #6890]
23495 * manual/filesys.texi (Directory Entries): Clarify that it's file
23496 system not operating system in the description of DT_UNKNOWN.
23497
54472e9c
AJ
23498 [BZ #6578]
23499 * manual/syslog.texi (closelog): Fix reference, it's openlog.
23500
624254b1
SC
235012012-04-08 Stephen Compall <s11@member.fsf.org>
23502
23503 [BZ #6649]
23504 * manual/llio.texi (Opening and Closing Files): Add cross
23505 reference to explain mode argument.
23506
1e4920e0
MF
235072012-04-07 Mike Frysinger <vapier@gentoo.org>
23508
23509 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
23510 * sysdeps/x86_64/memset_chk.S: Likewise.
23511
5ed848f3
DM
235122012-04-07 David S. Miller <davem@davemloft.net>
23513
23514 * elf/elf.h (R_SPARC_WDISP10): Define.
23515 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
23516 R_SPARC_SIZE32.
23517 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
23518 R_SPARC_SIZE64 and R_SPARC_H34.
23519
96154cd8
CD
235202012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
23521
23522 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
23523 conditions and remove no longer applicable assertion.
23524
9904dc47
L
235252012-04-06 H.J. Lu <hongjiu.lu@intel.com>
23526
23527 * bits/byteswap.h: Include <features.h>.
23528 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
23529 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
23530
f8887d0a
L
235312012-04-06 H.J. Lu <hongjiu.lu@intel.com>
23532
23533 * bits/byteswap.h (__bswap_16): Removed.
23534 Include <bits/byteswap-16.h> to get __bswap_16.
23535 * sysdeps/i386/bits/byteswap.h: Likewise.
23536 * sysdeps/s390/bits/byteswap.h: Likewise.
23537 * sysdeps/x86_64/bits/byteswap.h: Likewise.
23538 * bits/byteswap-16.h: New file.
23539 * sysdeps/i386/bits/byteswap-16.h: Likewise.
23540 * sysdeps/s390/bits/byteswap-16.h: Likewise.
23541 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
23542 * string/Makefile (headers): Add bits/byteswap-16.h.
23543
62470f60
PP
235442012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
23545
23546 [BZ #13895]
23547 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
23548 extra indirection.
23549 * nss/Makefile (tests-static, tests): Add tst-nss-static.
23550 * nss/tst-nss-static.c: New.
23551
4dad7bab
RM
235522012-04-06 Robert Millan <rmh@gnu.org>
23553
23554 [BZ #6486]
23555 * manual/llio.texi (File Position Primitive): lseek
23556 refers to WHENCE when it really means OFFSET.
23557
e9142a17
AJ
235582012-04-06 Andreas Jaeger <aj@suse.de>
23559
2c040eff
AJ
23560 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
23561 strncmp declarations.
23562
e9142a17
AJ
23563 * abilist/libc.abilist: Add __poll and __ppoll.
23564
ff9f1c5f
DM
235652012-04-05 David S. Miller <davem@davemloft.net>
23566
dcd2ae90
DM
23567 * scripts/check-local-headers.sh: Accept a host triplet in the
23568 path matched by the exclude regexp.
23569
993eb054
DM
23570 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
23571 definition.
23572 * sysdeps/powerpc/powerpc32/dl-machine.h
23573 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
23574 * sysdeps/s390/s390-32/dl-machine.h
23575 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23576 * sysdeps/sparc/sparc32/dl-machine.h
23577 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23578 * sysdeps/sparc/sparc64/dl-machine.h
23579 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23580
ff9f1c5f
DM
23581 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
23582 lazy binding.
48e2e132 23583 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
23584 undefined symbol errors.
23585
48e2e132 23586 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
23587 DT_NEEDED entries.
23588
e80d6f94
MM
235892012-04-05 Michael Matz <matz@suse.de>
23590
23591 [BZ #13592]
23592 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
23593
349fa79f
AJ
235942012-04-05 Andreas Jaeger <aj@suse.de>
23595
23596 [BZ #13908]
23597 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
23598 comment.
23599
f402708f
KK
236002012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23601
23602 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
23603 which ROUND is no valid rounding mode.
23604
2ecccfc9
KK
236052012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23606
23607 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
23608 read again.
23609 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
23610
8a53f50f
KK
236112012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23612
23613 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
23614 an exception using FPU order intentionally.
23615
236162012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23617
23618 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
23619 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
23620 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
23621 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
23622
d653abb7
SJ
236232012-04-05 Simon Josefsson <simon@josefsson.org>
23624
23625 [BZ #12340]
23626 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
23627 EINVAL when BUFLEN is too smal.
23628
c3b1bf7d
TS
236292012-04-05 Thomas Schwinge <thomas@codesourcery.com>
23630
23631 [BZ #13553]
23632 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
23633 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
23634
b1aa60f3
AJ
236352012-04-03 Andreas Jaeger <aj@suse.de>
23636
c3b1bf7d 23637 [BZ #13938]
67f60a26
AJ
23638 * manual/setjmp.texi (System V contexts): Fix sentence.
23639
b1aa60f3
AJ
23640 [BZ #13926]
23641 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
23642 New macro for this case.
23643 [!__GNUC__] (__bswap_64): New inline function for this case.
23644 * sysdeps/x86_64/bits/byteswap.h: Likewise.
23645 * bits/byteswap.h: Likewise.
23646 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
23647 ull, guard with __GLIBC_HAVE_LONG_LONG.
23648
23649 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
23650 __GLIBC_HAVE_LONG_LONG.
23651
23652 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
23653 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
23654
39c59c35
TMQMF
236552012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23656
23657 [BZ #13691]
23658 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
23659 inptr and inend, rather than using last_ch.
23660
135ffda8
DM
236612012-04-02 David S. Miller <davem@davemloft.net>
23662
23663 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
23664 * stdio-common/printf-parse.h (read_int): Change return type to
23665 'int', return -1 on INT_MAX overflow.
23666 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
23667 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
23668 overflows INT_MAX. Check for overflow of in-format-string precision
23669 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
23670 SIZE_MAX not INT_MAX for integer overflow test.
23671 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
23672 skip the construct in the format string but do not record anything.
23673 * stdio-common/bug22.c: Adjust to test both width/prevision
23674 INT_MAX overflow as well as total length INT_MAX overflow. Check
23675 explicitly for proper errno values.
23676
228c019e
TS
236772012-04-02 Thomas Schwinge <thomas@codesourcery.com>
23678
302cadd3
TS
23679 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
23680 CHAR_MAX.
23681 * string/test-strcmp.c [! WIDE]: Likewise.
23682 * time/tst-mktime2.c: Likewise for INT_MAX.
23683 * string/test-string.h: #include <sys/param.h> for MIN.
23684
228c019e
TS
23685 * csu/init-first.c (__libc_init_first): Call __ctype_init.
23686 * sysdeps/i386/init-first.c (init): Likewise.
23687 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
23688 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
23689 * sysdeps/sh/init-first.c (init): Likewise.
23690
cfa633f5
UD
236912012-04-01 Ulrich Drepper <drepper@gmail.com>
23692
23693 * po/ru.po: Update from translation team.
d1635ef8 23694 * po/vi.po: Likewise.
cfa633f5 23695
6cd0a5ea
SP
236962012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
23697
23698 * resolv/nss_dns/dns-host.c: Merge copyright years.
23699
4b43400f
LD
237002012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23701
23702 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
23703 Optimize memcpy with prefetch if
23704 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
23705 src, dst pointers have unequal 16 byte alignments.
23706
48c41d04
SP
237072012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23708
23709 [BZ #13928]
23710 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
23711 from a CNAME entry and return the minimum ttl for the query.
23712 (gaih_getanswer_slice): Likewise.
23713
b8dc394d
JL
237142012-03-30 Jeff Law <law@redhat.com>
23715
23716 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
23717 due to long keys.
23718 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
23719 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
23720
2f5a5ed0
JL
23721 * resolv/nss_dns/dns-host.c: Update copyright year.
23722
1d39e359
UD
237232012-03-30 Ulrich Drepper <drepper@gmail.com>
23724
c030f70c 23725 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 23726 requests to save a system call. Fix check that all bytes are sent.
c030f70c 23727
1d39e359
UD
23728 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
23729 comments for sendmmsg.
23730
237312012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
23732
23733 [BZ #13691]
23734 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
23735 with only 1 character between 0x0041 and 0x01b0.
23736 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
23737 * wcsmbs/tst-mbsnrtowcs.c: New file.
23738
20fde227
DM
237392012-03-29 David S. Miller <davem@davemloft.net>
23740
23741 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
23742 small copies by hand.
23743
984a4237
JL
237442012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23745
23746 [BZ #13761]
23747 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
23748 _nss_compat_initgroups_dyn): Fall back to malloc/free
23749 for large group memberships.
23750
18c9d62b
DM
237512012-03-28 David S. Miller <davem@davemloft.net>
23752
88d85d4f
DM
23753 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
23754 that branches into memcpy.
23755 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
23756 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
23757 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
23758 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
23759 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
23760 bits.
23761 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
23762 implementation too.
23763 * sysdeps/sparc/mempcpy.S: New file.
23764
e5aa83e1
DM
23765 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
23766 the IFUNC routine in the libc case.
23767 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
23768
88570753
DM
23769 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
23770 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
23771 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
23772 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
23773 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
23774 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
23775 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
23776 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
23777
249d7567
DM
23778 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
23779 loop to 256 bytes instead of 64 bytes and fix test signedness.
23780
18c9d62b
DM
23781 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
23782 * sysdeps/sparc/sparc32/Makefile: rather than here...
23783 * sysdeps/sparc/sparc64/Makefile: and here.
23784
05f3d1f6
UD
237852012-03-28 Ulrich Drepper <drepper@gmail.com>
23786
23787 * malloc/mallocbug.c: Avoid warnings about unused variables.
23788
86ae07a8
JL
237892012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
23790
23791 [BZ #13760]
23792 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
23793 in the right place. Discard and retry query if response is
23794 larger than input buffer size.
23795
41bf21a1
JM
237962012-03-28 Joseph Myers <joseph@codesourcery.com>
23797
d6270972
JM
23798 [BZ #369]
23799 [BZ #2678]
23800 [BZ #3866]
23801 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
23802 x for large integer exponent.
23803 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
23804 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
23805 sign of result as needed afterwards.
23806 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
23807 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
23808 result for underflowing pow the same as for overflow.
23809 (__kernel_standard_l): Handle powl overflow and underflow here
23810 rather than calling __kernel_standard.
23811 * math/libm-test.inc (pow_test): Add more tests.
23812
414fca03 23813 [BZ #3868]
41bf21a1
JM
23814 [BZ #13879]
23815 [BZ #13910]
23816 [BZ #13911]
23817 [BZ #13912]
23818 [BZ #13913]
23819 [BZ #13915]
23820 [BZ #13916]
23821 [BZ #13917]
23822 [BZ #13918]
23823 [BZ #13919]
23824 [BZ #13920]
23825 [BZ #13921]
23826 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
23827 * sysdeps/ieee754/k_standard.c: Include <float.h>.
23828 (__kernel_standard_l): New function.
23829 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
23830 __kernel_standard.
23831 * math/w_acosl.c (__acosl): Likewise.
23832 * math/w_asinl.c (__asinl): Likewise.
23833 * math/w_atan2l.c (__atan2l): Likewise.
23834 * math/w_atanhl.c (__atanhl): Likewise.
23835 * math/w_coshl.c (__coshl): Likewise.
23836 * math/w_exp10l.c (__exp10l): Likewise.
23837 * math/w_exp2l.c (__exp2l): Likewise.
23838 * math/w_fmodl.c (__fmodl): Likewise.
23839 * math/w_hypotl.c (__hypotl): Likewise.
23840 * math/w_j0l.c (__j0l, __y0l): Likewise.
23841 * math/w_j1l.c (__j1l, __y1l): Likewise.
23842 * math/w_jnl.c (__jnl, __ynl): Likewise.
23843 * math/w_lgammal.c (__lgammal): Likewise.
23844 * math/w_log10l.c (__log10l): Likewise.
23845 * math/w_log2l.c (__log2l): Likewise.
23846 * math/w_logl.c (__logl): Likewise.
23847 * math/w_powl.c (__powl): Likewise.
23848 * math/w_remainderl.c (__remainderl): Likewise.
23849 * math/w_scalbl.c (sysv_scalbl): Likewise.
23850 * math/w_sinhl.c (__sinhl): Likewise.
23851 * math/w_sqrtl.c (__sqrtl): Likewise.
23852 * math/w_tgammal.c (__tgammal): Likewise.
23853 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
23854 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
23855 * math/libm-test.inc (acos_test): Add more tests.
23856 (acosh_test): Likewise.
23857 (asin_test): Likewise.
23858 (atanh_test): Likewise.
23859 (exp_test): Likewise.
23860 (exp10_test): Likewise.
23861 (exp2_test): Likewise.
23862 (expm1_test): Likewise.
23863 (lgamma_test): Likewise.
23864 (log_test): Likewise.
23865 (log10_test): Likewise.
23866 (log1p_test): Likewise.
23867 (log2_test): Likewise.
23868 (pow_test): Do not allow some spurious overflow exceptions.
23869 (sqrt_test): Add more tests.
23870 (tgamma_test): Likewise.
23871 (y0_test): Likewise.
23872 (y1_test): Likewise.
23873 (yn_test): Likewise.
23874
dd62fda6
AB
238752012-03-27 Anton Blanchard <anton@samba.org>
23876
23877 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
23878 MAP_HUGETLB.
23879 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23880 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
23881 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23882
1e3cdfda
AJ
238832012-03-27 David S. Miller <davem@davemloft.net>
23884
b855ab85
DM
23885 * conform/Makefile: Run run-conformtest.sh using $(BASH).
23886
1e3cdfda
AJ
23887 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
23888 have-as-vis3 check.
23889
238902012-03-27 Andreas Jaeger <aj@suse.de>
23891
23892 * sysdeps/x86_64/elf/configure.in: Moved to ...
23893 * sysdeps/x86_64/configure.in: ... here.
23894 * sysdeps/x86_64/elf/start.S: Moved to ...
23895 * sysdeps/x86_64/start.S: ... here.
23896 * sysdeps/x86_64/elf/configure: Delete.
23897
23898 * sysdeps/x86_64/configure.in: Merge contents from
23899 sysdeps/i386/configure.in (without i686 check).
23900
23901 * sysdeps/i386/elf/Versions: Merge into ...
23902 * sysdeps/i386/Versions: ... this.
23903 * sysdeps/i386/elf/Versions: Delete file.
23904 * sysdeps/i386/elf/start.S: Moved to ...
23905 * sysdeps/i386/start.S: ...here.
23906 * sysdeps/i386/elf/configure.in: Merge into...
23907 * sysdeps/i386/configure.in: ...here.
23908 * sysdeps/i386/elf/configure.in: Delete file.
23909 * sysdeps/i386/elf/configure: Delete file.
23910
23911 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
23912 * debug/backtracesyms.c: ... here.
23913 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
23914 * debug/backtracesymsfd.c: ... here.
23915 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
23916 * sysdeps/generic/ifunc-sel.h: ... here.
23917
23918 * sysdeps/unix/i386/start.c: Delete file.
23919 * sysdeps/unix/sparc/start.c: Delete file.
23920 * sysdeps/unix/start.c: Delete file.
23921
23922 * sysdeps/sh/elf/configure.in: Moved to ...
23923 * sysdeps/sh/configure.in: ... here.
23924 * sysdeps/sh/elf/start.S: Moved to ...
23925 * sysdeps/sh/start.S: ... here.
23926 * sysdeps/sh/elf/configure: Delete file.
23927
23928 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
23929 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
23930 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
23931 * sysdeps/powerpc/powerpc64/entry.h: ... here.
23932 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
23933 * sysdeps/powerpc/powerpc64/start.S: here.
23934 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
23935 * sysdeps/powerpc/powerpc64/Makefile: ... this.
23936 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
23937 * sysdeps/powerpc/powerpc64/configure.in: ... this.
23938 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
23939
23940 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
23941 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
23942 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
23943 * sysdeps/powerpc/powerpc32/start.S: ... here.
23944 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
23945 * sysdeps/powerpc/powerpc32/configure.in: ... this.
23946 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
23947
23948 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
23949 * sysdeps/powerpc/ifunc-sel.h: ... here.
23950 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
23951 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
23952
23953 * sysdeps/sparc/elf/configure.in: Moved to ...
23954 * sysdeps/sparc/configure.in: ... here.
23955 * sysdeps/sparc/elf/configure: Delete file.
23956 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
23957 * sysdeps/sparc/sparc32/start.S: ... here.
23958 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
23959 * sysdeps/sparc/sparc64/start.S: ... here.
23960 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
23961 * sysdeps/sparc/sparc32/Makefile: ... this.
23962 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
23963 * sysdeps/sparc/sparc64/Makefile: ... this.
23964
23965 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
23966 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
23967 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
23968 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
23969 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
23970 * sysdeps/s390/s390-32/setjmp.S: ... here.
23971 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
23972 * sysdeps/s390/s390-32/configure.in: ... here.
23973 * sysdeps/s390/s390-32/elf/configure: Delete file.
23974 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
23975 * sysdeps/s390/s390-32/start.S: ... here.
23976
23977 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
23978 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
23979 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
23980 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
23981 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
23982 * sysdeps/s390/s390-64/setjmp.S: ... here.
23983 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
23984 * sysdeps/s390/s390-64/configure.in: ... here
23985 * sysdeps/s390/s390-64/elf/configure: Delete file.
23986 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
23987 * sysdeps/s390/s390-64/start.S: ... here.
23988 * sysdeps/s390/s390-64/elf/configure: Delete.
23989
23990 * configure.in: Remove support for elf directories in sysdeps.
23991
23992 * configure: Regenerated.
23993 * sysdeps/i386/configure: Regenerated.
23994 * sysdeps/powerpc/powerpc32/configure: Regenerated.
23995 * sysdeps/powerpc/powerpc64/configure: Regenerated.
23996 * sysdeps/s390/s390-32/configure: Regenerated.
23997 * sysdeps/s390/s390-64/configure: Regenerated.
23998 * sysdeps/sh/configure: Regenerated.
23999 * sysdeps/sparc/configure: Regenerated.
24000 * sysdeps/x86_64/configure: Regenerated.
24001
a3f61311
AS
240022012-03-26 Andreas Schwab <schwab@linux-m68k.org>
24003
c876e002
AS
24004 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24005
a3f61311
AS
24006 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
24007 denormal result into account.
24008
ac4c54f0
RM
240092012-03-25 Roland McGrath <roland@hack.frob.com>
24010
24011 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
24012 Reported by Allan McRae <allan@archlinux.org>.
24013
6a9b9c02
JL
240142012-03-23 Jeff Law <law@redhat.com>
24015
24016 * nss/getnssent.c (__nss_getent): Fix typo.
24017
4c42a0c1
DM
240182012-03-23 David S. Miller <davem@davemloft.net>
24019
24020 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24021
1532c7ac
L
240222012-03-23 H.J. Lu <hongjiu.lu@intel.com>
24023
24024 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
24025 to pad to uint64_t for each field.
24026 (dl_tls_index): Replace unsigned long with uint64_t.
24027
3ff42526
PP
240282012-03-23 Daniel Jacobowitz <dmj@google.com>
24029 Paul Pluzhnikov <ppluzhnikov@google.com>
24030
24031 [BZ #6528]
24032 * grp/Makefile (otherlibs): Don't set it.
24033 * inet/Makefile (otherlibs): Likewise.
24034 * login/Makefile (otherlibs): Likewise.
24035 * nscd/Makefile (otherlibs): Likewise.
24036 * posix/Makefile (otherlibs): Likewise.
24037 * pwd/Makefile (otherlibs): Likewise.
24038 * rt/Makefile (otherlibs): Likewise.
24039 * sunrpc/Makefile (otherlibs): Likewise.
24040 * nss/Makefile (otherlibs): Likewise.
24041 Add libnss_files to routines and static-only-routines.
24042 ($(objpfx)getent): Remove rule.
24043 * resolv/Makefile: Add libnss_dns and libresolv to routines and
24044 static-only-routines.
24045
7c69cd14
JM
240462012-03-22 Joseph Myers <joseph@codesourcery.com>
24047
24048 [BZ #13892]
24049 * math/s_cexp.c: Include <float.h>.
24050 (__cexp): Handle exp result overflowing not necessarily
24051 overflowing both real and imaginary parts of result.
24052 * math/s_cexpf.c: Likewise.
24053 * math/s_cexpl.c: Likewise.
24054 * math/libm-test.inc (cexp_test): Add more tests.
24055 * sysdeps/i386/fpu/libm-test-ulps: Update.
24056 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24057
81b035fe
L
240582012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24059
24060 * include/link.h (ELFW): New macro.
24061 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
24062 Replace ELF64_R_TYPE with ELFW(R_TYPE).
24063
1da7940c
L
240642012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24065
24066 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
24067 with uint64_t.
24068
b749dbb9
L
240692012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24070
24071 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
24072 declaration.
24073 (struct La_x32_retval): Likewise.
24074
2ff87f3f
L
240752012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24076
24077 * sysdeps/x86_64/preconfigure.in: New file.
24078 * sysdeps/x86_64/preconfigure: New generated file.
24079
c0df8e69
JM
240802012-03-22 Joseph Myers <joseph@codesourcery.com>
24081
48e44791
JM
24082 [BZ #13824]
24083 * math/e_exp2l.c: Include <float.h>.
24084 (__ieee754_exp2l): Handle overflow and underflow cases
24085 separately. Only pass fractional part of argument to
24086 __ieee754_expl.
24087 * math/libm-test.inc (exp2_test): Add more tests.
24088
c0df8e69
JM
24089 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
24090 negating x to take absolute value.
24091 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
24092 Likewise.
24093 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
24094 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
24095 Likewise.
24096 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
24097 computing low part if x was negated.
24098 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
24099
c8e43ba7
L
241002012-03-21 H.J. Lu <hongjiu.lu@intel.com>
24101
24102 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
24103 la_x32_gnu_pltexit.
24104 (pltexit): Cast int_retval to ptrdiff_t.
24105 * elf/tst-auditmod3b.c: Likewise.
24106 * elf/tst-auditmod4b.c: Likewise.
24107 * elf/tst-auditmod5b.c: Likewise.
24108 * elf/tst-auditmod6b.c: Likewise.
24109 * elf/tst-auditmod6c.c: Likewise.
24110 * elf/tst-auditmod7b.c: Likewise.
24111
24112 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
24113 and x32_gnu_pltexit.
24114
24115 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
24116 __ELF_NATIVE_CLASS.
24117 (La_x32_regs): New macro.
24118 (La_x32_retval): Likewise.
24119 (la_x32_gnu_pltenter): New function prototype.
24120 (la_x32_gnu_pltexit): Likewise.
24121
7998fa78
AS
241222012-03-21 Andreas Schwab <schwab@linux-m68k.org>
24123
dcb33988
AS
24124 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
24125 exponent.
24126
233fc563
AS
24127 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24128
7998fa78
AS
24129 * configure.in (libc_cv_cc_nofma): Check for option to disable
24130 generation of FMA instructions.
24131 * configure: Regenerate.
24132 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
24133 * sysdeps/ieee754/dbl-64/Makefile: New file.
24134 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24135 Remove brandred-fma4.
24136 (CFLAGS-brandred-fma4.c): Remove.
24137 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
24138 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
24139 define.
24140 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
24141 define.
24142
8e95c99a
L
241432012-03-21 H.J. Lu <hongjiu.lu@intel.com>
24144
24145 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
24146 LLONG_MAX != LONG_MAX.
24147 (_itoa_word): Use _ITOA_WORD_TYPE on value.
24148 (_fitoa_word): Likewise.
24149 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
24150 LLONG_MAX != LONG_MAX.
24151 * stdio-common/_itowa.h: Include <_itoa.h>.
24152 (_itowa_word): Use _ITOA_WORD_TYPE on value.
24153 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
24154 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
24155 only if not defined.
24156 (_ITOA_WORD_TYPE): Likewise.
24157 (_itoa_word): Use _ITOA_WORD_TYPE on value.
24158 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
24159
6f4db457
DM
241602012-03-21 David S. Miller <davem@davemloft.net>
24161
24162 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24163
7785fe5a
L
241642012-03-21 H.J. Lu <hongjiu.lu@intel.com>
24165
24166 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
24167 of x86_64 when setting libc_cv_slibdir, libdir and
24168 libc_cv_localedir.
24169 * sysdeps/unix/sysv/linux/configure: Regenerated.
24170
4535cd55
JM
241712012-03-21 Joseph Myers <joseph@codesourcery.com>
24172
24173 * manual/lang.texi (Old Varargs): Remove section.
24174 (How Variadic): Update menu.
24175 (va_start): Do not mention varargs.h.
24176
17228132
TS
241772012-03-21 Thomas Schwinge <thomas@codesourcery.com>
24178 Joseph Myers <joseph@codesourcery.com>
24179
24180 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
24181 link test.
24182 * configure: Regenerated.
24183
8149f976
TS
241842012-03-21 Thomas Schwinge <thomas@codesourcery.com>
24185
05f3d1f6
UD
24186 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
24187 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
24188 conformtest.pl
8149f976 24189
1a4ac776
JM
241902012-03-21 Joseph Myers <joseph@codesourcery.com>
24191
be22ce65
JM
24192 * NOTES: Remove.
24193 * Makefile (files-for-dist): Remove NOTES.
24194 (NOTES): Remove rule.
24195 * README: Don't refer to NOTES.
24196 * manual/creature.texi: Don't include macros.texi.
24197 * manual/intro.texi (creature.texi): Remove comment referring to
24198 NOTES.
24199
40b601fb
JM
24200 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
24201 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
24202 * configure: Regenerated.
24203 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
24204 LIBC_TRY_CC_OPTION.
24205 (libc_cv_as_i686): Likewise.
24206 (libc_cv_cc_avx): Likewise.
24207 (libc_cv_cc_sse2avx): Likewise.
24208 (libc_cv_cc_fma4): Likewise.
24209 (libc_cv_cc_novzeroupper): Likewise.
24210 * sysdeps/i386/configure: Regenerated.
24211
1a4ac776
JM
24212 [BZ #13883]
24213 * sysdeps/i386/fpu/s_cexp.S: Remove.
24214 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
24215 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
24216 * math/libm-test.inc (cexp_test): Add more tests.
24217 * sysdeps/i386/fpu/libm-test-ulps: Update.
24218 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24219
a458e7fe
AM
242202012-03-21 Allan McRae <allan@archlinux.org>
24221
24222 * timezone/Makefile: Do not install iso3166.tab and zone.tab
24223
0cb7efc5
JM
242242012-03-21 Joseph Myers <joseph@codesourcery.com>
24225
24226 [BZ #13871]
24227 * math/w_exp2.c: Do not include <float.h>.
24228 (o_threshold, u_threshold): Remove.
24229 (__exp2): Calculate result before checking finiteness and calling
24230 __kernel_standard.
24231 * math/w_exp2f.c: Likewise.
24232 * math/w_exp2l.c: Likewise.
24233 * math/libm-test.inc (exp2_test): Require overflow exception for
24234 1e6 input.
2460d3aa
JM
24235
24236 [BZ #3866]
24237 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
24238 range of signed 64-bit integers before using fistpll. Remove
24239 checks for whether integers fit in mantissa bits.
24240 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
24241 the range of signed 32-bit integers before using fistpl. Remove
24242 checks for whether integers fit in mantissa bits.
24243 * sysdeps/i386/fpu/e_powl.S (p64): New object.
24244 (__ieee754_powl): Test for y outside the range of signed 64-bit
24245 integers before using fistpll. Reduce 64-bit values to 63-bit
24246 ones as needed.
24247 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
24248 divide-by-zero is raised for zero to large negative powers.
24249 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
24250 (__ieee754_powl): Test for y outside the range of signed 64-bit
24251 integers before using fistpll. Reduce 64-bit values to 63-bit
24252 ones as needed.
24253 * math/libm-test.inc (pow_test): Add more tests.
24254
eb96ffb0
L
242552012-03-20 H.J. Lu <hongjiu.lu@intel.com>
24256
24257 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
24258 <stdio-common/_itoa.h>.
24259 * debug/segfault.c: Likewise.
24260 * elf/dl-cache.c: Likewise.
24261 * elf/dl-minimal.c: Likewise.
24262 * elf/dl-misc.c: Likewise.
24263 * elf/dl-sysdep.c: Likewise.
24264 * elf/dl-version.c: Likewise.
24265 * elf/rtld.c: Likewise.
24266 * hurd/hurdsock.c: Likewise.
24267 * hurd/lookup-retry.c: Likewise.
24268 * malloc/malloc.c: Likewise.
24269 * malloc/mtrace.c: Likewise.
24270 * nscd/nscd_getgr_r.c: Likewise.
24271 * nscd/nscd_getpw_r.c: Likewise.
24272 * nscd/nscd_getserv_r.c: Likewise.
24273 * posix/getopt_init.c: Likewise.
24274 * posix/wordexp.c: Likewise.
24275 * stdio-common/_itoa.c: Likewise.
24276 * stdio-common/printf_fphex.c: Likewise.
24277 * stdio-common/vfprintf.c: Likewise.
24278 * string/_strerror.c: Likewise.
24279 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
24280 * sysdeps/i386/i686/hp-timing.h: Likewise.
24281 * sysdeps/mach/_strerror.c: Likewise.
24282 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
24283 * sysdeps/mach/hurd/sethostid.c: Likewise.
24284 * sysdeps/mach/hurd/xmknodat.c: Likewise.
24285 * sysdeps/mach/xpg-strerror.c: Likewise.
24286 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24287 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
24288 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
24289 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
24290 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
24291 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
24292 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
24293 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
24294 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
24295 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
24296 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
24297 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
24298 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
24299 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
24300 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
24301 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
24302 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
24303 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
24304 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
24305 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
24306 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
24307
24308 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
24309
24310 * stdio-common/_itoa.h: Moved to ...
24311 * sysdeps/generic/_itoa.h: Here.
24312
24313 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
24314
24315 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
24316 instead of "_itoa.h" and "_itowa.h".
24317 * stdio-common/vfprintf.: Likewise.
24318
d1af992d
L
243192012-03-20 H.J. Lu <hongjiu.lu@intel.com>
24320
24321 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
24322 <bits/wordsize.h>.
24323 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
24324 (__signbit): Likwise.
24325 (llrintf): Likwise.
24326 (llrint): Likwise.
24327
114883e0
L
243282012-03-20 H.J. Lu <hongjiu.lu@intel.com>
24329
24330 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
24331 __WORDSIZE != 64.
24332
c135cc1b
JM
243332012-03-20 Joseph Myers <joseph@codesourcery.com>
24334
24335 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
24336 OVERFLOW_EXCEPTION_OK.
24337 * math/libm-test.inc ("Philosophy"): Update comment about
24338 exception testing.
24339 (OVERFLOW_EXCEPTION): Define.
24340 (OVERFLOW_EXCEPTION_OK): Likewise.
24341 (INVALID_EXCEPTION_OK): Renumber.
24342 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
24343 (IGNORE_ZERO_INF_SIGN): Likewise.
24344 (test_exceptions): Handle FE_OVERFLOW.
24345 (exp10_test): Expect overflow exceptions.
24346 (exp2_test): Likewise.
24347 (expm1_test): Likewise.
24348 (nextafter_test): Likewise.
24349 (pow_test): Likewise.
24350 (scalbn_test): Likewise.
24351 (scalbln_test): Likewise.
24352
95443d88
L
243532012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24354
24355 * sysdeps/x86_64/bits/atomic.h
24356 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
24357 64bit integer.
24358 (atomic_exchange_acq): Likewise.
24359 (__arch_exchange_and_add_body): Likewise.
24360 (__arch_add_body): Likewise.
24361 (atomic_add_negative): Likewise.
24362 (atomic_add_zero): Likewise.
24363
490df6c4
L
243642012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24365
c2722551 24366 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
24367 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
24368
5e52b189
L
243692012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24370
24371 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
24372 Check __x86_64__ instead of __WORDSIZE.
24373
a9879d4c
L
243742012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24375
24376 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
24377
5df98260
DM
243782012-03-19 David S. Miller <davem@davemloft.net>
24379
e1497744
DM
24380 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24381
5df98260
DM
24382 * sysdeps/sparc/fpu/fenv_private.h: New file.
24383 * sysdeps/sparc/fpu/math_private.h: Use it.
24384 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
24385 Remove.
24386 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
24387 (libc_feholdexcept_setroundl): Remove.
24388 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
24389 Remove.
24390 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
24391 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
24392
b4c35121
L
243932012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24394
24395 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
24396 int64_t instead of long int.
24397 (INSERT_WORDS64): Likwise.
24398
56965fd7
L
243992012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24400
24401 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
24402 _Unwind_GetCFA return to _Unwind_Ptr first.
24403
83d1aec8
JM
244042012-03-19 Joseph Myers <joseph@codesourcery.com>
24405
1897ad44
JM
24406 [BZ #13629]
24407 * math/s_clog.c: Include <float.h>.
24408 (__clog): Scale large or subnormal inputs.
24409 * math/s_clogf.c: Likewise.
24410 * math/s_clogl.c: Likewise.
24411 * math/s_clog10.c: Include <float.h>.
24412 (M_LOG10_2): Define.
24413 (__clog10): Scale large or subnormal inputs.
24414 * math/s_clog10f.c: Likewise.
24415 * math/s_clog10l.c: Likewise.
24416 * math/libm-test.inc (clog_test): Add more tests.
24417 (clog10_test): Likewise.
24418 * sysdeps/i386/fpu/libm-test-ulps: Update.
24419 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24420
7726d6a9
JM
24421 [BZ #11451]
24422 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
24423 x and y.
24424 * math/libm-test.inc (atan2_test): Add another test.
24425
83d1aec8
JM
24426 * Makerules (common-objdir-compile): Remove.
24427 * sysdeps/unix/Makefile (config-generated): Do not add
24428 $(unix-generated) to variable.
24429 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
24430 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
24431 Remove rule.
24432 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
24433 Likewise.
24434 [generic bits/local_lim.h] (before-compile): Do not append to
24435 variable.
24436 [generic bits/local_lim.h] (common-generated): Likewise.
24437 [generic sys/param.h] (before-compile): Do not append to variable.
24438 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
24439 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
24440 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
24441 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
24442 include.
24443 [generic sys/param.h] (sys/param.h-includes): Remove variable.
24444 [generic sys/param.h] (sys/param.h-includes): Remove rule.
24445 [generic sys/param.h] ($(addprefix
24446 $(common-objpfx),$(sys/param.h-includes))): Likewise.
24447 [generic sys/param.h] (common-generated): Do not append to
24448 variable.
24449 [generic sys/param.h] (sysdep_headers): Likewise.
24450 [generic bits/errno.h] (before-compile): Do not append to
24451 variable.
24452 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
24453 rule.
24454 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
24455 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
24456 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
24457 [generic bits/errno.h] (common-generated): Do not append to
24458 variable.
24459 [generic bits/ioctls.h] (before-compile): Do not append to
24460 variable.
24461 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
24462 rule.
24463 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
24464 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
24465 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
24466 rule.
24467 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
24468 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
24469 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
24470 [generic bits/ioctls.h] (common-generated): Do not append to
24471 variable.
24472 [generic sys/syscall.h] (syscall.h): Remove variable.
24473 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
24474 rule.
24475 [generic sys/syscall.h] (before-compile): Do not append to
24476 variable.
24477 [generic sys/syscall.h] (common-generated): Likewise.
24478 * sysdeps/unix/errnos-tmpl.c: Remove file.
24479 * sysdeps/unix/errnos.awk: Likewise.
24480 * sysdeps/unix/ioctls-tmpl.c: Likewise.
24481 * sysdeps/unix/ioctls.awk: Likewise.
24482 * sysdeps/unix/mk-local_lim.c: Likewise.
24483 * sysdeps/unix/snarf-ioctls: Likewise.
24484
4851a949
RH
244852012-03-19 Richard Henderson <rth@twiddle.net>
24486
bd37f2ee
RH
24487 * sysdeps/i386/fpu/fenv_private.h: New file.
24488 * sysdeps/i386/fpu/math_private.h: Use it.
24489 (math_opt_barrier, math_force_eval): Remove.
24490 (libc_feholdexcept_setround_53bit): Remove.
24491 (libc_feupdateenv_53bit): Remove.
24492 * sysdeps/x86_64/fpu/math_private.h: Likewise.
24493 (math_opt_barrier, math_force_eval): Remove.
24494 (libc_feholdexcept): Remove.
24495 (libc_feholdexcept_setround): Remove.
24496 (libc_fetestexcept, libc_fesetenv): Remove.
24497 (libc_feupdateenv_test): Remove.
24498 (libc_feupdateenv, libc_feholdsetround): Remove.
24499 (libc_feresetround): Remove.
24500
d0adc922
RH
24501 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
24502 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
24503
0fe0f1f8
RH
24504 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
24505 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
24506 (libc_feupdateenv_testl): New.
24507 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
24508 (libc_feupdateenv_testf): New.
24509 (libc_feupdateenv): Use libc_feupdateenv_test.
24510 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
24511 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
24512
eb92c487
RH
24513 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
24514 (libc_feholdsetroundf, libc_feholdsetroundl): New.
24515 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
24516 (libc_feresetround_noex): New.
24517 (libc_feresetround_noexf): New.
24518 (libc_feresetround_noexl): New.
24519 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
24520 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
24521 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
24522 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
24523 SET_RESTORE_ROUND.
24524 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
24525 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
24526 (__cos): Likewise.
24527 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
24528 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
24529 SET_RESTORE_ROUND_NOEX.
24530 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
24531 SET_RESTORE_ROUND_NOEXF.
24532 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
24533 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
24534 (libc_feholdsetroundf): New.
24535 (libc_feresetround, libc_feresetroundf): New.
24536
7d2e8012
RH
24537 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
24538 (libc_feholdexcept_setround_53bit): Convert from macro to function.
24539 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
24540
b4dabbb4
RH
24541 * sysdeps/generic/math_private.h: Include <fenv.h>.
24542 (default_libc_feholdexcept): New.
24543 (default_libc_feholdexcept_setround): New.
24544 (default_libc_fesetenv, default_libc_feupdateenv): New.
24545 (libc_feholdexcept): Only define if undefined.
24546 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
24547 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
24548 (libc_feholdexcept_setroundl): Likewise.
24549 (libc_feholdexcept_setround_53bit): Likewise.
24550 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
24551 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
24552 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
24553 (libc_feupdateenv_53bit): Likewise.
24554 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
24555 (libc_feholdexcept): Convert from macro to inline function.
24556 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
24557 (libc_fesetenv, libc_feupdateenv): Likewise.
24558
4851a949
RH
24559 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
24560 not previously defined.
24561 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
24562 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
24563 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
24564 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
24565 * sysdeps/ieee754/flt-32/math_private.h: New file.
24566 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
24567 math_private.h below SET_FLOAT_WORD.
24568 (__isnan, __isinf_ns, __finite): Remove.
24569 (__isnanf, __isinf_nsf, __finitef): Remove.
24570
e79d442e
AS
245712012-03-18 Andreas Schwab <schwab@linux-m68k.org>
24572
24573 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24574
90b80344
DM
245752012-03-17 David S. Miller <davem@davemloft.net>
24576
24577 [BZ #6471]
24578 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
24579 for 2.16.
24580
edc21804
DM
245812012-03-16 David S. Miller <davem@davemloft.net>
24582
77e927af
DM
24583 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
24584 warnings.
24585
374976dd
DM
24586 [BZ #6471]
24587 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
24588 properly.
24589 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
24590 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
24591 sysdep_routines when subdir is sysvipc.
24592 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
24593 __getshmlba helper.
24594
edc21804
DM
24595 * sysdeps/sparc/fpu/libm-test/ulps: Update.
24596
473c3ef3
L
245972012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24598
24599 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
24600 [__LP64__].
24601
eb0f39b6
L
246022012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24603
24604 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
24605 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
24606 (__lround): Renamed to ...
24607 (__llround): This. Replace long int with long long int.
24608 Define lround functions as aliases of llround functions.
24609 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
24610
6b6cd74b
L
246112012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24612
24613 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
24614 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
24615 adresses to uintptr_t. Replace "long int" and "unsigned long
24616 int" with "greg_t" on va_arg.
24617
f1a77b01
L
246182012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24619
24620 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
24621 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
24622
24623 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
24624 Move e_machine check before EI_CLASS check. Handle x32
24625 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
24626 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
24627 SKIP_EM_IA_64 and include
24628 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
24629
24630 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
24631 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
24632 (add_system_dir): New macro.
24633
24634 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
24635 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
24636
11b90b9f
JM
246372012-03-16 Joseph Myers <joseph@codesourcery.com>
24638
c36e1d23
JM
24639 [BZ #2551]
24640 [BZ #2552]
24641 [BZ #2553]
24642 [BZ #2554]
24643 [BZ #2562]
24644 [BZ #2563]
24645 [BZ #2565]
24646 [BZ #2566]
24647 [BZ #2576]
24648 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
24649 (y0): Likewise.
24650 * math/w_j0f.c (j0f): Likewise.
24651 (y0f): Likewise.
24652 * math/w_j0l.c (__j0l): Likewise.
24653 (__y0l): Likewise.
24654 * math/w_j1.c (j1): Likewise.
24655 (y1): Likewise.
24656 * math/w_j1f.c (j1f): Likewise.
24657 (y1f): Likewise.
24658 * math/w_j1l.c (__j1l): Likewise.
24659 (__y1l): Likewise.
24660 * math/w_jn.c (jn): Likewise.
24661 (yn): Likewise.
24662 * math/w_jnf.c (jnf): Likewise.
24663 (ynf): Likewise.
24664 * math/w_jnl.c (__jnl): Likewise.
24665 (__ynl): Likewise.
24666 * math/libm-test.inc (j0_test): Add more tests.
24667 (j1_test): Likewise.
24668 (jn_test): Likewise. Add trailing semicolon to existing test.
24669 (y0_test): Likewise.
24670 (y1_test): Likewise.
24671 * sysdeps/i386/fpu/libm-test-ulps: Update.
24672 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24673
11b90b9f
JM
24674 [BZ #13851]
24675 [BZ #13854]
24676 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
24677 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
24678 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
24679 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
24680 (__tanl): Set errno for infinite argument.
24681 * sysdeps/i386/fpu/mptan.c: Remove.
24682 * sysdeps/i386/fpu/s_tan.S: Likewise.
24683 * sysdeps/i386/fpu/s_tanl.S: Likewise.
24684 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
24685 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
24686 * math/libm-test.inc (tan_test): Add more tests and enable more
24687 tests for double and long double.
24688 * sysdeps/i386/fpu/libm-test-ulps: Update.
24689 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24690
6a1bd2a1
JK
246912012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
24692
24693 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
24694 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
24695
10a803e0
RM
246962012-03-16 Roland McGrath <roland@hack.frob.com>
24697
24698 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
24699 * configure.in: Use it for both main tree and add-ons.
24700 * configure: Regenerated.
24701
f196c7f7
L
247022012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24703
24704 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
24705
8848d99d
JM
247062012-03-16 Joseph Myers <joseph@codesourcery.com>
24707
96cbe7f4
JM
24708 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
24709 in comment.
24710
8848d99d
JM
24711 [BZ #13851]
24712 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
24713 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
24714 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
24715 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
24716 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
24717 infinite argument.
24718 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
24719 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
24720 != 0 for prec == 2.
24721 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
24722 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
24723 * sysdeps/i386/fpu/s_cosl.S: Likewise.
24724 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
24725 * sysdeps/i386/fpu/s_sinl.S: Likewise.
24726 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
24727 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
24728 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
24729 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
24730 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
24731 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
24732 * math/libm-test.inc (cos_test): Add more tests and enable more
24733 tests for long double.
24734 (sin_test): Likewise.
24735 (sincos_test): Likewise.
24736 * sysdeps/i386/fpu/libm-test-ulps: Update.
24737 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24738
dd7f4703
DM
247392012-03-16 David S. Miller <davem@davemloft.net>
24740
24741 * sysdeps/sparc/fpu/math_private.h: New file.
24742
006f1daa
DM
247432012-03-15 David S. Miller <davem@davemloft.net>
24744
c0c83bc8
DM
24745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
24746 file.
e6a62e18 24747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
24748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
24749 file.
e6a62e18
DM
24750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
24751 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
24752 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
24753 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
24754 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
24755 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
24756 sysdep routines.
24757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
24758
88cb87d9
DM
24759 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
24760 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
24761
006f1daa 24762 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
24763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
24764 sparc-ifunc.h
006f1daa 24765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
24766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
24767 Likewise.
24768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
24769 Likewise.
006f1daa
DM
24770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
24771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
24772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
24773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
24774 Likewise.
006f1daa
DM
24775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
24776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
24777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
24778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
24779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
24780 Likewise.
24781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
24782 Likewise.
006f1daa
DM
24783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
24784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
24785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
24786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
24787 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
24788 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
24789 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
24790 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
24791 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
24792 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
24793 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
24794 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
24795 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
24796 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
24797 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
24798 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
24799 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
24800 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
24801 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
24802 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
24803 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
24804 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
24805 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
24806 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
24807
11e0098e
AS
248082012-03-15 Andreas Schwab <schwab@linux-m68k.org>
24809
24810 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
24811 scaling.
24812 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24813
e85b09d0
AJ
248142012-03-15 Andreas Jaeger <aj@suse.de>
24815
24816 [BZ #13852]
24817 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
24818 ieee754/flt-32 implementation for sin, cos and sincos.
24819 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
24820 * sysdeps/i386/fpu/s_cosf.S: Likewise.
24821 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
24822 * sysdeps/i386/fpu/s_sinf.S: Likewise.
24823 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
24824 ieee754/flt-32 implementation for tan.
24825
24826 * math/libm-test.inc (cos_test): Enable some large input tests for
24827 float as well
24828 (sin_test): Likewise.
24829 (sincos_test): Likewise.
24830 (tan_test): Add tests for large input.
24831
24832 * sysdeps/i386/fpu/libm-test-ulps: Update.
24833
81c64153
AJ
248342012-03-15 Andreas Jaeger <aj@suse.de>
24835
24836 [BZ #13658]
24837 * math/libm-test.inc (cos_test): Add more test cases.
24838 (sin_test): Likewise.
24839 (sincos_test): Likewise.
24840
7bbfa5c6
AJ
248412012-03-15 Andreas Jaeger <aj@suse.de>
24842
24843 [BZ #13837]
24844 * math/libm-test.inc (cos_test): Add a test case for large input
24845 value.
24846 (sin_test): Likewise.
24847 (sincos_test): Likewise.
24848
248492012-03-15 Andreas Jaeger <aj@suse.de>,
24850 Joseph Myers <joseph@codesourcery.com>
24851
24852 [BZ #13658]
0671f479 24853 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
24854 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
24855 * sysdeps/i386/fpu/branred.c: Likewise.
24856 * sysdeps/i386/fpu/dosincos.c: Likewise.
24857 * sysdeps/i386/fpu/mpa.c: Likewise.
24858 * sysdeps/i386/fpu/s_cos.S: Likewise.
24859 * sysdeps/i386/fpu/s_sin.S: Likewise.
24860 * sysdeps/i386/fpu/s_sincos.S: Likewise.
24861 * sysdeps/i386/fpu/sincos32.c: Likewise.
24862
24863 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
24864 Define.
24865 (libc_feupdateenv_53bit): Define.
24866 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
24867 Define.
24868 (libc_feupdateenv_53bit): Define.
24869
24870 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
24871 53 bit (without extend i386 double precision).
24872
24873 * math/libm-test.inc (sincos_test): Add tests for large input.
24874 (sin): Likewise.
24875 (cos): Likewise.
24876
24877 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
24878
9cad04ea
AS
248792012-03-15 Andreas Schwab <schwab@linux-m68k.org>
24880
24881 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24882
f7062b9a
DM
248832012-03-15 David S. Miller <davem@davemloft.net>
24884
24885 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
24886 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
24887 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
24888 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
24889 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
24890 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
24891 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
24892 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
24893 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
24894 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
24895 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
24896 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
24897 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
24898 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
24899 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
24900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
24901 file.
f7062b9a 24902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
24903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
24904 file.
f7062b9a 24905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
24906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
24907 file.
f7062b9a 24908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
24909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
24910 file.
f7062b9a
DM
24911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
24912 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
24913 fmin/fmax sysdep routines.
24914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
24915
7bd951ff
DM
249162012-03-14 David S. Miller <davem@davemloft.net>
24917
559398ab
DM
24918 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
24919 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
24920 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
24921 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
24922 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
24923 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
24924 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
24925 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
24926 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
24927 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
24928 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
24929 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
24930 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
24931 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
24932 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
24933 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
24934 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
24935 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
24936 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
24937 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
24938 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
24939 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
24940 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
24941 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
24942 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
24943 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
24944 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
24945 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
24946 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
24947 routines.
24948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
24949 file.
559398ab 24950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
24951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
24952 file.
559398ab 24953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
24954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
24955 file.
559398ab 24956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
24957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
24958 file.
559398ab 24959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
24960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
24961 file.
559398ab 24962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
24963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
24964 file.
24965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
24966 file.
24967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
24968 file.
24969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
24970 file.
24971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
24972 New file.
24973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
24974 file.
24975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
24976 file.
559398ab 24977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
24978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
24979 file.
559398ab 24980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
24981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
24982 file.
559398ab 24983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
24984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
24985 file.
559398ab 24986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
24987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
24988 VIS3 routines.
559398ab
DM
24989
24990 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
24991 New file.
24992
5a1c1e32
DM
24993 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24994
eae47a36
DM
24995 * sysdeps/sparc/configure.in: New file.
24996 * sysdeps/sparc/configure: Generate.
24997 * configure.in (libc_cv_sparc_as_vis3): Substitute.
24998 * configure: Regenerate.
24999 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
25000 * config.make.in (have-as-vis3): New.
25001 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
25002 available use -Av9d instead of -Av9a.
25003 * sysdeps/sparc/sparc64/Makefile: Likewise.
25004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
25005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
25006 New file.
25007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
25008 file.
25009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
25010 New file.
25011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
25012 file.
eae47a36
DM
25013 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
25014 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
25015 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
25016 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
25017 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
25018
c0c83bc8
DM
25019 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
25020 fzeros/fnegs to load 0x80000000 into a float register instead of
25021 using the stack.
7bd951ff
DM
25022 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
25023
bd951ccb
JM
250242012-03-14 Joseph Myers <joseph@codesourcery.com>
25025
25026 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25027 bits/syscall.h.
25028 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
25029 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
25030 ($(inst_includedir)/bits/syscall.h): Remove rule.
25031 ($(objpfx)bits/syscall.d): Include instead of
25032 $(objpfx)syscall-list.d.
25033 (generated): Change syscall-list.h and syscall-list.d to
25034 bits/syscall.h and bits/syscall.d.
25035
bb4e6db2
RM
250362012-03-14 Roland McGrath <roland@hack.frob.com>
25037
25038 [BZ #13846]
25039 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
25040
aa4a2ae1
JM
250412012-03-14 Joseph Myers <joseph@codesourcery.com>
25042
e456826d
JM
25043 [BZ #13841]
25044 * math/s_csqrt.c: Include <float.h>.
25045 (__csqrt): Scale large or subnormal inputs.
25046 * math/s_csqrtf.c: Likewise.
25047 * math/s_csqrtl.c: Likewise.
25048 * math/libm-test.inc (csqrt_test): Add more tests.
25049 * sysdeps/i386/fpu/libm-test-ulps: Update.
25050 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25051
aa4a2ae1
JM
25052 [BZ #13840]
25053 * math/libm-test.inc (hypot_test): Add more tests.
25054
7c10fd35
DM
250552012-03-13 David S. Miller <davem@davemloft.net>
25056
25057 [BZ #13840]
25058 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
25059 double-precision for the calculation instead of scaling.
25060
f453b98b
JM
250612012-03-13 Joseph Myers <joseph@codesourcery.com>
25062
25063 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
25064 manipulate bits before adding and subtracting TWO52[sx].
25065 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
25066 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
25067 Likewise.
25068 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
25069
09a3453f
DM
250702012-03-13 David S. Miller <davem@davemloft.net>
25071
8e59da90
DM
25072 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
25073 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
25074 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
25075 rtld-global-offsets.h
25076 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25077
2a8ab7f2
DM
25078 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
25079 large parameters.
25080
10f62770
DM
25081 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
25082
5f0bdb18
DM
25083 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
25084 'err' in the ifdef scope in which it is actually used.
25085
09a3453f
DM
25086 * nss/nss_db/db-init.c: Include string.h
25087
b4b2eb5e
DM
250882012-03-12 David S. Miller <davem@davemloft.net>
25089
98bb2f1c
DM
25090 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
25091 masking out of the most significant byte of random value used.
25092 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25093 Fix coding style in previous change.
25094
b4b2eb5e
DM
25095 * sysdeps/unix/sysv/linux/kernel-features.h
25096 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
25097 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
25098 expression.
25099 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
25100 later.
25101
6e226b09
DM
251022012-03-11 David S. Miller <davem@davemloft.net>
25103
a1bcbd40
DM
25104 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
25105 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
25106 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
25107 for 'resultvar' otherwise things get truncated on 64-bit.
25108
cb9d6174
DM
25109 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25110 Fix masking out of the most significant byte of random value used.
25111
6e226b09
DM
25112 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25113
058c132d
AS
251142012-03-10 Andreas Schwab <schwab@linux-m68k.org>
25115
25116 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25117
2d2cd515
DM
251182012-03-09 David S. Miller <davem@davemloft.net>
25119
25120 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
25121 variables with appropriate CPP guards.
25122 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
25123 frame pointer, not the stack pointer. Correct layout comments. Fix test
25124 on resulting framesize and the management of the outregs buffer for pltexit.
25125 Preserve floating point return values across _dl_call_pltexit call.
25126 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
25127 framesize and the management of the outregs buffer for pltexit.
25128 Preserve floating point return values across _dl_call_pltexit
25129 call.
25130 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
25131 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
25132 (print_exit): Fix format string for return register value.
25133
9a07f9d0
JM
251342012-03-10 Joseph Myers <joseph@codesourcery.com>
25135
25136 * sunrpc/Makefile (others): Add rpcgen.
25137 ($(objpfx)rpcgen): Remove special build rule and dependency on
25138 libc.
25139 * sunrpc/rpcgen.c: New file.
25140
547b5e30
PE
251412012-03-09 Paul Eggert <eggert@cs.ucla.edu>
25142
c524201a
PE
25143 [BZ #13673]
25144 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
25145 * stdio-common/bug-vfprintf-nargs.c: Likewise.
25146 * sysdeps/i386/crti.S: Likewise.
25147 * sysdeps/i386/crtn.S: Likewise.
25148 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
25149 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
25150 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
25151 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
25152 * sysdeps/sh/crti.S: Likewise.
25153 * sysdeps/sh/crtn.S: Likewise.
25154 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
25155
7b6235f2
PE
25156 [BZ #13673]
25157 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
25158 with URL.
25159 * locale/programs/locfile-kw.gperf: Likewise.
25160 * locale/programs/charmap-kw.h: Regenerated.
25161 * locale/programs/locfile-kw.h: Likewise.
25162
547b5e30
PE
25163 [BZ #13673]
25164 * intl/plural.y: Replace FSF snail mail address with URL.
25165 * intl/plural.c: Regenerated.
25166
5f0a5dae
RH
251672012-03-09 Richard Henderson <rth@twiddle.net>
25168
25169 * include/math_private.h: Remove file.
25170 * math/math_private.h: Move file ...
25171 * sysdeps/generic/math_private.h: ... here.
25172
b8c03620
RH
25173 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
25174 * sysdeps/powerpc/fpu/math_private.h: Likewise.
25175 * sysdeps/x86_64/fpu/math_private.h: Likewise.
25176
4e234f5d 25177 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
25178 and <math_private.h>.
25179 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
25180 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
25181 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
25182 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
25183 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
25184 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
25185 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25186 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25187 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
25188 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25189 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25190 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
25191 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
25192 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25193 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
25194 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
25195 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
25196 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25197 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
25198 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
25199 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25200 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
25201 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
25202 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25203 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
25204 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25205 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
25206 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25207 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25208 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25209 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
25210 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25211 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
25212 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
25213 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
25214 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25215 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25216 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
25217 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
25218 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25219 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
25220 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
25221 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
25222 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
25223 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
25224 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25225 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
25226 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
25227 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25228 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
25229 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
25230 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
25231 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
25232 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
25233 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
25234 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
25235 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
25236 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
25237 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
25238 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
25239 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25240 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
25241 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25242 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
25243 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
25244 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25245 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25246 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25247 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
25248 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
25249 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
25250 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
25251 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
25252 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25253 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
25254 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
25255 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
25256 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25257 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
25258 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
25259 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
25260 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
25261 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
25262 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
25263 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
25264 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
25265 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
25266 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
25267 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
25268 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
25269 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
25270 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
25271 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25272 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
25273 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
25274 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
25275 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
25276 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
25277 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
25278 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
25279 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
25280 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
25281 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
25282 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
25283 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25284 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
25285 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
25286 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
25287 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25288 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25289 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25290 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25291 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
25292 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25293 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
25294 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
25295 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25296 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
25297 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25298 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
25299 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25300 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
25301 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
25302 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
25303 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25304 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
25305 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
25306 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
25307 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
25308 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
25309 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
25310 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
25311 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25312 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
25313 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
25314 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
25315 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
25316 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
25317 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
25318 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
25319 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
25320 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
25321 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
25322 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
25323 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
25324 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
25325 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
25326 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
25327 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
25328 * sysdeps/ieee754/k_standard.c: Likewise.
25329 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
25330 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
25331 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
25332 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
25333 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
25334 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
25335 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
25336 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
25337 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
25338 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
25339 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
25340 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
25341 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
25342 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
25343 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
25344 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
25345 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
25346 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
25347 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
25348 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
25349 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
25350 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
25351 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25352 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
25353 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
25354 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
25355 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
25356 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
25357 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
25358 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25359 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
25360 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
25361 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
25362 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
25363 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
25364 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
25365 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
25366 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
25367 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
25368 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
25369 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
25370 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
25371 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
25372 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
25373 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
25374 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
25375 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
25376 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
25377 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
25378 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25379 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25380 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
25381 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
25382 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
25383 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25384 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25385 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
25386 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
25387 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
25388 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
25389 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25390 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
25391 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
25392 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
25393 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
25394 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
25395 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
25396 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
25397 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
25398 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
25399 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
25400 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
25401 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
25402 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
25403 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
25404 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
25405 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
25406 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
25407 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
25408 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
25409 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
25410 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
25411 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
25412 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
25413 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
25414 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
25415 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
25416 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
25417 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
25418 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
25419 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
25420 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
25421 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
25422 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
25423 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
25424 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
25425 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
25426 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
25427 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
25428 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
25429 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
25430 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
25431 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25432 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
25433 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
25434 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25435 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25436 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
25437 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
25438 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
25439 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
25440 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
25441 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
25442 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
25443 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
25444 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
25445 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
25446 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
25447 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
25448 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
25449 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
25450 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
25451 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
25452 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
25453 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
25454 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
25455 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
25456 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
25457 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
25458 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25459 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
25460 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
25461 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
25462 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
25463 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
25464 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
25465 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
25466 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
25467 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
25468 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
25469 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
25470 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
25471 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
25472 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
25473 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
25474 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
25475 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
25476 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
25477 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
25478 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
25479 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
25480 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
25481 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
25482 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
25483 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
25484 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
25485 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
25486 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
25487 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
25488 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
25489 * sysdeps/ieee754/s_lib_version.c: Likewise.
25490 * sysdeps/ieee754/s_matherr.c: Likewise.
25491 * sysdeps/ieee754/s_signgam.c: Likewise.
25492 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
25493 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
25494 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
25495 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
25496 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
25497 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
25498 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
25499 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
25500 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
25501 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
25502 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
25503 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
25504 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
25505 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
25506 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
25507 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
25508 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25509 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
25510 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25511 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25512 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 25513
1991fa03
JM
255142012-03-09 Joseph Myers <joseph@codesourcery.com>
25515
25516 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
25517 * sunrpc/rpc_main.c: Likewise.
25518 * sunrpc/rpc_svcout.c: Likewise.
25519
60d6f5a6
DM
255202012-03-09 David S. Miller <davem@davemloft.net>
25521
25522 * include/math_private.h: New file.
25523
4962050e
JM
255242012-03-09 Joseph Myers <joseph@codesourcery.com>
25525
02a6f887
JM
25526 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
25527 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
25528 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
25529 from <bits/socket_type.h>.
25530 (enum __socket_type): Don't define here.
25531 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
25532 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25533 bits/socket_type.h.
25534
c6e013c1
JM
25535 [BZ #13566]
25536 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
25537 checking __USE_GNU.
25538
4962050e
JM
25539 * Makerules ($(inst_includedir)/%.h): New rule.
25540 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
25541 (install-others): Remove variable setting.
25542 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
25543
38842f45
RH
255442012-03-08 Richard Henderson <rth@twiddle.net>
25545
67bb6da6
RH
25546 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
25547 from macro to inline function; merge with the
25548 !__LIBC_INTERNAL_MATH_INLINES version.
25549 (__ieee754_sqrtf): Likewise.
25550
15194b4b
RH
25551 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
25552 to inline function.
25553 (__rintf, __floor, __floorf): Likewise.
25554
64e21ede
RH
25555 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
25556 macro to inline function.
25557 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
25558
38842f45
RH
25559 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
25560 not <math/math_private.h>.
25561
c64bf5fe
DM
255622012-03-08 David S. Miller <davem@davemloft.net>
25563
25564 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
25565 copyright year.
25566 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
25567
82d86f28
TS
255682012-03-08 Thomas Schwinge <thomas@codesourcery.com>
25569
25570 * resolv/gai_misc.c (handle_requests): Fix struct timespec
25571 normalization.
25572 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
25573 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
25574
aea5d727
UD
255752012-03-08 Ulrich Drepper <drepper@gmail.com>
25576
25577 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
25578 be defined individually, they must be defined as a block. Define
25579 S for printing a string instead of hidint the different by using a
25580 macro for adding the 'l'.
25581 * stdio-common/tst-fphex-wide.c: Adjust.
25582
70bca0a3
MP
255832012-03-07 Marek Polacek <polacek@redhat.com>
25584
25585 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
25586
65b81130
MP
255872012-03-08 Marek Polacek <polacek@redhat.com>
25588
25589 [BZ #13806]
25590 * stdio-common/Makefile (tests): Add tst-fphex-wide.
25591 * stdio-common/tst-fphex.c: Define a few macros to make the
25592 test reusable. Use them.
25593 * stdio-common/tst-fphex-wide.c: New file.
25594
07037eeb
JM
255952012-03-08 Joseph Myers <joseph@codesourcery.com>
25596
a7a93d50
JM
25597 [BZ #6911]
25598 * manual/macros.texi (gnusystems): New macro.
25599 (nongnusystems): Likewise.
25600 (gnulinuxhurdsystems): Likewise.
25601 (gnuhurdsystems): Likewise..
25602 (gnulinuxsystems): Likewise.
25603 * manual/charset.texi: Use new macros or @theglibc{} to refer to
25604 variants of the GNU system, not "GNU system".
25605 * manual/conf.texi: Likewise.
25606 * manual/errno.texi: Likewise. Update example of errno macro
25607 expansion.
25608 * manual/filesys.texi: Likewise.
25609 (getumask): Document as specific to GNU/Hurd.
25610 * manual/install.texi: Likewise. Reword some references to
25611 GNU/Linux.
25612 * manual/intro.texi: Likewise.
25613 * manual/io.texi: Likewise.
25614 (File Name Portability): Detail which constraints are inapplicable
25615 to all GNU systems and which are only inapplicable to GNU/Hurd.
25616 * manual/job.texi: Likewise.
25617 * manual/llio.texi: Likewise.
25618 (O_NOCTTY): Document as present on GNU/Linux.
25619 * manual/maint.texi: Likewise.
25620 * manual/memory.texi: Likewise.
25621 * manual/pattern.texi: Likewise.
25622 * manual/pipe.texi: Likewise.
25623 * manual/process.texi: Likewise.
25624 * manual/resource.texi: Likewise.
25625 (RUSAGE_CHILDREN): Remove statement about specifying a particular
25626 child on GNU/Hurd.
25627 * manual/setjmp.texi: Likewise.
25628 * manual/signal.texi: Likewise.
25629 * manual/startup.texi: Likewise.
25630 * manual/stdio.texi: Likewise.
25631 * manual/terminal.texi: Likewise.
25632 (ONLCR): Document as POSIX.
25633 (OXTABS): Document availability on GNU/Linux as XTABS.
25634 (ONOEOT): Document availability separately from other bits.
25635 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
25636 * manual/time.texi: Likewise.
25637 * manual/users.texi: Likewise.
25638 * INSTALL: Regenerated.
25639 * sysdeps/gnu/errlist.c: Regenerated.
25640
07037eeb
JM
25641 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
25642 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
25643 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
25644 puts.
25645 * configure: Regenerated.
25646
d1d3431a
JM
256472012-03-07 Joseph Myers <joseph@codesourcery.com>
25648
af6a1e37
JM
25649 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
25650 default includes instead of AC_HEADER_CHECK.
25651 * sysdeps/i386/configure: Regenerated.
25652
d1d3431a
JM
25653 [BZ #10716]
25654 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
25655 * math/s_cacoshf.c (__cacoshf): Likewise.
25656 * math/s_cacoshl.c (__cacoshl): Likewise.
25657 * math/s_casinh.c (__casinh): Set signs of result from argument.
25658 * math/s_casinhf.c (__casinhf): Likewise.
25659 * math/s_casinhl.c (__casinhl): Likewise.
25660 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
25661 (casinh_test): Add more tests.
25662 * sysdeps/i386/fpu/libm-test-ulps: Update.
25663 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25664
482ff4da
UD
256652012-03-07 Ulrich Drepper <drepper@gmail.com>
25666
872fda05
UD
25667 * po/zh_TW.po: Update from translation team.
25668
a4300c7a
UD
25669 * login/Makefile (distribute): Remove variable.
25670 * catgets/Makefile: Likewise.
25671 * mach/Makefile: Likewise.
25672 * malloc/Makefile: Likewise.
25673 * misc/Makefile: Likewise.
25674 * iconv/Makefile: Likewise.
25675 * nscd/Makefile: Likewise.
25676 * hurd/Makefile: Likewise.
25677 * manual/Makefile: Likewise.
25678 * locale/Makefile: Likewise.
25679 * intl/Makefile: Likewise.
25680 * conform/Makefile: Likewise.
25681 * nss/Makefile: Likewise.
25682 * time/Makefile: Likewise.
25683 * soft-fp/Makefile: Likewise.
25684 * dirent/Makefile: Likewise.
25685 * gmon/Makefile: Likewise.
25686 * po/Makefile: Likewise.
25687 * rt/Makefile: Likewise.
25688 * socket/Makefile: Likewise.
25689 * math/Makefile: Likewise.
25690 * signal/Makefile: Likewise.
25691 * debug/Makefile: Likewise.
25692 * elf/Makefile: Likewise.
25693 * timezone/Makefile: Likewise.
25694 * stdlib/Makefile: Likewise.
25695 * iconvdata/Makefile: Likewise.
25696 * sunrpc/Makefile: Likewise.
25697 * io/Makefile: Likewise.
25698 * argp/Makefile: Likewise.
25699 * inet/Makefile: Likewise.
25700 * hesiod/Makefile: Likewise.
25701 * grp/Makefile: Likewise.
25702 * csu/Makefile: Likewise.
25703 * wctype/Makefile: Likewise.
25704 * crypt/Makefile: Likewise.
25705 * libio/Makefile: Likewise.
25706 * string/Makefile: Likewise.
25707 * nis/Makefile: Likewise.
25708 * resolv/Makefile: Likewise.
25709 * stdio-common/Makefile: Likewise.
25710 * wcsmbs/Makefile: Likewise.
25711 * dlfcn/Makefile: Likewise.
25712 * posix/Makefile: Likewise.
25713
3b7c4e74 25714 [BZ #6959]
482ff4da
UD
25715 * timezone/Makefile: Don't install timezone files, just the programs
25716 and scripts.
25717
f72ed77d
UD
257182012-03-06 Ulrich Drepper <drepper@gmail.com>
25719
a000466f
UD
25720 * nss/databases.def: Add missing gshadow entry.
25721
f72ed77d
UD
25722 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
25723
a53b7a4e
MP
257242012-03-06 Marek Polacek <polacek@redhat.com>
25725
25726 [BZ #13726]
25727 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
25728 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
25729 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
25730 * stdio-common/tst-long-dbl-fphex.c: New file.
25731
e9258400
DM
257322012-03-06 David S. Miller <davem@davemloft.net>
25733
25734 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25735 (set_obp_int): New function.
25736 (get_obp_int): New function.
25737 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
25738 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
25739 Avoid unused variable warnings on 'val' and use builtin_expect.
25740 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
25741 __builtin_expect.
e9258400
DM
25742 (INLINE_CLONE_SYSCALL): Likewise.
25743
3bd2c723
DM
257442012-03-05 David S. Miller <davem@davemloft.net>
25745
25746 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25747
bbb78d03
AS
257482012-03-05 Andreas Schwab <schwab@linux-m68k.org>
25749
884c5db4
AS
25750 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25751
bbb78d03
AS
25752 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
25753 only for |x| >= 40.
25754 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
25755
1c9f702a 257562012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
25757
25758 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
25759 Replace gettimeofday with __vdso_gettimeofday.
25760
7be16f82
RM
25761 * sysdeps/unix/sysv/linux/x86_64/init-first.c
25762 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
25763 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
25764
25765 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
25766 time with __vdso_time.
25767
ed58a00f
JM
257682012-03-05 Joseph Myers <joseph@codesourcery.com>
25769
25770 * manual/lang.texi (size_t): Note types to which size_t may be
25771 equivalent with the GNU C Library, but do not describe when
25772 differences between them are significant.
25773
30ee4ced
AJ
257742012-03-05 Andreas Jaeger <aj@suse.de>
25775
25776 * sysdeps/i386/fpu/libm-test-ulps: Update.
25777
b7cd39e8
JM
257782012-03-05 Joseph Myers <joseph@codesourcery.com>
25779
25780 [BZ #3976]
25781 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
25782 (__ieee754_pow): Save and restore rounding mode and use
25783 round-to-nearest for main computations.
25784 * math/libm-test.inc (pow_test_tonearest): New function.
25785 (pow_test_towardzero): Likewise.
25786 (pow_test_downward): Likewise.
25787 (pow_test_upward): Likewise.
25788 (main): Call the new functions.
25789 * sysdeps/i386/fpu/libm-test-ulps: Update.
25790 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
25791
25792 [BZ #3976]
25793 * math/libm-test.inc (cosh_test_tonearest): New function.
25794 (cosh_test_towardzero): Likewise.
25795 (cosh_test_downward): Likewise.
25796 (cosh_test_upward): Likewise.
25797 (sinh_test_tonearest): Likewise.
25798 (sinh_test_towardzero): Likewise.
25799 (sinh_test_downward): Likewise.
25800 (sinh_test_upward): Likewise.
25801 (main): Call the new functions.
25802 * sysdeps/i386/fpu/libm-test-ulps: Update.
25803 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25804
6c6a98c9
TV
258052012-03-05 Tom de Vries <tom@codesourcery.com>
25806
25807 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
25808 default stack guard is set in last bytes.
25809 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
25810
21bb2d2e 258112012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 25812
21bb2d2e 25813 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 25814
21bb2d2e
AJ
25815 [BZ #13656]
25816 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
25817 possibly allocate from heap instead of stack.
25818 * stdio-common/bug-vfprintf-nargs.c: New file.
25819 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 25820
c6922934
AS
258212012-03-03 Andreas Schwab <schwab@linux-m68k.org>
25822
25823 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25824
bc957d53
MP
258252012-03-03 Marek Polacek <polacek@redhat.com>
25826
25827 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
25828 * math/math_private.h: Likewise.
25829 * stdlib/tst-strtod.c: Likewise.
25830 * sysdeps/i386/i486/bits/atomic.h: Likewise.
25831 * sysdeps/x86_64/bits/atomic.h: Likewise.
25832
6358490d
DM
258332012-03-02 David S. Miller <davem@davemloft.net>
25834
25835 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
25836 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
25837 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
25838 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
25839 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
25840 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
25841 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
25842 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
25843
01ae168d
RM
258442012-03-02 Roland McGrath <roland@hack.frob.com>
25845
d9a17c07
RM
25846 [BZ #13792]
25847 * manual/examples/README: New file, says the example source files
25848 can be used under GPL>=2.
25849 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
25850 line containing just "*/".
25851 * manual/examples/add.c: Add copyright header (GPL>=2).
25852 * manual/examples/argp-ex1.c: Likewise.
25853 * manual/examples/argp-ex2.c: Likewise.
25854 * manual/examples/argp-ex3.c: Likewise.
25855 * manual/examples/argp-ex4.c: Likewise.
25856 * manual/examples/atexit.c: Likewise.
25857 * manual/examples/db.c: Likewise.
25858 * manual/examples/dir.c: Likewise.
25859 * manual/examples/dir2.c: Likewise.
25860 * manual/examples/execinfo.c: Likewise.
25861 * manual/examples/filecli.c: Likewise.
25862 * manual/examples/filesrv.c: Likewise.
25863 * manual/examples/fmtmsgexpl.c: Likewise.
25864 * manual/examples/genpass.c: Likewise.
25865 * manual/examples/inetcli.c: Likewise.
25866 * manual/examples/inetsrv.c: Likewise.
25867 * manual/examples/isockad.c: Likewise.
25868 * manual/examples/longopt.c: Likewise.
25869 * manual/examples/memopen.c: Likewise.
25870 * manual/examples/memstrm.c: Likewise.
25871 * manual/examples/mkfsock.c: Likewise.
25872 * manual/examples/mkisock.c: Likewise.
25873 * manual/examples/mygetpass.c: Likewise.
25874 * manual/examples/pipe.c: Likewise.
25875 * manual/examples/popen.c: Likewise.
25876 * manual/examples/rprintf.c: Likewise.
25877 * manual/examples/search.c: Likewise.
25878 * manual/examples/select.c: Likewise.
25879 * manual/examples/setjmp.c: Likewise.
25880 * manual/examples/sigh1.c: Likewise.
25881 * manual/examples/sigusr.c: Likewise.
25882 * manual/examples/stpcpy.c: Likewise.
25883 * manual/examples/strdupa.c: Likewise.
25884 * manual/examples/strftim.c: Likewise.
25885 * manual/examples/strncat.c: Likewise.
25886 * manual/examples/subopt.c: Likewise.
25887 * manual/examples/swapcontext.c: Likewise.
25888 * manual/examples/termios.c: Likewise.
25889 * manual/examples/testopt.c: Likewise.
25890 * manual/examples/testpass.c: Likewise.
25891 * manual/examples/timeval_subtract.c: Likewise.
25892
01ae168d
RM
25893 [BZ #13792]
25894 * manual/time.texi (Elapsed Time): Move timeval_subtract example
25895 function to ...
25896 * manual/timeval_subtract.c.texi: ... here, new file.
25897
49efa33d
DM
258982012-03-02 David S. Miller <davem@davemloft.net>
25899
25900 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
25901
28afd92d
JM
259022012-03-02 Joseph Myers <joseph@codesourcery.com>
25903
804360ed
JM
25904 [BZ #3976]
25905 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
25906 (__sin): Save and restore rounding mode and use round-to-nearest
25907 for all computations.
25908 (__cos): Save and restore rounding mode and use round-to-nearest
25909 for all computations.
25910 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
25911 <fenv.h>.
25912 (tan): Save and restore rounding mode and use round-to-nearest for
25913 all computations.
25914 * math/libm-test.inc (cos_test_tonearest): New function.
25915 (cos_test_towardzero): Likewise.
25916 (cos_test_downward): Likewise.
25917 (cos_test_upward): Likewise.
25918 (sin_test_tonearest): Likewise.
25919 (sin_test_towardzero): Likewise.
25920 (sin_test_downward): Likewise.
25921 (sin_test_upward): Likewise.
25922 (tan_test_tonearest): Likewise.
25923 (tan_test_towardzero): Likewise.
25924 (tan_test_downward): Likewise.
25925 (tan_test_upward): Likewise.
25926 (main): Call the new functions.
25927 * sysdeps/i386/fpu/libm-test-ulps: Update.
25928 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25929
a6d06d7b
JM
25930 [BZ #10135]
25931 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
25932 small n, then large n, before computing and testing k+n.
25933 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
25934 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
25935 Likewise.
25936 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
25937 Likewise.
25938 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
25939 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
25940 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
25941 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
25942 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
25943 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
25944 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
25945 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
25946 * math/libm-test.inc (scalbn_test): Add more tests.
25947 (scalbln_test): Likewise.
25948
07e12bb3
JM
25949 * manual/filesys.texi (mode_t): Describe constraints on size and
25950 signedness, not exact equivalence to a particular type.
25951 (ino_t): Likewise.
25952 (ino64_t): Likewise.
25953 (dev_t): Likewise.
25954 (nlink_t): Likewise.
25955 (blkcnt_t): Likewise.
25956 (blkcnt64_t): Likewise.
25957 * manual/llio.texi (off_t): Likewise.
25958
28afd92d
JM
25959 [BZ #3976]
25960 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
25961 (__ieee754_exp): Save and restore rounding mode and use
25962 round-to-nearest for all computations.
25963 * math/libm-test.inc (exp_test_tonearest): New function.
25964 (exp_test_towardzero): Likewise.
25965 (exp_test_downward): Likewise.
25966 (exp_test_upward): Likewise.
25967 (main): Call the new functions.
25968 * sysdeps/i386/fpu/libm-test-ulps: Update.
25969 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25970
b1eeb65d
CD
259712012-03-01 Chris Demetriou <cgd@google.com>
25972
25973 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
25974 have predictable order.
25975
53362a4b
DM
259762012-03-01 David S. Miller <davem@davemloft.net>
25977
3c969083
DM
25978 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
25979
759707de
DM
25980 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
25981 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
25982 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
25983 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
25984
dfdb8ff2
DM
25985 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
25986 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
25987 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
25988 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
25989 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
25990 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
25991 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
25992 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
25993 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
25994
ead89f96
DM
25995 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25996
7f66bd07
DM
25997 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
25998 * sysdeps/sparc/fpu/libm-test-ulps: to here.
25999 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
26000
53362a4b
DM
26001 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
26002 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
26003 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
26004 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
26005 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
26006 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
26007 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
26008 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
26009 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
26010 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
26011 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
26012 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26013 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
26014 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
26015 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26016 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26017 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
26018 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
26019 * sysdeps/sparc/elf/configure: Regenerated.
26020
7b1902cb
JM
260212012-03-01 Joseph Myers <joseph@codesourcery.com>
26022
bec039bc
JM
26023 * configure.in (AS, LD): Require binutils 2.20 or later.
26024 * configure: Regenerated.
26025 * manual/install.texi (Tools for Compilation): Give binutils 2.20
26026 as required minimum version.
26027 * INSTALL: Regenerated.
26028
7b1902cb
JM
26029 [BZ #2541]
26030 [BZ #4108]
26031 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
26032 before squaring exponent.
26033 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
26034 bottom long double and 27 bits of top long double before squaring
26035 exponent.
26036 * math/libm-test.inc (erfc_test): Add more tests.
26037 * sysdeps/i386/fpu/libm-test-ulps: Update.
26038 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26039 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26040
f775c276
KT
260412012-03-01 Kai Tietz <ktietz@redhat.com>
26042
26043 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
26044 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
26045 containing bit-fields.
26046 * soft-fp/extended.h (_FP_UNION_E): Likewise.
26047 * soft-fp/single.h (_FP_UNION_S): Likewise.
26048 * soft-fp/double.h (_FP_UNION_D): Likewise.
26049
5b8a4d4a
JM
260502012-02-29 Joseph Myers <joseph@codesourcery.com>
26051
0bab47b6
JM
26052 [BZ #13786]
26053 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
26054 not include ../strcmp.S.
26055 [USE_AS_STRNCASECMP_L]: Likewise.
26056 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
26057 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
26058 * sysdeps/i386/i686/multiarch/strncase_l-c.c
26059 (__strncasecmp_l_ia32): Define as alias to
26060 __strncasecmp_l_nonascii.
26061
0fcad3e2
JM
26062 [BZ #5794]
26063 * math/libm-test.inc (expm1_test): Add test for bug 5794.
26064 * sysdeps/i386/fpu/libm-test-ulps: Update.
26065 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26066
5b8a4d4a
JM
26067 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
26068 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26069
8fdceb2e
JL
260702012-02-29 Jeff Law <law@redhat.com>
26071
26072 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
26073 out of bounds read.
26074
1f393a11
MP
260752012-02-29 Marek Polacek <polacek@redhat.com>
26076
26077 [BZ #13706]
26078 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
26079 * elf/Makefile: Add rules to run tst-unused-dep.out.
26080
8847f037
DM
260812012-02-28 David S. Miller <davem@davemloft.net>
26082
26083 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
26084 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
26085 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
26086 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
26087 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
26088 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
26089
169d7f11
JM
260902012-02-29 Joseph Myers <joseph@codesourcery.com>
26091
26092 * math/libm-test.inc (llround_test): Move one test from
26093 lround_test. Use TEST_f_L in moved test.
26094 (lround_test): Move misplaced test to llround_test. Add testcase
26095 from bug 2561.
26096
39adf059
UD
260972012-02-28 Ulrich Drepper <drepper@gmail.com>
26098
26099 * sysdeps/x86_64/fpu/e_expf.S: New file.
26100 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
26101
71b5d1c5
SB
261022012-02-28 Stanislav Brabec <sbrabec@suse.cz>
26103
26104 [BZ #13637]
26105 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
26106 of remain_len that may cause incomplete multi-byte character and
26107 false match.
26108 * posix/bug-regex33.c: New file.
26109 * posix/Makefile (tests): Add bug-regex33.
26110
1f77f049
JM
261112012-02-28 Joseph Myers <joseph@codesourcery.com>
26112
26113 * manual/macros.texi: New file.
26114 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
26115 * manual/libc.texinfo: Include macros.texi.
26116 * manual/creatute.texi: Likewise.
26117 * manual/install.texi: Likewise.
26118 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
26119 @glibcadj{} in references to the GNU C Library.
26120 * manual/charset.texi: Likewise.
26121 * manual/conf.texi: Likewise.
26122 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
26123 when not using those macros.
26124 * manual/creature.texi: Likewise.
26125 * manual/crypt.texi: Likewise.
26126 * manual/errno.texi: Likewise.
26127 * manual/filesys.texi: Likewise.
26128 * manual/header.texi: Likewise.
26129 * manual/install.texi: Likewise.
26130 * manual/intro.texi: Likewise.
26131 * manual/io.texi: Likewise.
26132 * manual/job.texi: Likewise.
26133 * manual/lang.texi: Likewise.
26134 * manual/libc.texiinfo: Likewise.
26135 * manual/llio.texi: Likewise.
26136 * manual/locale.texi: Likewise.
26137 * manual/maint.texi: Likewise.
26138 * manual/math.texi: Likewise.
26139 * manual/memory.texi: Likewise.
26140 * manual/message.texi: Likewise.
26141 * manual/nss.texi: Likewise.
26142 * manual/pattern.texi: Likewise.
26143 * manual/process.texi: Likewise.
26144 * manual/resource.texi: Likewise.
26145 * manual/search.texi: Likewise.
26146 * manual/setjmp.texi: Likewise.
26147 * manual/signal.texi: Likewise.
26148 * manual/socket.texi: Likewise.
26149 * manual/startup.texi: Likewise.
26150 * manual/stdio.texi: Likewise.
26151 * manual/string.texi: Likewise.
26152 * manual/sysinfo.texi: Likewise.
26153 * manual/syslog.texi: Likewise.
26154 * manual/terminal.texi: Likewise.
26155 * manual/time.texi: Likewise.
26156 * manual/users.texi: Likewise.
26157 * INSTALL: Regenerated.
26158 * NOTES: Regenerated.
d40c5d54 26159 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 26160
450bf206
AS
261612012-02-28 Andreas Schwab <schwab@linux-m68k.org>
26162
26163 * include/dirent.h: Include <dirstream.h> before
26164 <dirent/dirent.h>.
26165
741a235b
DM
261662012-02-28 David S. Miller <davem@davemloft.net>
26167
26168 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
26169 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
26170 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
26171 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
26172
d6b5aa58
DM
261732012-02-27 David S. Miller <davem@davemloft.net>
26174
1aff59a3
DM
26175 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
26176 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
26177 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
26178 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
26179
d6b5aa58
DM
26180 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
26181 frame pointer instead of stack pointer relative arg slot.
26182 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
26183 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
26184 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
26185
433f48bf
CD
261862012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
26187
26188 [BZ #3992]
26189 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
26190
d674b76d
DM
261912012-02-27 David S. Miller <davem@davemloft.net>
26192
26193 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
26194 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
26195 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
26196 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
26197 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
26198 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
26199 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
26200 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
26201
0e7727f7
JM
262022012-02-27 Joseph Myers <joseph@codesourcery.com>
26203
26204 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
26205 later. Allow versions 5-9.
43be4ca2 26206 * configure: Regenerated.
0e7727f7
JM
26207 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
26208 required minimum version and 4.6 as recommended version. Do not
26209 mention bugs in GCC 2.7 and 2.8.
43be4ca2 26210 * INSTALL: Regenerated.
0e7727f7 26211
a78bc654
DM
262122012-02-27 David S. Miller <davem@davemloft.net>
26213
428d5830
DM
26214 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
26215 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
26216 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
26217 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
26218 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
26219 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
26220 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
26221 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
26222
a78bc654
DM
26223 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
26224 manipulate bits before adding and subtracting TWO112[sx].
26225 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
26226
4579f81c
RM
262272012-02-27 Roland McGrath <roland@hack.frob.com>
26228
36c8acb4
RM
26229 [BZ #13775]
26230 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
26231 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
26232 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
26233 being in POSIX, because they are in 1003.1-2008.
26234
84ad622b
RM
26235 * rt/tst-aio.c: Include <fcntl.h>.
26236 * rt/tst-aio7.c: Likewise.
26237 * rt/tst-aio64.c: Likewise.
26238
4579f81c
RM
26239 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
26240
abd923db
JM
262412012-02-27 Joseph Myers <joseph@codesourcery.com>
26242
26243 * manual/install.texi (--with-headers): Describe headers as
26244 interface headers, not private headers.
26245 (Specific advice for GNU/Linux systems): Describe use of headers
26246 from "make headers_install", not private headers from older
26247 kernels.
43be4ca2 26248 * INSTALL: Regenerated.
abd923db
JM
26249 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
26250 Change to 2.6.19.
26251 * sysdeps/unix/sysv/linux/configure: Regenerated.
26252
6664049b
JM
26253 * manual/llio.texi (fclean): Remove documentation.
26254
bb8b6697
JM
26255 * manual/Makefile (libc-texi-generated): New variable. Include
26256 version.texi.
26257 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
26258 $(libc-texi-generated), not duplicated list of files.
26259 (version.texi, stamp-version): New rules.
26260 (realclean): Remove $(libc-texi-generated), not individual files
26261 from that list. Do not remove dir-add.texinfo.
26262 * manual/libc.texinfo: Comment out uses of edition numbers and
26263 references to printed manual. Remove last-updated dates.
26264 (EDITION): Comment out.
26265 (ISBN): Likewise.
26266 (VERSION, UPDATED): Remove.
26267 (version.texi): Include.
26268
12e5c3b9
AS
262692012-02-27 Andreas Schwab <schwab@linux-m68k.org>
26270
26271 * sysdeps/posix/spawni.c: Include <signal.h>.
26272 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
26273 * sysdeps/pthread/aio_fsync.c: Likewise.
26274
4efeffc1 262752012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 26276
ba63ba08
UD
26277 * conform/Makefile (tests): Run only when not cross-compiling and
26278 when fast-check is not defined.
26279
d94a4670
UD
26280 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
26281 * conform/data/limits.h-data: Fixes for POSIX2008.
26282 * conform/run-conformtest.sh: Run all tests.
26283 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
26284 headers.
26285 * include/bits/dlfcn.h: Likewise.
26286 * include/langinfo.h: Likewise.
26287 * include/monetary.h: Likewise.
26288 * include/sys/poll.h: Likewise.
26289
26290 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
26291 for __USE_GNU.
26292 * posix/spawn.h: Define __need_sigset_t.
26293 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
26294 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
26295 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
26296 to get sigevent_t only.
26297 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
26298 only for __USE_GNU.
26299 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26300 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
26301 process_vm_writev only for __USE_GNU.
26302 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
26303
26304 * conform/Makefile: For now ignore errors from run-conformtest.
26305 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
26306 POSIX to avoid namespace pollution. Don't prepend headers.
26307 * conform/data/aio.h-data: Fixes for POSIX testing.
26308 * conform/data/fcntl.h-data: Likewise.
26309 * conform/data/glob.h-data: Likewise.
26310 * conform/data/grp.h-data: Likewise.
26311 * conform/data/pthread.h-data: Likewise.
26312 * conform/data/pwd.h-data: Likewise.
26313 * conform/data/signal.h-data: Likewise.
26314 * conform/data/spawn.h-data: Likewise.
26315 * conform/data/stdio.h-data: Likewise.
26316 * conform/data/stdlib.h-data: Likewise.
26317 * conform/data/stropts.h-data: Likewise.
26318 * conform/data/sys/mman.h-data: Likewise.
26319 * conform/data/sys/stat.h-data: Likewise.
26320 * conform/data/sys/types.h-data: Likewise.
26321 * conform/data/sys/wait.h-data: Likewise.
26322 * conform/data/time.h-data: Likewise.
26323 * conform/data/unistd.h-data: Likewise.
26324 * conform/data/utime.h-data: Likewise.
26325
26326 * io/sys/stat.h: fchmod was always in POSIX.
26327 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
26328 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
26329 * rt/aio.h: Define __need_timespec before including <time.h>.
26330 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
26331 struct. Add forward declaration of pthread_attr_t and use it in
26332 sigevent.
26333 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
26334 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
26335 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
26336 always remove CLK_TCK definition.
26337
c20105c3
AS
263382012-02-26 Andreas Schwab <schwab@linux-m68k.org>
26339
26340 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
26341
7a270350
UD
263422012-02-25 Ulrich Drepper <drepper@gmail.com>
26343
31341567
UD
26344 * conform/run-conformtest.sh: New file.
26345 * conform/Makefile: Run run-conformtest for tests.
26346 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
26347 support.
26348
26349 * conform/data/uchar.h-data: New file.
26350 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
26351 * conform/data/arpa/inet.h-data: Likewise.
26352 * conform/data/assert.h-data: Likewise.
26353 * conform/data/complex.h-data: Likewise.
26354 * conform/data/cpio.h-data: Likewise.
26355 * conform/data/ctype.h-data: Likewise.
26356 * conform/data/dirent.h-data: Likewise.
26357 * conform/data/dlfcn.h-data: Likewise.
26358 * conform/data/errno.h-data: Likewise.
26359 * conform/data/fcntl.h-data: Likewise.
26360 * conform/data/float.h-data: Likewise.
26361 * conform/data/fmtmsg.h-data: Likewise.
26362 * conform/data/fnmatch.h-data: Likewise.
26363 * conform/data/ftw.h-data: Likewise.
26364 * conform/data/glob.h-data: Likewise.
26365 * conform/data/grp.h-data: Likewise.
26366 * conform/data/iconv.h-data: Likewise.
26367 * conform/data/inttypes.h-data: Likewise.
26368 * conform/data/langinfo.h-data: Likewise.
26369 * conform/data/libgen.h-data: Likewise.
26370 * conform/data/limits.h-data: Likewise.
26371 * conform/data/locale.h-data: Likewise.
26372 * conform/data/math.h-data: Likewise.
26373 * conform/data/monetary.h-data: Likewise.
26374 * conform/data/mqueue.h-data: Likewise.
26375 * conform/data/ndbm.h-data: Likewise.
26376 * conform/data/net/if.h-data: Likewise.
26377 * conform/data/netdb.h-data: Likewise.
26378 * conform/data/netinet/in.h-data: Likewise.
26379 * conform/data/nl_types.h-data: Likewise.
26380 * conform/data/poll.h-data: Likewise.
26381 * conform/data/pthread.h-data: Likewise.
26382 * conform/data/pwd.h-data: Likewise.
26383 * conform/data/regex.h-data: Likewise.
26384 * conform/data/sched.h-data: Likewise.
26385 * conform/data/search.h-data: Likewise.
26386 * conform/data/semaphore.h-data: Likewise.
26387 * conform/data/setjmp.h-data: Likewise.
26388 * conform/data/signal.h-data: Likewise.
26389 * conform/data/spawn.h-data: Likewise.
26390 * conform/data/stdarg.h-data: Likewise.
26391 * conform/data/stdio.h-data: Likewise.
26392 * conform/data/stdlib.h-data: Likewise.
26393 * conform/data/string.h-data: Likewise.
26394 * conform/data/strings.h-data: Likewise.
26395 * conform/data/stropts.h-data: Likewise.
26396 * conform/data/sys/ipc.h-data: Likewise.
26397 * conform/data/sys/mman.h-data: Likewise.
26398 * conform/data/sys/msg.h-data: Likewise.
26399 * conform/data/sys/resource.h-data: Likewise.
26400 * conform/data/sys/select.h-data: Likewise.
26401 * conform/data/sys/sem.h-data: Likewise.
26402 * conform/data/sys/shm.h-data: Likewise.
26403 * conform/data/sys/socket.h-data: Likewise.
26404 * conform/data/sys/stat.h-data: Likewise.
26405 * conform/data/sys/statvfs.h-data: Likewise.
26406 * conform/data/sys/time.h-data: Likewise.
26407 * conform/data/sys/timeb.h-data: Likewise.
26408 * conform/data/sys/times.h-data: Likewise.
26409 * conform/data/sys/types.h-data: Likewise.
26410 * conform/data/sys/uio.h-data: Likewise.
26411 * conform/data/sys/un.h-data: Likewise.
26412 * conform/data/sys/utsname.h-data: Likewise.
26413 * conform/data/sys/wait.h-data: Likewise.
26414 * conform/data/syslog.h-data: Likewise.
26415 * conform/data/tar.h-data: Likewise.
26416 * conform/data/termios.h-data: Likewise.
26417 * conform/data/utime.h-data: Likewise.
26418 * conform/data/utmpx.h-data: Likewise.
26419 * conform/data/varargs.h-data: Likewise.
26420 * conform/data/wchar.h-data: Likewise.
26421 * conform/data/wctype.h-data: Likewise.
26422 * conform/data/wordexp.h-data: Likewise.
26423
26424 * include/stropts.h: New file.
26425 * include/uchar.h: New file.
26426 * include/aio.h: Changes to allow conformtest.pl to use the headers.
26427 * include/assert.h: Likewise.
26428 * include/ctype.h: Likewise.
26429 * include/dirent.h: Likewise.
26430 * include/dlfcn.h: Likewise.
26431 * include/fcntl.h: Likewise.
26432 * include/fnmatch.h: Likewise.
26433 * include/glob.h: Likewise.
26434 * include/grp.h: Likewise.
26435 * include/libio.h: Likewise.
26436 * include/locale.h: Likewise.
26437 * include/math.h: Likewise.
26438 * include/net/if.h: Likewise.
26439 * include/netdb.h: Likewise.
26440 * include/netinet/in.h: Likewise.
26441 * include/pthread.h: Likewise.
26442 * include/pwd.h: Likewise.
26443 * include/regex.h: Likewise.
26444 * include/sched.h: Likewise.
26445 * include/search.h: Likewise.
26446 * include/setjmp.h: Likewise.
26447 * include/signal.h: Likewise.
26448 * include/stdio.h: Likewise.
26449 * include/stdlib.h: Likewise.
26450 * include/string.h: Likewise.
26451 * include/sys/cdefs.h: Likewise.
26452 * include/sys/mman.h: Likewise.
26453 * include/sys/msg.h: Likewise.
26454 * include/sys/resource.h: Likewise.
26455 * include/sys/select.h: Likewise.
26456 * include/sys/socket.h: Likewise.
26457 * include/sys/stat.h: Likewise.
26458 * include/sys/statvfs.h: Likewise.
26459 * include/sys/time.h: Likewise.
26460 * include/sys/times.h: Likewise.
26461 * include/sys/uio.h: Likewise.
26462 * include/sys/utsname.h: Likewise.
26463 * include/sys/wait.h: Likewise.
26464 * include/termios.h: Likewise.
26465 * include/time.h: Likewise.
26466 * include/ulimit.h: Likewise.
26467 * include/unistd.h: Likewise.
26468 * include/utime.h: Likewise.
26469 * include/wchar.h: Likewise.
26470 * include/wctype.h: Likewise.
26471 * include/wordexp.h: Likewise.
26472
26473 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
26474
7a270350
UD
26475 * time/time.h: TIME_UTC must be a macro.
26476 Make timespec_get available for ISO C11 only as well.
26477
7724defc
UD
264782012-02-24 Ulrich Drepper <drepper@gmail.com>
26479
26480 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
26481 Reported by Peng Haitao <penght@cn.fujitsu.com>.
26482
6b1d1d46
JM
264832012-02-24 Joseph Myers <joseph@codesourcery.com>
26484
26485 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 26486
0f8bbd69
JM
264872012-02-24 Joseph Myers <joseph@codesourcery.com>
26488
26489 * manual/texinfo.tex: Update to version 2012-01-19.16.
26490
66ab80bc
JM
264912012-02-24 Joseph Myers <joseph@codesourcery.com>
26492
26493 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
26494
74981cc5
RM
264952012-02-24 Roland McGrath <roland@hack.frob.com>
26496
ee968201
RM
26497 [BZ #13738]
26498 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
26499 * manual/fdl-1.3.texi: New file.
26500 * manual/fdl-1.1.texi: File removed.
26501
74981cc5
RM
26502 [BZ #13738]
26503 * manual/libc.texinfo (FDL_VERSION): New @set.
26504 Use it for mention of FDL in cover text.
26505 (Documentation License): Use it in @include file name.
26506
7bb764bc
JM
265072012-02-22 Joseph Myers <joseph@codesourcery.com>
26508 Roland McGrath <roland@hack.frob.com>
26509
26510 [BZ #5461]
26511 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
26512 not LONG_LONG_MAX and LONG_LONG_MIN.
26513 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
26514 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
26515 name.
26516 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
26517
6cbeae47
JM
265182012-02-22 Joseph Myers <joseph@codesourcery.com>
26519
26520 [BZ #2547]
26521 [BZ #11365]
26522 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
26523 manipulate bits before adding and subtracting TWO23[sx].
26524 * math/libm-test.inc (nearbyint_test): Add more tests.
26525
fe45ce09
JM
265262012-02-22 Joseph Myers <joseph@codesourcery.com>
26527
26528 [BZ #2548]
26529 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
26530 bits before adding and subtracting TWO23[sx].
26531 * math/libm-test.inc (rint_test): Add more tests.
26532 (rint_test_tonearest): Likewise.
26533 (rint_test_towardzero): Likewise.
26534 (rint_test_downward): Likewise.
26535 (rint_test_upward: Likewise.
26536
ff3b3d82
JM
265372012-02-22 Joseph Myers <joseph@codesourcery.com>
26538
26539 [BZ #10110]
26540 * include/stdc-predef.h: New file. Extracted from features.h.
26541 * include/features.h: Include stdc-predef.h.
26542 * Makefile (headers): Add stdc-predef.h.
26543 * CONFORMANCE (Compiler limitations): Update.
26544
ef0aab35
JM
265452012-02-22 Joseph Myers <joseph@codesourcery.com>
26546
26547 * manual/libc.texinfo (VERSION, UPDATED): Revert.
26548
58639409
DM
265492012-02-21 David S. Miller <davem@davemloft.net>
26550
26551 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
26552 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
26553
c0e70b25
DM
265542012-02-20 David S. Miller <davem@davemloft.net>
26555
26556 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
26557 using a normal save/restore sequence, rather than allocating a
26558 dummy stack frame just to store a frame pointer and restore.
26559 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26560
fb06851d
JM
265612012-02-21 Joseph Myers <joseph@codesourcery.com>
26562
26563 * manual/install.texi: Fix stray word in line-wrapped comment.
26564
7a8b71c3
DM
265652012-02-20 David S. Miller <davem@davemloft.net>
26566
d510c123
DM
26567 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
26568 both binutils and gcc support GOTDATA.
26569
0722d7c2
DM
26570 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
26571 "rd %pc" in the PIC register setup sequences.
26572
3d2b3019
DM
26573 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
26574 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
26575 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
26576 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
26577 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
26578 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
26579 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26580 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26581 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
26582 (SYSCALL_ERROR_HANDLER): Likewise.
26583 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
26584 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26585 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
26586 (SYSCALL_ERROR_HANDLER): Likewise.
26587
c80098a9
DM
26588 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
26589 (HAVE_GCC_GOTDATA): New.
26590 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
26591 relocation support in both binutils and gcc.
26592 * sysdeps/sparc/elf/configure: Regenerate.
26593
3a2545a0
DM
26594 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
26595 * sysdeps/sparc/sparc32/elf/configure: Delete.
26596 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
26597 * sysdeps/sparc/sparc64/elf/configure: Delete.
26598 * sysdeps/sparc/elf/configure.in: New file.
26599 * sysdeps/sparc/elf/configure: Generate.
26600
7a8b71c3
DM
26601 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
26602 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
26603 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
26604 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
26605 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
26606
f1e86fca
JM
266072012-02-21 Joseph Myers <joseph@codesourcery.com>
26608
26609 * manual/install.texi: Do not mention specific glibc version
26610 numbers.
26611 * manual/libc.texinfo (VERSION, UPDATED): Update.
26612 (@copying): Use @copyright{} and range of years.
26613
0e7dfaef
JM
266142012-02-21 Joseph Myers <joseph@codesourcery.com>
26615
26616 [BZ #13695]
26617 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
26618 [crti.S not in sysdirs] (generated): Do not append.
26619 [crti.S not in sysdirs] (omit-deps): Likewise.
26620 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
26621 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
26622 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
26623 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
26624 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
26625 Likewise.
26626 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
26627 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
26628 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
26629 * csu/defs.awk: Remove file.
26630 * sysdeps/generic/initfini.c: Likewise.
26631 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
26632 variable.
26633 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
26634 Likewise.
26635
599af3ca
JM
266362012-02-20 Joseph Myers <joseph@codesourcery.com>
26637
26638 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
26639 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
26640 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
26641 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
26642 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26643 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
26644 <bits/epoll.h>.
26645 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
26646 (__EPOLL_PACKED): Define to empty if not defined by
26647 <bits/epoll.h>.
26648 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
26649 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26650 bits/epoll.h.
26651
0e499750
JM
266522012-02-20 Joseph Myers <joseph@codesourcery.com>
26653
26654 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
26655 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
26656 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
26657 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
26658 <bits/timerfd.h>.
26659 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
26660 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26661 bits/timerfd.h.
26662
5ad91f6e
JM
266632012-02-20 Joseph Myers <joseph@codesourcery.com>
26664
26665 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
26666 in C locale.
26667 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26668 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26669 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
26670 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26671
06b99b02
AJ
266722012-02-20 Aurelien Jarno <aurelien@aurel32.net>
26673
26674 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26675 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
26676
7638c0fd
AS
266772012-02-19 Andreas Schwab <schwab@linux-m68k.org>
26678
26679 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
26680 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
26681 defined.
26682 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
26683 Likewise.
26684 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
26685 entry for 2.16.
26686
92221550
AJ
266872012-02-19 Aurelien Jarno <aurelien@aurel32.net>
26688
26689 * math/w_acos.c: Use non-signaling floating-point comparisons.
26690 * math/w_acosf.c: Likewise.
26691 * math/w_acosh.c: Likewise.
26692 * math/w_acoshf.c: Likewise.
26693 * math/w_acoshl.c: Likewise.
26694 * math/w_acosl.c: Likewise.
26695 * math/w_asin.c: Likewise.
26696 * math/w_asinf.c: Likewise.
26697 * math/w_asinl.c: Likewise.
26698 * math/w_atanh.c: Likewise.
26699 * math/w_atanhf.c: Likewise.
26700 * math/w_atanhl.c: Likewise.
26701 * math/w_exp2.c: Likewise.
26702 * math/w_exp2f.c: Likewise.
26703 * math/w_exp2l.c: Likewise.
26704 * math/w_j0.c: Likewise.
26705 * math/w_j0f.c: Likewise.
26706 * math/w_j0l.c: Likewise.
26707 * math/w_j1.c: Likewise.
26708 * math/w_j1f.c: Likewise.
26709 * math/w_j1l.c: Likewise.
26710 * math/w_jn.c: Likewise.
26711 * math/w_jnf.c: Likewise.
26712 * math/w_log.c: Likewise.
26713 * math/w_log10.c: Likewise.
26714 * math/w_log10f.c: Likewise.
26715 * math/w_log10l.c: Likewise.
26716 * math/w_log2.c: Likewise.
26717 * math/w_log2f.c: Likewise.
26718 * math/w_log2l.c: Likewise.
26719 * math/w_logf.c: Likewise.
26720 * math/w_logl.c: Likewise.
26721 * math/w_sqrt.c: Likewise.
26722 * math/w_sqrtf.c: Likewise.
26723 * math/w_sqrtl.c: Likewise.
26724 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
26725 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
26726 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26727 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
26728 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
26729
ebaf36eb
JM
267302012-02-19 Joseph Myers <joseph@codesourcery.com>
26731
26732 [BZ #9739]
26733 * manual/string.texi (strnlen): Use correct parameter name in
26734 equivalent expression.
26735
71c254a6
JM
267362012-02-19 Joseph Myers <joseph@codesourcery.com>
26737
26738 [BZ #11174]
26739 * manual/users.texi (seteuid): Consistently use neweuid for
26740 argument name.
26741
16d2c631
JM
267422012-02-19 Joseph Myers <joseph@codesourcery.com>
26743
26744 [BZ #13704]
26745 * manual/nss.texi (Services in the NSS configuration): Correct
26746 list of services in example configuration file.
26747
cd837b09
NB
267482012-02-19 Nick Bowler <nbowler@draconx.ca>
26749
26750 [BZ #11322]
26751 * manual/arith.texi: Remove statements about negative zero
26752 behaving identically to zero.
26753
02c4bbad
JM
267542012-02-18 Joseph Myers <joseph@codesourcery.com>
26755
26756 [BZ #5993]
26757 * manual/install.texi: Do not document upgrading from libc5.
26758
366842e7
JM
267592012-02-18 Joseph Myers <joseph@codesourcery.com>
26760
26761 [BZ #4596]
26762 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
26763
dd54084d
DM
267642012-02-18 David S. Miller <davem@davemloft.net>
26765
26766 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
26767 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
26768 %o7 across the call.
26769 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
26770 instead.
26771 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
26772 SETUP_PIC_REG_LEAF.
26773 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26774 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
26775 * sysdeps/sparc/crtn.S: Likewise.
26776
2bcc53a3
UD
267772012-02-17 Ulrich Drepper <drepper@gmail.com>
26778
26779 * aout/Makefile: Remove.
26780
09c093b5
RK
267812012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
26782
26783 [BZ #13058]
26784 * manual/examples/argp-ex1.c (main): Format definition in GNU
26785 style.
26786 * manual/examples/argp-ex2.c (main): Likewise.
26787 * manual/examples/argp-ex3.c (main): Likewise.
26788 * manual/examples/argp-ex4.c (main): Likewise.
26789 * manual/examples/longopt.c (main): Use new-style prototype
26790 definition.
26791 * manual/examples/strncat.c (main): Specify return type and use
26792 (void) for arguments.
26793 * manual/examples/subopt.c (main): Use char **argv argument.
26794
2ee633a2
JM
267952012-02-17 Joseph Myers <joseph@codesourcery.com>
26796
26797 [BZ #5077]
26798 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
26799 rounding modes.
26800
0520adde
FB
268012012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
26802
26803 [BZ #6907]
26804 * manual/string.texi (strchr): Change when strchrnul is
26805 recommended.
26806
3f4081cd
DGM
268072012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
26808
26809 [BZ #174]
26810 * manual/locale.texi (setlocale): Document LOCPATH.
26811
d1b10e78
JM
268122012-02-17 Joseph Myers <joseph@codesourcery.com>
26813
26814 [BZ #10210]
26815 * manual/process.texi (execle): Move @dots{} before last argument.
26816
79c6869c
PB
268172012-02-17 Paul Bolle <pebolle@tiscali.nl>
26818
26819 [BZ #12047]
26820 * manual/charset.texi (Generic Charset Conversion): Fix typo
26821 (LC_TYPE -> LC_CTYPE).
26822
cc6e48bc
NB
268232012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
26824
26825 [BZ #5805]
26826 * manual/arith.texi (scalbn): Use @var{} on parameter names.
26827 (scalbnf): Likewise.
26828 (scalbnl): Likewise.
26829 (scalbln): Likewise.
26830 (scalblnf): Likewise.
26831 (scalblnl): Likewise.
26832 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
26833 (vwarnx): Likewise.
26834 (verr): Likewise.
26835 (verrx): Likewise.
26836 * manual/filesys.texi (telldir): Use braces around return type.
26837 * manual/llio.texi (mmap): Add space after comma.
26838 (mmap64): Likewise.
26839 * manual/math.texi (jn): Use @var{} on parameter names.
26840 (jnf): Likewise.
26841 (jnl): Likewise.
26842 (yn): Likewise.
26843 (ynf): Likewise.
26844 (ynl): Likewise.
26845 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
26846 line.
26847 * manual/resource.texi (ulimit): Use @dots{} instead of literal
26848 "...".
26849 (sched_get_priority_min): Remove semicolon on @deftypefun line.
26850 (sched_get_priority_max): Likewise.
26851 * manual/signal.texi (sigvec): Add space after comma.
26852 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
26853 names.
26854 (if_indextoname): Likewise.
26855 (if_freenameindex): Likewise.
26856 (sendto): Use ',' instead of '.' in prototype.
26857 * manual/startup.texi (syscall): Use @dots{} instead of literal
26858 "...".
26859 * manual/stdio.texi (__fpending): Separate initial words of
26860 paragraph from @deftypefun line.
26861 * manual/syslog.texi (syslog): Use @dots{} instead of literal
26862 "...".
26863 (vsyslog): Use @var{} on parameter names.
26864 * manual/terminal.texi (stty): Use @var{} on parameter names.
26865 * manual/users.texi (getutmp): Use @var{} on parameter names.
26866 (getutmpx): Likewise.
26867
5b23062f
JM
268682012-02-17 Joseph Myers <joseph@codesourcery.com>
26869
26870 [BZ #6884]
26871 * manual/stdio.texi (fopen): Fix typos in description of
26872 ",ccs=STRING".
26873
8dee4833
AJ
268742012-02-17 Aurelien Jarno <aurelien@aurel32.net>
26875
26876 [BZ #4026]
26877 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
26878 get clock_id definition.
26879
9078ce93
TS
268802012-02-17 Thomas Schwinge <thomas@schwinge.name>
26881
26882 [BZ #4822]
26883 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
26884 (madvise): Cast every argument to void on its own.
26885
3835c55f
JM
268862012-02-17 Joseph Myers <joseph@codesourcery.com>
26887
26888 [BZ #9902]
26889 * manual/startup.texi (Exit Status): Fix typo.
26890
35c47e37
JM
268912012-02-17 Joseph Myers <joseph@codesourcery.com>
26892
26893 [BZ #10140]
26894 * manual/examples/argp-ex1.c: Include <stdlib.h>.
26895 * manual/examples/argp-ex2.c: Likewise.
26896 * manual/examples/argp-ex3.c: Likewise.
26897
e3b69ca7
RH
268982012-02-16 Richard Henderson <rth@redhat.com>
26899
26900 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
26901 * sysdeps/s390/s390-32/initfini.c: Remove.
26902 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
26903 * sysdeps/s390/s390-64/initfini.c: Remove.
26904
df83af67
KK
269052012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26906
26907 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
26908 compiler output for sysdeps/generic/initfini.c.
26909 * sysdeps/sh/elf/initfini.c: Remove file.
26910
f63f3380
DM
269112012-02-16 David S. Miller <davem@davemloft.net>
26912
fb59b3a4
DM
26913 [BZ #11494]
26914 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
26915
f63f3380
DM
26916 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
26917 * sysdeps/sparc/crti.S: New file.
26918 * sysdeps/sparc/crtn.S: New file.
26919 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
26920 * sysdeps/sparc/sparc64/Makefile: Likewise.
26921
df6a4a4a
MF
269222012-02-15 Mike Frysinger <vapier@gentoo.org>
26923
6dd8f3dc 26924 [BZ #3335]
df6a4a4a
MF
26925 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
26926
1cac7236
RM
269272012-02-15 Roland McGrath <roland@hack.frob.com>
26928
d2c736f8
RM
26929 [BZ #4822]
26930 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
26931
1cac7236
RM
26932 * mach/devstream.c (cookie_io_functions_t): Macro removed.
26933 (write, read, close): Likewise.
26934 Patch by Aurelien Jarno <aurelien@aurel32.net>.
26935
8e475601
JM
269362012-02-15 Joseph Myers <joseph@codesourcery.com>
26937
26938 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
26939 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
26940 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
26941 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
26942 <bits/signalfd.h>.
26943 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
26944 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26945 bits/signalfd.h.
26946
ed656b40
MP
269472012-02-14 Marek Polacek <polacek@redhat.com>
26948
26949 * sysdeps/x86_64/crti.S: New file.
26950 * sysdeps/x86_64/crtn.S: New file.
26951 * sysdeps/x86_64/elf/initfini.c: Remove file.
26952
2a979d3a
JM
269532012-02-13 Joseph Myers <joseph@codesourcery.com>
26954
26955 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
26956 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
26957 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
26958 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
26959 <bits/inotify.h>.
26960 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
26961 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26962 bits/inotify.h.
26963
2a418ac3
JM
269642012-02-13 Joseph Myers <joseph@codesourcery.com>
26965
26966 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
26967 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
26968 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
26969 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
26970 <bits/eventfd.h>.
26971 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
26972 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26973 bits/eventfd.h.
26974
fb779be7
TS
269752012-02-10 Thomas Schwinge <thomas@codesourcery.com>
26976
e19e83c5
RM
26977 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
26978 __feraiseexcept instead of feraiseexcept.
7c35ffed 26979
fb779be7
TS
26980 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
26981 nanosleep invocations.
26982 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
26983 strings, and add error checking for a nanosleep invocations.
26984
59ba27a6
PE
269852012-02-09 Paul Eggert <eggert@cs.ucla.edu>
26986
26987 Replace FSF snail mail address with URLs, as per GNU coding standards.
26988 Most of the snail mail addresses were wrong anyway, and omitting
26989 them makes the source code easier to maintain. Almost all of the
26990 changes are to license notices and to locale LC_IDENTIFICATION
26991 addresses, except for this one:
26992 * manual/libc.texinfo: In "Published by", give the FSF's URL,
26993 not its snail mail address.
26994
57b957eb
RH
269952012-02-09 Richard Henderson <rth@twiddle.net>
26996
af850b1c
RH
26997 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
26998 of kernel-features.h.
26999
57b957eb
RH
27000 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
27001
6b73181a
MP
270022012-02-08 Marek Polacek <polacek@redhat.com>
27003
27004 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
27005 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
27006 * sysdeps/gnu/_G_config.h: Likewise.
27007 * sysdeps/generic/_G_config.h: Likewise.
27008
26ecc33a
AS
270092012-02-08 Andreas Schwab <schwab@linux-m68k.org>
27010
6c6dbc63
AS
27011 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
27012 tests.
27013 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27014
e216c012
AS
27015 * sysdeps/powerpc/powerpc32/crti.S: New file.
27016 * sysdeps/powerpc/powerpc32/crtn.S: New file.
27017 * sysdeps/powerpc/powerpc64/crti.S: New file.
27018 * sysdeps/powerpc/powerpc64/crtn.S: New file.
27019
26ecc33a
AS
27020 * Makeconfig (have-initfini): Don't set.
27021 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
27022 * configure.in (nopic_initfini): Don't substitute.
27023 * config.h.in (HAVE_INITFINI): Don't #undef.
27024 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
27025 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
27026
3add8e13
JM
270272012-02-08 Joseph Myers <joseph@codesourcery.com>
27028
27029 Support crti.S and crtn.S provided directly by architectures.
27030 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
27031 [crti.S in sysdirs] (omit-deps): Likewise.
27032 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
27033 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
27034 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
27035 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
27036 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
27037 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
27038 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
27039 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
27040 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
27041 compiler output for sysdeps/generic/initfini.c.
27042 * sysdeps/i386/elf/Makefile: Remove file.
27043 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
27044
a22f12b4
MP
270452012-02-07 Marek Polacek <polacek@redhat.com>
27046
27047 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
27048 * sysdeps/gnu/_G_config.h: Likewise.
27049 * sysdeps/mach/hurd/_G_config.h: Likewise.
27050
148cf100
MP
270512012-02-07 Marek Polacek <polacek@redhat.com>
27052
27053 * math/Makefile (tests): Add tst-CMPLX2.
27054 * math/tst-CMPLX2.c: New file.
27055
cfdc0dd7
AS
270562012-02-07 Andreas Schwab <schwab@linux-m68k.org>
27057
84ba42c4
AS
27058 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27059
cfdc0dd7
AS
27060 * math/libm-test.inc (jn_test): Add missing L suffix.
27061
622c86f4
MP
270622012-02-06 Marek Polacek <polacek@redhat.com>
27063
27064 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
27065 * sysdeps/i386/fpu/e_powf.S: Likewise.
27066 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27067 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
27068 * sysdeps/i386/fpu/e_acosh.S: Likewise.
27069 * sysdeps/i386/fpu/e_pow.S: Likewise.
27070 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
27071 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27072 * sysdeps/i386/fpu/s_expm1.S: Likewise.
27073 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
27074 * sysdeps/i386/fpu/e_log2.S: Likewise.
27075 * sysdeps/i386/fpu/e_log2l.S: Likewise.
27076 * sysdeps/i386/fpu/e_scalb.S: Likewise.
27077 * sysdeps/i386/fpu/e_powl.S: Likewise.
27078 * sysdeps/i386/fpu/s_log1p.S: Likewise.
27079 * sysdeps/i386/fpu/e_log10f.S: Likewise.
27080 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
27081 * sysdeps/i386/fpu/e_logl.S: Likewise.
27082 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
27083 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
27084 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
27085 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
27086 * sysdeps/i386/fpu/e_log2f.S: Likewise.
27087 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27088 * sysdeps/i386/fpu/e_log.S: Likewise.
27089 * sysdeps/i386/fpu/s_cexp.S: Likewise.
27090 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27091 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
27092 * sysdeps/i386/fpu/e_logf.S: Likewise.
27093 * sysdeps/i386/fpu/e_log10l.S: Likewise.
27094 * sysdeps/i386/fpu/e_atanh.S: Likewise.
27095 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
27096 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
27097 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
27098 * sysdeps/i386/fpu/e_log10.S: Likewise.
27099 * sysdeps/i386/fpu/s_frexp.S: Likewise.
27100 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27101 * sysdeps/i386/fpu/s_asinh.S: Likewise.
27102 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
27103 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27104 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
27105 * sysdeps/i386/asm-syntax.h: Likewise.
27106 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27107 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27108 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27109 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
27110 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
27111 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27112 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
27113 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
27114 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27115 * sysdeps/powerpc/sysdep.h: Likewise.
27116 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
27117 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
27118
d4a54ac6
JM
271192012-02-06 Joseph Myers <joseph@codesourcery.com>
27120
27121 [BZ #411]
27122 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
27123
314054ea
JM
271242012-02-06 Joseph Myers <joseph@codesourcery.com>
27125
27126 * sysdeps/i386/sysdep.h: Include <features.h>.
27127 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
27128 version.
27129
d8e0ca50
JM
271302012-02-05 Joseph Myers <joseph@codesourcery.com>
27131
27132 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
27133 Define.
27134 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
27135 LOAD_PIC_REG_STR.
27136
b1da7dd9
JM
271372012-02-03 Joseph Myers <joseph@codesourcery.com>
27138
27139 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
27140 (SETUP_PIC_REG): Use GET_PC_THUNK.
27141 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
27142 macro.
27143
9a1d9254
JM
271442012-02-03 Joseph Myers <joseph@codesourcery.com>
27145
27146 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
27147 for non-PIC compilation.
27148 (SETUP_PIC_REG): Add .p2align directive.
27149 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
27150 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
27151 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
27152 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
27153 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
27154 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
27155 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
27156 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
27157 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27158 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27159 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27160 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27161 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27162 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27163 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
27164 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
27165 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
27166 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
27167 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
27168 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
27169 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
27170 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
27171 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
27172 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
27173 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
27174 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
27175 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27176 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
27177 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
27178 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
27179 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
27180 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27181 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
27182 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
27183 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
27184 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
27185 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
27186 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
27187 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
27188 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
27189 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
27190
65dc3b75
JM
271912012-02-03 Joseph Myers <joseph@codesourcery.com>
27192
27193 * math/tst-CMPLX.c: Include <stdio.h>.
27194
d55bf177
JM
271952012-01-31 Joseph Myers <joseph@codesourcery.com>
27196
27197 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
27198 float.
27199 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
27200 * sysdeps/sparc/bits/mathdef.h: Likewise.
27201
69db4f8f
MP
272022012-01-31 Marek Polacek <polacek@redhat.com>
27203
27204 * libio/libio.h: Don't define _PARAMS.
27205 * locale/programs/config.h: Don't define PARAMS.
27206 * stdlib/strtol_l.c: Likewise.
27207 (__strtol_l): Remove PARAMS from the prototype.
27208
41b81892
UD
272092012-01-31 Ulrich Drepper <drepper@gmail.com>
27210
3b49edc0
UD
27211 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
27212 names. Just use the correct names. Remove unnecessary wrapper
27213 functions.
27214 * malloc/arena.c: Likewise.
27215 * malloc/hooks.c: Likewise.
27216
41b81892
UD
27217 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
27218 ARENA_TEST says not to. Simplify test for creation of a new arena.
27219 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
27220
27a25b6e
UD
272212012-01-30 Ulrich Drepper <drepper@gmail.com>
27222
27223 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
27224 into tail calls.
27225 (update_get_addr): New function.
27226 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
27227 GET_ADDR_MODULE parameter.
27228
c8a89e7d
JM
272292012-01-30 Joseph Myers <joseph@codesourcery.com>
27230
27231 * crypt/cert.c: Remove __STDC__ conditionals.
27232 * crypt/crypt-entry.c: Likewise.
27233 * crypt/crypt_util.c: Likewise.
27234 * libio/filedoalloc.c: Likewise.
27235 * libio/fileops.c: Likewise.
27236 * libio/genops.c: Likewise.
27237 * libio/iofclose.c: Likewise.
27238 * libio/iofdopen.c: Likewise.
27239 * libio/iofopen.c: Likewise.
27240 * libio/iofopen64.c: Likewise.
27241 * libio/iogetdelim.c: Likewise.
27242 * libio/iopopen.c: Likewise.
27243 * libio/obprintf.c: Likewise.
27244 * libio/oldfileops.c: Likewise.
27245 * libio/oldiofclose.c: Likewise.
27246 * libio/oldiofdopen.c: Likewise.
27247 * libio/oldiofopen.c: Likewise.
27248 * libio/oldiopopen.c: Likewise.
27249 * libio/wfiledoalloc.c: Likewise.
27250 * libio/wgenops.c: Likewise.
27251 * locale/programs/xmalloc.c: Likewise.
27252 * misc/syslog.c: Likewise.
27253 * stdio-common/xbug.c: Likewise.
27254 * string/memchr.c: Likewise.
27255 * string/memcmp.c: Likewise.
27256 * string/memrchr.c: Likewise.
27257 * string/rawmemchr.c: Likewise.
27258 * sysdeps/posix/getcwd.c: Likewise.
27259 * time/strftime_l.c: Likewise.
27260
3b100462
JM
272612012-01-30 Joseph Myers <joseph@codesourcery.com>
27262
27263 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
27264 * config.make.in (config-cflags-sse2avx): Define.
27265 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
27266 Fix typo.
27267
607998af
CM
272682012-01-29 Chris Metcalf <cmetcalf@tilera.com>
27269
27270 * scripts/config.guess: Update from upstream config git repository.
27271 * scripts/config.sub: Likewise.
27272
3601428f
CM
272732012-01-28 Chris Metcalf <cmetcalf@tilera.com>
27274
3ac8b282
CM
27275 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
27276 (EM_NUM): Update.
27277 (R_TILEPRO_*, R_TILEGX_*): New macros.
27278
e034841e
CM
27279 * scripts/firstversions.awk: Fix bug in version range handling.
27280
540d7568
CM
27281 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
27282
3601428f
CM
27283 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
27284
463de862
CM
27285 * include/sys/epoll.h: New file.
27286 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
27287 libc_hidden_def.
27288
73139a76
UD
272892012-01-28 Ulrich Drepper <drepper@gmail.com>
27290
96bc5b45
UD
27291 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
27292 Avoid unnecessary __WORDSIZE == 64 test.
27293 (fmaxf): Use VEX format if possible.
27294 (fmax): Likewise.
27295 (fminf): Likewise.
27296 (fmin): Likewise.
27297
56f6f6a2
UD
27298 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
27299 * math/math_private.h: Remove libc_fegetround* and
27300 libc_fesetround*.
27301 * sysdeps/i386/configure.in: Check for -msse2avx.
27302 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
27303 also if SSE2AVX is defined.
27304 Remove libc_fegetround* and libc_fesetround*.
27305 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
27306 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
27307 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
27308 of HAS_YMM_USABLE.
27309 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27310 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27311 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27312 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27313 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27314
73139a76
UD
27315 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
27316
d73f93a4
AZ
273172012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27318
27319 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
27320 size is not set.
27321 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
27322
6ee65ed6
UD
273232012-01-27 Ulrich Drepper <drepper@gmail.com>
27324
27325 [BZ #13618]
27326 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
27327 relocation.
27328 * Makeconfig (libm): Define.
27329 * elf/Makefile: Add rules to build and run tst-relsort1.
27330 * elf/tst-relsort1.c: New file.
27331 * elf/tst-relsort1mod1.c: New file.
27332 * elf/tst-relsort1mod2.c: New file.
27333
8db21882
JM
273342012-01-27 Joseph Myers <joseph@codesourcery.com>
27335
27336 * math/s_ldexp.c: Remove __STDC__ conditionals.
27337 * math/s_ldexpf.c: Likewise.
27338 * math/s_ldexpl.c: Likewise.
27339 * math/s_nextafter.c: Likewise.
27340 * math/s_nexttowardf.c: Likewise.
27341 * math/s_significand.c: Likewise.
27342 * math/s_significandf.c: Likewise.
27343 * math/s_significandl.c: Likewise.
27344 * math/w_jnl.c: Likewise.
27345 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
27346 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
27347 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
27348 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
27349 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
27350 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27351 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
27352 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
27353 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27354 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
27355 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
27356 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27357 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
27358 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
27359 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
27360 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
27361 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
27362 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
27363 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27364 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27365 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27366 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
27367 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
27368 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27369 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
27370 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
27371 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
27372 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
27373 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
27374 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
27375 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
27376 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
27377 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
27378 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
27379 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
27380 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
27381 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
27382 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
27383 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
27384 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
27385 * sysdeps/ieee754/k_standard.c: Likewise.
27386 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27387 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
27388 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
27389 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
27390 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
27391 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
27392 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
27393 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
27394 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
27395 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
27396 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
27397 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
27398 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
27399 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
27400 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
27401 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
27402 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
27403 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
27404 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
27405 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
27406 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27407 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
27408 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
27409 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
27410 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
27411 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
27412 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27413 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27414 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27415 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
27416 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
27417 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
27418 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
27419 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
27420 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
27421 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
27422 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
27423 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
27424 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
27425 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
27426 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
27427 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
27428 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
27429 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
27430 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
27431 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
27432 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
27433 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
27434 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
27435 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
27436 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
27437 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
27438 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27439 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
27440 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
27441 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
27442 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
27443 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27444 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27445 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27446 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
27447 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
27448 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
27449 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
27450 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
27451 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
27452 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
27453 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
27454 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
27455 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
27456 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
27457 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
27458 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
27459 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
27460 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
27461 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
27462 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
27463 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
27464 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
27465 * sysdeps/ieee754/s_matherr.c: Likewise.
27466 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
27467 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
27468 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27469 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
27470
965a54a4
JM
274712012-01-26 Joseph Myers <joseph@codesourcery.com>
27472
27473 * crypt/md5.h: Remove __STDC__ conditionals.
27474 * libio/libioP.h: Likewise.
27475 * locale/programs/config.h: Likewise.
27476 * sysdeps/generic/sysdep.h: Likewise.
27477 * sysdeps/i386/asm-syntax.h: Likewise.
27478 * sysdeps/s390/asm-syntax.h: Likewise.
27479 * sysdeps/unix/sysdep.h: Likewise.
27480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
27481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27482
7071ad79
JM
274832012-01-26 Joseph Myers <joseph@codesourcery.com>
27484
27485 * libio/libio.h: Remove __STDC__ conditionals.
27486 * malloc/obstack.h: Likewise.
27487 * math/complex.h: Likewise.
27488 * math/math.h: Likewise.
27489 * sysdeps/generic/_G_config.h: Likewise.
27490 * sysdeps/gnu/_G_config.h: Likewise.
27491 * sysdeps/mach/hurd/_G_config.h: Likewise.
27492 * sysdeps/powerpc/bits/mathdef.h: Likewise.
27493 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
27494 * sysdeps/sparc/bits/mathdef.h: Likewise.
27495
afc5ed09
UD
274962012-01-26 Ulrich Drepper <drepper@gmail.com>
27497
27498 [BZ #13583]
27499 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 27500 Clean up HAS_* macros.
afc5ed09 27501 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
27502 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
27503 possible.
27504 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
27505 HAS_AVX.
27506 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27507 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27508 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27509 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27510 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 27511
bdb6de1d
JM
275122012-01-25 Joseph Myers <joseph@codesourcery.com>
27513
27514 * elf/tst-unique3.cc (gets): Remove declaration.
27515 * elf/tst-unique3lib.cc (gets): Likewise.
27516 * elf/tst-unique3lib2.cc (gets): Likewise.
27517 * elf/tst-unique4.cc (gets): Likewise.
27518
b15549e6
UD
275192012-01-24 Ulrich Drepper <drepper@gmail.com>
27520
27521 * include/stdio.h: Add C++ protection. Add gets declarations and
27522 definitions.
27523 * debug/tst-chk1.c: Don't declare gets here.
27524 * stdio-common/tst-gets.c: Likewise.
27525
a037381f
JM
275262012-01-24 Joseph Myers <joseph@codesourcery.com>
27527
27528 * posix/glob: Remove directory.
27529
f1d4aa75
JM
275302012-01-24 Joseph Myers <joseph@codesourcery.com>
27531
27532 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
27533
81c0c964
PT
275342012-01-22 Pino Toscano <toscano.pino@tiscali.it>
27535
27536 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
27537 of the non-standard EPFNOSUPPORT.
27538
0ea698ae
ST
275392011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
27540
27541 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
27542 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
27543 ANYWHERE set to 1 only on KERN_NO_SPACE error.
27544
d220b117
UD
275452012-01-21 Ulrich Drepper <drepper@gmail.com>
27546
27547 * wcsmbs/uchar.h: Test __STDC_VERSION__.
27548
3e1aa84e
UD
275492012-01-20 Ulrich Drepper <drepper@gmail.com>
27550
27551 * nscd/aicache.c (addhstaiX): Do not cache negative results of
27552 transient errors.
27553 * nscd/grpcache.c (cache_addgr): Likewise.
27554 * nscd/hstcache.c (cache_addhst): Likewise.
27555 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27556 * nscd/pwdcache.c (cache_addpw): Likewise.
27557 * nscd/servicescache.c (cache_addserv): Likewise.
27558
400aa020
UD
275592012-01-16 Ulrich Drepper <drepper@gmail.com>
27560
d77e7869
UD
27561 * malloc/malloc.c: Various cleanups.
27562 * malloc/hooks.c: Likewise.
27563
400aa020
UD
27564 * stdlib/Makefile (tests): Add bug-fmtmsg1.
27565 * stdlib/bug-fmtmsg1.c: New file.
27566
27567 * stdlib/fmtmsg.c (init): Add missing unlock.
27568 Patch by Peng Haitao <penght@cn.fujitsu.com>.
27569
e0a309cf
MP
275702012-01-12 Marek Polacek <polacek@redhat.com>
27571
27572 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
27573 and _GNU_SOURCE.
27574
929d11c7
WS
275752012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
27576
27577 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
27578 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
27579 macro to ensure uniqueness of label name.
27580 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
27581 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
27582
41d0e869
UD
275832012-01-11 Ulrich Drepper <drepper@gmail.com>
27584
0cc5ed3b
UD
27585 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
27586
41d0e869
UD
27587 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
27588 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
27589 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
27590 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
27591
a47a831a
UD
275922012-01-10 Ulrich Drepper <drepper@gmail.com>
27593
daa891c0
UD
27594 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
27595
27596 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
27597 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
27598 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
27599
e58ef0f2
UD
27600 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
27601
a47a831a 27602 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
27603 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
27604 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 27605 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
27606
27607 * math/bits/math-finite.h: Add ldexp support.
27608
a0bfc9c7
MP
276092012-01-10 Marek Polacek <polacek@redhat.com>
27610
27611 * locale/programs/localedef.h (show_archive_content): Add noreturn
27612 attribute.
27613
d6e97a1d
UD
276142012-01-09 Ulrich Drepper <drepper@gmail.com>
27615
27616 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
27617
d5835c26
UD
276182012-01-08 Ulrich Drepper <drepper@gmail.com>
27619
e5f484c6
UD
27620 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
27621
d5835c26
UD
27622 * io/Makefile (headers): Add bits/poll2.h.
27623
d1f741e9
WS
276242011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
27625
27626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
27627 typo #include statement.
27628
ec09c1c4
UD
276292012-01-08 Ulrich Drepper <drepper@gmail.com>
27630
27631 * include/sys/cdefs.h: Define __attribute_alloc_size.
27632 * catgets/gencat.c: Add alloc_size attribute and apply consistently
27633 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
27634 * elf/pldd.c: Likewise.
27635 * iconv/iconv_charmap.c: Likewise.
27636 * iconv/iconvconfig.c: Likewise.
27637 * iconv/strtab.c: Likewise.
27638 * locale/programs/locale.c: Likewise.
27639 * locale/programs/localedef.h: Likewise.
27640 * locale/programs/simple-hash.c: Likewise.
27641 * nscd/nscd.h: Likewise.
27642 * nss/makedb.c: Likewise.
27643 * sysdeps/generic/ldconfig.h: Likewise.
27644 * locale/programs/localedef.c: Remove xmalloc prototype.
27645 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
27646
20b38e03
PP
276472012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
27648
27649 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
27650 appropriate.
27651
a0da5fe1
UD
276522012-01-08 Ulrich Drepper <drepper@gmail.com>
27653
1d5a644a 27654 * math/Makefile (tests): Add tst-CMPLX.
669704fd 27655 * math/tst-CMPLX.c: New file.
1d5a644a 27656
8784a6db
UD
27657 * math/complex.h (CMPLXL): Fix typo.
27658
d9a216c0
UD
27659 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
27660 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
27661 GLIBC_2.16.
27662 * debug/tst-chk1.c: Add poll and ppoll tests.
27663 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
27664 * include/sys/poll.h: Add hidden proto for ppoll.
27665 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
27666 * sysdeps/mach/hurd/ppoll.c: Likewise.
27667 * io/ppoll.c: Likewise.
27668 * debug/poll_chk.c: New file.
27669 * debug/ppoll_chk.c: New file.
27670 * include/bits/poll2.h: New file.
27671 * io/bits/poll2.h: New file.
27672
ac097f5c
UD
27673 [BZ #1350]
27674 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
27675
2119dcfa
UD
27676 * configure.in: static is always set to yes. Remove.
27677 * config.make.in: Don't set build-static.
27678 * Makeconfig: Remove use of build-static.
27679 * dlfcn/Makefile: Likewise.
27680 * elf/Makefile: Likewise.
27681 * math/Makefile: Likewise.
27682 * misc/Makefile: Likewise.
27683 * nptl/Makefile: Likewise.
27684 * sysdeps/mach/hurd/Makefile: Likewise.
27685
121766a9
UD
27686 * configure.in: PWD_P is not used anymore.
27687 * config.make.in: Remove PWD_P entry.
27688
51a1d39c 27689 * configure.in: Remove last remnants of RANLIB.
8720d066 27690 No need to check for signed size_t anymore.
215f4bdc
UD
27691 Don't set libc_commonpagesize and libc_relro_required here for Alpha
27692 and IA-64.
3857022a 27693 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
27694 * aclocal.m4: Likewise.
27695
d3ed7225
UD
27696 * wcsmbs/mbrtoc16.c: Implement using towc function.
27697 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
27698 * wcsmbs/wcsmbsload.c: Likewise.
27699 * iconv/gconv_simple.c: Likewise.
27700 * iconv/gconv_int.h: Likewise.
27701 * iconv/gconv_builtin.h: Likewise.
27702 * iconv/iconv_prog.c: Remove CHAR16 handling.
27703
27704 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
27705
27706 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
27707
a0da5fe1
UD
27708 * configure.in: Remove --with-elf and --enable-bounded options.
27709 Dont set base_machine for ia64. More non-ELF conditions removed.
27710 Remove testing and setting of leading underscore information.
27711 * config.make.in (build-bounded): Set to no.
27712 * config.h.in: Remove NO_UNDERSCORES entry.
27713 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
27714 them.
27715 * csu/start.c: Remove !NO_UNDERSCORE code.
27716 * locale/localeinfo.h: Likewise.
27717 * sysdeps/generic/machine-gmon.h: Likewise.
27718 * sysdeps/generic/sysdep.h: Likewise.
27719 * sysdeps/i386/sysdep.h: Likewise.
27720 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
27721 * sysdeps/mach/sysdep.h: Likewise.
27722 * sysdeps/s390/s390-32/sysdep.h: Likewise.
27723 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27724 * sysdeps/sh/sysdep.h: Likewise.
27725 * sysdeps/sparc/sparc32/alloca.S: Likewise.
27726 * sysdeps/unix/i386/sysdep.S: Likewise.
27727 * sysdeps/unix/sparc/start.c: Likewise.
27728 * sysdeps/unix/sparc/sysdep.S: Likewise.
27729 * sysdeps/unix/sparc/sysdep.h: Likewise.
27730 * sysdeps/unix/start.c: Likewise.
27731 * sysdeps/unix/x86_64/sysdep.S: Likewise.
27732 * sysdeps/x86_64/sysdep.h: Likewise.
27733
df78418a
UD
277342012-01-07 Ulrich Drepper <drepper@gmail.com>
27735
a784e502
UD
27736 [BZ #13553]
27737 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
27738 for non-gcc.
27739 * argp/argp-fmtstream.h: Use const instead __const.
27740 * argp/argp.h: Likewise.
27741 * assert/assert.h: Likewise.
27742 * bits/fenv.h: Likewise.
27743 * bits/sched.h: Likewise.
27744 * bits/sigset.h: Likewise.
27745 * bits/sigthread.h: Likewise.
27746 * catgets/nl_types.h: Likewise.
27747 * conform/data/pthread.h-data: Likewise.
27748 * crypt/crypt-private.h: Likewise.
27749 * crypt/crypt.h: Likewise.
27750 * crypt/crypt_util.c: Likewise.
27751 * ctype/ctype.h: Likewise.
27752 * debug/execinfo.h: Likewise.
27753 * debug/mbsnrtowcs_chk.c: Likewise.
27754 * debug/mbsrtowcs_chk.c: Likewise.
27755 * debug/wcsnrtombs_chk.c: Likewise.
27756 * debug/wcsrtombs_chk.c: Likewise.
27757 * debug/wcstombs_chk.c: Likewise.
27758 * dirent/dirent.h: Likewise.
27759 * dlfcn/dlfcn.h: Likewise.
27760 * elf/neededtest4.c: Likewise.
27761 * grp/grp.h: Likewise.
27762 * gshadow/gshadow.h: Likewise.
27763 * iconv/gconv.h: Likewise.
27764 * iconv/gconv_int.h: Likewise.
27765 * iconv/gconv_simple.c: Likewise.
27766 * iconv/iconv.h: Likewise.
27767 * iconv/loop.c: Likewise.
27768 * iconv/skeleton.c: Likewise.
27769 * include/aio.h: Likewise.
27770 * include/aliases.h: Likewise.
27771 * include/argz.h: Likewise.
27772 * include/arpa/inet.h: Likewise.
27773 * include/assert.h: Likewise.
27774 * include/dirent.h: Likewise.
27775 * include/dlfcn.h: Likewise.
27776 * include/execinfo.h: Likewise.
27777 * include/fcntl.h: Likewise.
27778 * include/fenv.h: Likewise.
27779 * include/glob.h: Likewise.
27780 * include/grp.h: Likewise.
27781 * include/libintl.h: Likewise.
27782 * include/mntent.h: Likewise.
27783 * include/netdb.h: Likewise.
27784 * include/pwd.h: Likewise.
27785 * include/rpc/netdb.h: Likewise.
27786 * include/sched.h: Likewise.
27787 * include/search.h: Likewise.
27788 * include/shadow.h: Likewise.
27789 * include/signal.h: Likewise.
27790 * include/stdio.h: Likewise.
27791 * include/stdlib.h: Likewise.
27792 * include/string.h: Likewise.
27793 * include/sys/socket.h: Likewise.
27794 * include/sys/stat.h: Likewise.
27795 * include/sys/statfs.h: Likewise.
27796 * include/sys/statvfs.h: Likewise.
27797 * include/sys/syslog.h: Likewise.
27798 * include/sys/time.h: Likewise.
27799 * include/sys/uio.h: Likewise.
27800 * include/time.h: Likewise.
27801 * include/unistd.h: Likewise.
27802 * include/utmp.h: Likewise.
27803 * include/wchar.h: Likewise.
27804 * include/wctype.h: Likewise.
27805 * inet/aliases.h: Likewise.
27806 * inet/arpa/inet.h: Likewise.
27807 * inet/netinet/ether.h: Likewise.
27808 * inet/netinet/in.h: Likewise.
27809 * intl/libintl.h: Likewise.
27810 * io/bits/fcntl2.h: Likewise.
27811 * io/fcntl.h: Likewise.
27812 * io/ftw.h: Likewise.
27813 * io/sys/poll.h: Likewise.
27814 * io/sys/stat.h: Likewise.
27815 * io/sys/statfs.h: Likewise.
27816 * io/sys/statvfs.h: Likewise.
27817 * io/utime.h: Likewise.
27818 * libio/bits/stdio.h: Likewise.
27819 * libio/bits/stdio2.h: Likewise.
27820 * libio/libio.h: Likewise.
27821 * libio/libioP.h: Likewise.
27822 * libio/stdio.h: Likewise.
27823 * locale/lc-ctype.c: Likewise.
27824 * locale/locale.h: Likewise.
27825 * login/utmp.h: Likewise.
27826 * malloc/arena.c: Likewise.
27827 * malloc/malloc.c: Likewise.
27828 * malloc/malloc.h: Likewise.
27829 * malloc/mcheck.c: Likewise.
27830 * malloc/mtrace.c: Likewise.
27831 * math/bits/mathcalls.h: Likewise.
27832 * math/fenv.h: Likewise.
27833 * math/math_private.h: Likewise.
27834 * misc/bits/error.h: Likewise.
27835 * misc/bits/syslog.h: Likewise.
27836 * misc/err.h: Likewise.
27837 * misc/error.h: Likewise.
27838 * misc/fstab.h: Likewise.
27839 * misc/mntent.h: Likewise.
27840 * misc/regexp.h: Likewise.
27841 * misc/search.h: Likewise.
27842 * misc/sgtty.h: Likewise.
27843 * misc/sys/mman.h: Likewise.
27844 * misc/sys/syslog.h: Likewise.
27845 * misc/sys/uio.h: Likewise.
27846 * misc/sys/xattr.h: Likewise.
27847 * misc/ttyent.h: Likewise.
27848 * nis/rpcsvc/ypclnt.h: Likewise.
27849 * nss/nss.h: Likewise.
27850 * posix/bits/unistd.h: Likewise.
27851 * posix/fnmatch.h: Likewise.
27852 * posix/glob.h: Likewise.
27853 * posix/sched.h: Likewise.
27854 * posix/spawn.h: Likewise.
27855 * posix/sys/wait.h: Likewise.
27856 * posix/unistd.h: Likewise.
27857 * posix/wordexp.h: Likewise.
27858 * pwd/pwd.h: Likewise.
27859 * resolv/netdb.h: Likewise.
27860 * resource/sys/resource.h: Likewise.
27861 * rt/aio.h: Likewise.
27862 * rt/bits/mqueue2.h: Likewise.
27863 * rt/mqueue.h: Likewise.
27864 * shadow/shadow.h: Likewise.
27865 * signal/signal.h: Likewise.
27866 * socket/send.c: Likewise.
27867 * socket/sendto.c: Likewise.
27868 * socket/sys/socket.h: Likewise.
27869 * stdio-common/printf.h: Likewise.
27870 * stdlib/bits/stdlib.h: Likewise.
27871 * stdlib/fmtmsg.h: Likewise.
27872 * stdlib/monetary.h: Likewise.
27873 * stdlib/stdlib.h: Likewise.
27874 * stdlib/ucontext.h: Likewise.
27875 * streams/stropts.h: Likewise.
27876 * string/argz.h: Likewise.
27877 * string/bits/string2.h: Likewise.
27878 * string/string.h: Likewise.
27879 * string/strings.h: Likewise.
27880 * sunrpc/rpc/auth.h: Likewise.
27881 * sunrpc/rpc/auth_des.h: Likewise.
27882 * sunrpc/rpc/clnt.h: Likewise.
27883 * sunrpc/rpc/netdb.h: Likewise.
27884 * sunrpc/rpc/pmap_clnt.h: Likewise.
27885 * sunrpc/rpc/xdr.h: Likewise.
27886 * sysdeps/generic/inttypes.h: Likewise.
27887 * sysdeps/generic/net/if.h: Likewise.
27888 * sysdeps/generic/sys/swap.h: Likewise.
27889 * sysdeps/gnu/net/if.h: Likewise.
27890 * sysdeps/gnu/utmpx.h: Likewise.
27891 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
27892 * sysdeps/i386/i486/bits/string.h: Likewise.
27893 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
27894 * sysdeps/s390/bits/string.h: Likewise.
27895 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
27896 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
27897 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
27898 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
27899 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
27900 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
27901 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
27902 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
27903 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
27904 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
27905 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
27906 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
27907 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
27908 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
27909 * sysdeps/unix/sysv/linux/readv.c: Likewise.
27910 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
27911 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
27912 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27913 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
27914 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
27915 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
27916 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
27917 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
27918 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
27919 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
27920 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
27921 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
27922 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
27923 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
27924 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
27925 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
27926 * sysvipc/sys/ipc.h: Likewise.
27927 * sysvipc/sys/msg.h: Likewise.
27928 * sysvipc/sys/sem.h: Likewise.
27929 * sysvipc/sys/shm.h: Likewise.
27930 * termios/termios.h: Likewise.
27931 * time/sys/time.h: Likewise.
27932 * time/time.h: Likewise.
27933 * wcsmbs/bits/wchar2.h: Likewise.
27934 * wcsmbs/uchar.h: Likewise.
27935 * wcsmbs/wchar.h: Likewise.
27936 * wctype/wctype.h: Likewise.
27937
0269750c
UD
27938 [BZ #13551]
27939 * Makeconfig: Remove all but ELF support including AIX support.
27940 * Makerules: Likewise.
27941 * config.h.in: Likewise.
27942 * config.make.in: Likewise.
27943 * configure: Likewise.
27944 * configure.in: Likewise.
27945 * csu/Makefile: Likewise.
27946 * csu/version.c: Likewise.
27947 * debug/Makefile: Likewise.
27948 * dlfcn/Makefile: Likewise.
27949 * elf/Makefile: Likewise.
27950 * extra-lib.mk: Likewise.
27951 * iconv/Makefile: Likewise.
27952 * include/libc-symbols.h: Likewise.
27953 * include/shlib-compat.h: Likewise.
27954 * resolv/Makefile: Likewise.
27955 * resolv/res_libc.c: Likewise.
27956 * rt/Makefile: Likewise.
27957 * sysdeps/i386/asm-syntax.h: Likewise.
27958 * sysdeps/i386/sysdep.h: Likewise.
27959 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
27960 * sysdeps/mach/sysdep.h: Likewise.
27961 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
27962 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
27963 * sysdeps/s390/asm-syntax.h: Likewise.
27964 * sysdeps/s390/s390-32/sysdep.h: Likewise.
27965 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27966 * sysdeps/sh/sysdep.h: Likewise.
27967 * sysdeps/unix/sparc/sysdep.h: Likewise.
27968 * sysdeps/wordsize-32/divdi3.c: Likewise.
27969 * sysdeps/x86_64/sysdep.h: Likewise.
27970
00bbd29b
UD
27971 * argp/Versions: Remove _argp_unlock_xxx.
27972
27973 [BZ #13559]
27974 * abilist/ld.abilist: Update. Adjust for removal of tls option.
27975 * abilist/libBrokenLocale.abilist: Likewise.
27976 * abilist/libanl.abilist: Likewise.
27977 * abilist/libc.abilist: Likewise.
27978 * abilist/libcrypt.abilist: Likewise.
27979 * abilist/libdl.abilist: Likewise.
27980 * abilist/libm.abilist: Likewise.
27981 * abilist/libnsl.abilist: Likewise.
27982 * abilist/libpthread.abilist: Likewise.
27983 * abilist/libresolv.abilist: Likewise.
27984 * abilist/librt.abilist: Likewise.
27985 * abilist/libthread_db.abilist: Likewise.
27986 * abilist/libutil.abilist: Likewise.
27987 * abilist/libnss_db.abilist: New file.
27988
27989 * scripts/abilist.awk: Add support for indirect functions.
27990
a2693a0e
UD
27991 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
27992
3f05895f
UD
27993 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
27994
ecb6fb48
UD
27995 * shlib-versions: Remove entries for ports architectures.
27996
664f8cb9
UD
27997 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
27998 files in ports.
27999 * elf/stackguard-macros.h: Remove support for IA-64.
28000 * elf/tst-auditmod1.c: Likewise.
28001 * sysdeps/generic/ldsodefs.h: Likewise.
28002
7ae81d88
UD
28003 * sysdeps/unix/sysv/linux/configure.in: Ports should define
28004 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
28005 configure files.
28006
bdeba135
UD
28007 [BZ #13552]
28008 * configure.in: Remove --enable-omitfp support.
28009 * FAQ.in: Adjust.
28010 * config.make.in: Likewise.
28011 * Makeconfig: Likewise.
28012 * manual/install.texi: Likewise.
28013
d75a0a62
UD
28014 In case anyone cares, the IA-64 architecture could move to ports.
28015 * sysdeps/ia64/*: Removed.
28016 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 28017 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 28018
dcc9756b
UD
28019 [BZ #13555]
28020 * configure.in: Remove entries for unsupported architectures.
28021
d3761ebc 28022 [BZ #13533]
9954432e
UD
28023 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
28024 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
28025 routines.
28026 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
28027 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
28028 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
28029 fall back to using wcrtomb.
28030 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
28031 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
28032 renaming.
28033 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
28034 * wcsmbs/tst-c16c32-1.c: New file.
28035
28036 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
28037 local variable.
28038
c3a87236
UD
28039 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
28040
28926a1b
UD
28041 * elf/tst-unique3.cc: Add explicit declaration of gets.
28042 * elf/tst-unique3lib.cc: Likewise.
28043 * elf/tst-unique3lib2.cc: Likewise.
28044 * elf/tst-unique4.cc: Likewise.
28045
df78418a
UD
28046 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
28047
8ecd6b2a
JM
280482012-01-06 Joseph Myers <joseph@codesourcery.com>
28049
28050 [BZ #13566]
28051 * assert/assert.h (static_assert): Don't define for C++.
28052 * libio/stdio.h (gets): Do declare for C++ <= C++11.
28053 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
28054
9f115170
UD
280552012-01-03 Ulrich Drepper <drepper@gmail.com>
28056
5e0d0300
UD
28057 * iconv/loop.c (single loop): Fix assertion in storing of
28058 remaining bytes.
28059
9f115170
UD
28060 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
28061
81fb02b0
UD
280622012-01-01 Ulrich Drepper <drepper@gmail.com>
28063
28064 * posix/getconf.c: Update copyright year.
28065 * nss/getent.c: Likewise.
a316c1f6 28066 * nss/makedb.c: Likewise.
81fb02b0
UD
28067 * iconv/iconvconfig.c: Likewise.
28068 * iconv/iconv_prog.c: Likewise.
28069 * elf/ldconfig.c: Likewise.
a316c1f6
UD
28070 * elf/pldd.c: Likewise.
28071 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
28072 * catgets/gencat.c: Likewise.
28073 * csu/version.c: Likewise.
28074 * elf/ldd.bash.in: Likewise.
28075 * elf/sprof.c (print_version): Likewise.
28076 * locale/programs/locale.c: Likewise.
28077 * locale/programs/localedef.c: Likewise.
a316c1f6 28078 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
28079 * nscd/nscd.c (print_version): Likewise.
28080 * debug/xtrace.sh: Likewise.
28081 * malloc/memusage.sh: Likewise.
28082 * malloc/mtrace.pl: Likewise.
28083 * debug/catchsegv.sh: Likewise.
28084
2ba92745
JJ
280852011-12-30 Jakub Jelinek <jakub@redhat.com>
28086
28087 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
28088 pure attribute.
28089
dadebdae
UD
280902011-12-24 Ulrich Drepper <drepper@gmail.com>
28091
d3761ebc 28092 [BZ #13533]
db6af3eb
UD
28093 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
28094 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
28095 transformations.
28096 * iconv/gconv_int.h: Likewise.
28097 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
28098 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
28099 from libc for GLIBC_2.16.
28100 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
28101 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
28102 * wcsmbs/uchar.h: Really define mbstate_t.
28103 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
28104 * wcsmbs/c16rtomb.c: New file.
28105 * wcsmbs/mbrtoc16.c: New file.
28106 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
28107 for C/POSIX locale.
28108 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
28109 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
28110
dadebdae
UD
28111 * wcsmbs/wchar.h: Add missing __restrict.
28112
67371b56
UD
281132011-12-23 Ulrich Drepper <drepper@gmail.com>
28114
74033a25
UD
28115 [BZ #13532]
28116 * time/Makefile (routines): Add timespec_get.
28117 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
28118 * time/time.h: Define TIME_UTC and declare timespec_get. Define
28119 timespec for ISO C11.
28120 * time/timespec_get.c: New file.
28121 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
28122 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
28123
380d7e87
UD
28124 [BZ #13531]
28125 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
28126 * stdlib/stdlib.h: Declare aligned_alloc.
28127 * Versions.def: Add GLIBC_2.16 for libc.
28128 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
28129
4e9e7a35
UD
28130 [BZ 13527]
28131 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
28132 ISO C11.
28133
380d7e87 28134 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
28135 code.
28136
03a71829
UD
28137 [BZ #13528]
28138 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
28139
839e283e
UD
28140 [BZ #13529]
28141 * assert/assert.h (static_assert): Define.
28142
ce5294e2 28143 * version.h: Update for 2.16 development version.
90fa7312 28144
8d44e150 28145 [BZ #13526]
d7809905
UD
28146 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
28147 _ISOC11_SOURCE.
28148
c0da14cd
UD
28149 * version.h (RELEASE): Bump for 2.15 release.
28150 * include/features.h (__GLIBC_MINOR__): Bump to 15.
28151
530a3249
MP
28152 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
28153 Patch by Marek Polacek <mpolacek@redhat.com>.
28154
67371b56
UD
28155 * bits/byteswap.h: Protect long long constants with __extension__.
28156 * sysdeps/i386/bits/byteswap.h: Likewise.
28157 * sysdeps/ia64/bits/byteswap.h: Likewise.
28158 * sysdeps/s390/bits/byteswap.h: Likewise.
28159 * sysdeps/x86_64/bits/byteswap.h: Likewise.
28160
15db4de1
LD
281612011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28162
28163 [BZ #13540]
bbe315ea
LD
28164 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
28165 destination buffer.
15db4de1
LD
28166 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
28167
2b2596b1
MP
281682011-12-23 Marek Polacek <polacek@redhat.com>
28169
28170 * elf/dl-addr.c (determine_info): Add inline keyword.
28171 * elf/tst-auditmod4b.c (check_avx): Likewise.
28172 * elf/tst-auditmod6b.c (check_avx): Likewise.
28173 * elf/tst-auditmod6c.c (check_avx): Likewise.
28174 * elf/tst-auditmod7b.c (check_avx): Likewise.
28175
70c6c246
UD
281762011-12-23 Ulrich Drepper <drepper@gmail.com>
28177
28178 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
28179 !__SSE_MATH__.
28180
c044cf14
LD
281812011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28182
15db4de1 28183 [BZ #13540]
c044cf14
LD
28184 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
28185 processing for last bytes.
28186
6b13d9d9
BH
281872011-08-06 Bruno Haible <bruno@clisp.org>
28188
d455f537
BH
28189 [BZ #13061]
28190 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
28191 U+0385, not to U+1FEE.
28192
6b13d9d9
BH
28193 [BZ #13062]
28194 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
28195 entry for U+00A5 U+0301.
28196
db910efd
UD
281972011-12-22 Ulrich Drepper <drepper@gmail.com>
28198
27deeafc
UD
28199 [BZ #13166]
28200 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
28201 buffer for the output is too small.
28202
aed9d171
UD
28203 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
28204 optimization.
28205
db910efd
UD
28206 [BZ #13185]
28207 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
28208 SSE flags if possible.
28209
2bd779ae
LD
282102011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28211
e7f9dac3 28212 [BZ #13540]
2bd779ae
LD
28213 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
28214 processing for last bytes.
28215
154bfc16
JM
282162011-12-22 Joseph Myers <joseph@codesourcery.com>
28217
28218 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
28219 (syscall-list-default-options, syscall-list-default-condition)
28220 (syscall-list-includes): Define.
28221 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
28222 list of ABIs and options and #if conditions for each ABI. Do not
28223 handle common syscalls between ABIs specially.
28224 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
28225 Remove.
28226 (syscall-list-variants, syscall-list-32bit-options)
28227 (syscall-list-32bit-condition, syscall-list-64bit-options)
28228 (syscall-list-64bit-condition): Define.
28229 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
28230 (syscall-list-variants, syscall-list-32bit-options)
28231 (syscall-list-32bit-condition, syscall-list-64bit-options)
28232 (syscall-list-64bit-condition): Define.
28233 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
28234 Remove.
28235 (syscall-list-variants, syscall-list-32bit-options)
28236 (syscall-list-32bit-condition, syscall-list-64bit-options)
28237 (syscall-list-64bit-condition): Define.
28238 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
28239 Remove.
28240 (syscall-list-variants, syscall-list-32bit-options)
28241 (syscall-list-32bit-condition, syscall-list-64bit-options)
28242 (syscall-list-64bit-condition): Define.
28243
21eaf3a5
UD
282442011-12-22 Ulrich Drepper <drepper@gmail.com>
28245
16c6f992
UD
28246 * locale/iso-639.def: Add brx entry.
28247
41043168
UD
28248 [BZ #13328]
28249 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
28250 Proposed by Mariusz_Cukr <marcukr@op.pl>.
28251
21eaf3a5
UD
28252 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
28253 __feraiseexcept_renamed.
28254
e3a851a2
UD
282552011-12-21 Ulrich Drepper <drepper@gmail.com>
28256
4920765e
UD
28257 [BZ #13538]
28258 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
28259 EPOLLET with unsigned values.
28260 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
28261 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
28262
e3a851a2
UD
28263 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
28264 to large cancellation.
28265 * math/s_cacoshf.c: Likewise.
28266 * math/s_cacoshl.c: Likewise.
28267
b27e24b8
RK
282682011-11-18 Richard B. Kreckel <kreckel@ginac.de>
28269
28270 [BZ #13305]
aebefeee 28271 [BZ #12786]
b27e24b8
RK
28272 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
28273 * math/s_cacoshf.c: Likewise.
28274 * math/s_cacoshl.c: Likewise.
28275
ee190f67
UD
282762011-12-21 Ulrich Drepper <drepper@gmail.com>
28277
28278 [BZ #13439]
28279 * iconv/gconv.h: Define __GCONV_SWAP.
28280 * iconvdata/unicode.c: The swap bit must be stored in __flags.
28281 * iconvdata/utf-16.c: Likewise.
28282 * iconvdata/utf-32.c: Likewise.
28283
707f25df
AS
282842011-12-21 Andreas Schwab <schwab@linux-m68k.org>
28285
28286 [BZ #13524]
28287 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
28288 numerator after shifting it by one limb.
28289
d2daaa1e
RÁE
282902011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
28291
28292 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
28293 under [__USE_EXTERN_INLINES].
28294
a4647e72
UD
282952011-12-17 Ulrich Drepper <drepper@gmail.com>
28296
28297 [BZ #13446]
28298 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
28299
f0b264f1
AZ
283002011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28301
28302 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
28303 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
28304 optimized code.
28305 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
28306 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
28307 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
28308 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
28309 for strncasecmp/strncasecmp_l compilation.
28310 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
28311 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
28312
8ef4f244
MP
283132011-12-08 Marek Polacek <mpolacek@redhat.com>
28314
28315 [BZ #13484]
28316 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
28317 of __asm__.
28318
97ac2654
UD
283192011-12-17 Ulrich Drepper <drepper@gmail.com>
28320
28321 [BZ #13506]
28322 * time/tzfile.c (__tzfile_read): Check values from file header.
28323
91d2a845
WS
283242011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
28325
28326 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
28327 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
28328 * powerpc/powerpc32/dl-start.S: Likewise.
28329 * powerpc/powerpc32/elf/start.S: Likewise.
28330 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
28331 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
28332 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
28333 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
28334 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
28335 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
28336 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
28337 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
28338 * powerpc/powerpc32/fpu/s_round.S: Likewise.
28339 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
28340 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
28341 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
28342 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
28343 * powerpc/powerpc32/memset.S: Likewise.
28344 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
28345 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
28346 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
28347 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
28348 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
28349 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
28350 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
28351 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
28352 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
28353 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
28354 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
28355 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
28356 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
28357
a1267ba1
AZ
283582011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28359
28360 * math/libm-test.inc: Added more nearbyint tests.
28361 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
28362 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
28363 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
28364 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
28365
ad8ac1bd
RL
283662011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
28367
28368 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
28369 FD_CLOEXEC.
28370
1d3e4b61
UD
283712011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28372
28373 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
28374 Add wcscpy-ssse3 wcscpy-c.
28375 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
28376 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
28377 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
28378 * sysdeps/x86_64/wcschr.S: New file.
28379 * sysdeps/x86_64/wcsrchr.S: New file.
28380 * string/test-strcmp.c: Remove checking of wcscmp function for
28381 wrong alignments.
28382 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
28383 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
28384 wcsrchr-sse2 wcsrchr-c.
28385 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
28386 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
28387 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
28388 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
28389 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
28390 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
28391 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
28392 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
28393 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
28394 * wcsmbc/wcschr.c (WCSCHR): New macro.
28395
5b330a2d
UD
283962011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28397
28398 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
28399 * wcsmbs/test-wcsrchr.c: New file.
28400 * string/test-strrchr.c: Add wcsrchr support.
28401 (WIDE): New macro.
28402 * wcsmbs/test-wcscpy.c: New file.
28403 * string/test-strcpy.c: Add wcscpy support.
28404 (WIDE): New macro.
26428b7c 28405
f039c043
UD
284062011-12-10 Ulrich Drepper <drepper@gmail.com>
28407
28408 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
28409 the inner loop.
28410
850fb039
AS
284112011-12-06 Andreas Schwab <schwab@linux-m68k.org>
28412
28413 [BZ #13472]
28414 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
28415
4efbd5cb
UD
284162011-12-04 Ulrich Drepper <drepper@gmail.com>
28417
52ff5dd0 28418 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 28419 Minor optimizations.
52ff5dd0 28420
4efbd5cb
UD
28421 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
28422 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
28423 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
28424
8a426e12
UD
284252011-12-03 Ulrich Drepper <drepper@gmail.com>
28426
aff2453d
UD
28427 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
28428 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
28429 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
28430 for gcc to avoid warnings.
28431 * inet/Makefile (tests): Add tst-checks.
28432 * inet/tst-checks.c: New file.
28433
28434 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
28435 warning.
28436
28437 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
28438 __wmemcmp_sse2.
28439
28440 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
28441 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
28442
8a426e12
UD
28443 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
28444
9bea3473
UD
284452011-12-02 Ulrich Drepper <drepper@gmail.com>
28446
3a965496
UD
28447 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
28448 problem.
28449
9bea3473
UD
28450 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
28451
f101631b
UD
284522011-11-29 Joseph Myers <joseph@codesourcery.com>
28453
28454 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
28455 conditional on GCC version.
28456 (__arch_compare_and_exchange_val_8_acq)
28457 (__arch_compare_and_exchange_val_16_acq)
28458 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
28459 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
28460 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
28461
a98275aa
UD
284622011-12-02 Joseph Myers <joseph@codesourcery.com>
28463
28464 * sysdeps/sh/backtrace.c: New file.
28465
d4cc29a2
AS
284662011-12-02 Andreas Schwab <schwab@redhat.com>
28467
28468 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
28469 parenthesis.
28470
6257af2d
AS
284712011-12-01 Andreas Schwab <schwab@redhat.com>
28472
28473 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
28474 falling back to utime.
28475
b5f44c1a
AS
284762011-11-30 Andreas Schwab <schwab@redhat.com>
28477
28478 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
28479 expectations for float.
28480
f3a6cc0a
AS
284812011-11-29 Andreas Schwab <schwab@redhat.com>
28482
28483 * locale/weight.h (findidx): Add parameter len.
28484 * locale/weightwc.h (findidx): Likewise.
28485 * posix/fnmatch_loop.c (FCT): Adjust caller.
28486 * posix/regcomp.c (build_equiv_class): Likewise.
28487 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
28488 * posix/regexec.c (check_node_accept_bytes): Likewise.
28489 * string/strcoll_l.c (STRCOLL): Likewise.
28490 * string/strxfrm_l.c (STRXFRM): Likewise.
28491
9d65ea3a
UD
284922011-11-17 Ulrich Drepper <drepper@gmail.com>
28493
28494 * Makefile.in: Remove CVSOPT handling.
28495 * configure.in: Remove use of AC_REVISION.
28496 * iconvdata/Makefile (distribute): No need to filter out CVS.
28497 * scripts/list-sources.sh: Remove CVS, subversion and monotone
28498 handling.
28499
5583a086
AS
285002011-11-16 Andreas Schwab <schwab@redhat.com>
28501
28502 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
28503 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
28504 [USE_AS_STRNCASECMP_L]: Likewise.
28505 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
28506 NO_TLS_DIRECT_SEG_REFS.
28507 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
28508 Fix argument offsets for non-PIC.
28509 [USE_AS_STRNCASECMP_L]: Likewise.
28510 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
28511 NO_TLS_DIRECT_SEG_REFS.
28512
d62a8200
UD
285132011-11-15 Ulrich Drepper <drepper@gmail.com>
28514
9d65ea3a 28515 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
28516 O_CLOEXEC.
28517 * locale/loadlocale.c (_nl_load_locale): Likewise.
28518
09f93bd3
AS
285192011-11-15 Andreas Schwab <schwab@redhat.com>
28520
446514f9
AS
28521 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
28522 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
28523 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
28524 (SYSCALL_GETTIME): Set errno on error.
28525
09f93bd3
AS
28526 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
28527 count references to noai6ai_cached.
28528
312be3f9
UD
285292011-11-15 Ulrich Drepper <drepper@gmail.com>
28530
28531 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
28532
28533 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
28534 FD_CLOEXEC for /proc/self/maps.
28535
28536 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
28537 FD_CLOEXEC for /proc/meminfo.
28538
28539 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
28540 gai.conf.
28541
28542 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
28543 FD_CLOEXEC for given file.
28544
28545 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
28546
28547 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
28548 FD_CLOEXEC for /etc/hosts.
28549 (_gethtent): Likewise.
28550
28551 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
28552
28553 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
28554 cancellation and set FD_CLOEXEC for /etc/netgroup.
28555
28556 * nss/nss_files/files-key.c (search): Don't allow cancellation when
28557 reading /etc/publickey.
28558
28559 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
28560 allow cancellation when reading /etc/group.
28561
28562 * nss/nss_files/files-alias.c (internal_setent): Don't allow
28563 cancellation.
28564 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
28565
28566 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
28567 when using data file.
28568
28569 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
28570
28571 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
28572 (write_nis_obj): Use "c" and "e" in fopen.
28573
28574 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
28575
28576 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
28577
28578 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
28579
28580 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
28581
28582 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
28583 locale.alias.
28584
28585 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
28586
28587 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
28588
28589 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
28590
28591 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
28592 file parsing and set FD_CLOEXEC.
28593
82af0fa8
UD
285942011-11-14 Ulrich Drepper <drepper@gmail.com>
28595
28596 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
28597
a5fb313c
AS
285982011-11-14 Andreas Schwab <schwab@redhat.com>
28599
28600 * malloc/arena.c (arena_get2): Don't call reused_arena when
28601 _int_new_arena failed.
28602
6abf3465
UD
286032011-11-14 Ulrich Drepper <drepper@gmail.com>
28604
28605 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
28606 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
28607 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
28608 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28609 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28610 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
28611 to compile strcasecmp and strncasecmp.
28612 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
28613 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
28614
28615 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
28616
76e3966e
UD
286172011-11-13 Ulrich Drepper <drepper@gmail.com>
28618
28619 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
28620 locale-defines.sym to gen-as-const-headers.
28621 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
28622 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
28623 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
28624 to compile strcasecmp and strncasecmp.
28625 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
28626 strcasecmp_l and strncasecmp_l.
28627 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
28628 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
28629 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
28630 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
28631 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
28632 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
28633 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
28634 * sysdeps/i386/i686/multiarch/strncase.S: New file.
28635 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
28636 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
28637 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
28638
ab26144e
UD
286392011-11-12 Ulrich Drepper <drepper@gmail.com>
28640
7edb22ef
UD
28641 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
28642 result of SYSDEP_GETTIME_CPU to retval.
28643 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
28644 parameter list to macro. Remove trailing semicolon. Adjust users.
28645
9694fc44
UD
28646 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
28647 variable.
28648
8ad89ef8
UD
28649 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
28650 mantissa words.
28651 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
28652
0c822ef9
UD
28653 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
28654 from unused variable.
28655
874e0564
UD
28656 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
28657 DWARF definitions.
28658 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
28659 for assembling.
28660
3a2edc79
UD
28661 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
28662 over namespaces.
28663
f3c2577f
UD
28664 * sunrpc/rpc_prot.c (rejected): Fix case value.
28665
294ce126
UD
28666 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
28667 unsigned long long int to avoid warnings in shift.
28668
5e2b63c6
UD
28669 * posix/regex_internal.c (re_string_reconstruct): Actually use result
28670 of use of trans.
28671 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
28672 variable tmp.
28673
e7f4b08e
UD
28674 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
28675 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
28676 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
28677
ab26144e
UD
28678 * nis/nis_table.c (nis_list): Use variable of correct type for
28679 result of __follow_path call.
28680
8a6d5255
AZ
286812011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28682
28683 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
28684 of math functions ceil, trunc, floor, round, and sqrt, when
28685 avaliable on the platform.
28686 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
28687 name clash.
28688 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28689 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
28690 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
28691
aaddc98c
MP
286922011-10-30 Marek Polacek <mpolacek@redhat.com>
28693
28694 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
28695 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
28696
95b7042b
RM
286972011-11-11 Roland McGrath <roland@hack.frob.com>
28698
28699 * include/unistd.h: Fix __readlink return type.
28700 Reported by Chris Metcalf <cmetcalf@tilera.com>.
28701
57769839
UD
287022011-11-11 Ulrich Drepper <drepper@gmail.com>
28703
28704 * stdlib/ucontext.h: Undo last change for makecontext.
28705
edc5984d
AS
287062011-11-11 Andreas Schwab <schwab@redhat.com>
28707
98591e58
AS
28708 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
28709
edc5984d
AS
28710 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
28711 * setjmp/setjmp.h: Mark functions as non-leaf.
28712 * setjmp/bits/setjmp2.h: Likewise.
28713 * stdlib/ucontext.h: Likewise.
28714
77cdc054
AS
287152011-11-10 Andreas Schwab <schwab@redhat.com>
28716
28717 * malloc/arena.c (_int_new_arena): Don't increment narenas.
28718 (reused_arena): Don't check arena limit.
28719 (arena_get2): Atomically check arena limit.
28720
fe72eebd
UD
287212011-11-08 Ulrich Drepper <drepper@gmail.com>
28722
5f078c32
UD
28723 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
28724 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
28725
fe72eebd
UD
28726 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
28727 instructions.
28728
ae1bc2fa
AS
287292011-11-07 Andreas Schwab <schwab@redhat.com>
28730
7583a88d
AS
28731 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
28732 handler when locking.
28733
ae1bc2fa
AS
28734 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
28735 Fix size of allocated buffer.
28736
10fb0bfa
AS
287372011-11-04 Andreas Schwab <schwab@redhat.com>
28738
998832a4
AS
28739 [BZ #10103]
28740 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
28741 declarations for long double functions.
28742 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
28743
10fb0bfa
AS
28744 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
28745
3d7ba52b
AS
287462011-11-03 Andreas Schwab <schwab@redhat.com>
28747
a9ae54a1
AS
28748 * nscd/nscd.c (main): Don't start AVC thread until credentials are
28749 installed.
28750
3d7ba52b
AS
28751 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
28752 is disabled.
28753
bc8db248
ST
287542011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
28755
28756 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
28757
45b96dd6
AS
287582011-11-01 Andreas Schwab <schwab@linux-m68k.org>
28759
647776f6
AS
28760 * include/alloca.h (stackinfo_alloca_round): Define.
28761 (extend_alloca): Use it.
28762 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
28763 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
28764 here.
28765
d91a8b93
AS
28766 * scripts/check-local-headers.sh: Ignore libaudit.h.
28767
45b96dd6
AS
28768 * nscd/Makefile (extra-objs): Make recursively expanded.
28769
432d41ce
UD
287702011-11-01 Ulrich Drepper <drepper@gmail.com>
28771
34372fc6
UD
28772 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
28773 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
28774
fadb59f8
UD
28775 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
28776 * posix/tst-rfc3484-2.c: Likewise.
28777 * posix/tst-rfc3484-3.c: Likewise.
28778
78239589
UD
28779 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
28780 process_vm_writev.
28781 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
28782 process_vm_writev.
28783 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
28784 process_vm_writev from libc using GLIBC_2.15 version.
28785
432d41ce
UD
28786 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
28787
02f9c6cf
PP
287882011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
28789
28790 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
28791 stack usage.
28792
3a2c0242
UD
287932011-10-31 Ulrich Drepper <drepper@gmail.com>
28794
f4ec4833
UD
28795 [BZ #13367]
28796 * nss/getent.c (initgroups_keys): Show error message in case no group
28797 names are given.
28798
3a2c0242
UD
28799 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
28800 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
28801 __bump_nl_timestamp.
28802 * nscd/connections (nscd_init): When host database is served open
28803 netlink socket and request notification about configuration changes.
28804 (main_loop_poll): Track netlink file descriptor and bump timestamp
28805 in case data becomes available.
28806 (main_loop_epoll): Likewise.
28807 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
28808 (database_pers_head): Add extra_data fileds.
28809 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
28810 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
28811 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
28812 Adjust caller.
28813 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
28814 in6ai data, call __free_in6ai.
28815 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
28816 Add -DHAVE_NETLINK.
28817 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
28818 interface information. Reuse previous data if netlink timestamp
28819 is not changed.
28820 (__bump_nl_timestamp): New function.
28821 (__free_in6ai): New function.
28822
636064eb
UD
288232011-10-30 Ulrich Drepper <drepper@gmail.com>
28824
28825 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
28826 close_not_cancel_no_status here.
28827 (__check_pf): Reorganize code a bit to not call close twice if OOM.
28828
9beb2334
UD
288292011-10-29 Ulrich Drepper <drepper@gmail.com>
28830
6ef76f3b
UD
28831 [BZ #13276]
28832 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
28833 return value.
28834
0ffc4f3e 28835 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
28836 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
28837 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
28838
cb95113e
UD
288392011-07-03 Andreas Jaeger <aj@suse.de>
28840
28841 [BZ #10709]
28842 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
28843 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
28844 * math/libm-test.inc (sin_test): Add test case.
28845
a1b560ff
UD
288462011-10-29 Ulrich Drepper <drepper@gmail.com>
28847
c9aaface
UD
28848 [BZ #13337]
28849 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
28850 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
28851
d272e7f1
UD
28852 * elf/chroot_canon.c (chroot_canon): Cleanups.
28853
1bc33071
UD
28854 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
28855
1760874d
TJ
28856 [BZ #13335]
28857 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
28858 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
28859
51d91b18
UD
28860 * string/test-strchr.c: Make usable for strchrnul testing.
28861 * string/test-strchrnul.c: New file.
28862 * string/Makefile (strop-tests): Add strchrnul.
28863
a1b560ff 28864 * po/it.po: Update from translation team.
b611fb81 28865 * po/es.po: Likewise.
a1b560ff 28866
a5b81e1f
UD
288672011-10-28 Ulrich Drepper <drepper@gmail.com>
28868
fd52bc6d
UD
28869 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
28870 the three constants needed as parameters. Drop the others.
28871 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
28872 __m128i_strloadu_tolower.
52e4b9eb
UD
28873 Create and initialize variable zero and use it in all the places
28874 where _mm_setzero_si128 was used.
fd52bc6d 28875
a5b81e1f
UD
28876 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
28877 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
28878 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
28879 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
28880 anymore.
28881 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
28882 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
28883 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
28884 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
28885 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
28886 __mpranred, __mptan.
28887 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
28888 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
28889 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
28890 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
28891 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
28892 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
28893 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
28894 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
28895 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
28896
b4343346
AS
288972011-10-28 Andreas Schwab <schwab@redhat.com>
28898
0c92d8a8
AS
28899 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
28900 redefine if SHARED.
28901 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
28902
b4343346
AS
28903 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
28904 wide char related routines to wcsmbs subdir.
28905
3871f58f
AS
289062011-10-27 Andreas Schwab <schwab@redhat.com>
28907
28908 [BZ #13344]
28909 * misc/sys/cdefs.h (__THROWNL): Define.
28910 * posix/unistd.h: Use __THREADNL instead of __THREAD
28911 for memory synchronization functions.
28912
94d44d9f
RM
289132011-10-26 Roland McGrath <roland@hack.frob.com>
28914
21b64b15 28915 [BZ #13349]
94d44d9f
RM
28916 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
28917 doesn't exist.
28918 * manual/stdio.texi (Obstack Streams): Node removed.
28919
f6ce9294
AS
289202011-10-26 Andreas Schwab <schwab@redhat.com>
28921
80479147
AS
28922 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
28923 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28924 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28925
f6ce9294
AS
28926 * math/math_private.h (math_force_eval): Allow non-addressable
28927 arguments.
28928 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
28929
618280a1
UD
289302011-10-25 Ulrich Drepper <drepper@gmail.com>
28931
e0016b11
UD
28932 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
28933 file is not needed.
28934
28935 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
28936 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
28937 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
28938 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
28939 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
28940 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
28941 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
28942 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
28943 Add AVX variants.
28944 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
28945 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
28946 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
28947 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
28948 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
28949 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
28950 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
28951 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
28952 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
28953 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
28954 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
28955 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
28956 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
28957 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
28958 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
28959 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
28960 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
28961 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
28962 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
28963
28964 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
28965 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
28966
618280a1
UD
28967 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
28968 place. Use VEX encoding when compiling for AVX.
28969
37822576
AS
289702011-10-25 Andreas Schwab <schwab@redhat.com>
28971
1f1e1947
AS
28972 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
28973 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
28974
37822576
AS
28975 * string/test-strchr.c (do_test): Don't generate NUL bytes.
28976
31ea014d
UD
289772011-10-25 Ulrich Drepper <drepper@gmail.com>
28978
d7826aa1 28979 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 28980 useless if() expression.
d7826aa1
UD
28981 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28982 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
28983 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28984 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28985 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28986 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28987 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28988 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28989 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28990 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28991 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28992 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28993 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
28994 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28995 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
28996 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28997 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28998 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28999 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
29000
31ea014d
UD
29001 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
29002
16437fec
AS
290032011-10-25 Andreas Schwab <schwab@redhat.com>
29004
29005 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
29006 condition.
29007 * elf/dl-fini.c (_dl_sort_fini): Likewise.
29008
31d3cc00
UD
290092011-10-25 Ulrich Drepper <drepper@gmail.com>
29010
29011 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
29012 .text section. Avoid duplicate constants.
29013 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
29014 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29015 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29016 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29017 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29018 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29019 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29020 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29021 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
29022 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
29023 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
29024 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
29025 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
29026 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
29027 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
29028 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
29029 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
29030 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
29031 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29032 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29033 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
29034 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
29035 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
29036 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
29037 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
29038 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
29039 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
29040 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
29041 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
29042 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
29043 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
29044 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
29045 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
29046 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
29047 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
29048 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
29049 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
29050 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
29051 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
29052 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
29053 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
29054 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
29055 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
29056 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
29057 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
29058
58985aa9
UD
290592011-10-24 Ulrich Drepper <drepper@gmail.com>
29060
202c9deb
UD
29061 * sysdeps/x86_64/dla.h: Move to ...
29062 * sysdeps/x86_64/fpu/dla.h: ...here.
29063 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
29064 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 29065
af968f62
UD
29066 * config.make.in: Add have-mfma4 entry.
29067 * configure.in: Substitute libc_cv_cc_fma4.
29068 * math/Makefile (dbl-only-routines): Add sincostab.
29069 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
29070 Use __sincostab not sincos.
29071 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
29072 name is a macro.
29073 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29074 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29075 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29076 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
29077 using __copysign.
29078 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
29079 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
29080 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
29081 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
29082 and __inv.
29083 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
29084 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
29085 __copysign.
29086 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
29087 define aliases when function name is a macro.
29088 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
29089 sysdeps/ieee754/dbl-64/sincos.tbl.
29090 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
29091 fma4-enabled routines.
29092 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
29093 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
29094 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
29095 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
29096 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
29097 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
29098 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
29099 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
29100 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
29101 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
29102 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
29103 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
29104 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
29105 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
29106 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
29107 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
29108 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
29109 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
29110 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
29111 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
29112 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
29113 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
29114 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
29115 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
29116 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
29117 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
29118 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
29119 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
29120 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
29121 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
29122
58985aa9
UD
29123 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
29124 rename.
29125 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29126 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29127 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29128 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29129 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29130 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29131 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29132 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29133
a201fbcf
AS
291342011-10-24 Andreas Schwab <schwab@redhat.com>
29135
29136 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
29137
fc2ee42a
LD
291382011-10-23 Ulrich Drepper <drepper@gmail.com>
29139
bb3129bd
UD
29140 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
29141
0275fff8
UD
29142 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
29143 prediction.
29144 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
29145
2fa2ae85
UD
29146 * string/strnlen.c: Don't define STRNLEN, reverse logic.
29147 Remove unused variable magic_bits.
29148 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
29149
fc2ee42a
LD
29150 * string/strnlen.c: Define and use STRNLEN macro.
29151 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
29152 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
29153 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
29154 * wcsmbs/wcslen.c: Define and use WCSLEN.
29155 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
29156 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
29157 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
29158 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
29159 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
29160 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
29161 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
29162
ce7dd29f
LD
291632011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29164
29165 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29166 strnlen-sse2-no-bsf.
29167 Rename strlen-no-bsf to strlen-sse2-no-bsf.
29168 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
29169 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
29170 Add strnlen support.
29171 (USE_AS_STRNLEN): New macro.
29172 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
29173 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
29174 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
29175 * sysdeps/x86_64/wcslen.S: New file.
29176
979c70a3
MZ
291772011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
29178
29179 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
29180 XMM-moves are used for copying on small sizes.
29181
2d09f82f
LD
291822011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29183
29184 * wcsmbs/Makefile (strop-tests): Add wcschr.
29185 * wcsmbs/test-wcschr.c: New file.
29186 * string/test-strchr.c: Update.
29187 Add wcschr support.
29188 (WIDE): New macro.
29189
619fccca
LD
291902011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29191
2d09f82f 29192 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
29193 * wcsmbs/test-wcslen.c: New file.
29194 * string/test-strlen.c: Update.
29195 Add wcslen support.
29196 (WIDE): New macro.
29197
09f699ea
UD
291982011-10-23 Ulrich Drepper <drepper@gmail.com>
29199
29200 * po/it.po: Update from translation team.
29201
95584d3b
LD
292022011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29203
29204 * sysdeps/x86_64/wcscmp.S: Update.
29205 Fix wrong comparison semantics.
29206 wcscmp shall use signed comparison not unsigned.
29207 Don't use substraction to avoid overflow bug.
29208 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
29209 * wcsmbc/wcscmp.c: Likewise.
29210 * string/test-strcmp.c: Likewise.
29211 Add new tests to check cases with negative values.
29212
c8b3296b
UD
292132011-10-23 Ulrich Drepper <drepper@gmail.com>
29214
29215 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
29216 * sysdeps/x86_64/dla.h: ...here. New file.
29217 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
29218 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29219 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29220 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29221 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29222 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29223 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29224 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29225 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29226
246ad57a
AS
292272011-10-23 Andreas Schwab <schwab@linux-m68k.org>
29228
29229 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
29230 __ynl_finite aliases.
29231
a1a87169
UD
292322011-10-22 Ulrich Drepper <drepper@gmail.com>
29233
0d355eb7
UD
29234 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29235
a1a87169
UD
29236 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
29237 define DLA_FMA.
29238 [DLA_FMA] (EMULV): Use DLA_FMA.
29239 [DLA_FMA] (MUL12): Use EMULV.
29240 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
29241 that are not needed.
29242 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29243 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29244 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29245 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29246 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29247 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29248 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29249
ee2aafe0
AS
292502011-10-22 Andreas Schwab <schwab@linux-m68k.org>
29251
29252 * math/s_nan.c: Undef __nan.
29253 * math/s_nanf.c: Undef __nanf.
29254 * math/s_nanl.c: Undef __nanl.
29255 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
29256 "math_private.h".
29257
bc62c2fb
UD
292582011-10-22 Ulrich Drepper <drepper@gmail.com>
29259
77425c63
UD
29260 * math/s_catan.c: Add branch predictions.
29261 * math/s_catanf.c: Likewise.
29262 * math/s_catanh.c: Likewise.
29263 * math/s_catanhf.c: Likewise.
29264 * math/s_catanhl.c: Likewise.
29265 * math/s_catanl.c: Likewise.
29266 * math/s_cexp.c: Likewise.
29267 * math/s_cexpf.c: Likewise.
29268 * math/s_cexpl.c: Likewise.
29269 * math/s_clog.c: Likewise.
29270 * math/s_clog10.c: Likewise.
29271 * math/s_clog10f.c: Likewise.
29272 * math/s_clog10l.c: Likewise.
29273 * math/s_clogf.c: Likewise.
29274 * math/s_clogl.c: Likewise.
29275 * math/s_csqrt.c: Likewise.
29276 * math/s_csqrtf.c: Likewise.
29277 * math/s_csqrtl.c: Likewise.
29278 * math/s_ctanf.c: Likewise.
29279 * math/s_ctanh.c: Likewise.
29280 * math/s_ctanhf.c: Likewise.
29281 * math/s_ctanhl.c: Likewise.
29282 * math/s_ctanl.c: Likewise.
29283
bc62c2fb
UD
29284 * math/math_private.h: Define __nan, __nanf, __nanl.
29285 * math/s_cacosh.c: Include <math_private.h>.
29286 * math/s_cacoshl.c: Likewise.
29287 * math/s_casinh.c: Likewise.
29288 * math/s_casinhf.c: Likewise.
29289 * math/s_casinhl.c: Likewise.
29290 * math/s_ccos.c: Rely entire on ccosh.
29291 * math/s_ccosf.c: Rely entire on ccoshf.
29292 * math/s_ccosl.c: Rely entirely on ccoshl.
29293 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
29294 Remove tests for FE_INVALID.
29295 * math/s_ccoshf.c: Likewise.
29296 * math/s_ccoshl.c: Likewise.
29297 * math/s_csin.c: Likewise.
29298 * math/s_csinf.c: Likewise.
29299 * math/s_csinh.c Likewise.
29300 * math/s_csinhf.c: Likewise.
29301 * math/s_csinhl.c: Likewise.
29302 * math/s_csinl.c: Likewise.
29303 * math/s_ctan.c: Likewise.
29304 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
29305 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
29306 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
29307
8ec250a4
UD
293082011-10-21 Ulrich Drepper <drepper@gmail.com>
29309
c196fed8
UD
29310 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
29311 compilation problems.
29312
8ec250a4
UD
29313 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
29314 __builtin_expect.
29315
8d4f46c6
UD
293162011-10-20 Ulrich Drepper <drepper@gmail.com>
29317
ed72b654
UD
29318 * sysdeps/i386/configure.in: Test for -mfma4 option.
29319 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
29320 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
29321 COMMON_CPUID_INDEX_80000001.
29322 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
29323 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
29324 use it if FMA3 is not supported.
29325 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
29326
8d4f46c6
UD
29327 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
29328 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
29329
d45c60c2
AS
293302011-10-20 Andreas Schwab <schwab@redhat.com>
29331
29332 [BZ #12892]
29333 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
29334 it would create a cycle with a link time dependency.
29335
d9a4d2ab
UD
293362011-10-19 Ulrich Drepper <drepper@gmail.com>
29337
855d1560
UD
29338 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
29339 instruction.
29340 * string/Makefile (strop-tests): Add rawmemchr.
29341 * string/test-rawmemchr.c: New file.
29342
d9a4d2ab
UD
29343 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
29344 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
29345 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
29346 when compiling str{,n}casecmp and when AVX is available. Hook up
29347 new optimized code in initializers.
29348
8f3b1ffe
AS
293492011-10-19 Andreas Schwab <schwab@redhat.com>
29350
29351 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
29352 __feraiseexcept instead of feraiseexcept.
29353
d38f1dba
UD
293542011-10-18 Ulrich Drepper <drepper@gmail.com>
29355
d9a8d0ab
UD
29356 * math/math_private.h: Define defaults for libc_fetestexcept and
29357 libc_feupdateenv.
29358 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
29359 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
29360 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
29361 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
29362 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
29363 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
29364 libc_fetestexcept and libc_feupdateenv.
29365
4855e3dd
UD
29366 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
29367 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
29368 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
29369 * sysdeps/x86_64/fpu/math_private.h: Define special version of
29370 libc_feholdexcept_setround.
29371
581d30e3
UD
29372 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
29373 Add s_nearbyint-c and s_nearbyintf-c.
29374 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
29375 nearbyintf inlines.
29376 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
29377 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
29378 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
29379 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
29380
d38f1dba
UD
29381 * math/math_private.h: Define defaults for libc_fegetround,
29382 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
29383 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
29384 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
29385 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
29386 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
29387 standard functions.
29388 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29389 Remove comments and hacks for old compiler versions.
29390 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
29391 libc_fegetround, libc_fesetround, libc_feholdexcept, and
29392 libc_feholdexceptl.
29393
caa6c9d8
AS
293942011-10-18 Andreas Schwab <schwab@redhat.com>
29395
29396 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
29397 (__feraiseexcept_renamed): Add __NTH.
29398 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
29399 namespace violations.
29400
97c066e6
UD
294012011-10-17 Ulrich Drepper <drepper@gmail.com>
29402
99ce7b04
UD
29403 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
29404
1004d182
UD
29405 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
29406
228a984d
UD
29407 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
29408 recently added interfaces.
29409 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
29410
c8553a6a
UD
29411 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
29412 about macro parameter expansion.
29413
ed22dcf6
UD
29414 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
29415 __NO_MATH_INLINES is defined. Cleanups.
29416
29417 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
29418 and __floorf is target has SSE4.1.
29419 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
29420 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
29421 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
29422 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
29423
b171c137
UD
29424 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
29425 name.
29426 (floorf): Likewise.
29427
97c066e6
UD
29428 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
29429
629f62ef
AS
294302011-10-17 Andreas Schwab <schwab@redhat.com>
29431
49a43d80
AS
29432 * misc/sys/cdefs.h: Fix last change.
29433
629f62ef
AS
29434 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
29435 database lookup.
29436
e453f6cd
UD
294372011-10-16 Ulrich Drepper <drepper@gmail.com>
29438
aa78043a
UD
29439 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
29440
ad0f5cad
UD
29441 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
29442 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29443 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
29444 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29445 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29446 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
29447 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29448 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29449 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
29450 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
29451 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
29452 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
29453 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
29454 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
29455 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
29456 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
29457 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
29458 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
29459 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
29460 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
29461 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
29462 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
29463
29464 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
29465 ceil, ceilf, floor, floorf.
29466
29467 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
29468 Perform IRELATIVE relocations last.
29469
e453f6cd
UD
29470 * elf/do-rel.h: Add another parameter nrelative, replacing the
29471 local variable with the same name. Change name of the function
29472 to end in Rel or Rela (uppercase).
29473 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
29474 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
29475 elf_dynamic_do_##reloc function.
29476
fd5bdc09
UD
294772011-10-15 Ulrich Drepper <drepper@gmail.com>
29478
79b195b5
UD
29479 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
29480 is sufficient, at least on modern CPUs.
29481
d4a28569
UD
29482 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
29483
b61099b5
UD
29484 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
29485 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
29486
bcf01e6d
UD
29487 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
29488 __expl_finite.
29489 * math/bits/math-finite.h: Add entries for exp.
29490 * math/e_expl.c: Add __*_finite alias.
29491 * sysdeps/i386/fpu/e_exp.S: Likewise.
29492 * sysdeps/i386/fpu/e_expf.S: Likewise.
29493 * sysdeps/i386/fpu/e_expl.c: Likewise.
29494 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29495 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
29496 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
29497 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29498 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
29499 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
29500 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
29501
ba1a0d59
UD
29502 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
29503 is sufficient, at least on modern CPUs.
29504
fd5bdc09
UD
29505 * ctype/ctype-info.c (__ctype_init): Define.
29506 * include/ctype.h (__ctype_init): Declare.
29507 (__ctype_b_loc): The variable is always initialized.
29508 (__ctype_toupper_loc): Likewise.
29509 (__ctype_tolower_loc): Likewise.
29510 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
29511 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
29512
7872cfb0
AS
295132011-10-15 Andreas Schwab <schwab@linux-m68k.org>
29514
b468825a
AS
29515 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
29516
7872cfb0
AS
29517 * configure.in: Also look in $cxxmachine/include for C++ system
29518 headers.
29519
be13f7bf
LD
295202011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29521
29522 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
29523 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
29524 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
29525 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
29526 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
29527 (USE_AS_WMEMCMP): New macro.
29528 Fixing indents.
29529 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
29530 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
29531 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
29532 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
29533 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29534 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
29535 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
29536 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
29537 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
29538 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
29539 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
29540 (USE_AS_WMEMCMP): New macro.
29541 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
29542 * sysdeps/string/test-memcmp.c: Update.
29543 Fix simple_wmemcmp.
29544 Add new tests.
29545 * wcsmbs/wmemcmp.c: Update.
29546 (WMEMCMP): New macro.
29547 Fix overflow bug.
29548
556a2007
AJ
295492011-10-12 Andreas Jaeger <aj@suse.de>
29550
29551 [BZ #13268]
29552 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
29553
538faaa7
UD
295542011-10-15 Ulrich Drepper <drepper@gmail.com>
29555
ab6737ff
UD
29556 * libio/iofwide.c (do_length): Avoid warning.
29557
538faaa7
UD
29558 * ctype/ctype.h (__isctype_f): Add missing __THROW.
29559
396a21b1
UD
295602011-10-14 Ulrich Drepper <drepper@gmail.com>
29561
cdf2901f
UD
29562 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
29563
38ad40ce
UD
29564 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
29565 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
29566 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
29567 * sysdeps/i386/i686/fpu/e_log.S: New file.
29568 * sysdeps/i386/i686/fpu/e_logf.S: New file.
29569 * sysdeps/i386/i686/fpu/e_logl.S: New file.
29570
396a21b1
UD
29571 * ctype/ctype.h: Add support for inlined isXXX functions when
29572 compiling C++ code.
29573
6b1f68c9
AS
295742011-10-14 Andreas Schwab <schwab@redhat.com>
29575
349290c0
AS
29576 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29577
6b1f68c9
AS
29578 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
29579
f2282d42
RM
295802011-10-13 Roland McGrath <roland@hack.frob.com>
29581
29582 [BZ #13291]
29583 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
29584
5298ffa8
AS
295852011-10-13 Andreas Schwab <schwab@redhat.com>
29586
714fad23
AS
29587 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
29588 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
29589 feraiseexcept.
29590
81dcc7fb
AS
29591 * sysdeps/x86_64/memrchr.S: Check for zero size.
29592
5298ffa8
AS
29593 * string/stratcliff.c: Add memrchr tests.
29594
951fbcec
LD
295952011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29596
29597 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29598 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
29599 rawmemchr-sse2 rawmemchr-sse2-bsf.
29600 * sysdeps/i386/i686/multiarch/memchr.S: New file.
29601 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
29602 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
29603 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
29604 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
29605 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
29606 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
29607 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
29608 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
29609 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
29610 * string/memrchr.c (MEMRCHR): New macro.
29611
0ac5ae23
UD
296122011-10-12 Ulrich Drepper <drepper@gmail.com>
29613
29614 Add integration with gcc's -ffinite-math-only and optimize wrapper
29615 functions in libm.
29616 * Versions.def: Define GLIBC_2.15 version for libm.
29617 * math/Makefile (headers): Add bits/math-finite.h.
29618 * math/bits/math-finite.h: New file.
29619 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
29620 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
29621 * math/e_acoshl.c: Add __*_finite alias.
29622 * math/e_acosl.c: Likewise.
29623 * math/e_asinl.c: Likewise.
29624 * math/e_atan2l.c: Likewise.
29625 * math/e_atanhl.c: Likewise.
29626 * math/e_coshl.c: Likewise.
29627 * math/e_exp10.c: Likewise.
29628 * math/e_exp10f.c: Likewise.
29629 * math/e_exp10l.c: Likewise.
29630 * math/e_exp2l.c: Likewise.
29631 * math/e_fmodl.c: Likewise.
29632 * math/e_gammal_r.c: Likewise.
29633 * math/e_hypotl.c: Likewise.
29634 * math/e_j0l.c: Likewise.
29635 * math/e_j1l.c: Likewise.
29636 * math/e_jnl.c: Likewise.
29637 * math/e_lgammal_r.c: Likewise.
29638 * math/e_log10l.c: Likewise.
29639 * math/e_log2l.c: Likewise.
29640 * math/e_logl.c: Likewise.
29641 * math/e_powl.c: Likewise.
29642 * math/e_sinhl.c: Likewise.
29643 * math/e_sqrtl.c: Likewise.
29644 * math/e_scalb.c: Completely rewritten and optimized.
29645 * math/e_scalbf.c: Likewise.
29646 * math/e_scalbl.c: Likewise.
29647 * math/w_acos.c: Likewise.
29648 * math/w_acosf.c: Likewise.
29649 * math/w_acosl.c: Likewise.
29650 * math/w_acosh.c: Likewise.
29651 * math/w_acoshf.c: Likewise.
29652 * math/w_acoshl.c: Likewise.
29653 * math/w_asin.c: Likewise.
29654 * math/w_asinf.c: Likewise.
29655 * math/w_asinl.c: Likewise.
29656 * math/w_atan2.c: Likewise.
29657 * math/w_atan2f.c: Likewise.
29658 * math/w_atan2l.c: Likewise.
29659 * math/w_atanh.c: Likewise.
29660 * math/w_atanhf.c: Likewise.
29661 * math/w_atanhl.c: Likewise.
29662 * math/w_exp10.c: Likewise.
29663 * math/w_exp10f.c: Likewise.
29664 * math/w_exp10l.c: Likewise.
29665 * math/w_fmod.c: Likewise.
29666 * math/w_fmodf.c: Likewise.
29667 * math/w_fmodl.c: Likewise.
29668 * math/w_j0.c: Likewise.
29669 * math/w_j0f.c: Likewise.
29670 * math/w_j0l.c: Likewise.
29671 * math/w_j1.c: Likewise.
29672 * math/w_j1f.c: Likewise.
29673 * math/w_j1l.c: Likewise.
29674 * math/w_jn.c: Likewise.
29675 * math/w_jnf.c: Likewise.
29676 * math/w_log.c: Likewise.
29677 * math/w_logf.c: Likewise.
29678 * math/w_logl.c: Likewise.
29679 * math/w_log10.c: Likewise.
29680 * math/w_log10f.c: Likewise.
29681 * math/w_log10l.c: Likewise.
29682 * math/w_log2.c: Likewise.
29683 * math/w_log2f.c: Likewise.
29684 * math/w_log2l.c: Likewise.
29685 * math/w_pow.c: Likewise.
29686 * math/w_powf.c: Likewise.
29687 * math/w_powl.c: Likewise.
29688 * math/w_remainder.c: Likewise.
29689 * math/w_remainderf.c: Likewise.
29690 * math/w_remainderl.c: Likewise.
29691 * math/w_scalb.c: Likewise.
29692 * math/w_scalbf.c: Likewise.
29693 * math/w_scalbl.c: Likewise.
29694 * math/w_sqrt.c: Likewise.
29695 * math/w_sqrtf.c: Likewise.
29696 * math/w_sqrtl.c: Likewise.
29697 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
29698 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
29699 used.
29700 * math/math_private.h: Declare __kernel_standard_f.
29701 * math/w_cosh.c: Remove cruft and optimize a bit.
29702 * math/w_coshf.c: Likewise.
29703 * math/w_coshl.c: Likewise.
29704 * math/w_exp2.c: Likewise.
29705 * math/w_exp2f.c: Likewise.
29706 * math/w_exp2l.c: Likewise.
29707 * math/w_hypot.c: Likewise.
29708 * math/w_hypotf.c: Likewise.
29709 * math/w_hypotl.c: Likewise.
29710 * math/w_lgamma.c: Likewise.
29711 * math/w_lgamma_r.c: Likewise.
29712 * math/w_lgammaf.c: Likewise.
29713 * math/w_lgammaf_r.c: Likewise.
29714 * math/w_lgammal.c: Likewise.
29715 * math/w_lgammal_r.c: Likewise.
29716 * math/w_sinh.c: Likewise.
29717 * math/w_sinhf.c: Likewise.
29718 * math/w_sinhl.c: Likewise.
29719 * math/w_tgamma.c: Likewise.
29720 * math/w_tgammaf.c: Likewise.
29721 * math/w_tgammal.c: Likewise.
29722 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
29723 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29724 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
29725 Minor optimizations. Pretty printing. Remove cruft.
29726 * sysdeps/i386/fpu/e_acosf.S: Likewise.
29727 * sysdeps/i386/fpu/e_acosh.S: Likewise.
29728 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
29729 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
29730 * sysdeps/i386/fpu/e_acosl.c: Likewise.
29731 * sysdeps/i386/fpu/e_asin.S: Likewise.
29732 * sysdeps/i386/fpu/e_asinf.S: Likewise.
29733 * sysdeps/i386/fpu/e_atan2.S: Likewise.
29734 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
29735 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
29736 * sysdeps/i386/fpu/e_atanh.S: Likewise.
29737 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
29738 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
29739 * sysdeps/i386/fpu/e_exp10.S: Likewise.
29740 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
29741 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
29742 * sysdeps/i386/fpu/e_exp2.S: Likewise.
29743 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
29744 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
29745 * sysdeps/i386/fpu/e_fmod.S: Likewise.
29746 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
29747 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
29748 * sysdeps/i386/fpu/e_hypot.S: Likewise.
29749 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
29750 * sysdeps/i386/fpu/e_log.S: Likewise.
29751 * sysdeps/i386/fpu/e_log10.S: Likewise.
29752 * sysdeps/i386/fpu/e_log10f.S: Likewise.
29753 * sysdeps/i386/fpu/e_log10l.S: Likewise.
29754 * sysdeps/i386/fpu/e_log2.S: Likewise.
29755 * sysdeps/i386/fpu/e_log2f.S: Likewise.
29756 * sysdeps/i386/fpu/e_log2l.S: Likewise.
29757 * sysdeps/i386/fpu/e_logf.S: Likewise.
29758 * sysdeps/i386/fpu/e_logl.S: Likewise.
29759 * sysdeps/i386/fpu/e_pow.S: Likewise.
29760 * sysdeps/i386/fpu/e_powf.S: Likewise.
29761 * sysdeps/i386/fpu/e_powl.S: Likewise.
29762 * sysdeps/i386/fpu/e_remainder.S: Likewise.
29763 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
29764 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
29765 * sysdeps/i386/fpu/e_scalb.S: Likewise.
29766 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
29767 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
29768 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
29769 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
29770 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
29771 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
29772 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29773 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29774 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
29775 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29776 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
29777 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
29778 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
29779 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29780 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29781 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
29782 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
29783 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29784 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
29785 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
29786 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29787 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29788 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
29789 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29790 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29791 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
29792 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
29793 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
29794 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
29795 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
29796 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
29797 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
29798 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
29799 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
29800 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
29801 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29802 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
29803 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29804 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
29805 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
29806 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
29807 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
29808 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
29809 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
29810 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
29811 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
29812 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
29813 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
29814 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
29815 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
29816 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
29817 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
29818 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
29819 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
29820 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
29821 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
29822 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
29823 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
29824 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29825 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
29826 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
29827 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
29828 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
29829 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
29830 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
29831 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
29832 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
29833 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29834 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29835 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
29836 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
29837 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
29838 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
29839 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
29840 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
29841 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
29842 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
29843 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
29844 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
29845 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
29846 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29847 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
29848 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
29849 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
29850 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
29851 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29852 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
29853 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
29854 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
29855 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29856 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
29857 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29858 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
29859 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
29860 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
29861 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
29862 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
29863 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29864 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
29865 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
29866 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
29867 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
29868 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
29869 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
29870 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
29871 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
29872 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
29873 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
29874 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
29875 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
29876 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
29877 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
29878 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29879 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
29880 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
29881 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
29882 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
29883 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
29884 (__isnanf): Likewise.
29885 (__isinf_ns): Likewise.
29886 (__isinf_nsf): Likewise.
29887 (__finite): Likewise.
29888 (__finitef): Likewise.
29889 (__ieee754_sqrt): Define as macro.
29890 (__ieee754_sqrtf): Define as macro.
29891 (__ieee754_sqrtl): Define as macro.
29892 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
29893 inlined copy.
29894 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
29895 __FINITE_MATH_ONLY__ consistent.
29896 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
29897
12cc2fcd
AS
298982011-10-10 Andreas Schwab <schwab@linux-m68k.org>
29899
a843a204
AS
29900 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
29901 of rawmemchr.
29902
12cc2fcd
AS
29903 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
29904
c853acd5
UD
299052011-10-09 Ulrich Drepper <drepper@gmail.com>
29906
29907 * po/ja.po: Update from translation team.
29908
c658d255
RM
299092011-10-08 Roland McGrath <roland@hack.frob.com>
29910
110946e4
RM
29911 * locale/programs/locarchive.c (prepare_address_space): New function.
29912 (create_archive, enlarge_archive, open_archive): Use it.
29913
50604220
RM
29914 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
29915 inside [SHARED], where it is used.
29916
c658d255
RM
29917 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
29918
29919 * nss/getent.c (netgroup_keys): Remove unused variable.
29920 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
29921
6a621eb7
UD
299222011-10-08 Ulrich Drepper <drepper@gmail.com>
29923
7edb55ce
UD
29924 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
29925 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
29926 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
29927 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
29928 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
29929 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
29930 * math/Makefile (libm-calls): Add s_isinf_ns.
29931 * math/divtc3.c: Use __isinf_nsl instead of isinf.
29932 * math/multc3.c: Likewise.
29933 * math/s_casin.c: Likewise.
29934 * math/s_casinf.c: Likewise.
29935 * math/s_casinl.c: Likewise.
29936 * math/s_ccos.c: Likewise.
29937 * math/s_ccosf.c: Likewise.
29938 * math/s_ccosl.c: Likewise.
29939 * math/s_ctan.c: Likewise.
29940 * math/s_ctanf.c: Likewise.
29941 * math/s_ctanh.c: Likewise.
29942 * math/s_ctanhf.c: Likewise.
29943 * math/s_ctanhl.c: Likewise.
29944 * math/s_ctanl.c: Likewise.
29945 * math/w_fmod.c: Likewise.
29946 * math/w_fmodf.c: Likewise.
29947 * math/w_fmodl.c: Likewise.
29948 * math/w_remainder.c: Likewise.
29949 * math/w_remainderf.c: Likewise.
29950 * math/w_remainderl.c: Likewise.
29951 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
29952 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
29953 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
29954 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
29955 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
29956 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
29957 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
29958 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
29959
187da0ae
UD
29960 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
29961 of the number.
29962 * stdio-common/printf_fphex.c: Likewise.
29963 * stdio-common/printf_size.c: Likewise.
29964
9277c064
UD
29965 * math/e_exp10.c: Include math_private.h using <...> not "...".
29966 * math/e_exp10f.c: Likewise.
29967 * math/e_exp10l.c: Likewise.
29968 * math/e_exp2l.c: Likewise.
29969 * math/e_j0l.c: Likewise.
29970 * math/e_j1l.c: Likewise.
29971 * math/e_jnl.c: Likewise.
29972 * math/e_lgammal_r.c: Likewise.
29973 * math/e_rem_pio2l.c: Likewise.
29974 * math/e_scalb.c: Likewise.
29975 * math/e_scalbf.c: Likewise.
29976 * math/e_scalbl.c: Likewise.
29977 * math/k_cosl.c: Likewise.
29978 * math/k_sinl.c: Likewise.
29979 * math/k_tanl.c: Likewise.
29980 * math/s_cacoshf.c: Likewise.
29981 * math/s_catan.c: Likewise.
29982 * math/s_catanf.c: Likewise.
29983 * math/s_catanh.c: Likewise.
29984 * math/s_catanhf.c: Likewise.
29985 * math/s_catanhl.c: Likewise.
29986 * math/s_catanl.c: Likewise.
29987 * math/s_ccosh.c: Likewise.
29988 * math/s_ccoshf.c: Likewise.
29989 * math/s_ccoshl.c: Likewise.
29990 * math/s_cexp.c: Likewise.
29991 * math/s_cexpf.c: Likewise.
29992 * math/s_cexpl.c: Likewise.
29993 * math/s_clog.c: Likewise.
29994 * math/s_clog10.c: Likewise.
29995 * math/s_clog10f.c: Likewise.
29996 * math/s_clog10l.c: Likewise.
29997 * math/s_clogf.c: Likewise.
29998 * math/s_clogl.c: Likewise.
29999 * math/s_csin.c: Likewise.
30000 * math/s_csinf.c: Likewise.
30001 * math/s_csinh.c: Likewise.
30002 * math/s_csinhf.c: Likewise.
30003 * math/s_csinhl.c: Likewise.
30004 * math/s_csinl.c: Likewise.
30005 * math/s_csqrt.c: Likewise.
30006 * math/s_csqrtf.c: Likewise.
30007 * math/s_csqrtl.c: Likewise.
30008 * math/s_ctan.c: Likewise.
30009 * math/s_ctanf.c: Likewise.
30010 * math/s_ctanh.c: Likewise.
30011 * math/s_ctanhf.c: Likewise.
30012 * math/s_ctanhl.c: Likewise.
30013 * math/s_ctanl.c: Likewise.
30014 * math/s_ldexp.c: Likewise.
30015 * math/s_ldexpf.c: Likewise.
30016 * math/s_ldexpl.c: Likewise.
30017 * math/s_significand.c: Likewise.
30018 * math/s_significandf.c: Likewise.
30019 * math/s_significandl.c: Likewise.
30020 * math/w_acos.c: Likewise.
30021 * math/w_acosf.c: Likewise.
30022 * math/w_acosh.c: Likewise.
30023 * math/w_acoshf.c: Likewise.
30024 * math/w_acoshl.c: Likewise.
30025 * math/w_acosl.c: Likewise.
30026 * math/w_asin.c: Likewise.
30027 * math/w_asinf.c: Likewise.
30028 * math/w_asinl.c: Likewise.
30029 * math/w_atan2.c: Likewise.
30030 * math/w_atan2f.c: Likewise.
30031 * math/w_atan2l.c: Likewise.
30032 * math/w_atanh.c: Likewise.
30033 * math/w_atanhf.c: Likewise.
30034 * math/w_atanhl.c: Likewise.
30035 * math/w_cosh.c: Likewise.
30036 * math/w_coshf.c: Likewise.
30037 * math/w_coshl.c: Likewise.
30038 * math/w_dremf.c: Likewise.
30039 * math/w_exp10.c: Likewise.
30040 * math/w_exp10f.c: Likewise.
30041 * math/w_exp10l.c: Likewise.
30042 * math/w_exp2.c: Likewise.
30043 * math/w_exp2f.c: Likewise.
30044 * math/w_fmod.c: Likewise.
30045 * math/w_fmodf.c: Likewise.
30046 * math/w_fmodl.c: Likewise.
30047 * math/w_hypot.c: Likewise.
30048 * math/w_hypotf.c: Likewise.
30049 * math/w_hypotl.c: Likewise.
30050 * math/w_j0.c: Likewise.
30051 * math/w_j0f.c: Likewise.
30052 * math/w_j0l.c: Likewise.
30053 * math/w_j1.c: Likewise.
30054 * math/w_j1f.c: Likewise.
30055 * math/w_j1l.c: Likewise.
30056 * math/w_jn.c: Likewise.
30057 * math/w_jnf.c: Likewise.
30058 * math/w_jnl.c: Likewise.
30059 * math/w_lgamma.c: Likewise.
30060 * math/w_lgamma_r.c: Likewise.
30061 * math/w_lgammaf.c: Likewise.
30062 * math/w_lgammaf_r.c: Likewise.
30063 * math/w_lgammal.c: Likewise.
30064 * math/w_lgammal_r.c: Likewise.
30065 * math/w_log.c: Likewise.
30066 * math/w_log10.c: Likewise.
30067 * math/w_log10f.c: Likewise.
30068 * math/w_log10l.c: Likewise.
30069 * math/w_log2.c: Likewise.
30070 * math/w_log2f.c: Likewise.
30071 * math/w_log2l.c: Likewise.
30072 * math/w_logf.c: Likewise.
30073 * math/w_logl.c: Likewise.
30074 * math/w_pow.c: Likewise.
30075 * math/w_powf.c: Likewise.
30076 * math/w_powl.c: Likewise.
30077 * math/w_remainder.c: Likewise.
30078 * math/w_remainderf.c: Likewise.
30079 * math/w_remainderl.c: Likewise.
30080 * math/w_scalb.c: Likewise.
30081 * math/w_scalbf.c: Likewise.
30082 * math/w_scalbl.c: Likewise.
30083 * math/w_sinh.c: Likewise.
30084 * math/w_sinhf.c: Likewise.
30085 * math/w_sinhl.c: Likewise.
30086 * math/w_sqrt.c: Likewise.
30087 * math/w_sqrtf.c: Likewise.
30088 * math/w_sqrtl.c: Likewise.
30089 * math/w_tgamma.c: Likewise.
30090 * math/w_tgammaf.c: Likewise.
30091 * math/w_tgammal.c: Likewise.
30092
6a621eb7
UD
30093 * po/ja.po: Update from translation team.
30094
bf582445
AJ
300952011-09-29 Andreas Jaeger <aj@suse.de>
30096
f9efbf3a
AJ
30097 [BZ #13179]
30098 * sunrpc/netname.c (netname2host): Fix logic.
30099
bf582445
AJ
30100 [BZ #6779]
30101 [BZ #6783]
30102 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
30103 correctly.
30104 * math/w_remainder.c (__remainder): Likewise.
30105 * math/w_remainderf.c (__remainderf): Likewise.
30106 * math/libm-test.inc (remainder_test): Add test cases.
30107
48693bea
AK
301082011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30109
30110 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
30111 sdiv_qrnnd.
30112
42622229
LD
301132011-10-07 Ulrich Drepper <drepper@gmail.com>
30114
30115 * string/test-memcmp.c: Avoid unncessary #defines.
30116 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
30117
093ecf92
LD
301182011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30119
30120 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
30121 Use new sse2 version for core i3 - i7 as it's faster
30122 than sse42 version.
30123 (bit_Prefer_PMINUB_for_stringop): New.
30124 * sysdeps/x86_64/rawmemchr.S: Update.
30125 Replace with faster SSE2 version.
30126 * sysdeps/x86_64/memrchr.S: New file.
30127 * sysdeps/x86_64/memchr.S: Update.
30128 Replace with faster SSE2 version.
30129
fde56e5c
MP
301302011-09-12 Marek Polacek <mpolacek@redhat.com>
30131
30132 * elf/dl-load.c (lose): Add cast to avoid warning.
30133
21fd49a9
UD
301342011-10-07 Ulrich Drepper <drepper@gmail.com>
30135
5a06e643
UD
30136 * po/ca.po: Update from translation team.
30137
684ae515
UD
30138 * inet/getnetgrent_r.c: Hook up nscd.
30139 * nscd/Makefile (routines): Add nscd_netgroup.
30140 (nscd-modules): Add netgroupcache.
30141 (CFLAGS-netgroupcache.c): Define.
30142 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
30143 (cache_search): Add const to second parameter.
30144 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
30145 INNETGR.
30146 (dbs): Add netgrdb entry.
30147 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
30148 (verify_persistent_db): Handle netgrdb.
30149 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
30150 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
30151 GETFDNETGR.
30152 (netgroup_response_header): Define.
30153 (innetgroup_response_header): Define.
30154 (datahead): Add netgroup_response_header and innetgroup_response_header
30155 elements.
30156 * nscd/nscd.conf: Add entries for netgroup cache.
30157 * nscd/nscd.h (dbtype): Add netgrdb.
30158 (_PATH_NSCD_NETGROUP_DB): Define.
30159 (netgroup_iov_disabled): Declare.
30160 (xmalloc, xcalloc, xrealloc): Move declarations here.
30161 (cache_search): Adjust prototype.
30162 Add netgroup-related prototypes.
30163 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
30164 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
30165 (__nscd_innetgr): Declare.
30166 * nscd/selinux.c (perms): Use access_vector_t as element type and
30167 add netgroup-related initializers.
30168 * nscd/netgroupcache.c: New file.
30169 * nscd/nscd_netgroup.c: New file.
30170 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
30171 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
30172 For four parameters use innetgr.
30173 * nss/nss_files/files-init.c: Add definition and callback for netgr.
30174 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
30175 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
30176 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
30177
21fd49a9
UD
30178 * nscd/connections.c (register_traced_file): Don't register file
30179 for disabled databases.
30180
054c0457
UD
301812011-10-06 Ulrich Drepper <drepper@gmail.com>
30182
32b63198
UD
30183 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
30184
054c0457
UD
30185 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
30186 from tree and freeing node.
30187
64031225
JO
301882011-09-25 Jiri Olsa <jolsa@redhat.com>
30189
30190 * nss/nsswitch.c (__nss_database_lookup): Handle
30191 nss_parse_service_list out of memory case.
30192
0490345c
JO
301932011-09-15 Jiri Olsa <jolsa@redhat.com>
30194
30195 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
30196 out of memory case.
30197
3a62d00d
AS
301982011-10-04 Andreas Schwab <schwab@redhat.com>
30199
30200 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
30201 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
30202 pass it down.
30203 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
30204 elf_machine_rela, elf_machine_lazy_rel.
30205 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
30206 (ELF_DYNAMIC_DO_REL): Likewise.
30207 (ELF_DYNAMIC_DO_RELA): Likewise.
30208 (ELF_DYNAMIC_RELOCATE): Likewise.
30209 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
30210 to ELF_DYNAMIC_DO_REL.
30211 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
30212 (dl_main): In trace mode always set __RTLD_NOIFUNC.
30213 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
30214 elf_machine_rela.
30215 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
30216 skip_ifunc, don't call ifunc function if non-zero.
30217 (elf_machine_rela): Likewise.
30218 (elf_machine_lazy_rel): Likewise.
30219 (elf_machine_lazy_rela): Likewise.
30220 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
30221 (elf_machine_lazy_rel): Likewise.
30222 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
30223 Likewise.
30224 (elf_machine_lazy_rel): Likewise.
30225 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30226 Likewise.
30227 (elf_machine_lazy_rel): Likewise.
30228 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
30229 (elf_machine_lazy_rel): Likewise.
30230 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
30231 (elf_machine_lazy_rel): Likewise.
30232 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
30233 (elf_machine_lazy_rel): Likewise.
30234 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
30235 (elf_machine_lazy_rel): Likewise.
30236 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
30237 (elf_machine_lazy_rel): Likewise.
30238 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
30239 (elf_machine_lazy_rel): Likewise.
30240
68577918
UD
302412011-09-28 Ulrich Drepper <drepper@gmail.com>
30242
30243 * nss/nss_files/files-init.c (_nss_files_init): Use static
30244 initialization for all the *_traced_file variables.
30245
68822d74
AS
302462011-09-28 Andreas Schwab <schwab@redhat.com>
30247
30248 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30249
2056100b
RM
302502011-09-27 Roland McGrath <roland@hack.frob.com>
30251
30252 [BZ #13226]
30253 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
30254
32c76b63
AS
302552011-09-27 Andreas Schwab <schwab@redhat.com>
30256
30257 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
30258 Reread the line before reparsing it.
30259
bf972c9d
AS
302602011-09-26 Andreas Schwab <schwab@redhat.com>
30261
30262 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
30263
e057a1b5
JM
302642011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
30265 Maxim Kuvyrkov <maxim@codesourcery.com>
30266 Joseph Myers <joseph@codesourcery.com>
30267
30268 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
30269 if needed for __stack_chk_guard.
30270
bc7e1c36
RM
302712011-09-19 Roland McGrath <roland@hack.frob.com>
30272
ecb1482f
RM
30273 * sysdeps/posix/spawni.c (script_execute): Always define it.
30274 It will be optimized away if unused.
30275 (maybe_script_execute): New function.
30276 (__spawni): Call it.
30277
bc7e1c36
RM
30278 * Makerules: Don't include tls.make.
30279 (config-tls): Always set to thread.
30280 * tls.make.c: File removed.
30281
1c3b002b
MF
302822011-09-19 Mike Frysinger <vapier@gentoo.org>
30283
30284 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
30285 * config.make.in (CPPFLAGS-config): New substituted variable.
30286
2840865d
UD
302872011-09-15 Ulrich Drepper <drepper@gmail.com>
30288
88738eb6
UD
30289 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
30290
cbf645a6 30291 [BZ #13192]
2840865d
UD
30292 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
30293 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
30294
b402e91a
RM
302952011-09-15 Roland McGrath <roland@hack.frob.com>
30296
30297 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
30298 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
30299 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
30300 (CALL_FAIL): Likewise.
30301 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
30302 (CALL_FAIL): Macro removed.
30303 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
30304
4c1a1f71
UD
303052011-09-15 Ulrich Drepper <drepper@gmail.com>
30306
30307 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
30308 for __FINITE_MATH_ONLY__ == 1.
30309
edc121be
AS
303102011-09-15 Andreas Schwab <schwab@redhat.com>
30311
30312 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
30313 __ieee754_sqrt instead of sqrt.
30314 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
30315 __ieee754_sqrtf instead of sqrtf.
30316 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
30317 __floorf instead of floorf.
30318 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
30319 __floorf, __truncf instead of floorf, truncf.
30320
cd205654
UD
303212011-09-14 Ulrich Drepper <drepper@gmail.com>
30322
ee4d0315
UD
30323 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
30324
cd205654
UD
30325 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
30326 __extern_always_inline.
30327 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
30328 32-bit.
30329
48b67d71
AS
303302011-09-14 Andreas Schwab <schwab@redhat.com>
30331
30332 * elf/rtld.c (dl_main): Also relocate in dependency order when
30333 doing symbol dependency testing.
30334
1ae12c75
AS
303352011-09-13 Andreas Schwab <schwab@linux-m68k.org>
30336
30337 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30338 Always define `refsym'.
30339
995a80df
AS
303402011-09-13 Andreas Schwab <schwab@redhat.com>
30341
e529793b
AS
30342 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
30343 (__FD_ELT): Renamed from __FDELT.
30344 * misc/bits/select2.h (__FD_ELT): Likewise.
30345 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
30346 __FD_MASK instead of __FDELT, __FDMASK.
30347 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
30348 Likewise.
30349 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
30350 Likewise.
30351
52d4fef8
AS
30352 * elf/Makefile (gen-ldd): Fix pattern.
30353
995a80df
AS
30354 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
30355 (init_tls): Likewise.
30356
8682f8b0
UD
303572011-09-12 Ulrich Drepper <drepper@gmail.com>
30358
30359 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
30360
de82006d
AS
303612011-09-12 Andreas Schwab <schwab@redhat.com>
30362
a7c8e6a1
AS
30363 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
30364 `struct cmsghdr *' instead of `void *'.
30365 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
30366 Likewise.
30367
0f31fe77
AS
303682011-09-11 Andreas Schwab <schwab@linux-m68k.org>
30369
30370 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
30371 if non-absolute.
30372 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
30373 ldd_rewrite_script.
0f31fe77 30374
32b4c839
UD
303752011-09-11 Ulrich Drepper <drepper@gmail.com>
30376
83cd1420
UD
30377 * configure.in: Remove --with-tls option.
30378 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
30379 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
30380 out in case it is missing.
30381 * sysdeps/ia64/elf/configure.in: Likewise.
30382 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
30383 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
30384 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
30385 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
30386 * sysdeps/sh/elf/configure.in: Likewise.
30387 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
30388 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
30389 * sysdeps/x86_64/elf/configure.in: Likewise.
30390 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
30391 * sysdeps/mach/hurd/tls.h: Likewise.
30392
633f745d
UD
30393 [BZ #13067]
30394 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
30395
f318beb8
UD
30396 [BZ #13090]
30397 * configure.in: Fix use of AC_INIT.
30398
32b4c839
UD
30399 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
30400
3ce1f295
UD
304012011-09-10 Ulrich Drepper <drepper@gmail.com>
30402
bb016596
UD
30403 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
30404 __set_errno.
8e58439c
UD
30405 * malloc/hooks.c: Likewise.
30406
aebae053 30407 [BZ #11929]
02d46fc4
UD
30408 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
30409 variables statically.
30410 (narenas): Initialize.
30411 (list_lock): Initialize.
bb016596
UD
30412 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
30413 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
30414 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
30415 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
30416 Add initializers to main_arena and mp_.
30417 (malloc_state): Remove pagesize member. Change all users to use
30418 GLRO(dl_pagesize).
30419
30420 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
30421 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
30422 is always initialized.
30423
22a89187
UD
30424 * malloc/malloc.c: Removed unused configurations and dead code.
30425 * malloc/arena.c: Likewise.
30426 * malloc/hooks.c: Likewise.
02d46fc4 30427 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 30428
d063d164
UD
30429 * include/tls.h: Removed. USE___THREAD must always be defined.
30430 * bits/libc-tsd.h: Don't handle !USE___THREAD.
30431 * elf/dl-libc.c: Likewise.
30432 * elf/dl-tsd.c: Likewise.
30433 * include/errno.h: Likewise.
30434 * include/netdb.h: Likewise.
30435 * include/resolv.h: Likewise.
30436 * inet/herrno-loc.c: Likewise.
30437 * inet/herrno.c: Likewise.
30438 * malloc/arena.c: Likewise.
30439 * malloc/hooks.c: Likewise.
30440 * malloc/malloc.c: Likewise.
30441 * resolv/res-state.c: Likewise.
30442 * resolv/res_libc.c: Likewise.
30443 * sysdeps/i386/dl-machine.h: Likewise.
30444 * sysdeps/ia64/dl-machine.h: Likewise.
30445 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
30446 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
30447 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
30448 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
30449 * sysdeps/sh/dl-machine.h: Likewise.
30450 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
30451 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
30452 * sysdeps/unix/i386/sysdep.S: Likewise.
30453 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
30454 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
30455 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
30456 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
30457 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
30458 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
30459 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
30460 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
30461 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30462 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
30463 * sysdeps/unix/x86_64/sysdep.S: Likewise.
30464 * sysdeps/x86_64/dl-machine.h: Likewise.
30465 * tls.make.c: Likewise.
30466
3ce1f295
UD
30467 * configure.in: Remove --with-__thread option. Make tests for
30468 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
30469 tls_model attribute fail if no support is available. Remove
30470 USE_IN_LIBIO.
30471 * Makeconfig: Adjust for dropped configure option. All features are
30472 now mandatory.
30473 * Makerules: Likewise.
30474 * Versions.def: Likewise.
30475 * argp/argp-fmtstream.c: Likewise.
30476 * argp/argp-fmtstream.h: Likewise.
30477 * argp/argp-help.c: Likewise.
30478 * assert/assert.c: Likewise.
30479 * config.h.in: Likewise.
30480 * config.make.in: Likewise.
30481 * configure: Likewise.
30482 * configure.in: Likewise.
30483 * csu/Versions: Likewise.
30484 * csu/init.c: Likewise.
30485 * elf/tst-audit2.c: Likewise.
30486 * elf/tst-tls10.c: Likewise.
30487 * elf/tst-tls10.h: Likewise.
30488 * elf/tst-tls11.c: Likewise.
30489 * elf/tst-tls12.c: Likewise.
30490 * elf/tst-tls14.c: Likewise.
30491 * elf/tst-tlsmod11.c: Likewise.
30492 * elf/tst-tlsmod12.c: Likewise.
30493 * elf/tst-tlsmod13.c: Likewise.
30494 * elf/tst-tlsmod13a.c: Likewise.
30495 * elf/tst-tlsmod14a.c: Likewise.
30496 * elf/tst-tlsmod15b.c: Likewise.
30497 * elf/tst-tlsmod16a.c: Likewise.
30498 * elf/tst-tlsmod16b.c: Likewise.
30499 * elf/tst-tlsmod7.c: Likewise.
30500 * elf/tst-tlsmod8.c: Likewise.
30501 * elf/tst-tlsmod9.c: Likewise.
30502 * gmon/gmon.c: Likewise.
30503 * grp/fgetgrent_r.c: Likewise.
30504 * grp/putgrent.c: Likewise.
30505 * hurd/fopenport.c: Likewise.
30506 * include/libc-symbols.h: Likewise.
30507 * include/tls.h: Likewise.
30508 * intl/gettextP.h: Likewise.
30509 * intl/loadinfo.h: Likewise.
30510 * locale/global-locale.c: Likewise.
30511 * locale/localeinfo.h: Likewise.
30512 * mach/devstream.c: Likewise.
30513 * malloc/arena.c: Likewise.
30514 * malloc/set-freeres.c: Likewise.
30515 * misc/err.c: Likewise.
30516 * misc/getttyent.c: Likewise.
30517 * misc/mntent_r.c: Likewise.
30518 * posix/getopt.c: Likewise.
30519 * posix/wordexp.c: Likewise.
30520 * pwd/fgetpwent_r.c: Likewise.
30521 * resolv/Versions: Likewise.
30522 * resolv/res_hconf.c: Likewise.
30523 * shadow/fgetspent_r.c: Likewise.
30524 * shadow/putspent.c: Likewise.
30525 * stdio-common/printf_fphex.c: Likewise.
30526 * stdio-common/tmpfile.c: Likewise.
30527 * stdlib/abort.c: Likewise.
30528 * stdlib/fmtmsg.c: Likewise.
30529 * sunrpc/auth_unix.c: Likewise.
30530 * sunrpc/clnt_perr.c: Likewise.
30531 * sunrpc/clnt_tcp.c: Likewise.
30532 * sunrpc/clnt_udp.c: Likewise.
30533 * sunrpc/clnt_unix.c: Likewise.
30534 * sunrpc/openchild.c: Likewise.
30535 * sunrpc/svc_simple.c: Likewise.
30536 * sunrpc/svc_tcp.c: Likewise.
30537 * sunrpc/svc_udp.c: Likewise.
30538 * sunrpc/svc_unix.c: Likewise.
30539 * sunrpc/xdr.c: Likewise.
30540 * sunrpc/xdr_array.c: Likewise.
30541 * sunrpc/xdr_rec.c: Likewise.
30542 * sunrpc/xdr_ref.c: Likewise.
30543 * sunrpc/xdr_stdio.c: Likewise.
30544
1248c1c4
PB
305452011-09-09 Ulrich Drepper <drepper@gmail.com>
30546
30547 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30548
305492011-07-03 Andreas Jaeger <aj@suse.de>
30550
30551 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
30552 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
30553 regenerate with gen-libm-tests.pl.
30554
305552010-05-12 Petr Baudis <pasky@suse.cz>
30556
30557 [BZ #11589]
30558 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
30559 around j0() zero points by switching to j1().
30560 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
30561 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
30562 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30563 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30564
f22e1074
UD
305652011-09-09 Ulrich Drepper <drepper@gmail.com>
30566
f19009c1
UD
30567 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
30568 instead of 0.
30569 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 30570 instead of 0.
f19009c1
UD
30571 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30572 Patch in part by Pavel Roskin <proski@gnu.org>.
30573
3f8cc204
UD
30574 [BZ #13138]
30575 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
30576 realloc.
30577 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
30578 Free memory block if necessary.
30579
f22e1074
UD
30580 [BZ #12847]
30581 * libio/genops.c (INTDEF): For string streams the _lock pointer can
30582 be NULL. Don't lock in this case.
30583
0a2349f9
RM
305842011-09-09 Roland McGrath <roland@hack.frob.com>
30585
30586 * elf/elf.h (ELFOSABI_GNU): New macro.
30587 (ELFOSABI_LINUX): Define to that.
30588
f3cdd467
DZ
305892011-07-29 Denis Zaitceff <zaitceff@gmail.com>
30590
30591 * string/strncat.c (strncat): Undef the symbol in case it has been
30592 defined in bits/string.h.
30593
74718d13
UD
305942011-09-09 Ulrich Drepper <drepper@gmail.com>
30595
633e9e0f
UD
30596 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
30597
0a2349f9 30598 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
30599 link map.
30600
f9924780
AJ
306012011-08-17 Andreas Jaeger <aj@suse.de>
30602
30603 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
30604
7f5517aa
PP
306052011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
30606 Ian Lance Taylor <iant@google.com>
30607
30608 * math/libm-test.inc (lround_test): New testcase.
30609 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
30610
762011fe
UD
306112011-09-08 Ulrich Drepper <drepper@gmail.com>
30612
92963737
UD
30613 * Makefile: Remove support for automatic cvs check-ins.
30614 * Makerules: Likewise.
30615 * config.make.in: Likewise.
30616 * configure.in: Likewise.
30617 * intl/Makefile: Likewise.
30618 * locale/Makefile: Likewise.
30619 * po/Makefile: Likewise.
30620 * posix/Makefile: Likewise.
30621 * sysdeps/gnu/Makefile: Likewise.
30622 * sysdeps/mach/hurd/Makefile: Likewise.
30623 * sysdeps/sparc/sparc32/Makefile: Likewise.
30624
b0727fd8
JS
30625 [BZ #13118]
30626 * posix/Makefile (bug-regex32-ENV): Define.
30627 Patch by John Stanley <jpsinthemix@verizon.net>.
30628
a0f33f99
UD
30629 * misc/Makefile (headers): Add bits/select2.h.
30630 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
30631 * misc/bits/select2.h: New file.
30632 * include/bits/select2.h: New file.
30633 * debug/Makefile (routines): Add fdelt_chk.
30634 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
30635 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
30636 FD_ISSET.
30637 * debug/fdelt_chk.c: New file.
30638
762011fe
UD
30639 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
30640 * wcsmbs/test-wmemcmp.c: Likewise.
30641 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 30642 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
30643
306442011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30645
30646 * string/Makefile (strop-tests): Add memcmp.
30647 * string/test-wmemcmp.c: New file.
30648 * string/test-memcmp.c: Add wmemcmp support.
30649
7f513ec8
RM
306502011-09-08 Roland McGrath <roland@hack.frob.com>
30651
0442afb4
RM
30652 [BZ #13153]
30653 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
30654 2011-07-19 change.
30655
7f513ec8
RM
30656 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
30657 garbage value in a __mach_port_mod_refs call in the cases of the
30658 task-self and thread-self ports.
30659
a12b2239
ST
306602011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
30661
30662 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
30663
610f9ab4
AS
306642011-09-08 Andreas Schwab <schwab@redhat.com>
30665
7f513ec8 30666 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 30667
48882a1a
LD
306682011-09-07 Ulrich Drepper <drepper@gmail.com>
30669
b49865be
UD
30670 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
30671
fdc86bc9
UD
30672 * elf/dl-libc.c (dlerror_run): Pass back error code from
30673 dl_catch_error.
30674
c966526a
UD
30675 [BZ #13123]
30676 * elf/dl-load.c (lose): Free l_origin if it is valid.
30677
48882a1a
LD
30678 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
30679 names.
30680 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
30681 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
30682 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
30683 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
30684 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
30685 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
30686
77a2a8b4
AZ
306872011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30688
30689 * sysdeps/powerpc/fpu/e_hypot.c: New file.
30690 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
30691 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
30692 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
30693 * sysdeps/powerpc/fpu/k_cosf.c: New file.
30694 * sysdeps/powerpc/fpu/k_sinf.c: New file.
30695 * sysdeps/powerpc/fpu/s_cosf.c: New file.
30696 * sysdeps/powerpc/fpu/s_sinf.c: New file.
30697 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
30698 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
30699
24f579d8
AM
307002011-08-15 Alan Modra <amodra@gmail.com>
30701
30702 [BZ #13092]
30703 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
30704 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
30705 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
30706 ppc_mcount to static-only-routines.
30707 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
30708 __mcount_internal.
30709 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
30710 __mcount_internal with usual JUMPTARGET. Remove useless nop.
30711
3d4837df
UD
307122011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
30713
30714 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
30715 for finite and infinity parameters.
30716
22700377
WS
307172011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
30718
30719 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
30720 and add nop instructions for throughput optimization.
30721 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30722
5025581e
WS
307232011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
30724
30725 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
30726 aligned copy for power7 with vector-scalar instructions.
30727 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
30728
08a300c9
L
307292011-07-24 H.J. Lu <hongjiu.lu@intel.com>
30730
30731 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
30732 AVX check.
30733
59178ef9
AS
307342011-09-07 Andreas Schwab <schwab@redhat.com>
30735
30736 [BZ #13144]
30737 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
30738 last change.
30739
e38ba7ab
UD
307402011-09-07 Ulrich Drepper <drepper@gmail.com>
30741
30742 * sysdeps/unix/sysv/linux/x86_64/init-first.c
30743 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
30744 syscall wrapper around clock_gettime in __vdso_clock_gettime.
30745 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
30746 clock_gettime.
30747
d53a73ac
UD
307482011-09-06 Ulrich Drepper <drepper@gmail.com>
30749
fc8bffcc
UD
30750 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
30751 Forgot to demangle the pointer.
30752
ceaa0c5d
UD
30753 * sysdeps/i386/sysdep.h: Define atom_text_section.
30754 * sysdeps/x86_64/sysdep.h: Likewise.
30755 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
30756 section with atom_text_section.
30757 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
30758 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
30759 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
30760 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
30761 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
30762
a77d3c17
UD
30763 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
30764 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
30765 already be defined. Change to take two parameters and don't assign
30766 result to variable. Adjust all users.
30767 Define INTERNAL_GETTIME if not already defined.
30768 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
30769 call.
30770 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
30771 HAVE_CLOCK_GETTIME_VSYSCALL.
30772 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
30773
d53a73ac
UD
30774 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
30775 gettimeofday vsyscall, just use time.
30776
a8f84144
AS
307772011-09-06 Andreas Schwab <schwab@redhat.com>
30778
30779 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
30780 <errno.h>.
30781
ef606249
UD
307822011-09-06 Ulrich Drepper <drepper@gmail.com>
30783
30784 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
30785 syscall on x86-64.
30786 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
30787 syscall.
30788 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
30789 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
30790 syscall if possible.
30791
6585cb60
UD
307922011-09-05 Ulrich Drepper <drepper@gmail.com>
30793
30794 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
30795 e_ident. Don't pass to find_mapsXX.
30796 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
30797
a5f524e4
LD
307982011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30799
30800 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30801 strchr-sse2-no-bsf strrchr-sse2-no-bsf
30802 * sysdeps/x86_64/multiarch/strchr.S: Update.
30803 Check bit_slow_BSF bit.
30804 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30805 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
30806 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
30807
554881ef
UD
308082011-09-05 Ulrich Drepper <drepper@gmail.com>
30809
d96de963
UD
30810 [BZ #13134]
30811 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
30812 before glibc 2.15.
30813 (tryshell): Define.
30814 (__spawni): Change last parameter to be flag. Test
30815 SPAWN_XFLAGS_USE_PATH flag to use path or not.
30816 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
30817 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
30818 * posix/spawni.c: Likewise.
30819 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
30820 * posix/spawnp.c: Likewise. Change normal version to use
30821 SPAWN_XFLAGS_USE_PATH.
30822 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
30823 SPAWN_XFLAGS_TRY_SHELL.
30824
d48e5868
UD
30825 [BZ #13150]
30826 * posix/glob.h: Remove gcc 1.x support.
30827
554881ef
UD
30828 [BZ #13068]
30829 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
30830
693fb948
LD
308312011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30832
30833 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30834 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
30835 strrchr-sse2-bsf
30836 * sysdeps/i386/i686/multiarch/strchr.S: New file.
30837 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
30838 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
30839 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
30840 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
30841 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
30842
1b48c537
UD
308432011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30844
49d42c37
UD
30845 * sysdeps/x86_64/wcscmp.S: New file.
30846
1b48c537
UD
30847 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
30848 wcscmp-c wcscmp-sse2
30849 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
30850 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
30851 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
30852 * wcsmbs/wcscmp.c: Allow renaming.
30853
15c95c5d
DM
308542011-09-05 David S. Miller <davem@davemloft.net>
30855
30856 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
30857 stack slot, rather than the struct return pointer slot.
30858 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
30859 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
30860 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
30861 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
30862
2f0ad8f3
UD
308632011-09-05 Ulrich Drepper <drepper@gmail.com>
30864
d88ae418
UD
30865 * po/ja.po: Update from translation team.
30866
2f0ad8f3
UD
30867 [BZ #13144]
30868 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
30869 kernel in 64-bit binaries.
30870
5f4318d1
DM
308712011-09-01 David S. Miller <davem@davemloft.net>
30872
30873 * elf/elf.h (HWCAP_SPARC_*): Move to..
30874 * sysdeps/sparc/sysdep.h: this new file and add new values.
30875 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
30876 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
30877 _DL_HWCAP_COUNT to 24.
30878 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
30879 entries.
30880 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
30881 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
30882 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
30883 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
30884 instead of magic constants.
30885 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30886
3ba57516
DM
308872011-08-31 David S. Miller <davem@davemloft.net>
30888
30889 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
30890 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
30891 Reimplement to do errno handling inline.
30892 (SYSCALL_ERROR_HANDLER): New macro.
30893 (__SYSCALL_STRING): Do not do errno handling in asm.
30894 (__CLONE_SYSCALL_STRING): Delete.
30895 (__INTERNAL_SYSCALL_STRING): Delete.
30896 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
30897 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
30898 (PSEUDO): Reimplement to do errno handling inline.
30899 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
30900 (SYSCALL_ERROR_HANDLER): New macro.
30901 (__SYSCALL_STRING): Do not do errno handling in asm.
30902 (__CLONE_SYSCALL_STRING): Delete.
30903 (__INTERNAL_SYSCALL_STRING): Delete.
30904 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
30905 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
30906 i386.
30907 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
30908 (inline_syscall*): Add 'err' argument.
30909 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
30910 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
30911 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
30912 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
30913
30914 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
30915 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
30916
2bc17433
AS
309172011-08-30 Andreas Schwab <schwab@redhat.com>
30918
30919 * elf/rtld.c (dl_main): Relocate objects in dependency order.
30920
fbeb5f4d
JO
309212011-08-29 Jiri Olsa <jolsa@redhat.com>
30922
30923 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
30924 directive.
30925
ad69cc26
DM
309262011-08-24 David S. Miller <davem@davemloft.net>
30927
30928 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
30929
39dd69df
AS
309302011-08-24 Andreas Schwab <schwab@redhat.com>
30931
30932 * elf/Makefile: Add rules to build and run unload8 test.
30933 * elf/unload8.c: New file.
30934 * elf/unload8mod1.c: New file.
30935 * elf/unload8mod1x.c: New file.
30936 * elf/unload8mod2.c: New file.
30937 * elf/unload8mod3.c: New file.
30938
30939 * elf/dl-close.c (_dl_close_worker): Reset private search list if
30940 it wasn't used.
30941
2c0b250a
DM
309422011-08-23 David S. Miller <davem@davemloft.net>
30943
30944 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
30945 subtract stack bias.
30946 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
30947 %sp not %fp in calculations.
30948 (_JMPBUF_UNWINDS_ADJ): Likewise.
30949
22044b48
DM
30950 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
30951 (aio_suspend): Call it to force an exception region around the
30952 AIO_MISC_WAIT() invocation.
30953
2cae4995
AS
309542011-08-23 Andreas Schwab <schwab@redhat.com>
30955
30956 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
30957 backslash.
30958
873a772e
AJ
309592011-07-04 Aurelien Jarno <aurelien@aurel32.net>
30960
30961 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
30962 protection macro.
30963 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
30964 and <dl-machine.h>.
30965 (Elf64_FuncDesc): Remove.
30966
25ad0df1
DM
309672011-08-22 David S. Miller <davem@davemloft.net>
30968
30969 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
30970 sigaltstack check, add missing cfi directives.
30971 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
30972 missing cfi directives, and sigaltstack handling.
30973
e888bcbe
AS
309742011-08-16 Andreas Schwab <schwab@redhat.com>
30975
30976 [BZ #11724]
30977 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
30978 object is seen twice.
30979 * elf/dl-fini.c (_dl_sort_fini): Likewise.
30980
30981 * elf/Makefile (distribute): Add tst-initorder2.c.
30982 (tests): Add tst-initorder2.
30983 (modules-names): Add tst-initorder2a tst-initorder2b
30984 tst-initorder2c tst-initorder2d. Add rules to build them.
30985 ($(objpfx)tst-initorder2.out): New rule.
30986 * elf/tst-initorder2.c: New file.
30987 * elf/tst-initorder2.exp: New file.
30988
87162f46
AS
309892011-08-22 Andreas Schwab <schwab@redhat.com>
30990
70538b7f
AS
30991 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
30992
f55ffe58
AS
30993 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
30994 dependencies back to end of function.
30995
87162f46
AS
30996 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
30997 $(elfobjdir)/ld.so.
30998
91b392a4
UD
309992011-08-21 Ulrich Drepper <drepper@gmail.com>
31000
31001 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
31002 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
31003 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
31004 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
31005 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
31006 of __vdso_gettimeofday.
31007 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
31008 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
31009 attribute_hidden.
31010 (_libc_vdso_platform_setup): Remove initialization of
31011 __vdso_gettimeofday and __vdso_time.
31012
5c43483f
UD
310132011-08-20 Ulrich Drepper <drepper@gmail.com>
31014
775a77e7
UD
31015 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
31016 and fgetc_unlocked.
31017 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
31018 getc_unlocked.
89f447ed 31019
49c74ba9
UD
31020 * elf/dl-open.c (add_to_global): Report additions to the global scope
31021 for LD_DEBUG=scopes.
31022 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 31023 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 31024
5c43483f
UD
31025 [BZ #13114]
31026 * stdio-common/Makefile (tests): Add bug24.
31027 * stdio-common/bug24.c: New file.
31028
a101b025
AJ
310292011-08-19 Andreas Jaeger <aj@suse.de>
31030
31031 [BZ #13114]
31032 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
31033 non-existant file when using close-on-exec mode.
31034
c88f1766
UD
310352011-08-20 Ulrich Drepper <drepper@gmail.com>
31036
0276a718
UD
31037 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
31038 the very first instruction.
31039
c88f1766
UD
31040 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
31041 the CFI state in the end.
31042 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
31043 inclusion of dl-trampoline.h.
31044 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
31045
51ccffa0
AS
310462011-08-19 Andreas Schwab <schwab@redhat.com>
31047
94d7165f
AS
31048 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
31049 expectations for long double.
31050
51ccffa0
AS
31051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
31052 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
31053
fd708658 310542011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
31055
31056 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
31057 artificual limit depends upon the system page size.
31058
44f0a71e
UD
310592011-08-17 Ulrich Drepper <drepper@gmail.com>
31060
31061 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
31062 * resolv/Makefile: Define CFLAGS-libresolv.
31063
8de79a24
AS
310642011-08-17 Andreas Schwab <schwab@redhat.com>
31065
31066 * nss/makedb.c (compute_tables): Make variables used in nested
31067 function static.
31068
27724598
UD
310692011-08-17 Ulrich Drepper <drepper@gmail.com>
31070
c5305d88
UD
31071 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
31072 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
31073 if buffer was too small.
31074
27724598
UD
31075 * elf/pldd.c (main): Attach to all threads in the process.
31076 Rewrite /proc handling to use *at functions.
31077
076fe015
UD
310782011-08-16 Ulrich Drepper <drepper@gmail.com>
31079
174baab3
UD
31080 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
31081 specifies first scope to show.
31082 (dl_open_worker): Update callers. Move printing scope of new
31083 object to before the relocation.
44f0a71e 31084 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
31085 * sysdeps/generic/ldsodefs.h: Update declaration.
31086
076fe015
UD
31087 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
31088 string for the scope number.
31089
a60df2c3
UD
310902011-08-14 Ulrich Drepper <drepper@gmail.com>
31091
31092 * nscd/servicescache.c (cache_addserv): Make sure written is always
31093 initialized.
31094
5e4287d1
RM
310952011-08-14 Roland McGrath <roland@hack.frob.com>
31096
85ae0589
RM
31097 * sysdeps/i386/i486/bits/atomic.h
31098 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
31099 statement expression, so as to suppress "set but not used" warning.
31100 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
31101
69f63097
RM
31102 * string/strncat.c (STRNCAT): Use prototype definition.
31103
675456ef
RM
31104 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
31105 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
31106 -Iprograms here.
31107 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
31108 (localedef-modules): Add localedef.
31109 (locale-modules): Add locale.
31110
5e4287d1
RM
31111 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
31112 * elf/rtld.c (dl_main): Invert order of assignment in last change,
31113 to avoid a warning.
31114
9c96ff23
DM
311152011-08-14 David S. Miller <davem@davemloft.net>
31116
31117 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
31118 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
31119
f9ddf089
UD
311202011-08-13 Ulrich Drepper <drepper@gmail.com>
31121
44f0a71e 31122 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
31123 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
31124 * elf/rtld.c (dl_main): Set l_name of vDSO.
31125 Call _dl_show_scope when DL_DEBUG_SCOPES.
31126 (process_dl_debug): Recognize scopes flag and also set it for all.
31127 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
31128 Declare _dl_show_scope.
31129
1dc27704
UD
31130 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
31131 (do_dlopen): Pass caller_dlopen to dl_open.
31132 (__libc_dlopen_mode): Initialize caller_dlopen.
31133
f9ddf089
UD
31134 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
31135 of libc. Make tolower call locale-independent. Optimize a bit by
31136 using isdigit instead of isalnum.
31137 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
31138
9ac533d3
UD
311392011-08-12 Ulrich Drepper <drepper@gmail.com>
31140
31141 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
31142 was a dependency or dynamically loaded.
31143
89edf2e9
UD
311442011-08-11 Ulrich Drepper <drepper@gmail.com>
31145
8e999d29
UD
31146 * intl/l10nflist.c: Allow architecture-specific pop function.
31147 * sysdeps/x86_64/l10nflist.c: New file.
31148
89edf2e9
UD
31149 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
31150 classification.
31151
14d96785
AS
311522011-08-10 Andreas Schwab <schwab@redhat.com>
31153
31154 * include/dirent.h: Add libc_hidden_proto for scandirat and
31155 scandirat64. Don't declare __scandirat64.
31156 * dirent/scandirat.c: Add libc_hidden_def.
31157 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
31158 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
31159
6761ac04
DM
311602011-08-10 David S. Miller <davem@davemloft.net>
31161
31162 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
31163 enum.
31164 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31165 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31166 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31167
c55fbd1e
UD
311682011-08-09 Ulrich Drepper <drepper@gmail.com>
31169
31170 * Versions.def [libc]: Add GLIBC_2.15.
31171 * dirent/Makefile (routines): Add scandirat and scandirat64.
31172 * dirent/Versions [libc]: Export scandirat and scandirat64 for
31173 GLIBC_2.15.
31174 * dirent/dirent.h: Declare scandirat and scandirat64.
31175 * dirent/scandirat.c: New file.
31176 * dirent/scandirat64.c: New file.
31177 * sysdeps/wordsize-64/scandirat.c: New file.
31178 * sysdeps/wordsize-64/scandirat64.c: New file.
31179 * dirent/opendir.c: Define opendirat.
31180 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
31181 using scandirat.
31182 * dirent/scandir64.c: Adjust for scandir.c change.
31183 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
31184 __scandirat64, and __scandir_cancel_handler.
31185 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
31186 additional parameter and use openat instead of open (outside of ld.so).
31187 Add new __opendir as wrapper around __opendirat.
31188 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
31189 here without requiring old scandirat implementation.
31190
879165f2
UD
311912011-08-08 Ulrich Drepper <drepper@gmail.com>
31192
31193 * dirent/scandir.c (cancel_handler): Renamed to
31194 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
31195 defined. Adjust users.
31196 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
31197 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
31198
cb7e923b
UD
311992011-08-04 Ulrich Drepper <drepper@gmail.com>
31200
16292edd
UD
31201 * string/test-string.h (IMPL): Use __STRING to expand name and then
31202 stringify it.
31203
cb7e923b
UD
31204 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
31205 of cleanups.
31206
cff82933
LD
312072011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31208
31209 * string/Makefile: Update.
31210 (strop-tests): Append strncat.
31211 * string/test-wcscmp.c: New file.
31212 New comprehensive test for wcscmp.
31213 * string/test-strcmp.c: Update.
31214 (WIDE): New define.
31215
9be9bfcc
AS
312162011-07-22 Andreas Schwab <schwab@redhat.com>
31217
31218 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
31219 line.
31220
2e96f1c7
AS
312212011-07-26 Andreas Schwab <schwab@redhat.com>
31222
31223 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
31224 encoding to ACE if AI_IDN.
31225
85188888
JJ
312262011-08-01 Jakub Jelinek <jakub@redhat.com>
31227
31228 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
31229 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
31230
5fa16e9b
LD
312312011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31232
31233 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
31234 Fix overflow bug in strncat.
31235 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
31236
31237 * string/test-strncat.c: Update.
31238 Add new tests for checking overflow bugs.
31239
312402011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31241
31242 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31243 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
31244 * sysdeps/i386/i686/multiarch/strcat.S: New file.
31245 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
31246 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
31247 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
31248 * sysdeps/i386/i686/multiarch/strncat.S: New file.
31249 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
31250 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
31251
31252 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
31253 (USE_AS_STRCAT): Define.
31254 Add strcat and strncat support.
31255 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
31256
8c1a459f
AS
312572011-07-25 Andreas Schwab <schwab@redhat.com>
31258
31259 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
31260 __n bigger than INT_MAX+1.
31261 (__strncmp_g): Likewise.
31262
bba33c28
UD
312632011-07-23 Ulrich Drepper <drepper@gmail.com>
31264
798be72d
UD
31265 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
31266 * libio/stido.h: Likewise.
31267
8accd4dc
UD
31268 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
31269 (AF_NFC): Define.
31270 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
31271 (AF_NFC): Define.
31272
cbff0d96
UD
31273 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
31274 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31275 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31276 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
31277 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31278
9191c04a
UD
31279 [BZ #13021]
31280 * scripts/test-installation.pl: Don't expect libnss_test1 to be
31281 installed.
31282
bba33c28
UD
31283 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
31284 typo.
31285 (_dl_x86_64_save_sse): Likewise.
31286
90f139dd
UD
312872011-07-22 Ulrich Drepper <drepper@gmail.com>
31288
1aae088a
UD
31289 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
31290 OSXSAVE.
31291 (_dl_x86_64_save_sse): Likewise.
31292
8e2045f5
UD
31293 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
31294
90f139dd
UD
31295 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
31296
1d002f25
AS
312972011-07-21 Andreas Schwab <schwab@redhat.com>
31298
31299 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
31300 change.
31301 (_dl_x86_64_save_sse): Use correct AVX check.
31302
21137f89
UD
313032011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31304
31305 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
31306 bug in strncpy/strncat.
31307 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
31308
a65c0b7a
UD
313092011-07-21 Ulrich Drepper <drepper@gmail.com>
31310
31311 * string/tester.c (test_strcat): Add tests for different alignments
31312 of source and destination.
31313 (test_strncat): Likewise.
31314
6986b98a
UD
313152011-07-20 Ulrich Drepper <drepper@gmail.com>
31316
90bb2039
UD
31317 [BZ #12852]
31318 * posix/glob.c (glob): Check passed in values before using them in
31319 expressions to avoid some overflows.
31320 (glob_in_dir): Likewise.
31321
5644ef54
UD
31322 [BZ #13007]
31323 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
31324 check for AVX enablement so that we don't crash with old kernels and
31325 new hardware.
31326 * elf/tst-audit4.c: Add same checks here.
31327 * elf/tst-audit6.c: Likewise.
31328
31329 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 31330
bfc9dc9b
AS
313312011-07-09 Andreas Schwab <schwab@linux-m68k.org>
31332
31333 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
31334
702e64bb
UD
313352011-07-20 Ulrich Drepper <drepper@gmail.com>
31336
31337 * po/cs.po: Update from translation team.
31338 * po/bg.po: Likewise.
31339
295e904f
MP
313402011-07-12 Marek Polacek <mpolacek@redhat.com>
31341
31342 * misc/sys/cdefs.h: Add support for const attribute.
31343 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
31344 to gnu_dev_{major,minor,makedev} functions.
31345
3ff94596
MP
313462011-07-20 Marek Polacek <mpolacek@redhat.com>
31347
31348 * intl/dcigettext.c (get_output_charset): Add missing bracket.
31349
28b59fca
AS
313502011-07-20 Andreas Schwab <schwab@redhat.com>
31351
31352 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
31353 strlen results.
31354
19df733e
AK
313552011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31356
31357 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
31358 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
31359 register in order to avoid conflicts with the soft frame pointer
31360 being held in r11 when necessary.
31361 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
31362 (INTERNAL_VSYSCALL_NCS): Likewise.
31363
c8835729
MP
313642011-07-14 Marek Polacek <mpolacek@redhat.com>
31365
31366 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
31367 * elf/dl-fini.c (_dl_fini): Adjust caller.
31368 * elf/dl-close.c (_dl_close_worker): Likewise.
31369 * sysdeps/generic/ldsodefs.h: Adjust declaration.
31370
b902330c
MP
313712011-07-15 Marek Polacek <mpolacek@redhat.com>
31372
8991e135
MP
31373 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
31374 "aux_cache->nlibs < 0".
31375
b902330c
MP
31376 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
31377 in the reload-count case.
31378
99710781
LD
313792011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31380
31381 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31382 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
31383 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
31384 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
31385 * sysdeps/x86_64/multiarch/strcat.S: New file.
31386 * sysdeps/x86_64/multiarch/strncat.S: New file.
31387 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
31388 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
31389 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
31390 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
31391 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
31392 (USE_AS_STRCAT): Define.
31393 Add strcat and strncat support.
31394 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
31395 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
31396 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
31397 * string/strncat.c: Update.
31398 (USE_AS_STRNCAT): Define.
31399 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31400 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
31401 and i7.
31402 * sysdeps/x86_64/multiarch/init-arch.h
31403 (bit_Prefer_PMINUB_for_stringop): New.
31404 (index_Prefer_PMINUB_for_stringop): Likewise.
31405 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
31406 bit_Prefer_PMINUB_for_stringop.
31407
7dc6bd90
UD
314082011-07-19 Ulrich Drepper <drepper@gmail.com>
31409
31410 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
31411 buffer64.
31412 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
31413 of casting of buffer.
31414 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
31415 buffer32 and buffer64.
31416 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
31417 writes instead of casting of buffer.
31418 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
31419 buffer32.
31420 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
31421 casting of buffer.
31422
e0e72284
AS
314232011-07-19 Andreas Schwab <schwab@redhat.com>
31424
31425 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
31426
feb1eb0b
UD
314272011-07-19 Ulrich Drepper <drepper@gmail.com>
31428
31429 * nscd/nscd.c (termination_handler): Don't do anything for a database
31430 if it has not yet been initialized.
31431
298711ff
UD
314322011-07-18 Ulrich Drepper <drepper@gmail.com>
31433
31434 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
31435
314362011-07-15 Marek Polacek <mpolacek@redhat.com>
31437
31438 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
31439
f9d68389
UD
314402011-07-18 Ulrich Drepper <drepper@gmail.com>
31441
31442 * po/nl.po: Update from translation team.
31443 * po/sv.po: Likewise.
31444
db290cf5
RM
314452011-07-16 Roland McGrath <roland@hack.frob.com>
31446
31447 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
31448 now disallowed by GCC.
5c550700 31449
fd5e21c7
RM
31450 * configure.in (use-default-link): Default to yes if a test -shared
31451 link meets our qualifications.
31452 * configure: Regenerated.
31453
5c550700
RM
31454 * config.make.in (output-format): New variable.
31455 * configure.in: Check for ld --print-output-format support.
31456 * configure: Regenerated.
31457 * Makerules ($(common-objpfx)format.lds)
31458 [$(output-format) != unknown]: Just use $(output-format),
31459 instead of the linker-script munging.
31460
9fa2c032
RM
314612011-07-14 Roland McGrath <roland@hack.frob.com>
31462
a6928d51
RM
31463 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
31464 of $(common-objpfx)shlib.lds.
31465 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
31466
661607b3
RM
31467 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
31468 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
31469
9fa2c032
RM
31470 * configure.in (-z relro check): Adjust test code to add a large
31471 writable data section after it.
31472 * configure: Regenerated.
31473
defe9061
RM
314742011-07-11 Roland McGrath <roland@hack.frob.com>
31475
31476 * configure.in (-z relro check): Fix test code to make the variable
31477 truly const.
31478 * configure: Regenerated.
31479
319b9ad4
UD
314802011-07-11 Ulrich Drepper <drepper@gmail.com>
31481
31482 * nscd/nscd.h (struct traced_file): Define.
31483 (struct database_dyn): Remove inotify_descr, reset_res, and filename
31484 elements. Add traced_files.
31485 (inotify_fd): Declare.
31486 (register_traced_file): Declare.
31487 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
31488 (inotify_fd): Export.
31489 (resolv_conf_descr): Remove.
31490 (nscd_init): Move inotify descriptor creation to main.
31491 Don't register files for notification here.
31492 (register_traced_file): New function.
31493 (invalidate_cache): Don't use reset_res to determine whether to call
31494 res_init, go through the list of registered files.
31495 (main_loop_poll): The inotify descriptors are now stored in the
31496 structures for the traced files.
31497 (main_loop_epoll): Likewise
31498 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
31499 to __nss_disable_nscd.
31500 * nscd/cache.c (prune_cache): There is no single inotify descriptor
31501 for a database anymore. Check the records for all the registered
31502 files instead.
31503 * nss/Makefile (libnss_files-routines): Add files-init.
31504 (libnss_db-routines): Add db-init.
31505 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
31506 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
31507 * nss/nss_db/db-init.c: New file.
31508 * nss/nss_files/files-init.c: New file.
31509 * nss/nsswitch.c (nss_load_library): New function. Broken out of
31510 __nss_lookup_function.
31511 (__nss_lookup_function): Call nss_load_library.
31512 (nss_load_all_libraries): New function.
31513 (__nss_disable_nscd): Take parameter with callback function for files
31514 to register. Set is_nscd. Load all the DSOs for the NSS modules
31515 used for the cached services.
31516 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
31517 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
31518 options for features to all the files in nscd.
31519
31520 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
31521
23bee3e8
RM
315222011-07-10 Roland McGrath <roland@hack.frob.com>
31523
31524 * csu/elf-init.c (__libc_csu_init): Comment typo.
31525
46a5b7f0
UD
315262011-07-09 Ulrich Drepper <drepper@gmail.com>
31527
31528 * po/pl.po: Update from translation team.
31529 * po/ja.po: Likewise.
31530 * po/ru.po: Likewise.
31531 * po/ko.po: Likewise.
31532 * po/fr.po: Likewise.
31533
d30cf5bb
RM
315342011-07-09 Roland McGrath <roland@hack.frob.com>
31535
113ddea4
RM
31536 * configure.in (.ctors/.dtors header and trailer check):
31537 Use an empirical test on a built program.
31538 * configure: Regenerated.
31539
574920b4
RM
31540 * configure.in (-z relro check): Use an empirical test on a built DSO.
31541 Detect, but do not require, on ia64.
31542 * configure: Regenerated.
31543
d30cf5bb
RM
31544 * configure.in (READELF): Find it with AC_CHECK_TOOL.
31545 Update tests that use readelf to use $READELF instead.
31546 * configure: Regenerated.
31547
8538fdb3
UD
315482011-07-08 Ulrich Drepper <drepper@gmail.com>
31549
31550 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
31551 if the result is not used.
31552
04d08991
AJ
315532011-07-05 Andreas Jaeger <aj@suse.de>
31554
31555 [BZ#9696]
31556 * stdlib/tst-strtod.c: Add testcase.
31557
de283087
AD
315582011-07-07 Ulrich Drepper <drepper@gmail.com>
31559
4e5f31c8 31560 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 31561 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
31562 The latter has a higher limit. Take additional parameter to pass to
31563 the new function.
31564 (__pathconf): Pass file to __statfs_link_max.
31565 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
31566 __statfs_link_max.
31567 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
31568 __statfs_link_max.
31569
de283087
AD
31570 [BZ #12868]
31571 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
31572 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31573 Handle Lustre.
31574 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
31575 (__statfs_filesize_max): Likewise.
31576 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
31577
c75fa153
AJ
315782011-07-05 Andreas Jaeger <aj@suse.de>
31579
31580 * resolv/res_comp.c (dn_skipname): Remove unused variable.
31581
1a544854
UD
315822011-07-06 Marek Polacek <mpolacek@redhat.com>
31583
31584 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
31585 `status' variable.
31586 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
31587 Likewise.
31588
6f0eec67
UD
315892011-07-04 H.J. Lu <hongjiu.lu@intel.com>
31590
31591 * Makefile (strop-tests): Add strncat.
31592 * string/test-strncat.c: New file.
31593
aae30307
UD
315942011-06-30 Marek Polacek <mpolacek@redhat.com>
31595
31596 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
31597
c0cfb5eb
UD
315982011-06-21 Andreas Jaeger <aj@suse.de>
31599
31600 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
31601 Copy rule from iconvdata/Makefile.
31602
01636b21
UD
316032011-07-06 Ulrich Drepper <drepper@gmail.com>
31604
31605 [BZ #12922]
31606 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
31607 but no long options are defined, just return 'W'.
31608
9895c8bc
UD
316092011-06-22 Marek Polacek <mpolacek@redhat.com>
31610
31611 [BZ #9696]
31612 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
31613
5d4cf042
UD
316142011-07-06 Ulrich Drepper <drepper@gmail.com>
31615
31616 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
31617 netgroups to read.
960e5535 31618 (innetgr): Likewise.
5d4cf042 31619
751eb97e
RM
316202011-07-05 Roland McGrath <roland@hack.frob.com>
31621
31622 * config.make.in (install_root): Default to $(DESTDIR).
31623
f15f1e45
UD
316242011-07-05 Ulrich Drepper <drepper@gmail.com>
31625
31626 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
31627
4e34ac6a
RM
316282011-07-02 Roland McGrath <roland@hack.frob.com>
31629
5e9b6af4
RM
31630 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
31631
84f9ea0f
RM
31632 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
31633 containing directory rather than embedding absolute directory names.
31634
ea5ee9f7
RM
31635 * scripts/check-local-headers.sh: Rewritten using awk.
31636 Match by word, not by line. Print error messages for matches.
31637 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
31638
1b74661a
RM
31639 * Makerules [shlib-lds-flags empty]:
31640 ($(common-objpfx)libc_pic.opts): New target.
31641 ($(common-objpfx)libc_pic.os.clean): New target.
31642 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
31643
31644 * config.make.in (OBJCOPY): New variable.
31645 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
31646 * configure: Regenerated.
31647
f781ef40
RM
31648 * config.make.in (use-default-link): New variable.
31649 * configure.in (use_default_link): Grok --with-default-link to set it.
31650 * configure: Regenerated.
31651 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
31652 (shlib-lds, shlib-lds-flags): Define to empty.
31653
2d4fa81e
RM
31654 * Makerules (shlib-lds): New variable.
31655 (shlib-lds-flags): New variable.
31656 (build-shlib, build-moduile, build-module-asneeded): Use it.
31657 ($(common-objpfx)libc.so): Use $(shlib-lds).
31658 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
31659 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
31660
31fffa6b
RM
31661 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
31662 DT_FLAGS/DT_FLAGS_1 with zero flags.
31663
4e34ac6a
RM
31664 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
31665 linker script munging.
31666
fcfc776b
UD
316672011-07-02 Ulrich Drepper <drepper@gmail.com>
31668
31669 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
31670 as 128-bit value.
31671 * crypt/sha512.c (sha512_process_block): Perform total addition using
31672 128-bit if possible.
31673 (__sha512_finish_ctx): Likewise.
31674 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
31675 as 64-bit value.
31676 * crypt/sha256.c (SWAP64): Define.
31677 (sha256_process_block): Perform total addition using 64-bit if
31678 possible.
31679 (__sha256_finish_ctx): Likewise.
31680
99231d9a
UD
316812011-07-01 Ulrich Drepper <drepper@gmail.com>
31682
31683 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
31684 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31685 * nscd/hstcache.c (cache_addhst): Likewise.
31686 * nscd/grpcache.c (cache_addgr): Likewise.
31687 * nscd/aicache.c (addhstaiX): Likewise
31688 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
31689
445b4a53
TK
316902011-07-01 Thorsten Kukuk <kukuk@suse.de>
31691
31692 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
31693 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31694 * nscd/hstcache.c (cache_addhst): Likewise.
31695 * nscd/grpcache.c (cache_addgr): Likewise.
31696 * nscd/aicache.c (addhstaiX): Likewise
31697
6d4d8e8e
AS
316982011-07-01 Andreas Schwab <schwab@redhat.com>
31699
31700 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
31701 domain only when needed.
31702
89f654c5
AS
317032011-06-30 Andreas Schwab <schwab@redhat.com>
31704
31705 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
31706 is always restored.
31707
cf3b23ff
UD
317082011-06-29 Ulrich Drepper <drepper@gmail.com>
31709
31710 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
31711 are re-adding the entry.
31712 * nscd/servicescache.c (cache_addserv): Likewise.
31713
751626f9
AJ
317142011-06-30 Aurelien Jarno <aurelien@aurel32.net>
31715
31716 * sysdeps/generic/dl-irel.h: fix protection against multiple
31717 inclusions.
31718 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
31719
9113ea1f
UD
317202011-06-28 Ulrich Drepper <drepper@gmail.com>
31721
5c0b8d90
UD
31722 [BZ #12935]
31723 * malloc/memusage.sh: Fix quoting in message.
31724 * debug/xtrace.sh: Likewise.
31725
9113ea1f
UD
31726 * configure.in: Remove support for --experimental-malloc option, make
31727 it the default.
31728 * config.make.in: Likewise.
31729 * malloc/Makefile: Likewise.
31730
a4172181
AS
317312011-06-27 Andreas Schwab <schwab@redhat.com>
31732
31733 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
31734 two-byte characters.
31735
78a7eee7
RM
317362011-06-27 Roland McGrath <roland@hack.frob.com>
31737
62bede13
RM
31738 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
31739 AC_CACHE_CHECK invocation.
31740 * configure: Regenerated.
31741
78a7eee7
RM
31742 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
31743
5ce33a62
UD
317442011-06-27 Ulrich Drepper <drepper@gmail.com>
31745
034807a9
UD
31746 [BZ #12350]
31747 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
31748 bit from old_res_options.
31749
4902da17
UD
31750 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
31751
5ce33a62
UD
31752 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
31753 value type for setfct.
31754
c2344f56
L
317552011-06-23 H.J. Lu <hongjiu.lu@intel.com>
31756
31757 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
31758 __gettimeofday instead of gettimeofday.
31759
68468076
UD
317602011-06-26 Ulrich Drepper <drepper@gmail.com>
31761
31762 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
31763
acb0d739
L
317642011-06-24 H.J. Lu <hongjiu.lu@intel.com>
31765
31766 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
31767
31768 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
31769 info.
31770
8912479f
L
317712011-06-22 H.J. Lu <hongjiu.lu@intel.com>
31772
31773 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31774 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
31775 strcpy-sse2-unaligned strncpy-sse2-unaligned
31776 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
31777 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
31778 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
31779 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
31780 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
31781 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
31782 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
31783 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
31784 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
31785 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
31786 (STRCPY): Support SSE2 and SSSE3 versions.
31787
d5495a11
UD
317882011-06-24 Ulrich Drepper <drepper@gmail.com>
31789
31790 [BZ #12874]
31791 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
31792 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
31793 kernels which artificially limit size of requests.
31794
0b1cbaae
L
317952011-06-22 H.J. Lu <hongjiu.lu@intel.com>
31796
31797 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31798 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
31799 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
31800 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
31801 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
31802 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
31803 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
31804 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
31805 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
31806 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
31807 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
31808 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
31809 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
31810 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
31811 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
31812 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31813 Enable unaligned load optimization for Intel Core i3, i5 and i7
31814 processors.
31815 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
31816 Define.
31817 (index_Fast_Unaligned_Load): Define.
31818 (HAS_FAST_UNALIGNED_LOAD): Define.
31819
07f494a0
MP
318202011-06-23 Marek Polacek <mpolacek@redhat.com>
31821
31822 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
31823
fa3fc0fe
UD
318242011-06-22 Ulrich Drepper <drepper@gmail.com>
31825
31826 [BZ #12907]
31827 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
31828 until it is clear that the information is realy needed.
31829 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
31830
e12df166
AS
318312011-06-22 Andreas Schwab <schwab@redhat.com>
31832
31833 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
31834
852eb34d
UD
318352011-06-22 Ulrich Drepper <drepper@gmail.com>
31836
84e2a551
UD
31837 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
31838 /sys/devices/system/cpu/online if it is usable.
31839
852eb34d
UD
31840 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
31841 reading the information from the /proc filesystem to once a second.
31842
6e502e19
UD
318432011-06-21 Andreas Jaeger <aj@suse.de>
31844
31845 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
31846 NULL after inclusion of kernel headers.
31847
75d39ff2
UD
318482011-06-21 Ulrich Drepper <drepper@gmail.com>
31849
51f9aa6a
UD
31850 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
31851 calls to internal_setent.
31852
c0244a9d
UD
31853 [BZ #12885]
31854 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
31855 addresses using gethostbyname4_r ignore IPv4 addresses.
31856
c5e3c2ae
UD
31857 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
31858 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
31859
75d39ff2
UD
31860 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
31861
42675c6f
DM
318622011-06-20 David S. Miller <davem@davemloft.net>
31863
31864 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
31865 inclusions.
31866 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
31867
31868 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
31869 (elf_irel): Use it.
31870 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
31871 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
31872 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
31873 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
31874 * sysdeps/x86_64/dl-irel.h: Likewise.
31875
31876 * elf/dl-runtime.c: Use elf_ifunc_invoke.
31877 * elf/dl-sym.c: Likewise.
31878
57912a71
UD
318792011-06-15 Ulrich Drepper <drepper@gmail.com>
31880
31881 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
31882 need to dereference resplen2.
31883
ee22793d
AS
318842011-06-14 Andreas Schwab <schwab@redhat.com>
31885
31886 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
31887
a9e836b0
UD
318882011-06-15 Ulrich Drepper <drepper@gmail.com>
31889
77fb9117
UD
31890 * Makeconfig: Define vardbdir and inst_vardbdir.
31891 * nss/Makefile: Add rules to install db-Makefile.
31892
40c1b22c
UD
31893 * nss/nss_db/db-XXX.c: Cleanup.
31894
9f2da732
UD
31895 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
31896 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
31897 GLIBC_PRIVATE.
31898 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
31899 * nss/makedb.c: Implement -g option to specify that value strings
31900 are generated and should not be added to table iterated over for
31901 get*ent calls.
31902 * nss/nss_db/db-initgroups.c: New file.
31903
82e9a1f7
UD
31904 * nss/getent.c: Add support for initgroups lookups through getgrouplist
31905 interface.
31906
c41af17e
UD
31907 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
31908 (internal_getgrouplist): Adjust to name change.
31909 Update use_initgroups_entry if this is not the first call.
31910 * nss/databases.def: Add initgroups entry.
31911
a9e836b0
UD
31912 * nss/makedb.c (compute_tables): Check result of multiple hash table
31913 sizes to minimize maximum chain length.
31914
2666d441
UD
319152011-06-14 Ulrich Drepper <drepper@gmail.com>
31916
31917 * Versions.def: Add entry for libnss_db.
31918 * shlib-versions: Likewise.
31919 * nss/Makefile: Add rules to build libnss_db.
31920 * nss/Versions: Add libnss_db information. Organize libnss_files
31921 entries better.
31922 * nss/db-Makefile: Add gshadow support. Change rules for the new
31923 makedb progra. Some minor improvements to generate smaller files.
31924 * nss/nss_db/nss_db.h: Move NSS database header data structures to
31925 here from...
31926 * nss/makedb.c: ...here.
31927 Improve database format to be smaller and require less memory at
31928 runtime.
31929 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
31930 db anymore.
31931 * nss/nss_db/db-netgrp.c: Likewise.
31932 * nss/nss_db/db-open.c: Likewise.
31933 * nss/nss_files/flies-XXX.x: Adjust comments.
31934 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
31935 * nss/nss_files/files-grp.c: Likewise.
31936 * nss/nss_files/files-hosts.c: Likewise.
31937 * nss/nss_files/files-network.c: Likewise.
31938 * nss/nss_files/files-proto.c: Likewise.
31939 * nss/nss_files/files-pwd.c: Likewise.
31940 * nss/nss_files/files-rpc.c: Likewise.
31941 * nss/nss_files/files-service.c: Likewise.
31942 * nss/nss_files/files-sgrp.c: Likewise.
31943 * nss/nss_files/files-spwd.c: Likewise.
31944 * nss/nss_db/db-alias.c: Removed.
31945 * nss/nss_db/dummy-db.h: Removed.
31946
9ee76b5a
UD
319472011-06-02 Ulrich Drepper <drepper@gmail.com>
31948
31949 * nss/makedb.c: Rewritten to not use database library.
31950 * nss/Makefile: Update to build new makedb program.
31951
c71ca1f8
AJ
319522011-06-14 Andreas Jaeger <aj@suse.de>
31953
31954 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
31955 memset declaration.
31956
3154bfb8
UD
319572011-06-10 Andreas Schwab <schwab@redhat.com>
31958
31959 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
31960 tmpbuf.
31961
b350afab
RM
319622011-06-10 Roland McGrath <roland@hack.frob.com>
31963
decd4e50
RM
31964 * Makerules (shlib.lds): Fail if the linker script comes out empty.
31965 * elf/Makefile ($(objpfx)ld.so): Likewise.
31966
5615eaf2
RM
31967 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
31968 Don't list ld.so twice in dependencies.
31969
31970 * posix/bug-regex31.c: Include <stdlib.h>.
31971
31972 * nscd/hstcache.c (cache_addhst): Remove unused variable.
31973
31974 * nis/nss_compat/compat-spwd.c
31975 (getspent_next_nss_netgr): Remove unused variable.
31976 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
31977
31978 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
31979 nonmembers" output to use the right array.
31980
31981 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
31982
31983 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
31984
31985 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
31986 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
31987 * catgets/gencat.c (read_input_file): Likewise.
31988 * locale/programs/locarchive.c (enlarge_archive): Likewise.
31989
31990 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
31991 variable definition inside #if's controlling its use.
31992
31993 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
31994
31995 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
31996
31997 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
31998
31999 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
32000 unreachable code.
32001
32002 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
32003
b68e08db
RM
32004 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
32005 * configure: Regenerated.
32006
b350afab
RM
32007 * Makerules: Revert last change.
32008 * elf/Makefile: Likewise.
32009
28368601
RM
320102011-06-09 Roland McGrath <roland@hack.frob.com>
32011
32012 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
32013 * elf/Makefile ($(objpfx)librtld.os): Likewise.
32014 (reloc-link): Likewise.
32015
11988f8f
UD
320162011-06-09 Ulrich Drepper <drepper@gmail.com>
32017
32018 * elf/Makefile: Add rules to build pldd.
32019 * elf/pldd.c: New file.
32020 * elf/pldd-xx.c: New file.
32021
e80fab37
UD
320222011-06-07 Ulrich Drepper <drepper@gmail.com>
32023
32024 * version.h: Update for 2.15 development version.
32025
9b849836
DM
320262011-06-07 David S. Miller <davem@davemloft.net>
32027
32028 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
32029 ifuncs.
32030 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
32031 elf_machine_lazy_rel): Likewise.
32032 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
32033 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
32034 elf_machine_lazy_rel): Likewise.
32035 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
32036 dl_hwcap via passed in argument.
32037 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
32038 Likewise.
32039
5a31b283
AK
320402011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32041
32042 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
32043
069e52f8
RM
320442011-06-06 Roland McGrath <roland@hack.frob.com>
32045
32046 [BZ #12849]
32047 * manual/fdl-1.1.texi: New file, verbatim from:
32048 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
32049 * manual/lgpl-2.1.texi: New file, verbatim from:
32050 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
32051 * manual/Makefile (licenses): New variable, list those new file names.
32052 (texis): Use it.
32053 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
32054
32055 * manual/fdl.texi: File removed.
32056 * manual/lesser.texi: File removed.
32057 * manual/libc.texinfo (Copying, Documentation License):
32058 Use new @include file names, put @appendix directive before @include.
32059
f16846a5
JJ
320602011-06-04 Jakub Jelinek <jakub@redhat.com>
32061
32062 [BZ #12841]
32063 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
32064 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
32065 (mq_open): Add __NTH.
32066
3d29045b
L
320672011-06-02 H.J. Lu <hongjiu.lu@intel.com>
32068
32069 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32070 Assume Intel Core i3/i5/i7 processor if AVX is available.
32071
8c297311
UD
320722011-05-31 Ulrich Drepper <drepper@gmail.com>
32073
32074 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
32075 typo.
32076
c8fc0c91
UD
320772011-05-31 Andreas Schwab <schwab@redhat.com>
32078
32079 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
32080 memory. Use alloca_account. Fix memory leak when retrying.
32081
5b27a807
UD
320822011-05-31 Ulrich Drepper <drepper@gmail.com>
32083
356f8bc6
UD
32084 * version.h (RELEASE): Bump for 2.14 release.
32085 * include/features.h (__GLIBC_MINOR__): Bump to 14.
32086
5b27a807
UD
32087 * config.make.in (RANLIB): Remove entry.
32088
01f16ab0
UD
320892011-05-30 Ulrich Drepper <drepper@gmail.com>
32090
41fce8bd
UD
32091 * po/Makefile (po-sed-cmd): Add ksh to extensions.
32092 (libc.pot): Work around missing support for .ksh extension in xgettext.
32093
4769ae77
UD
32094 [BZ #12684]
32095 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
32096 if both request failed.
32097 (send_dg): In case of server errors clear resplen or *resplen2.
32098
6b1e7d19
UD
32099 [BZ #12454]
32100 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
32101 when there are multiple maps.
32102 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
32103 (_dl_fini): Remove test here.
32104
01f16ab0
UD
32105 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
32106
b1ebd700
UD
321072011-05-29 Ulrich Drepper <drepper@gmail.com>
32108
7ae22829
UD
32109 [BZ #12350]
32110 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
32111 bit from old_res_options.
32112 (gaih_inet): Likewise.
32113
553149f6 32114 [BZ #11099]
18a84741 32115 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
32116 as signed.
32117
652ffab1
UD
32118 * resolv/res_init.c (res_setoptions): Make the code more compact.
32119
16985fd0
UD
32120 [BZ #11558]
32121 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
32122 set RES_USEVC.
32123
0464f746
UD
32124 [BZ #11634]
32125 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
32126
7d17596c
UD
32127 * malloc/malloc.h: Mark malloc hook variables as deprecated.
32128
cf6bbbd7
UD
32129 [BZ #11781]
32130 * malloc/malloc.h: Declare malloc hook variables as volatile.
32131
13f1ab36
UD
32132 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
32133 in last patch.
32134
b1ebd700
UD
32135 [BZ #11799]
32136 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 32137 raise in the comment.
80e2212d
UD
32138 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
32139 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
32140 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 32141
ce67228d
UD
321422011-05-28 Ulrich Drepper <drepper@gmail.com>
32143
8887a920
UD
32144 [BZ #12811]
32145 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
32146 grow the buffers more if it already has to be sufficient.
32147 (build_wcs_upper_buffer): Likewise.
32148 * posix/regexec.c (check_matching): Likewise.
32149 (clean_state_log_if_needed): Likewise.
32150 (extend_buffers): Don't enlarge buffers beyond size of the input
32151 buffer.
32152 Patches mostly by Emil Wojak <emil@wojak.eu>.
32153 * posix/bug-regex32.c: New file.
32154 * posix/Makefile (tests): Add bug-regex32.
32155
4f031072
UD
32156 * locale/findlocale.c (_nl_find_locale): Return right away if
32157 _nl_explode_name failed.
32158 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
32159
d0478f0c
UD
32160 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
32161
de81b246
UD
32162 * debug/xtrace.sh: Unify messages.
32163 * malloc/memusage.sh: Likewise.
32164
c738465a
UD
32165 [BZ #12813]
32166 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
32167 time symbol from vDSO. Substitute with vsyscall if not available.
32168 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
32169 __vdso_time.
32170
f1f929d7
UD
32171 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
32172 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
32173 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
32174 Add sendmmsg and internal_sendmmsg.
32175 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
32176 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
32177 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
32178
ce67228d
UD
32179 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
32180 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
32181 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
32182
e57420c6
UD
321832011-05-27 Ulrich Drepper <drepper@gmail.com>
32184
a8509ca5
UD
32185 [BZ #12813]
32186 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
32187 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
32188 available.
32189 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
32190 __vdso_getcpu.
32191
e57420c6
UD
32192 [BZ #12814]
32193 * iconvdata/Makefile (tests): Add bug-iconv9.
32194 * iconvdata/bug-iconv9.c: New file.
32195
4d07db15
AS
321962011-05-27 Andreas Schwab <schwab@redhat.com>
32197
32198 [BZ #12814]
32199 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
32200
ea486f69
JJ
322012011-05-25 Jakub Jelinek <jakub@redhat.com>
32202
32203 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
32204 (struct user_regs_struct): Change intcs field back to cs.
32205
6f038433
UD
322062011-05-25 Ulrich Drepper <drepper@gmail.com>
32207
32208 * po/ja.po: Update from translation team.
32209
67f86a25
UD
322102011-05-23 Ulrich Drepper <drepper@gmail.com>
32211
32212 [BZ #12795]
32213 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
32214 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
32215
def7fbd6
AS
322162011-05-20 Andreas Schwab <schwab@redhat.com>
32217
32218 * stdlib/longlong.h: Update from GCC.
32219
f50ef8f1
AS
322202011-05-23 Andreas Schwab <schwab@redhat.com>
32221
32222 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
32223 parameter name.
32224 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
32225 Add parameter name.
32226 (__sysconf): Pass it down.
32227
de7ce8f1
UD
322282011-05-22 Ulrich Drepper <drepper@gmail.com>
32229
f2962a71
UD
32230 [BZ #12671]
32231 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
32232 some situations.
32233 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
32234 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
32235 add in in __libc_use_alloca calls. Adjust callers.
32236 (glob): Use malloc in some situations.
32237
de7ce8f1
UD
32238 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
32239 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
32240 pltexit.
32241
aec84f53
UD
322422011-05-21 Ulrich Drepper <drepper@gmail.com>
32243
05bb4a68
UD
32244 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
32245 and CLOCK_BOOTTIME_ALARM.
32246
7ea72f99
UD
32247 [BZ #12782]
32248 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
32249 is returned.
32250
7e4afad5
UD
32251 * string/_strerror.c (__strerror_r): Print negative errors as signed
32252 numbers.
32253
8e211fec
UD
32254 [BZ #12777]
32255 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
32256 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
32257 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
32258
f7d82dc9
UD
32259 * configure.in: Fix typo in redirection and correct removal of test
32260 files in two cases.
32261
cc9e536d
UD
32262 [BZ #12788]
32263 * locale/setlocale.c (new_composite_name): Fix test to check for
32264 identical name of all categories.
32265
aec84f53
UD
32266 [BZ #12792]
32267 * libio/filedoalloc.c (local_isatty): New function.
32268 (_IO_file_doallocate): Use local_isatty.
32269 * stdio-common/perror.c (perror): In case a new stream is used
32270 forward the stream error.
32271 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
32272 error flag.
32273
78e64fdc
RT
322742011-05-20 Ulrich Drepper <drepper@gmail.com>
32275
34a9094f
UD
32276 [BZ #11869]
32277 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
32278 alloca.
32279 * include/alloca.h (extend_alloca_account): Define.
32280
78e64fdc
RT
32281 [BZ #11857]
32282 * posix/regex.h: Fix comments with documentation of user-accessible
32283 fields after compilation and describe correct free'ing of pattern
32284 after re_compile_pattern.
32285 Patch by Reuben Thomas <rrt@sc3d.org>.
32286
457bddfc
RA
322872011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
32288
32289 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
32290 and -mno-altivec to prevent the compiler from using Altivec and/or
32291 VSX instructions when the corresponding registers are not available.
32292
a4527b51
AS
322932011-05-19 Andreas Schwab <schwab@redhat.com>
32294
32295 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
32296
ed690b2f
UD
322972011-05-19 Ulrich Drepper <drepper@gmail.com>
32298
32299 * libio/freopen.c (freopen): Use __dup2, not dup2.
32300 * libio/freopen64.c (freopen64): Likewise.
32301
8db73634
L
323022011-05-17 H.J. Lu <hongjiu.lu@intel.com>
32303
32304 [BZ #12775]
32305 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
32306 * math/Makefile (tests): Add test-powl.
32307 (CFLAGS-test-powl.c): Define.
32308 * math/test-powl.c: New file.
32309
0a197a9d
L
323102011-05-16 H.J. Lu <hongjiu.lu@intel.com>
32311
32312 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
32313
ee30c380
UD
323142011-05-17 Ulrich Drepper <drepper@gmail.com>
32315
32316 [BZ #11837]
32317 * iconvdata/gb18030.c: Update to GB18020-2005.
32318
6ce75379
UD
323192011-05-16 Ulrich Drepper <drepper@gmail.com>
32320
a4b89fd8
AR
32321 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
32322 RE_SYNTAX_POSIX_AWK): Update to match recent development.
32323 Patch by Aharon Robbins <arnold@skeeve.com>.
32324
ea389b12
UD
32325 [BZ #11892]
32326 * stdlib/putenv.c (putenv): Don't always create copy of the variable
32327 on the stack.
32328
68a3f91f
UD
32329 [BZ #11895]
32330 * misc/pselect.c (__pselect): Handle timeout value errors hidden
32331 through underflows.
32332
15cc7dd1
UD
32333 [BZ #12766]
32334 * misc/error.c (error_at_line): Ensure file_name and old_file_name
32335 point to strings before performing equality test for error_one_per_line
32336 mode.
32337
f3799213
UD
32338 [BZ #11697]
32339 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
32340
d79a9c94
UD
32341 [BZ #11820]
32342 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
32343 (struct user_fpregs_struct): Avoid __uint*_t types.
32344
56e5eb46
UD
32345 [BZ #6420]
32346 * malloc/mtrace.c (tr_where): Add additional parameter to point to
32347 symbol info. Use it instead of calling _dl_addr locally.
32348 (lock_and_info): New function.
32349 (tr_freehook): Call lock_and_info and pass symbol info as additional
32350 parameter to tr_where.
32351 (tr_mallochook): Likewise.
32352 (tr_reallochook): Likewise.
32353 (tr_memalignhook): Likewise.
32354
6ce75379
UD
32355 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
32356 used and couldn't be at all thread-safe.
32357
f8a3b5bf
UD
323582011-05-15 Ulrich Drepper <drepper@gmail.com>
32359
94b7cc37
UD
32360 * libio/freopen.c (freopen): Don't close old file descriptor
32361 before the new one is opened. Instead dup the new file descriptor
32362 to the old one after the new stream is created.
32363 * libio/freopen64.c (freopen64): Likewise.
32364 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
32365 * libio/fileops.c (_IO_new_file_close_it): Handle new
32366 _IO_FLAGS2_NOCLOSE flag.
32367 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
32368 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
32369 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
32370 _IO_FLAGS2_NOCLOSE flag.
32371 * include/unistd.h: Add hidden_proto for dup3.
32372 Define __have_dup3.
32373 * io/dup3.c: Define hidden symbol.
32374 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
32375
bd25564e
UD
32376 [BZ #7101]
32377 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
32378 when an incomplete long option is used.
32379 * posix/tst-getopt_long1.c: New file.
32380 * posix/Makefile (tests): Add tst-getopt_long1.
32381
c84cfef4
UD
32382 [BZ #10138]
32383 * scripts/config.guess: Update from autoconf-2.68.
32384 * scripts/config.sub: Likewise.
32385
3b85df27
UD
32386 [BZ #10157]
32387 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
32388 tests into ...
32389 (has_cpuclock): ...this. New function.
32390 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
32391 macro here based on has_cpuclock code.
32392
15a856b1
UD
32393 [BZ #10149]
32394 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32395 First byte (not low byte) is now always NUL.
32396 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
32397
05f399e6
UD
32398 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32399 Use non-cancelable interfaces.
32400
10a52685 32401 [BZ #9809]
94ecc67d
UD
32402 * locale/iso-639.def: Add entry for Sorani.
32403
f8a3b5bf
UD
32404 [BZ #11901]
32405 * include/stdlib.h: Move include protection to the right place.
32406 Define abort_msg_s. Declare __abort_msg with it.
32407 * stdlib/abort.c (__abort_msg): Adjust type.
32408 * assert/assert.c (__assert_fail_base): New function. Majority
32409 of code from __assert_fail. Allocate memory for __abort_msg with
32410 mmap.
32411 (__assert_fail): Now call __assert_fail_base.
32412 * assert/assert-perr.c: Remove bulk of implementation. Use
32413 __assert_fail_base.
32414 * include/assert.hL Declare __assert_fail_base.
32415 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
32416 mmap.
32417 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
32418
1af4e298
UD
324192011-05-14 Ulrich Drepper <drepper@gmail.com>
32420
f8a3b5bf 32421 [BZ #11952]
d26dfc60
MG
32422 [BZ #12453]
32423 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
32424 until all modules are registered in the DTV.
32425 * elf/Makefile: Add rules to build and run tst-tls19.
32426 * elf/tst-tls19.c: New file.
32427 * elf/tst-tls19mod1.c: New file.
32428 * elf/tst-tls19mod2.c: New file.
32429 * elf/tst-tls19mod3.c: New file.
32430 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
32431
2fc54d6f
UD
32432 [BZ #12083]
32433 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
32434 correctly.
32435
98d76b46
UD
32436 [BZ #12601]
32437 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
32438 two-byte sequence errors.
32439 * iconvdata/Makefile (tests): Add bug-iconv8.
32440 * iconvdata/bug-iconv8.c: New file.
32441
da3c19ef
UD
32442 [BZ #12626]
32443 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
32444 buf2 definition.
32445
ca408c15
UD
32446 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
32447
d6f67f7d
UD
32448 [BZ #12432]
32449 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
32450 (dummy_getcfa): New function.
32451 (init): Get _Unwind_GetCFA address, use dummy if not found.
32452 (backtrace_helper): In recursion check, also check whether CFA changes.
32453 (__backtrace): Completely initialize arg.
32454
1af4e298 32455 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
32456 storing incomplete byte sequence in state object. Avoid testing for
32457 guaranteed too small input if we know there is enough data available.
1af4e298 32458
da62f81b
AS
324592011-05-11 Andreas Schwab <schwab@redhat.com>
32460
32461 * Makeconfig (+link-pie): Indent.
32462 * Rules (binaries-pie): Define if $(have-fpie) and
32463 $(build-shared).
32464 (binaries-shared): Also filter out $(binaries-pie).
32465 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
32466 * nscd/Makefile (others-pie): Add nscd.
32467 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
32468 ($(objpfx)nscd): Remove command override.
32469 * login/Makefile (others-pie): Add pt_chown.
32470 ($(objpfx)pt_chown): Remove command override.
32471 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
32472 remove command overrides.
32473
fcabc0f8
UD
324742011-05-13 Ulrich Drepper <drepper@gmail.com>
32475
20030ae6
UD
32476 * libio/tst_putwc.c: Fix error messages.
32477
fcabc0f8
UD
32478 [BZ #12724]
32479 * libio/fileops.c (_IO_new_file_close_it): Always flush when
32480 currently writing and seek to current position when not.
32481 * libio/Makefile (tests): Add bug-fclose1.
32482 * libio/bug-fclose1.c: New file.
32483
320a5dc0
PB
324842011-05-12 Ulrich Drepper <drepper@gmail.com>
32485
32486 [BZ #12511]
32487 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
32488 don't set DF_1_NODELETE here.
32489 (do_lookup_x): When entering new entry test for copy relocation
32490 and if necessary set DF_1_NODELETE flag.
32491 * elf/tst-unique4.cc: New file.
32492 * elf/tst-unique4.h: New file.
32493 * elf/tst-unique4lib.cc: New file.
32494 * elf/Makefile: Add rules to build and run tst-unique4.
32495 Patch by Piotr Bury <pbury@goahead.com>.
32496
22836f52
UD
324972011-05-11 Ulrich Drepper <drepper@gmail.com>
32498
f574184a
UD
32499 [BZ #12052]
32500 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
32501
e1fb097f
UD
32502 [BZ #12625]
32503 * misc/mntent_r.c (addmntent): Flush the stream after the output
32504
22836f52
UD
32505 [BZ #12393]
32506 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
32507 (is_trusted_path_normalize): Skip initial colon. Append slash
32508 to empty buffer. Duplicate is_trusted_path code but allow
32509 constructed patch to be prefix.
32510 (is_dst): Allow $ORIGIN followed by /.
32511 (_dl_dst_substitute): Correct clearing of check_for_trusted.
32512 Correct testing of result of is_trusted_path_normalize
32513 (decompose_rpath): Fix warning.
32514
7b3b0b2a
UD
325152011-05-10 Ulrich Drepper <drepper@gmail.com>
32516
32517 [BZ #11257]
32518 * grp/initgroups.c (internal_getgrouplist): When we found the service
32519 list through the initgroups entry in nsswitch.conf do not always
32520 continue on a successful lookup. Don't always use the
eac80ce2 32521 __nss_group_database value if it is set.
7b3b0b2a
UD
32522 * nss/nsswitch.conf (initgroups): Change action for successful db
32523 lookup to continue for compatibility.
32524
2a81eaa5
UD
325252011-05-09 Ulrich Drepper <drepper@gmail.com>
32526
be97a69e
UD
32527 [BZ #11532]
32528 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
32529 and CP774 modules.
32530 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
32531 and CP774 modules.
32532 * iconvdata/tst-tables.sh: Likewise.
32533 * iconvdata/cp770.c: New file.
32534 * iconvdata/cp771.c: New file.
32535 * iconvdata/cp772.c: New file.
32536 * iconvdata/cp773.c: New file.
32537 * iconvdata/cp774.c: New file.
32538 * iconvdata/testdata/CP770: New file.
32539 * iconvdata/testdata/CP770..UTF8: New file.
32540 * iconvdata/testdata/CP771: New file.
32541 * iconvdata/testdata/CP771..UTF8: New file.
32542 * iconvdata/testdata/CP772: New file.
32543 * iconvdata/testdata/CP772..UTF8: New file.
32544 * iconvdata/testdata/CP773: New file.
32545 * iconvdata/testdata/CP773..UTF8: New file.
32546 * iconvdata/testdata/CP774: New file.
32547 * iconvdata/testdata/CP774..UTF8: New file.
32548
32549 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
32550 END CHARMAP line.
32551 * iconvdata/gen-8bit-gap.sh: Likewise.
32552 * iconvdata/gen-8bit.sh: Likewise.
32553
c1e9e399
UD
32554 * locale/iso-639.def: Add ary entry.
32555
24c55fb3 32556 [BZ #11258]
96b4b1b0
UD
32557 * locale/C-translit.h.in: Add U20A1 transliteration.
32558
bdc2f971
KB
32559 [BZ #12178]
32560 * locale/iso-639.def: Add wae entry.
32561 Patch by Kevin Bortis <bortis@translate-wae.ch>.
32562
2952b117
UD
32563 [BZ #12545]
32564 * locale/programs/localedef.c (construct_output_path): Use ssize_t
32565 for n.
32566
2a81eaa5
UD
32567 [BZ #12711]
32568 * locale/C-translit.h.in: Add entry for U20B9.
32569 Patch by pravin.d.s@gmail.com.
32570
28377d1b
UD
325712011-05-08 Ulrich Drepper <drepper@gmail.com>
32572
7fb90fb8
UD
32573 [BZ #12713]
32574 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
32575 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
32576 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
32577 in rtld. Use *stat64.
7fb90fb8 32578 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 32579 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 32580 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
32581 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
32582 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
32583 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
32584 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
32585 __fstatat64 macros.
7fb90fb8
UD
32586 * include/dirent.h: Add libc_hidden_proto for rewinddir.
32587 * dirent/rewinddir.c: Add libc_hidden_def.
32588 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 32589 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 32590
28377d1b
UD
32591 * include/dirent.h (__alloc_dir): Add flags parameter.
32592 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
32593 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
32594 __alloc_dir.
32595 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
32596 from fdopendir if O_CLOEXEC is already set.
32597
66bdbaa4
AM
325982011-03-15 Alan Modra <amodra@gmail.com>
32599
32600 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
32601 l_tls_firstbyte_offset non-zero. Save padding offset in
32602 l_tls_firstbyte_offset for later use.
32603 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
32604 freeing static tls block.
32605
95721191
JN
326062011-03-05 Jonathan Nieder <jrnieder@gmail.com>
32607
32608 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
32609 where #ifdef was intended. The intent is to prevent ARG_MAX from
32610 being defined by the kernel headers.
32611
f87dfb1f
UD
326122011-05-07 Ulrich Drepper <drepper@gmail.com>
32613
32614 [BZ #12734]
32615 * resolv/resolv.h: Define RES_NOTLDQUERY.
32616 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
32617 no-tld-query and set RES_NOTLDQUERY.
32618 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
32619 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
32620 modern BIND to search name as TLD unless forbidden.
32621
47c3cd7a
UD
326222011-05-07 Petr Baudis <pasky@suse.cz>
32623 Ulrich Drepper <drepper@gmail.com>
32624
32625 [BZ #12393]
32626 * elf/dl-load.c (fillin_rpath): Move trusted path check...
32627 (is_trusted_path): ...to here.
c1e9ea35 32628 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 32629 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 32630 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 32631
8a35c912
PP
326322011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
32633
32634 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
32635 __BEGIN/__END_DECLS.
32636
acd41f47
UD
326372011-05-06 Ulrich Drepper <drepper@gmail.com>
32638
32639 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
32640 NSS_STATUS_NOTFOUND if no record was found.
32641
597df647
AS
326422011-05-05 Andreas Schwab <schwab@redhat.com>
32643
32644 * sunrpc/Makefile (headers): Add rpc/netdb.h.
32645 (headers-not-in-tirpc): Remove rpc/netdb.h
32646 * resolv/netdb.h: Revert last change.
32647
b9af1301
PP
326482011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
32649
32650 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
32651 circular dependency between libgcc.a and libc.a.
32652
4e34d5f5
AS
326532011-05-05 Andreas Schwab <schwab@redhat.com>
32654
32655 * resolv/netdb.h: Don't include <rpc/netdb.h>.
32656 * nis/Makefile: Don't install rpcsvc/*.
32657 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
32658 instead of <rpc/types.h>.
32659 (MAXHOSTNAMELEN): Define.
32660
00ee369c
AS
326612011-05-03 Andreas Schwab <schwab@redhat.com>
32662
32663 * elf/ldconfig.c (add_dir): Don't crash on empty path.
32664
0b592a30
MB
326652011-04-28 Maciej Babinski <mbabinski@google.com>
32666
32667 [BZ #12714]
32668 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
32669 gethostbyname4_r when IPv6 results are possible.
32670
6e04cbbe
UD
326712011-05-02 Ulrich Drepper <drepper@gmail.com>
32672
32673 [BZ #12723]
32674 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
32675 _PC_PIPE_BUF handling.
32676
e4ecafe0
BH
326772011-04-30 Bruno Haible <bruno@clisp.org>
32678
32679 [BZ #12717]
32680 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
32681 * resolv/netdb.h (getnameinfo): Change type of flags parameter
32682 to 'int'.
32683 * inet/getnameinfo.c (getnameinfo): Likewise.
32684
125ee683
UD
326852011-04-29 Ulrich Drepper <drepper@gmail.com>
32686
32687 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
32688 to groups setting in database lookup.
32689 * nss/nsswitch.conf: Add initgroups entry.
32690
b722481a
EB
326912011-04-22 Ulrich Drepper <drepper@gmail.com>
32692
32693 [BZ #12685]
32694 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
32695 mode string.
32696 Patch by Eric Blake <eblake@redhat.com>.
32697
4df46dbd
L
326982011-04-20 H.J. Lu <hongjiu.lu@intel.com>
32699
32700 * sunrpc/Makefile (need-export-routines): Add svc_run.
32701 (routines): Remove svc_run.
32702 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
32703 * sunrpc/clnt_perr.c (clnt_perrno): Export.
32704 * sunrpc/svc_run.c (svc_run): Likewise.
32705 * sunrpc/svc_udp.c (svcudp_create): Likewise.
32706
e84142d2
UD
327072011-04-21 Ulrich Drepper <drepper@gmail.com>
32708
32709 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
32710 problem in reallocation in last patch.
32711
877175d8
UD
327122011-04-20 Ulrich Drepper <drepper@gmail.com>
32713
32714 * sunrpc/Makefile: Move inclusion of Rules.
32715
ab8eed78
UD
327162011-04-19 Ulrich Drepper <drepper@gmail.com>
32717
32718 * nss/nss_files/files-initgroups.c: New file.
32719 * nss/Makefile (libnss_files-routines): Add files-initgroups.
32720 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
32721 _nss_files_initgroups_dyn.
32722
e3d8f584
RS
327232011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
32724
32725 * elf/elf.h (R_ARM_IRELATIVE): Define.
32726
af190f45
UD
327272011-04-19 Ulrich Drepper <drepper@gmail.com>
32728
32729 * po/ru.po: Update from translation team.
32730
53cf59ef
UD
327312011-04-17 Ulrich Drepper <drepper@gmail.com>
32732
32733 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
32734 dependencies.
32735
4c559bcd
MF
327362011-02-06 Mike Frysinger <vapier@gentoo.org>
32737
32738 [BZ #12653]
32739 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
32740 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
32741 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
32742 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32743 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
32744
4420675c
AS
327452011-03-28 Andreas Schwab <schwab@linux-m68k.org>
32746
32747 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
32748 differing bytes.
32749 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
32750 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
32751 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
32752
75ea32ab
UD
327532011-04-17 Ulrich Drepper <drepper@gmail.com>
32754
32755 [BZ #12420]
32756 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
32757 storing it.
32758 * stdlib/bug-getcontext.c: New file.
32759 * stdlib/Makefile: Add rules to build and run bug-getcontext.
32760
27390476
AK
327612011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32762
32763 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
32764 instructions into .machine "z9-109".
32765 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
32766 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
32767
10442705
AK
327682011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32769
32770 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
32771 between environment variables and auxiliary vector.
32772
7b57bfe5
UD
327732011-04-16 Ulrich Drepper <drepper@gmail.com>
32774
32775 * Makefile: Add rules to build linkobj/libc.so.
32776 * include/libc-symbols.h: Define libc_hidden_nolink.
32777 * include/rpc/auth.h: Mark functions which are to be hidden.
32778 * include/rpc/auth_des.h: Likewise.
32779 * include/rpc/auth_unix.h: Likewise.
32780 * include/rpc/clnt.h: Likewise.
32781 * include/rpc/des_crypt.h: Likewise.
32782 * include/rpc/key_prot.h: Likewise.
32783 * include/rpc/pmap_clnt.h: Likewise.
32784 * include/rpc/pmap_prot.h: Likewise.
32785 * include/rpc/pmap_rmt.h: Likewise.
32786 * include/rpc/rpc_msg.h: Likewise.
32787 * include/rpc/svc.h: Likewise.
32788 * include/rpc/svc_auth.h: Likewise.
32789 * include/rpc/xdr.h: Likewise.
32790 * nis/Makefile: Link all DSOs against linkobj/libc.so.
32791 * nss/Makefile: Likewise.
32792 * sunrpc/Makefile: Don't install headers. Build library with normal
32793 entry points. Don't build rpcinfo. Link RPC tests appropriately.
32794 * sunrpc/auth_des.c: Hide exported symbols by default, export some
32795 for the compat linking library. Remove use of INTDEF/INTUSE.
32796 * sunrpc/auth_none.c: Likewise.
32797 * sunrpc/auth_unix.c: Likewise.
32798 * sunrpc/authdes_prot.c: Likewise.
32799 * sunrpc/authuxprot.c: Likewise.
32800 * sunrpc/clnt_gen.c: Likewise.
32801 * sunrpc/clnt_perr.c: Likewise.
32802 * sunrpc/clnt_raw.c: Likewise.
32803 * sunrpc/clnt_simp.c: Likewise.
32804 * sunrpc/clnt_tcp.c: Likewise.
32805 * sunrpc/clnt_udp.c: Likewise.
32806 * sunrpc/clnt_unix.c: Likewise.
32807 * sunrpc/des_crypt.c: Likewise.
32808 * sunrpc/des_soft.c: Likewise.
32809 * sunrpc/get_myaddr.c: Likewise.
32810 * sunrpc/key_call.c: Likewise.
32811 * sunrpc/key_prot.c: Likewise.
32812 * sunrpc/netname.c: Likewise.
32813 * sunrpc/pm_getmaps.c: Likewise.
32814 * sunrpc/pm_getport.c: Likewise.
32815 * sunrpc/pmap_clnt.c: Likewise.
32816 * sunrpc/pmap_prot.c: Likewise.
32817 * sunrpc/pmap_prot2.c: Likewise.
32818 * sunrpc/pmap_rmt.c: Likewise.
32819 * sunrpc/publickey.c: Likewise.
32820 * sunrpc/rpc_cmsg.c: Likewise.
32821 * sunrpc/rpc_common.c: Likewise.
32822 * sunrpc/rpc_dtable.c: Likewise.
32823 * sunrpc/rpc_prot.c: Likewise.
32824 * sunrpc/rpc_thread.c: Likewise.
32825 * sunrpc/rtime.c: Likewise.
32826 * sunrpc/svc.c: Likewise.
32827 * sunrpc/svc_auth.c: Likewise.
32828 * sunrpc/svc_authux.c: Likewise.
32829 * sunrpc/svc_raw.c: Likewise.
32830 * sunrpc/svc_run.c: Likewise.
32831 * sunrpc/svc_simple.c: Likewise.
32832 * sunrpc/svc_tcp.c: Likewise.
32833 * sunrpc/svc_udp.c: Likewise.
32834 * sunrpc/svc_unix.c: Likewise.
32835 * sunrpc/svcauth_des.c: Likewise.
32836 * sunrpc/xcrypt.c: Likewise.
32837 * sunrpc/xdr.c: Likewise.
32838 * sunrpc/xdr_array.c: Likewise.
32839 * sunrpc/xdr_float.c: Likewise.
32840 * sunrpc/xdr_intXX_t.c: Likewise.
32841 * sunrpc/xdr_mem.c: Likewise.
32842 * sunrpc/xdr_rec.c: Likewise.
32843 * sunrpc/xdr_ref.c: Likewise.
32844 * sunrpc/xdr_sizeof.c: Likewise.
32845 * sunrpc/xdr_stdio.c: Likewise.
32846
e6c61494
UD
328472011-04-10 Ulrich Drepper <drepper@gmail.com>
32848
32849 [BZ #12650]
32850 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
32851 * sysdeps/ia64/dl-tls.h: Likewise.
32852 * sysdeps/powerpc/dl-tls.h: Likewise.
32853 * sysdeps/s390/dl-tls.h: Likewise.
32854 * sysdeps/sh/dl-tls.h: Likewise.
32855 * sysdeps/sparc/dl-tls.h: Likewise.
32856 * sysdeps/x86_64/dl-tls.h: Likewise.
32857 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
32858
34fe483e
AS
328592011-03-14 Andreas Schwab <schwab@redhat.com>
32860
32861 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
32862 rpath element also skip the following colon.
32863 (expand_dynamic_string_token): Add is_path parameter and pass
32864 down to DL_DST_REQUIRED and _dl_dst_substitute.
32865 (decompose_rpath): Call expand_dynamic_string_token with
32866 non-zero is_path. Ignore empty rpaths.
32867 (_dl_map_object_from_fd): Call expand_dynamic_string_token
32868 with zero is_path.
32869
f12a32e6
AS
328702011-04-08 Andreas Schwab <schwab@linux-m68k.org>
32871
32872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
32873 Make cancelable.
32874
38a7d692
UD
328752011-04-09 Ulrich Drepper <drepper@gmail.com>
32876
32877 [BZ #12655]
32878 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
32879 Patch by Filipe David Manana <fdmanana@apache.org>.
32880
e451d22b
AS
328812011-04-07 Andreas Schwab <schwab@redhat.com>
32882
32883 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
32884 Maintain aligned stack.
32885 (CHECK_RSP): Remove unused macro.
32886
dedc7c7b
UD
328872011-04-03 Ulrich Drepper <drepper@gmail.com>
32888
32889 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
32890 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
32891
94521213
UD
328922011-04-02 Ulrich Drepper <drepper@gmail.com>
32893
32894 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
32895
8cb700c0 32896 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 32897
0354e355
L
328982011-03-26 H.J. Lu <hongjiu.lu@intel.com>
32899
32900 [BZ #12518]
32901 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
32902 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
32903 * sysdeps/x86_64/memmove.c: New file.
32904 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
32905 (memcpy): Renamed to ...
32906 (__new_memcpy): This.
32907 (memcpy): Provide GLIBC_2_14 memcpy.
32908 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
32909 (memcpy): Provide GLIBC_2_2_5 memcpy.
32910
8593482f
UD
329112011-04-01 Ulrich Drepper <drepper@gmail.com>
32912
32913 [BZ #12631]
32914 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
32915
81a5726b
AS
329162011-03-30 Andreas Schwab <schwab@redhat.com>
32917
32918 * misc/syncfs.c: New file.
32919 * misc/Makefile (routines): Add syncfs.
32920 * posix/unistd.h: Declare syncfs.
32921 * sysdeps/unix/syscalls.list: Add syncfs.
32922
00e5419f
AS
329232011-04-01 Andreas Schwab <schwab@redhat.com>
32924
32925 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
32926 open_by_handle_at.
32927 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
32928 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
32929 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32930 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32931 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32932 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
32933 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32934
748876bf
UD
329352011-04-01 Ulrich Drepper <drepper@gmail.com>
32936
658e451d
UD
32937 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
32938 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
32939 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
32940 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32941 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32942 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32943 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32944
748876bf
UD
32945 * io/Makefile: Compile fallocate.c, fallocate64.c, and
32946 sync_file_range.c with -fexceptions.
32947 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
32948 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
32949 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
32950 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
32951 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
32952 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
32953 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
32954 sync_file_range as cancellation point
32955 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
32956 now a wrapper around __call_sync_file_range with cancellation handling.
32957 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
32958 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
32959 function name to __call_sync_file_range.
32960 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
32961 Add call_sync_file_range.
748876bf 32962
6e63d5e1
AS
329632011-04-01 Andreas Schwab <schwab@redhat.com>
32964
32965 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 32966 bits/timex.h.
6e63d5e1 32967
46998f74
UD
329682011-04-01 Ulrich Drepper <drepper@gmail.com>
32969
4c1423ed
UD
32970 * iconv/iconv.h: Fix typo in comment.
32971 * io/fcntl.h: Likewise.
32972 * libio/stdio.h: Likewise.
32973 * posix/spawn.h: Likewise.
32974 * posix/unistd.h: Likewise.
32975 * stdlib/stdlib.h: Likewise.
32976 * time/time.h: Likewise.
32977 * wcsmbs/wchar.h: Likewise.
32978
158648c0
UD
32979 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
32980 open_by_handle): Add.
32981 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
32982 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
32983 Augment a few comments.
32984 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
32985 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32986 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32987 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32988 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32989 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
32990 open_by_handle.
32991
46998f74
UD
32992 * io/fcntl.h (AT_EMPTY_PATH): Define.
32993
83fe108b
UD
329942011-03-30 Ulrich Drepper <drepper@gmail.com>
32995
32996 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
32997 * sysdeps/unix/sysv/linux/bits/time.h: New file.
32998 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
32999 to...
33000 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
33001 * Versions.def: Add GLIBC_2.14.
33002 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
33003 Export.
83fe108b 33004
bb242059
UD
330052011-03-22 Ulrich Drepper <drepper@gmail.com>
33006
33007 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
33008 round counter.
33009 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
33010
c97a1282
L
330112011-03-20 H.J. Lu <hongjiu.lu@intel.com>
33012
33013 [BZ #12597]
33014 * string/test-strncmp.c (do_page_test): New function.
33015 (check2): Likewise.
33016 (test_main): Call check2.
33017 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
33018
2a115601
UD
330192011-03-20 Ulrich Drepper <drepper@gmail.com>
33020
33021 [BZ #12587]
33022 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
33023 Handle cache information in CPU leaf 4.
33024 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
33025
8126d904
UD
330262011-03-18 Ulrich Drepper <drepper@gmail.com>
33027
042c49c6 33028 [BZ #12583]
8126d904
UD
33029 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
33030 character representation.
33031 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
33032
ccfe366e
RA
330332011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
33034
33035 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
33036 END(__isnan) to END(__isnanf) to match function entry point/label
33037 EALIGN(__isnanf,...).
33038
c6e13027
JJ
330392011-03-10 Jakub Jelinek <jakub@redhat.com>
33040
33041 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
33042
33f85a3f
UD
330432011-03-10 Ulrich Drepper <drepper@gmail.com>
33044
028478fa
UD
33045 [BZ #12510]
33046 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
33047 copy from the symbol referenced in the relocation to initialize the
33048 used variable.
33049 Patch by Piotr Bury <pbury@goahead.com>.
33050 * elf/Makefile: Add rules to build and tst-unique3.
33051 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
33052 * elf/tst-unique3.cc: New file.
33053 * elf/tst-unique3.h: New file.
33054 * elf/tst-unique3lib.cc: New file.
33055 * elf/tst-unique3lib2.cc: New file.
33056
33f85a3f
UD
33057 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
33058
03592fc7
MF
330592011-03-10 Mike Frysinger <vapier@gentoo.org>
33060
33061 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
33062 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
33063 to _start.
03592fc7 33064
6a5ee102
UD
330652011-03-06 Ulrich Drepper <drepper@gmail.com>
33066
33067 * elf/dl-load.c (_dl_map_object): If we are looking for the first
33068 to-be-loaded object along a path to loader is ld.so.
33069
7e4ba49c
HJ
330702011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
33071 Ulrich Drepper <drepper@gmail.com>
33072
33073 * sysdeps/x86_64/memset.S: After aligning destination, code
33074 branches to different locations depending on the value of
33075 misalignment, when multiarch is enabled. Fix this.
33076
330772011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
33078
33079 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
33080 Set _x86_64_preferred_memory_instruction for AMD processsors.
33081 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33082 Set bit_Prefer_SSE_for_memop for AMD processors.
33083
13a804de
UD
330842011-03-04 Ulrich Drepper <drepper@gmail.com>
33085
33086 * libio/fmemopen.c (fmemopen): Optimize a bit.
33087
9d25c392
AS
330882011-03-03 Andreas Schwab <schwab@redhat.com>
33089
33090 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
33091
a5543c6a
RM
330922011-03-03 Roland McGrath <roland@redhat.com>
33093
33094 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
33095
012d35f7
DM
330962011-02-28 Aurelien Jarno <aurelien@aurel32.net>
33097
7e4ba49c 33098 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
33099 __bzero_ultra1 instead of __memset_ultra1.
33100
4bff6e01
AS
331012011-02-23 Andreas Schwab <schwab@redhat.com>
33102 Ulrich Drepper <drepper@gmail.com>
33103
33104 [BZ #12509]
33105 * include/link.h (struct link_map): Add l_orig_initfini.
33106 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
33107 returning unsuccessfully.
33108 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
33109 close of a file loaded at startup, restore the original l_initfini
33110 list.
33111 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
33112 list, store the pointer.
33113 * elf/Makefile ($(objpfx)noload-mem): New rule.
33114 (noload-ENV): Define.
33115 (tests): Add $(objpfx)noload-mem.
33116 * elf/noload.c: Include <memcheck.h>.
33117 (main): Call mtrace. Close all opened handles.
33118
f2092faf
AS
331192011-02-17 Andreas Schwab <schwab@redhat.com>
33120
33121 [BZ #12454]
33122 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
33123 dependencies are missing.
33124
6c8a2e88
ST
331252011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
33126
f2092faf 33127 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
33128 Hurd needs munmap.
33129 * sysdeps/mach/hurd/ifreq.h: New file.
33130
84a42118
PB
331312011-01-27 Petr Baudis <pasky@suse.cz>
33132 Ulrich Drepper <drepper@gmail.com>
33133
071f805e 33134 [BZ 12445]#
84a42118
PB
33135 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
33136 to extend_alloca().
33137 * stdio-common/bug23.c: New file.
33138 * stdio-common/Makefile (tests): Add bug23.
33139
e23fe25b
AS
331402010-09-28 Andreas Schwab <schwab@redhat.com>
33141 Ulrich Drepper <drepper@gmail.com>
33142
33143 [BZ #12489]
33144 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
33145 before performing relro protection. At old place add assertion
33146 to make sure nothing changed.
33147
d3f02e10
NS
331482011-02-17 Nathan Sidwell <nathan@codesourcery.com>
33149 Glauber de Oliveira Costa <glommer@gmail.com>
33150
33151 * elf/elf.h: Add new ARM TLS relocs.
33152
d55fd7a5
RA
331532011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
33154
33155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
33156 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
33157 cast from r3.
33158 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
33159 'tests' variable.
33160 * sysdeps/wordsize-64/tst-writev.c: New file.
33161
2206397e
RA
331622011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
33163
33164 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
33165 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
33166 insns in _dl_start to prevent a TOC reference before relocs are
33167 resolved.
33168
e9433893
UD
331692011-02-15 Ulrich Drepper <drepper@gmail.com>
33170
33171 [BZ #12469]
33172 * Makeconfig: Remove RANLIB definition.
33173 * Makerules: Don't use RANLIB.
33174 * aclocal.m4: Remove ranlib test.
33175 * configure.in: No need to check for ranlib.
33176 * elf/rtld-Rules: Don't use RANLIB.
33177
f75286c6
ST
331782011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
33179
8e31c82d
ST
33180 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
33181 protection macro.
33182 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
33183 inclusion protection macro.
33184
f75286c6
ST
33185 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
33186 SIGRTMIN and SIGRTMAX and print information in that case only when
33187 SIGRTMIN is defined.
33188
c1d0e639
JJ
331892011-02-11 Jakub Jelinek <jakub@redhat.com>
33190
33191 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
33192 arginfo fn returning -1.
33193
33194 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
33195 and thousands string is zero terminated.
33196
edf9294e
AS
331972011-02-03 Andreas Schwab <schwab@redhat.com>
33198
33199 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
33200 sysdeps/unix/sysv/linux/bits/socket.h.
33201
2b7e92df
ST
332022011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
33203
edf9294e
AS
33204 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
33205 (__CPU_COUNT): Remove old macros.
33206 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
33207 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
33208 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
33209 (__sched_cpualloc, __sched_cpufree): Add declarations.
33210
a4c7ea7b
UD
332112011-02-05 Ulrich Drepper <drepper@gmail.com>
33212
33213 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
33214 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
33215 * nscd/aicache.c (addhstaiX): Return timeout of added value.
33216 (readdhstai): Return value of addhstaiX call.
33217 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
33218 (addgrbyX): Return value returned by cache_addgr.
33219 (readdgrbyname): Return value returned by addgrbyX.
33220 (readdgrbygid): Likewise.
33221 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
33222 (addpwbyX): Return value returned by cache_addpw.
33223 (readdpwbyname): Return value returned by addhstbyX.
33224 (readdpwbyuid): Likewise.
33225 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
33226 (addservbyX): Return value returned by cache_addserv.
33227 (readdservbyname): Return value returned by addservbyX:
33228 (readdservbyport): Likewise.
33229 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
33230 (addhstbyX): Return value returned by cache_addhst.
33231 (readdhstbyname): Return value returned by addhstbyX.
33232 (readdhstbyaddr): Likewise.
33233 (readdhstbynamev6): Likewise.
33234 (readdhstbyaddrv6): Likewise.
33235 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
33236 (readdinitgroups): Return value returned by addinitgroupsX.
33237 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
33238 (prune_cache): Keep track of timeout value of re-added entries.
33239 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
33240 * nscd/nscd.h: Adjust prototypes of readd* functions.
33241
a0bf67cc
RM
332422011-02-04 Roland McGrath <roland@redhat.com>
33243
33244 * nis/nis_server.c (nis_servstate): Use the right name for 0.
33245 (nis_stats): Likewise.
33246 * nis/nis_modify.c (nis_modify): Likewise.
33247 * nis/nis_remove.c (nis_remove): Likewise.
33248 * nis/nis_add.c (nis_add): Likewise.
33249
33250 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
33251
33252 * posix/fnmatch_loop.c: Add some consts.
33253
33254 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
33255
435b95eb
L
332562011-02-02 H.J. Lu <hongjiu.lu@intel.com>
33257
33258 [BZ #12460]
33259 * config.make.in (config-cflags-novzeroupper): Define.
33260 * configure.in: Substitute libc_cv_cc_novzeroupper.
33261 * elf/Makefile (AVX-CFLAGS): Define.
33262 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
33263 (CFLAGS-tst-auditmod4a.c): Likewise.
33264 (CFLAGS-tst-auditmod4b.c): Likewise.
33265 (CFLAGS-tst-auditmod6b.c): Likewise.
33266 (CFLAGS-tst-auditmod6c.c): Likewise.
33267 (CFLAGS-tst-auditmod7b.c): Likewise.
33268 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
33269
8517b15e
UD
332702011-02-02 Ulrich Drepper <drepper@gmail.com>
33271
33272 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
33273 function to the callback.
33274 Patch partly by Jiri Olsa <jolsa@redhat.com>.
33275
10a656fe
AS
332762011-02-02 Andreas Schwab <schwab@redhat.com>
33277
33278 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
33279 of errno.
33280
968dad0a
UD
332812011-01-19 Ulrich Drepper <drepper@gmail.com>
33282
9f94d2ea 33283 [BZ #11724]
968dad0a
UD
33284 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
33285 of constructors.
33286 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
33287 of destructors.
33288 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
33289
33290 [BZ #11724]
33291 * elf/Makefile: Add rules to build and run new test.
33292 * elf/tst-initorder.c: New file.
33293 * elf/tst-initorder.exp: New file.
33294 * elf/tst-initordera1.c: New file.
33295 * elf/tst-initordera2.c: New file.
33296 * elf/tst-initordera3.c: New file.
33297 * elf/tst-initordera4.c: New file.
33298 * elf/tst-initorderb1.c: New file.
33299 * elf/tst-initorderb2.c: New file.
33300 * elf/tst-order-a1.c: New file.
33301 * elf/tst-order-a2.c: New file.
33302 * elf/tst-order-a3.c: New file.
33303 * elf/tst-order-a4.c: New file.
33304 * elf/tst-order-b1.c: New file.
33305 * elf/tst-order-b2.c: New file.
33306 * elf/tst-order-main.c: New file.
33307 New test case by George Gensure <werkt0@gmail.com>.
33308
86e92359
UD
333092010-10-01 Andreas Schwab <schwab@redhat.com>
33310
33311 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
33312 decoding ACE if AI_CANONIDN.
33313
5d5732b0
UD
333142011-01-18 Ulrich Drepper <drepper@gmail.com>
33315
33316 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
33317
a77e8cbc
UD
333182011-01-17 Ulrich Drepper <drepper@gmail.com>
33319
6392473f
UD
33320 * version.h (RELEASE): Bump for 2.13 release.
33321 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
33322
620a0529
UD
33323 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
33324
18ba70a5
UD
33325 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
33326 MADV_NOHUGEPAGE.
32465c3e
UD
33327 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
33328 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
33329 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
33330 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
33331 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
33332 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
33333
c0dafcf1
UD
33334 * posix/getconf.c: Update copyright year.
33335 * catgets/gencat.c: Likewise.
33336 * csu/version.c: Likewise.
33337 * debug/catchsegv.sh: Likewise.
33338 * debug/xtrace.sh: Likewise.
33339 * elf/ldconfig.c: Likewise.
33340 * elf/ldd.bash.in: Likewise.
33341 * elf/sprof.c (print_version): Likewise.
33342 * iconv/iconv_prog.c: Likewise.
33343 * iconv/iconvconfig.c: Likewise.
33344 * locale/programs/locale.c: Likewise.
33345 * locale/programs/localedef.c: Likewise.
33346 * malloc/memusage.sh: Likewise.
33347 * malloc/mtrace.pl: Likewise.
33348 * nscd/nscd.c (print_version): Likewise.
33349 * nss/getent.c: Likewise.
33350
a77e8cbc
UD
33351 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
33352 PF_CAIF, and PF_ALG.
33353 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33354
77e8bddf
AS
333552011-01-16 Andreas Schwab <schwab@linux-m68k.org>
33356
1f20b93a
AS
33357 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
33358 (modules-names): Use them.
33359 (ifunc-test-modules, ifunc-pie-tests): Define.
33360 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
33361 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
33362 (test-extras): Likewise.
33363 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
33364 $(compile-command.c).
33365 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
33366 (all-built-dso): Define.
33367 (check-textrel.out, check-execstack.out): Depend on it.
33368
77e8bddf
AS
33369 * configure.in: Don't override --enable-multi-arch.
33370
bc425b33
UD
333712011-01-15 Ulrich Drepper <drepper@gmail.com>
33372
33373 [BZ #6812]
33374 * nscd/hstcache.c (tryagain): Define.
33375 (cache_addhst): Return tryagain not notfound for temporary errors.
33376 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
33377 failed.
33378
794c3ad3
UD
333792011-01-14 Ulrich Drepper <drepper@gmail.com>
33380
70181fdd
UD
33381 [BZ #10563]
33382 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
33383 to make the syscall.
33384 * sysdeps/unix/sysv/linux/setgroups.c: New file.
33385
794c3ad3
UD
33386 [BZ #12378]
33387 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
33388 and fall back to matching as normal character if the string ends before
33389 the matching ']' is found. This is what POSIX requires.
33390 * posix/testfnm.c: Adjust test result.
33391 * posix/globtest.sh: Adjust test result. Add new test.
33392 * posix/tst-fnmatch.input: Likewise.
33393 * posix/tst-fnmatch2.c: Add new test.
33394
68dc9497
AS
333952010-12-28 Andreas Schwab <schwab@linux-m68k.org>
33396
33397 * elf/Makefile (check-execstack): Revert last change. Depend on
33398 check-execstack.h.
33399 (check-execstack.h): New target.
33400 (generated): Add check-execstack.h.
33401 * elf/check-execstack.c: Include "check-execstack.h".
33402 (main): Revert last change.
33403 (handle_file): Return zero if GNU_STACK is absent and
33404 DEFAULT_STACK_PERMS doesn't include PF_X.
33405
451f001b
UD
334062011-01-13 Ulrich Drepper <drepper@gmail.com>
33407
cfa28e56
UD
33408 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
33409 in child fails because the descriptor is already closed.
8cf8ce17
UD
33410 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
33411 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
33412 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 33413
1086d70d
UD
33414 [BZ #12397]
33415 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
33416 syscall.
33417
451f001b
UD
33418 [BZ #10484]
33419 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
33420 temporary buffer used to handle multi lookups locally.
a85b5cb4 33421 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 33422
08769175
UD
334232011-01-12 Ulrich Drepper <drepper@gmail.com>
33424
33425 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
33426 loader is ld.so.
33427
5e49c52e
UD
334282011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
33429
33430 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
33431 alignment for SSE2.
33432
60522a5f
UD
334332011-01-12 Ulrich Drepper <drepper@gmail.com>
33434
33435 [BZ #12394]
33436 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
33437 characters. When rounding increased number of integer digits recompute
33438 number of groups.
33439 * stdio-common/tst-grouping.c: New file.
33440 * stdio-common/Makefile: Add rules to build and run tst-grouping.
33441
f257bbd7
UD
334422011-01-09 Ulrich Drepper <drepper@gmail.com>
33443
33444 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
33445 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
33446
33447 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
33448 void.
33449 * bits/select.h: Likewise.
33450
fa9c15cb
UD
334512011-01-08 Ulrich Drepper <drepper@gmail.com>
33452
33453 * po/ja.po: Update from translation team.
33454
16c2895f
DM
334552011-01-04 David S. Miller <davem@sunset.davemloft.net>
33456
33457 [BZ #11155]
33458 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
33459 implementation just like for lxstat, fxstatat, et al.
33460
2543fef2
JM
334612010-12-27 Jim Meyering <meyering@redhat.com>
33462
33463 [BZ #12348]
33464 * posix/regexec.c (build_trtable): Return failure indication upon
33465 calloc failure. Otherwise, re_search_internal could infloop on OOM.
33466
98727dbe
UD
334672010-12-25 Ulrich Drepper <drepper@gmail.com>
33468
5bd6dc5c
UD
33469 [BZ #12201]
33470 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
33471 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
33472 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
33473 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
33474
97983464
UD
33475 [BZ #12207]
33476 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
33477
98727dbe
UD
33478 [BZ #12204]
33479 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
33480 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
33481
4a531bb0
L
334822010-12-15 H.J. Lu <hongjiu.lu@intel.com>
33483
33484 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
33485 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
33486 script has SORT_BY_INIT_PRIORITY.
33487 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
33488 NO_CTORS_DTORS_SECTIONS is defined.
33489 * elf/soinit.c: Likewise.
33490 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
33491 NO_CTORS_DTORS_SECTIONS is defined.
33492 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
33493 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
33494 * sysdeps/sh/init-first.c: Likewise.
33495 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
33496
07eb4b71
UD
334972010-12-24 Ulrich Drepper <drepper@gmail.com>
33498
33499 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
33500 always use the slow path.
33501
30950a5f
RA
335022010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
33503
33504 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
33505 similar rule which adds the sysdep directories to the header search in
33506 order to pick up the correct platform stackinfo.h.
33507 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
33508 perform test if it is, otherwise return successfully without testing.
33509 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
33510 DEFAULT_STACK_PERMS define in stackinfo.h.
33511 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
33512 defined in stackinfo.h.
33513 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
33514 DEFAULT_STACK_PERMS defined in stackinfo.h.
33515 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
33516 * sysdeps/ia64/stackinfo.h: Likewise.
33517 * sysdeps/s390/stackinfo.h: Likewise.
33518 * sysdeps/sh/stackinfo.h: Likewise.
33519 * sysdeps/sparc/stackinfo.h: Likewise.
33520 * sysdeps/x86_64/stackinfo.h: Likewise.
33521 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
33522 PF_X for powerpc64. Retain PF_X for powerpc32.
33523
db753e2c
UD
335242010-12-19 Ulrich Drepper <drepper@gmail.com>
33525
14b697f7
UD
33526 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
33527 accurately.
db753e2c
UD
33528 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
33529 GETDENTS_64BIT_ALIGNED.
33530
28300719
UD
335312010-12-14 Ulrich Drepper <dreper@gmail.com>
33532
14b697f7 33533 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 33534
4f197237
AS
335352010-12-10 Andreas Schwab <schwab@redhat.com>
33536
dbb0472f
AS
33537 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
33538 _GNU_SOURCE.
33539
4f197237
AS
33540 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
33541 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
33542 Remove __restrict.
33543 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
33544 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
33545
fb88ac72
UD
335462010-12-09 Ulrich Drepper <drepper@gmail.com>
33547
33548 [BZ #11655]
33549 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
33550 are initialized.
33551
42acbb92
JJ
335522010-12-09 Jakub Jelinek <jakub@redhat.com>
33553
33554 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
33555
c038d98d
UD
335562010-12-03 Ulrich Drepper <drepper@gmail.com>
33557
33558 * po/it.po: Update from translation team.
33559
3a4a2499
L
335602010-12-01 H.J. Lu <hongjiu.lu@intel.com>
33561
33562 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
33563 unused codes.
33564
1e24cf6e
UD
335652010-11-30 Ulrich Drepper <drepper@gmail.com>
33566
33567 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
33568
a7690819
AS
335692010-11-24 Andreas Schwab <schwab@redhat.com>
33570
33571 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
33572 specially.
33573 (gaih_getanswer_slice): Likewise.
33574
3bf8d1b1
JJ
335752010-10-20 Jakub Jelinek <jakub@redhat.com>
33576
33577 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
33578
6db52fbb
PB
335792010-05-31 Petr Baudis <pasky@suse.cz>
33580
33581 [BZ #11149]
33582 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
33583 silently even in the chroot mode.
33584
eaca7569
UD
335852010-11-22 Ulrich Drepper <drepper@gmail.com>
33586
33587 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
33588 last patch a bit. Pretty printing
33589
3056dcdb
UD
335902010-05-31 Petr Baudis <pasky@suse.cz>
33591
33592 [BZ #10085]
33593 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
33594 initialization of skip_initgroups_dyn.
33595
cf7c9078
UD
335962010-11-19 Ulrich Drepper <drepper@gmail.com>
33597
33598 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
33599 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
33600
a1fb5e3e
UD
336012010-11-16 Ulrich Drepper <drepper@gmail.com>
33602
33603 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
33604
3540d66b
AS
336052010-11-11 Andreas Schwab <schwab@redhat.com>
33606
33607 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
33608 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
33609 (tst-fnmatch-ENV): Set MALLOC_TRACE.
33610 ($(objpfx)tst-fnmatch-mem): New rule.
33611 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
33612 * posix/tst-fnmatch.c (main): Call mtrace.
33613
13b69574
L
336142010-11-11 H.J. Lu <hongjiu.lu@intel.com>
33615
33616 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33617 Support Intel processor model 6 and model 0x2c.
33618
da93d214
LM
336192010-11-10 Luis Machado <luisgpm@br.ibm.com>
33620
33621 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
33622 signed comparison.
33623
8ca52c6e
L
336242010-11-09 H.J. Lu <hongjiu.lu@intel.com>
33625
33626 [BZ #12205]
33627 * string/test-strncasecmp.c (check_result): New function.
33628 (do_one_test): Use it.
33629 (check1): New function.
33630 (test_main): Use it.
33631 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
33632 Support strcasecmp and strncasecmp.
33633
69da074d
UD
336342010-11-08 Ulrich Drepper <drepper@gmail.com>
33635
33636 [BZ #12194]
33637 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
33638 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33639
ff02d528
L
336402010-11-07 H.J. Lu <hongjiu.lu@intel.com>
33641
33642 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
33643 IFUNC support.
33644 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33645 memset-x86-64.
33646 * sysdeps/x86_64/multiarch/bzero.S: New file.
33647 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
33648 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
33649 * sysdeps/x86_64/multiarch/memset.S: New file.
33650 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
33651 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33652 Set bit_Prefer_SSE_for_memop for Intel processors.
33653 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
33654 Define.
33655 (index_Prefer_SSE_for_memop): Define.
33656 (HAS_PREFER_SSE_FOR_MEMOP): Define.
33657
344d0b54
LM
336582010-11-04 Luis Machado <luisgpm@br.ibm.com>
33659
33660 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
33661 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
33662
c0dde15b
UD
336632010-11-03 H.J. Lu <hongjiu.lu@intel.com>
33664
33665 [BZ #12191]
33666 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
33667 (__x86_64_raw_data_cache_size_half): Likewise.
33668 (__x86_64_raw_shared_cache_size): Likewise.
33669 (__x86_64_raw_shared_cache_size_half): Likewise.
33670
33671 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
33672 (__x86_64_raw_data_cache_size_half): Likewise.
33673 (__x86_64_raw_shared_cache_size): Likewise.
33674 (__x86_64_raw_shared_cache_size_half): Likewise.
33675 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
33676 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
33677 and __x86_64_raw_shared_cache_size_half. Round
33678 __x86_64_data_cache_size_half, __x86_64_data_cache_size
33679 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
33680 to multiple of 256 bytes.
33681
0e516e0e
MS
336822010-11-03 Ulrich Drepper <drepper@gmail.com>
33683
33684 [BZ #12167]
33685 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
33686 of inacessible symlinks. Verify result of symlink before returning it.
33687 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
33688 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
33689
0e012e87
ER
336902010-10-28 Erich Ritz <erichritz@gmail.com>
33691
33692 * math/math.h (isinf): Fix typo in comment.
33693
de0ff7bc
UD
336942010-11-01 Ulrich Drepper <drepper@gmail.com>
33695
33696 * po/da.po: Update from translation team.
33697
fa41c84d
UD
336982010-10-26 Ulrich Drepper <drepper@gmail.com>
33699
33700 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
33701 is added to the list.
33702
f0967738
AK
337032010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33704 Ulrich Drepper <drepper@gmail.com>
33705
33706 * elf/dl-object.c (_dl_new_object): Don't append the new object to
33707 the global list here. Move code to...
33708 (_dl_add_to_namespace_list): ...here. New function.
33709 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
33710 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
33711 * elf/dl-load.c (lose): Don't remove the element from the list.
33712 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
33713 (_dl_map_object): Likewise.
33714
337152010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
33716
33717 [BZ #12159]
33718 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
33719 into all bytes of SSE register.
33720 Patch by Richard Li <richardpku@gmail.com>.
33721
f0967738 337222010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
33723
33724 [BZ #12140]
33725 * malloc/malloc.c (_int_free): Fill correct number of bytes when
33726 perturbing.
33727
d0b9e94f
MB
337282010-10-20 Michael B. Brutman <brutman@us.ibm.com>
33729
33730 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
33731 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
33732 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
33733 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
33734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
33735 submachine.
33736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
33737
8e9f92e9
AS
337382010-10-22 Andreas Schwab <schwab@redhat.com>
33739
33740 * include/dlfcn.h (__RTLD_SECURE): Define.
33741 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
33742 mode & __RTLD_SECURE instead.
33743 (open_path): Rename preloaded parameter to secure.
33744 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
33745 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
33746 * elf/dl-deps.c (openaux): Likewise.
33747 * elf/rtld.c (struct map_args): Remove is_preloaded.
33748 (map_doit): Don't use it.
33749 (dl_main): Likewise.
33750 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
33751 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
33752
bc96fbda
AS
337532010-09-09 Andreas Schwab <schwab@redhat.com>
33754
33755 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
33756 (sysd-rules-targets): Remove duplicates.
33757 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
33758 rtld-%.$o dependency.
33759
22cd1c9b
AS
337602010-10-18 Andreas Schwab <schwab@redhat.com>
33761
33762 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
33763 _dl_map_object do it.
33764
18edac48
UD
337652010-10-19 Ulrich Drepper <drepper@gmail.com>
33766
33767 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
33768 fast fma builtins, define the macros in the C99 standard.
33769 (FP_FAST_FMAF): Likewise.
33770 (FP_FAST_FMAL): Likewise.
33771 * sysdeps/x86_64/bits/mathdef.h: Likewise.
33772
33773 * bits/mathdef.h: Update copyright year.
33774 * sysdeps/powerpc/bits/mathdef.h: Likewise.
33775
d2050124
MM
337762010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
33777
33778 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
33779 builtins, define the macros in the C99 standard.
33780 (FP_FAST_FMAF): Likewise.
33781 (FP_FAST_FMAL): Likewise.
33782 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
33783 multiply/add.
33784 (FP_FAST_FMAF): Likewise.
33785
475facd1
JJ
337862010-10-15 Jakub Jelinek <jakub@redhat.com>
33787
33788 [BZ #3268]
33789 * math/libm-test.inc (fma_test): Some new testcases.
33790 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
33791 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
33792 y and infinite z. Do multiplication by C already in long double.
33793 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
33794 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
33795 y and infinite z. Do bitwise or of inexact bit into u.d.
33796 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
33797 * sysdeps/i386/fpu/s_fmaf.S: Removed.
33798 * sysdeps/i386/fpu/s_fma.S: Removed.
33799 * sysdeps/i386/fpu/s_fmal.S: Removed.
33800
7c08a05c
JJ
338012010-10-16 Jakub Jelinek <jakub@redhat.com>
33802
33803 [BZ #3268]
33804 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
33805 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
33806 computation is not scheduled after fetestexcept. Fix value
33807 of minimum denormal long double.
33808
f3f7372d
JJ
338092010-10-14 Jakub Jelinek <jakub@redhat.com>
33810
33811 [BZ #3268]
33812 * math/libm-test.inc (fma_test): Add some more tests.
33813 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
33814 correctly.
33815
14d43591
AS
338162010-10-15 Andreas Schwab <schwab@redhat.com>
33817
33818 * scripts/data/localplt-s390-linux-gnu.data: New file.
33819 * scripts/data/localplt-s390x-linux-gnu.data: New file.
33820
5e908464
JJ
338212010-10-13 Jakub Jelinek <jakub@redhat.com>
33822
33823 [BZ #3268]
33824 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
33825 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
33826 instead of dbl-64.
33827 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
33828 inlines.
33829 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
33830 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
33831 if one of x and y is very large and the other is subnormal.
33832 * sysdeps/s390/fpu/s_fmaf.c: New file.
33833 * sysdeps/s390/fpu/s_fma.c: New file.
33834 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
33835 * sysdeps/powerpc/fpu/s_fma.S: New file.
33836 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
33837 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
33838 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
33839
338402010-10-12 Jakub Jelinek <jakub@redhat.com>
33841
33842 [BZ #3268]
33843 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
33844 fma tests.
33845 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
33846 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
33847 * sysdeps/i386/i686/multiarch/s_fma.c: Include
33848 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
33849 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
33850 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
33851 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
33852
b833d51f
UD
338532010-10-12 Ulrich Drepper <drepper@redhat.com>
33854
33855 [BZ #12078]
33856 * posix/regcomp.c (parse_branch): One more memory leak plugged.
33857 * posix/bug-regex31.input: Add test case.
33858
1751705d
UD
338592010-10-11 Ulrich Drepper <drepper@gmail.com>
33860
e9b9cbf5
UD
33861 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
33862 * posix/bug-regex31.input: New file.
33863
33864 [BZ #12078]
33865 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
33866 (parse_sub_exp): Fix last change, use postorder.
33867
ef06edbe
UD
33868 * posix/bug-regex31.c: New file.
33869 * posix/Makefile: Add rules to build and run bug-regex31.
33870
a129c80d
UD
33871 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
33872
33873 [BZ #12078]
33874 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
33875
b76b818e
UD
33876 [BZ #12108]
33877 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
33878 to have entries in sys_siglist.
33879
1751705d
UD
33880 [BZ #12093]
33881 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
33882 be NULL.
33883
9ff8d36f
JJ
338842010-10-07 Jakub Jelinek <jakub@redhat.com>
33885
33886 [BZ #3268]
33887 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
33888 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
33889 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
33890 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
33891 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
33892 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
33893 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
33894 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
33895 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
33896 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
33897 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
33898 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
33899 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
33900 * math/ftestexcept.c (fetestexcept): Likewise.
33901 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
33902 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
33903 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
33904 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
33905 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
33906 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
33907 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33908
af325969
UD
339092010-10-11 Ulrich Drepper <drepper@gmail.com>
33910
c579b202 33911 [BZ #12107]
af325969
UD
33912 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
33913 newline.
33914
67a67b95
UD
339152010-10-06 Ulrich Drepper <drepper@gmail.com>
33916
33917 * string/bug-strstr1.c: New file.
33918 * string/Makefile: Add rules to build and run bug-strstr1.
33919
5fb308bc
EB
339202010-10-05 Eric Blake <eblake@redhat.com>
33921
33922 [BZ #12092]
33923 * string/str-two-way.h (two_way_long_needle): Always clear memory
33924 when skipping input due to the shift table.
33925
45db99c7
UD
339262010-10-03 Ulrich Drepper <drepper@gmail.com>
33927
3b111893
UD
33928 [BZ #12005]
33929 * malloc/mcheck.c: Handle large requests.
33930
45db99c7
UD
33931 [BZ #12077]
33932 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
33933 for strncmp and strncasecmp.
33934 * string/stratcliff.c: Add tests for strcmp and strncmp.
33935 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
33936
cf7a1eb8
NI
339372010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33938
33939 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
33940 __set_fpscr.
33941
6484ba5e
AJ
339422010-09-30 Andreas Jaeger <aj@suse.de>
33943
33944 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
33945 (CGROUP_SUPER_MAGIC): Define.
33946 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33947 Handle btrfs and cgroup file systems.
33948 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
33949 Likewise.
33950
91c42559
LM
339512010-09-27 Luis Machado <luisgpm@br.ibm.com>
33952
33953 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
33954 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
33955
87a97932
AK
339562010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33957
33958 [BZ #12067]
33959 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
33960 trying to locate the ELF header.
33961
c21cc9bc
AS
339622010-09-27 Andreas Schwab <schwab@redhat.com>
33963
33964 [BZ #11611]
33965 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
33966 Mask out sign-bit copies when constructing f_fsid.
33967
315970f6
PB
339682010-09-24 Petr Baudis <pasky@suse.cz>
33969
33970 * debug/stack_chk_fail_local.c: Add missing licence exception.
33971 * debug/warning-nop.c: Likewise.
33972
1ac7a2c7
JM
339732010-09-15 Joseph Myers <joseph@codesourcery.com>
33974
33975 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
33976 implementing getdents64 using getdents syscall, set d_type if
33977 __ASSUME_GETDENTS32_D_TYPE.
33978
56801c50
AS
339792010-09-16 Andreas Schwab <schwab@redhat.com>
33980
33981 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
33982 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
33983
dda51327
UD
339842010-09-21 Ulrich Drepper <drepper@redhat.com>
33985
33986 [BZ #12037]
33987 * posix/unistd.h: Undo change of feature selection for ftruncate from
33988 2010-01-11.
33989
8ffcee4a
UD
339902010-09-20 Ulrich Drepper <drepper@redhat.com>
33991
a545ecd9 33992 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
33993 detection.
33994
e24f0a8b
AS
339952010-09-20 Andreas Schwab <schwab@redhat.com>
33996
33997 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
33998 fanotify_mark.
33999 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
34000
7291c56f
AS
340012010-09-14 Andreas Schwab <schwab@redhat.com>
34002
34003 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
34004 variables after CHECK_SP call.
34005 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
34006
bc5fb037
AS
340072010-09-13 Andreas Schwab <schwab@redhat.com>
34008 Ulrich Drepper <drepper@redhat.com>
34009
34010 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
34011 re-relocationg ld.so.
34012 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
34013 _dl_init_paths call.
34014 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
34015 here anymore.
34016
e66e7419
UD
340172010-09-14 Ulrich Drepper <drepper@redhat.com>
34018
34019 * resolv/res_init.c (__res_vinit): Count the default server we added.
34020
c044aa75
CLT
340212010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
34022 Ulrich Drepper <drepper@redhat.com>
34023
34024 [BZ #11968]
34025 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
34026 (____longjmp_chk): Use %ebx for saving value across system call.
34027 Add unwind info.
34028
32cf4069
AS
340292010-09-06 Andreas Schwab <schwab@redhat.com>
34030
34031 * manual/Makefile: Don't mix pattern rules with normal rules.
34032
817328ee
AS
340332010-09-05 Andreas Schwab <schwab@linux-m68k.org>
34034
34035 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
34036 operation.
34037 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
34038 * libio/iofopncook.c (_IO_cookie_init): Likewise.
34039 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
34040 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
34041 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34042 Likewise.
34043
29fddf61
UD
340442010-09-04 Ulrich Drepper <drepper@redhat.com>
34045
34046 [BZ #11979]
34047 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
34048 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
34049
0959ffc9
UD
340502010-09-02 Ulrich Drepper <drepper@redhat.com>
34051
34052 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
34053 * sysdeps/x86_64/addmul_1.S: Likewise.
34054 * sysdeps/x86_64/lshift.S: Likewise.
34055 * sysdeps/x86_64/mul_1.S: Likewise.
34056 * sysdeps/x86_64/rshift.S: Likewise.
34057 * sysdeps/x86_64/sub_n.S: Likewise.
34058 * sysdeps/x86_64/submul_1.S: Likewise.
34059
ece29840
ST
340602010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
34061
0959ffc9
UD
34062 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
34063 Define __sched_param instead of SCHED_* and sched_param when
ece29840 34064 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 34065 * bits/sched.h [__need_schedparam]
ece29840 34066 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
34067 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
34068 (__defined_schedparam): Define to 1.
ece29840
ST
34069 (__sched_param): New structure, identical to sched_param.
34070 (__need_schedparam): Undefine.
34071
e53a31fe
MF
340722010-08-31 Mike Frysinger <vapier@gentoo.org>
34073
fdc0c10d
MF
34074 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
34075 (epoll_create1): Declare.
34076
e53a31fe
MF
34077 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
34078
a726d796
AS
340792010-08-31 Andreas Schwab <schwab@redhat.com>
34080
34081 [BZ #7066]
34082 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
34083 shifting retval into place.
34084
2f3e3dc7
UD
340852010-09-01 Ulrich Drepper <drepper@redhat.com>
34086
f2933da9
UD
34087 * nis/rpcsvc/nis.h: Update copyright notice.
34088 * nis/rpcsvc/nis.x: Likewise.
34089 * nis/rpcsvc/nis_callback.h: Likewise.
34090 * nis/rpcsvc/nis_callback.x: Likewise.
34091 * nis/rpcsvc/nis_object.x: Likewise.
34092 * nis/rpcsvc/nis_tags.h: Likewise.
34093 * nis/rpcsvc/yp.h: Likewise.
34094 * nis/rpcsvc/yp.x: Likewise.
34095 * nis/rpcsvc/ypupd.h: Likewise.
34096 * nis/yp_xdr.c: Likewise.
34097 * nis/ypupdate_xdr.c: Likewise.
34098
2f3e3dc7
UD
34099 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
34100 mainly the body of pmap_getport. Add parameters to specify timeouts.
34101 (pmap_getport): Use __libc_rpc_getport.
34102 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
34103 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
34104 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
34105
f3dcc2f9
AS
341062010-08-31 Andreas Schwab <schwab@linux-m68k.org>
34107
34108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
34109 fanotify_mark.
34110
6d34eb5b
RM
341112010-08-27 Roland McGrath <roland@redhat.com>
34112
34113 * sysdeps/i386/i686/multiarch/Makefile
34114 (CFLAGS-varshift.c): New variable.
34115
9ea3de11
UD
341162010-08-27 Ulrich Drepper <drepper@redhat.com>
34117
c96d23fc
UD
34118 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
34119 * sysdeps/i386/i686/multiarch/varshift.c: New file.
34120
9ea3de11
UD
34121 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
34122
34123 * sysdeps/x86_64/strlen.S: Minimal code improvement.
34124
623aac7f
L
341252010-08-26 H.J. Lu <hongjiu.lu@intel.com>
34126
34127 * sysdeps/x86_64/strlen.S: Unroll the loop.
34128 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34129 strlen-sse2 strlen-sse2-bsf.
34130 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
34131 __strlen_no_bsf if bit_Slow_BSF is set.
34132 (__strlen_sse42): Removed.
34133 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
34134 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
34135
8b2b7715
RM
341362010-08-25 Roland McGrath <roland@redhat.com>
34137
34138 * sysdeps/x86_64/multiarch/varshift.S: File removed.
34139 * sysdeps/x86_64/multiarch/varshift.c: New file.
34140 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
34141 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
34142 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
34143 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
34144
e73015f2
L
341452010-08-25 H.J. Lu <hongjiu.lu@intel.com>
34146
34147 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34148 strlen-sse2 strlen-sse2-bsf.
34149 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
34150 __strlen_sse2_bsf if bit_Slow_BSF is unset.
34151 (__strlen_sse2): Removed.
34152 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
34153 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
34154 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
34155 bit_Slow_BSF for Atom.
34156 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
34157 (index_Slow_BSF): Define.
34158 (HAS_SLOW_BSF): Define.
34159
df24a73e
UD
341602010-08-25 Ulrich Drepper <drepper@redhat.com>
34161
34162 [BZ #10851]
34163 * resolv/res_init.c (__res_vinit): When no server address at all
34164 is given default to loopback.
34165
f2ac4868
RM
341662010-08-24 Roland McGrath <roland@redhat.com>
34167
09055553
RM
34168 * configure.in: Remove config-name.h generation.
34169 * configure: Regenerated.
34170 * config-name.in: File removed.
34171 * scripts/config-uname.sh: New file.
34172 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
34173 ($(objdir)config-name.h): New target.
34174
f2ac4868
RM
34175 * sunrpc/rpc_parse.h: Avoid nested comment.
34176
73f27d5e
RH
341772010-08-24 Richard Henderson <rth@redhat.com>
34178 Ulrich Drepper <drepper@redhat.com>
34179 H.J. Lu <hongjiu.lu@intel.com>
34180
34181 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
34182 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
34183 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
34184 Replace _mm_srli_si128 with __m128i_shift_right. Replace
34185 _mm_alignr_epi8 with _mm_loadu_si128.
34186 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
34187 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
34188 (__m128i_shift_right): Removed.
34189 * sysdeps/i386/i686/multiarch/varshift.h: New file.
34190 * sysdeps/i386/i686/multiarch/varshift.S: New file.
34191 * sysdeps/x86_64/multiarch/varshift.h: New file.
34192 * sysdeps/x86_64/multiarch/varshift.S: New file.
34193
84b9230c
MF
341942010-08-21 Mike Frysinger <vapier@gentoo.org>
34195
34196 * configure.in: Move assembler checks to before sysdep dir checking.
34197
9bbd0ddc
PB
341982010-08-20 Petr Baudis <pasky@suse.cz>
34199
34200 * LICENSES: Sync the sunrpc license.
34201
9da4bb31
UD
342022010-08-19 Ulrich Drepper <drepper@redhat.com>
34203
a7ab6ec8
UD
34204 * sunrpc/auth_des.c: Update copyright notice once again.
34205 * sunrpc/auth_none.c: Likewise.
34206 * sunrpc/auth_unix.c: Likewise.
34207 * sunrpc/authdes_prot.c: Likewise.
34208 * sunrpc/authuxprot.c: Likewise.
34209 * sunrpc/bindrsvprt.c: Likewise.
34210 * sunrpc/clnt_gen.c: Likewise.
34211 * sunrpc/clnt_perr.c: Likewise.
34212 * sunrpc/clnt_raw.c: Likewise.
34213 * sunrpc/clnt_simp.c: Likewise.
34214 * sunrpc/clnt_tcp.c: Likewise.
34215 * sunrpc/clnt_udp.c: Likewise.
34216 * sunrpc/clnt_unix.c: Likewise.
34217 * sunrpc/des_crypt.c: Likewise.
34218 * sunrpc/des_soft.c: Likewise.
34219 * sunrpc/get_myaddr.c: Likewise.
34220 * sunrpc/getrpcport.c: Likewise.
34221 * sunrpc/key_call.c: Likewise.
34222 * sunrpc/key_prot.c: Likewise.
34223 * sunrpc/openchild.c: Likewise.
34224 * sunrpc/pm_getmaps.c: Likewise.
34225 * sunrpc/pm_getport.c: Likewise.
34226 * sunrpc/pmap_clnt.c: Likewise.
34227 * sunrpc/pmap_prot.c: Likewise.
34228 * sunrpc/pmap_prot2.c: Likewise.
34229 * sunrpc/pmap_rmt.c: Likewise.
34230 * sunrpc/rpc/auth.h: Likewise.
34231 * sunrpc/rpc/auth_unix.h: Likewise.
34232 * sunrpc/rpc/clnt.h: Likewise.
34233 * sunrpc/rpc/des_crypt.h: Likewise.
34234 * sunrpc/rpc/key_prot.h: Likewise.
34235 * sunrpc/rpc/netdb.h: Likewise.
34236 * sunrpc/rpc/pmap_clnt.h: Likewise.
34237 * sunrpc/rpc/pmap_prot.h: Likewise.
34238 * sunrpc/rpc/pmap_rmt.h: Likewise.
34239 * sunrpc/rpc/rpc.h: Likewise.
34240 * sunrpc/rpc/rpc_des.h: Likewise.
34241 * sunrpc/rpc/rpc_msg.h: Likewise.
34242 * sunrpc/rpc/svc.h: Likewise.
34243 * sunrpc/rpc/svc_auth.h: Likewise.
34244 * sunrpc/rpc/types.h: Likewise.
34245 * sunrpc/rpc/xdr.h: Likewise.
34246 * sunrpc/rpc_clntout.c: Likewise.
34247 * sunrpc/rpc_cmsg.c: Likewise.
34248 * sunrpc/rpc_common.c: Likewise.
34249 * sunrpc/rpc_cout.c: Likewise.
34250 * sunrpc/rpc_dtable.c: Likewise.
34251 * sunrpc/rpc_hout.c: Likewise.
34252 * sunrpc/rpc_main.c: Likewise.
34253 * sunrpc/rpc_parse.c: Likewise.
34254 * sunrpc/rpc_parse.h: Likewise.
34255 * sunrpc/rpc_prot.c: Likewise.
34256 * sunrpc/rpc_sample.c: Likewise.
34257 * sunrpc/rpc_scan.c: Likewise.
34258 * sunrpc/rpc_scan.h: Likewise.
34259 * sunrpc/rpc_svcout.c: Likewise.
34260 * sunrpc/rpc_tblout.c: Likewise.
34261 * sunrpc/rpc_util.c: Likewise.
34262 * sunrpc/rpc_util.h: Likewise.
34263 * sunrpc/rpcinfo.c: Likewise.
34264 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
34265 * sunrpc/rpcsvc/key_prot.x: Likewise.
34266 * sunrpc/rpcsvc/klm_prot.x: Likewise.
34267 * sunrpc/rpcsvc/mount.x: Likewise.
34268 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
34269 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
34270 * sunrpc/rpcsvc/rex.x: Likewise.
34271 * sunrpc/rpcsvc/rstat.x: Likewise.
34272 * sunrpc/rpcsvc/rusers.x: Likewise.
34273 * sunrpc/rpcsvc/sm_inter.x: Likewise.
34274 * sunrpc/rpcsvc/spray.x: Likewise.
34275 * sunrpc/rpcsvc/yppasswd.x: Likewise.
34276 * sunrpc/rtime.c: Likewise.
34277 * sunrpc/svc.c: Likewise.
34278 * sunrpc/svc_auth.c: Likewise.
34279 * sunrpc/svc_authux.c: Likewise.
34280 * sunrpc/svc_raw.c: Likewise.
34281 * sunrpc/svc_run.c: Likewise.
34282 * sunrpc/svc_simple.c: Likewise.
34283 * sunrpc/svc_tcp.c: Likewise.
34284 * sunrpc/svc_udp.c: Likewise.
34285 * sunrpc/svc_unix.c: Likewise.
34286 * sunrpc/svcauth_des.c: Likewise.
34287 * sunrpc/xcrypt.c: Likewise.
34288 * sunrpc/xdr.c: Likewise.
34289 * sunrpc/xdr_array.c: Likewise.
34290 * sunrpc/xdr_float.c: Likewise.
34291 * sunrpc/xdr_mem.c: Likewise.
34292 * sunrpc/xdr_rec.c: Likewise.
34293 * sunrpc/xdr_ref.c: Likewise.
34294 * sunrpc/xdr_sizeof.c: Likewise.
34295 * sunrpc/xdr_stdio.c: Likewise.
34296
9da4bb31
UD
34297 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
34298 handling.
34299
bdaa77bc
AS
343002010-08-19 Andreas Schwab <schwab@redhat.com>
34301
34302 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
34303
fe2f79db
LM
343042010-08-19 Luis Machado <luisgpm@br.ibm.com>
34305
34306 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
34307 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
34308 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
34309 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
34310 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
34311 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
34312 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
34313 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
34314 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
34315 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
34316 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
34317 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
34318 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
34319 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
34320
b9b42ee0
AB
343212010-07-26 Anton Blanchard <anton@samba.org>
34322
34323 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
34324 * malloc/arena.c (heap_trim): Likewise.
34325
1c06ba31
UD
343262010-08-16 Ulrich Drepper <drepper@redhat.com>
34327
34328 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
34329 here. Not...
34330 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
34331 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
34332
f8392f40
L
343332010-08-12 H.J. Lu <hongjiu.lu@intel.com>
34334
34335 * sysdeps/i386/elf/Makefile: New file.
34336
3162f12e
AS
343372010-08-14 Andreas Schwab <schwab@linux-m68k.org>
34338
34339 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
34340 from fanotify_init.
34341 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
34342 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
34343
28c90b2c
UD
343442010-08-15 Ulrich Drepper <drepper@redhat.com>
34345
34346 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
34347 of strncasecmp_l.
1feccb6c 34348 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 34349
ca6bb004
UD
343502010-08-14 Ulrich Drepper <drepper@redhat.com>
34351
e9f82e0d
UD
34352 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
34353 strncase_l-nonascii.
34354 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
34355 Add strncase_l-ssse3.
34356 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
34357 * sysdeps/x86_64/strcmp.S: Likewise.
34358 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
34359 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
34360 * sysdeps/x86_64/strncase.S: New file.
34361 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
34362 * sysdeps/x86_64/strncase_l.S: New file.
34363 * string/Makefile (strop-tests): Add strncasecmp.
34364 * string/test-strncasecmp.c: New file.
34365
34366 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
34367 warning.
34368
ca6bb004
UD
34369 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
34370 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
34371
052fa7b3
AS
343722010-08-14 Andreas Schwab <schwab@linux-m68k.org>
34373
34374 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
34375
962dba78
UD
343762010-08-12 Ulrich Drepper <drepper@redhat.com>
34377
34378 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
34379 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
34380 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
34381
bebff237
AM
343822010-05-01 Alan Modra <amodra@gmail.com>
34383
34384 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
34385 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
34386 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
34387 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
34388 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
34389 tidying. Don't tail-call __sigjmp_save for static lib.
34390 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
34391 save location.
34392 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
34393 (CALL_MCOUNT): Add eh info, and nop after bl.
34394 (TAIL_CALL_SYSCALL_ERROR): New macro.
34395 (PSEUDO_RET): Use it.
34396 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
34397 Correct save location of integer regs and cr.
34398 (_dl_profile_resolve): Correct cr save location. Delete nops
34399 after bl when SHARED. Reduce cfi size a little by better
34400 placement of cfi directives.
34401 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
34402 make a stack frame. Instead use parm save area as a temp.
34403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
34404 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
34405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
34406 Don't make a stack frame for parent, use parm save area.
34407 Increase child stack frame to 112 bytes. Don't save unused reg,
34408 and adjust reg usage. Set up cfi on error recovery and
34409 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
34410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
34411 (__makecontext): Add dummy nop after jump to exit.
34412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
34413 Use correct parm save area and cr save, reduce stack frame.
34414 Correct cfi for possible PSEUDO_RET frame setup.
34415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
34416 Branch to local label emitted by PSEUDO_RET rather than
34417 __syscall_error.
34418
02637374
AS
344192010-08-12 Andreas Schwab <schwab@redhat.com>
34420
34421 [BZ #11904]
34422 * locale/programs/locale.c (print_assignment): New function.
34423 (show_locale_vars): Use it.
34424
c3e2f19b
UD
344252010-08-11 Ulrich Drepper <drepper@redhat.com>
34426
3cdaa6ad
UD
34427 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
34428 field.
34429 (struct statfs64): Likewise.
34430 (_STATFS_F_FLAGS): Define.
34431 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
34432 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34433 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
34434 (ST_VALID): Define locally.
34435 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
34436 __statvfs_getflags, use the provided value.
34437 * sysdeps/unix/sysv/linux/kernel-features.h: Define
34438 __ASSUME_STATFS_F_FLAGS.
34439
754f7da3
UD
34440 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
34441
10b3bedc
UD
34442 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
34443 Add sys/fanotify.h.
34444 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
34445 fanotify_mask for GLIBC_2.13.
34446 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
34447 fanotify_init and fanotify_mark.
34448 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
34449 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
34450
c08fb0d7
UD
34451 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
34452 Add prlimit.
34453 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
34454 prlimit64 for GLIBC_2.13.
34455 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
34456 prlimit64.
34457 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
34458 syscall.
34459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
34460 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
34461 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
34462 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
34463 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
34464 add prlimit alias.
34465 * sysdeps/unix/sysv/linux/prlimit.c: New file.
34466
15bac72b
UD
34467 [BZ #11903]
34468 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
34469 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
34470
c3e2f19b
UD
34471 * nss/Makefile: Add rules to build and run tst-nss-test1.
34472 * shlib-versions: Add entry for libnss_test1.
34473 * nss/nss_test1.c: New file.
34474 * nss/tst-nss-test1.c: New file.
34475
34476 * nss/nsswitch.c (__nss_database_custom): Define new variable.
34477 (__nss_configure_lookup): Set appropriate entry in
34478 __nss_configure_lookup to true.
34479 * nss/nsswitch.h: Define enum with indeces of databases in
34480 databases and __nss_database_custom arrays. Declare
34481 __nss_database_custom.
34482 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
34483 to avoid using nscd when custom rules are installed.
34484 * nss/getXXbyYY_r.c: Likewise.
34485 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
34486
34487 * nss/nss_files/files-parse.c: Whitespace fixes.
34488
f15ce4d8
UD
344892010-08-09 Ulrich Drepper <drepper@redhat.com>
34490
34491 [BZ #11883]
34492 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
34493 * posix/fnmatch_loop.c: Likewise.
34494
d22e4cc9
AK
344952010-07-17 Andi Kleen <ak@linux.intel.com>
34496
34497 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
34498 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
34499 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
34500 * Versions.def [GLIBC_2.13]: Add.
34501
805bc17d
UD
345022010-08-06 Ulrich Drepper <drepper@redhat.com>
34503
34504 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34505 Also fail if tpwd after pwuid call is NULL.
34506
5a42321d
ST
345072010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
34508
34509 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
34510 when converting to ms.
34511
fd3ebeda
ST
345122010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
34513
34514 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
34515 EOPNOTSUPP errors with ENOTTY.
34516 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
34517 EOPNOTSUPP errors with ENOTTY.
34518
73507d3a
UD
345192010-07-31 Ulrich Drepper <drepper@redhat.com>
34520
34521 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
34522 Add strcasecmp_l-ssse3.
34523 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
34524 strcasecmp.
34525 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
34526 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
34527 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
34528
fe36dd02
UD
345292010-07-30 Ulrich Drepper <drepper@redhat.com>
34530
66f6765a
UD
34531 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
34532
42e08a54
UD
34533 * string/Makefile (strop-tests): Add strcasecmp.
34534 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
34535 strcasecmp_l-nonascii.
34536 (gen-as-const-headers): Add locale-defines.sym.
34537 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
34538 * sysdeps/x86_64/strcasecmp.S: New file.
34539 * sysdeps/x86_64/strcasecmp_l.S: New file.
34540 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
34541 * sysdeps/x86_64/locale-defines.sym: New file.
34542 * string/test-strcasecmp.c: New file.
34543
fe36dd02
UD
34544 * string/test-strcasestr.c: Test both ends of the range of characters.
34545 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
34546
48cbc0d6
RM
345472010-07-29 Roland McGrath <roland@redhat.com>
34548
76e6d6bc 34549 [BZ #11856]
48cbc0d6
RM
34550 * manual/locale.texi (Yes-or-No Questions): Fix example code.
34551
880113d9
UD
345522010-07-27 Ulrich Drepper <drepper@redhat.com>
34553
34554 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
34555 for ld.so.
34556
deb9cabb
AS
345572010-07-27 Andreas Schwab <schwab@redhat.com>
34558
34559 * manual/memory.texi (Malloc Tunable Parameters): Document
34560 M_PERTURB.
34561
1c7570ff
RM
345622010-07-26 Roland McGrath <roland@redhat.com>
34563
34564 [BZ #11840]
34565 * configure.in (-fgnu89-inline check): Set and substitute
34566 gnu89_inline, not libc_cv_gnu89_inline.
34567 * configure: Regenerated.
34568 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
34569
24fb0f88
UD
345702010-07-26 Ulrich Drepper <drepper@redhat.com>
34571
34572 * string/test-strnlen.c: New file.
34573 * string/Makefile (strop-tests): Add strnlen.
34574 * string/tester.c (test_strnlen): Add a few more test cases.
34575 * string/tst-strlen.c: Better error reporting.
34576
34577 * sysdeps/x86_64/strnlen.S: New file.
34578
8e96b93a
UD
345792010-07-24 Ulrich Drepper <drepper@redhat.com>
34580
34581 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
34582 lower-latency instructions.
34583
dbc676d4
UD
345842010-07-23 Ulrich Drepper <drepper@redhat.com>
34585
34586 * string/test-strcasestr.c: New file.
34587 * string/test-strstr.c: New file.
34588 * string/Makefile (strop-tests): Add strstr and strcasestr.
34589 * string/str-two-way.h: Don't undefine MAX.
34590 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
34591
f6a31e0e
AS
345922010-07-21 Andreas Schwab <schwab@redhat.com>
34593
34594 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34595 strcasestr-nonascii.
34596 (CFLAGS-strcasestr-nonascii.c): Define.
34597 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
34598 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
34599 Remove unused attribute.
34600
5dbc3b6c
RM
346012010-07-20 Roland McGrath <roland@redhat.com>
34602
34603 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
34604 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
34605 ld.so.cache was broken. With it, there is no way to disable dsocaps
34606 like LD_HWCAP_MASK can disable hwcaps.
34607
23d101d8
EPM
346082010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
34609
34610 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
34611
cc9f2e47
UD
346122010-07-16 Ulrich Drepper <drepper@redhat.com>
34613
34614 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
34615 call in strcasestr.
34616 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
34617 __strcasestr_sse42_nonascii.
34618 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
34619 strcasestr-nonascii.c.
34620 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
34621
77c1b069
LM
346222010-06-15 Luis Machado <luisgpm@br.ibm.com>
34623
34624 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
34625 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
34626 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
34627 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
34628
440566c3
UD
346292010-07-09 Ulrich Drepper <drepper@redhat.com>
34630
34631 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
34632 fcntl.
34633
5be9d05d
AS
346342010-07-06 Andreas Schwab <schwab@redhat.com>
34635
c30b7ee2 34636 [BZ #11577]
5be9d05d
AS
34637 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
34638 dl_signal_cerror.
34639
8a492a67
UD
346402010-07-06 Ulrich Drepper <drepper@redhat.com>
34641
34642 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
34643 _PC_PIPE_BUF using F_GETPIPE_SZ.
34644
713df3d5
RM
346452010-07-05 Roland McGrath <roland@redhat.com>
34646
34647 * manual/arith.texi (Rounding Functions): Fix rint description
34648 implicit in round description.
34649
702e8f14
UD
346502010-07-02 Ulrich Drepper <drepper@redhat.com>
34651
34652 * elf/Makefile: Fix linking for a few tests to make recent linker
34653 happy.
34654
52ed8be9
AS
346552010-06-30 Andreas Schwab <schwab@redhat.com>
34656
34657 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
34658 $(common-objpfx)libc_nonshared.a.
34659
f47c9a11
LM
346602010-06-21 Luis Machado <luisgpm@br.ibm.com>
34661
34662 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
34663 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
34664 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
34665 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
34666 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
34667 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
34668 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
34669 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
34670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
34671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
34672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
34673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
34674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
34675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
34676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
34677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
34678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
34679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
34680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
34681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
34682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
34683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
34684 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
34685 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
34686 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
34687 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
34688 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
34689 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
34690 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
34691 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
34692 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
34693 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
34694 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
34695 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
34696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
34697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
34698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
34699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
34700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
34701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
34702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
34703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
34704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
34705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
34706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
34707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
34708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
34709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
34710
6fb8cbcb
L
347112010-06-25 H.J. Lu <hongjiu.lu@intel.com>
34712
34713 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
34714 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
34715 * string/memmove.c (memmove): Renamed to ...
34716 (MEMMOVE): ...this. Default to memmove.
34717 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
34718 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
34719 (END_CHK): Define.
34720 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34721 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
34722 mempcpy-ssse3-back memmove-ssse3-back.
34723 * sysdeps/x86_64/multiarch/bcopy.S: New file .
34724 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
34725 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
34726 * sysdeps/x86_64/multiarch/memcpy.S: New file.
34727 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
34728 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
34729 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
34730 * sysdeps/x86_64/multiarch/memmove.c: New file.
34731 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
34732 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
34733 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
34734 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
34735 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
34736 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
34737 Define.
34738 (index_Fast_Copy_Backward): Define.
34739 (HAS_ARCH_FEATURE): Define.
34740 (HAS_FAST_REP_STRING): Define.
34741 (HAS_FAST_COPY_BACKWARD): Define.
34742
4e733bac 347432010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
34744
34745 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34746 Restore proper fallback handling.
34747
63c4ed22
UD
347482010-06-19 Ulrich Drepper <drepper@redhat.com>
34749
ac2b484c
UD
34750 [BZ #11701]
34751 * posix/group_member.c (__group_member): Correct checking loop.
34752
63c4ed22
UD
34753 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
34754 OOM in getpwuid_r correctly. Return error number when the caller
34755 should return, otherwise -1.
34756 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
34757 call returning > 0 value.
34758 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
34759
765ade4b
AS
347602010-06-07 Andreas Schwab <schwab@redhat.com>
34761
34762 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
34763 libc_nonshared.a from targets in modules-names.
34764
80da2e09
KS
347652010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
34766
34767 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
34768 requires it.
34769
158db122
LM
347702010-06-10 Luis Machado <luisgpm@br.ibm.com>
34771
34772 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
34773 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
34774 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
34775 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
34776
caa78cf8
AS
347772010-06-02 Andreas Schwab <schwab@redhat.com>
34778
34779 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
34780
b2ef2c01
UD
347812010-06-14 Ulrich Drepper <drepper@redhat.com>
34782
34783 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
34784 and F_GETPIPE_SZ.
34785 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
34786 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
34787 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34788 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34789 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
34790 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
34791
fbd643b6
RM
347922010-06-14 Roland McGrath <roland@redhat.com>
34793
34794 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
34795
f32f2869
JJ
347962010-06-07 Jakub Jelinek <jakub@redhat.com>
34797
34798 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
34799 __REDIRECT followed by __THROW.
34800 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
34801 * posix/getopt.h (getopt): Likewise.
34802
2a50c078
EPM
348032010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
34804
34805 * hurd/lookup-at.c (__file_name_lookup_at): Accept
34806 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
34807 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
34808 in AT_FLAGS.
34809 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
34810 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
34811
eb5ad2eb
LM
348122010-05-28 Luis Machado <luisgpm@br.ibm.com>
34813
34814 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
34815
3c88fe1e
L
348162010-05-26 H.J. Lu <hongjiu.lu@intel.com>
34817
34818 [BZ #11640]
34819 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34820 Properly check family and model.
34821
d2f73151
TY
348222010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
34823
34824 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
34825
ebd2e13d
LM
348262010-05-24 Luis Machado <luisgpm@br.ibm.com>
34827
34828 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
34829
b32b8b45
UD
348302010-05-21 Ulrich Drepper <drepper@redhat.com>
34831
34832 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
34833 symbol reference.
34834
9acbe24d
AS
348352010-05-19 Andreas Schwab <schwab@redhat.com>
34836
34837 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
34838 symbol reference.
34839
f0ccf6ea
AS
348402010-05-21 Andreas Schwab <schwab@redhat.com>
34841
3d04ff3a
AS
34842 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
34843 and internal_recvmmsg.
34844 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
34845 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
34846 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
34847 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
34848
f0ccf6ea
AS
34849 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
34850 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
34851 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
34852
5b08ac57
AS
348532010-05-20 Andreas Schwab <schwab@redhat.com>
34854
34855 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
34856
4828935d
LM
348572010-05-17 Luis Machado <luisgpm@br.ibm.com>
34858
34859 POWER7 optimizations.
34860 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
34861 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
34862
373d545e
UD
348632010-05-19 Ulrich Drepper <drepper@redhat.com>
34864
34865 * version.h: Update for 2.13 development version.
34866
21a2b1ae
AS
348672010-05-12 Andrew Stubbs <ams@codesourcery.com>
34868
34869 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
34870 exceptions. Return 0.
34871
3f7dcb2b
RM
348722010-05-07 Roland McGrath <roland@redhat.com>
34873
34874 * elf/ldconfig.c (main): Add a const.
34875
5f24d53a 348762010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 34877
a160f8d8
UD
34878 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
34879 (args_options): Add no-idn option.
34880 (ahosts_keys_int): Add idn_flags to ai_flags.
34881 (parse_option): Handle 'i' option to clear idn_flags.
34882
5f24d53a
UD
34883 * malloc/malloc.c (_int_free): Possible race in the most recently
34884 added check. Only act on the data if no current modification
34885 happened.
265bb1ce
UD
34886
34887See ChangeLog.17 for earlier changes.