]> sourceware.org Git - glibc.git/blame - ChangeLog
PowerPC: Fix __fe_mask_env export
[glibc.git] / ChangeLog
CommitLineData
7a2ad8cf
AZ
12013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2
3 [BZ #14143]
4 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
5 (__fe_mask_env): Likewise.
6 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
7 libm_hidden_proto and add function prototype.
8 (__fe_mask_env): Add function prototype.
9 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
11 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
12 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
13 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
15
50727aa7
MS
162013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17
18 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
19 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
20
a615be46
MS
212013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22
23 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
24 of htab_find_slot().
25
7ddace62
DM
262013-11-11 David S. Miller <davem@davemloft.net>
27
28 [BZ #16150]
29 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
30 symbol in the non-vis3 case in static builds.
31 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
32 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
33 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
34 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
35
9182aa67
JK
362013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
37
38 [BZ #387]
39 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
40 it is empty.
41
450a2e2d
AZ
422013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43
44 * benchtests/Makefile: Add bench-strtod.
45 * benchtests/bench-strtod.c: New file: strtod benchtest
46
8ec3f656
AS
472013-11-11 Andreas Schwab <schwab@suse.de>
48
49 [BZ #16153]
50 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
51 terminating NUL in key length.
52
76a9b998
AZ
532013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54
55 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
56 Add artificial ODP entry for vDSO symbol for PPC64.
57 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
58 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
59
e4368156
OB
602013-11-07 Ondřej Bílka <neleai@seznam.cz>
61
62 [BZ #15374]
63 * nss/getent.c (services_keys): Recognize services starting with digit.
64
8d6bb57c
DM
652013-11-06 David S. Miller <davem@davemloft.net>
66
67 [BZ #15985]
68 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
69 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
70
e256c421
WN
712013-11-06 Will Newton <will.newton@linaro.org>
72
73 * manual/memory.texi (Malloc Examples): Remove register
74 keyword from examples.
75
f6e12daa 762013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 77
f6e12daa 78 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 79
9d880655
AS
802013-11-04 Joseph Myers <joseph@codesourcery.com>
81
82 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
83 depending on [__GCC_IEC_559 > 0].
84 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
85 depending on [__GCC_IEC_559_COMPLEX > 0].
86
ae129d3c
CL
872013-11-03 Chris Leonard <cjl@sugarlabs.org>
88
89 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
90 to iso-639.def.
91
4a15c2a4 922013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
93
94 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
95
8b35e35d
OB
962013-11-01 Ondřej Bílka <neleai@seznam.cz>
97
98 [BZ #16112]
99 * malloc/malloc (malloc_info): Do not handle first bin as
100 special case.
101
1d70fd6c
CL
1022013-11-01 Chris Leonard <cjl@sugarlabs.org>
103
104 * locale/iso-639.def: Add Central Nahuatl (nhn).
105
8c5c2600
BH
1062013-11-01 Bruno Haible <bruno@clisp.org>
107
108 [BZ #7003]
109 * manual/math.texi (BSD Random): Specify range upper bound as
110 in POSIX.
111
da5579c2
CL
1122013-10-31 Chris Leonard <cjl@sugarlabs.org>
113
114 * locale/iso-639.def: Add Meadow Mari (mhr).
115
5d30d853
OB
1162013-10-31 Ondřej Bílka <neleai@seznam.cz>
117
118 [BZ #14752], [BZ #15763]
119 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
120 Validate name.
121 * rt/tst_shm.c: Add test for escaping directory.
122
a4966c61
AS
1232013-10-31 Andreas Schwab <schwab@suse.de>
124
8a43e768 125 [BZ #15917]
a4966c61
AS
126 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
127 followed by 'x' as part of digit sequence.
128 * stdio-common/tst-sscanf.c (double_tests2): New tests.
129
28d708c4
MAP
1302013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
131
132 [BZ #16037]
133 * configure.ac: allow GNU Make 4.0 and greater.
134 * configure: Regenerated.
135
a56ee40b
WN
1362013-10-30 Will Newton <will.newton@linaro.org>
137
138 [BZ #16038]
139 * malloc/hooks.c (memalign_check): Limit alignment to the
140 maximum representable power of two.
141 * malloc/malloc.c (__libc_memalign): Likewise.
142 * malloc/tst-memalign.c (do_test): Add test for very
143 large alignment values.
144 * malloc/tst-posix_memalign.c (do_test): Likewise.
145
c6e4925d
OB
1462013-10-30 Ondřej Bílka <neleai@seznam.cz>
147
148 [BZ #11087]
149 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
150 (munmap_chunk): Likewise.
151 (mremap_chunk): Likewise.
152
1532013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 154
8a43e768 155 [BZ #15799]
bbea82f7
OB
156 * stdlib/div.c (div): Remove obsolete code.
157 * stdlib/ldiv.c (ldiv): Likewise.
158 * stdlib/lldiv.c (lldiv): Likewise.
159
977f4b31
SP
1602013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
161
162 [BZ #16071]
163 * nss/nss_files/files-XXX.c (get_contents_ret): New
164 enumerator.
165 (get_contents): New function.
166 (internal_getent): Use it. Expand size of LINEBUFLEN.
167
cb8a6dbd
MF
1682013-10-30 Mike Frysinger <vapier@gentoo.org>
169
170 * configure.in: Moved to ...
171 * configure.ac: ... here. Change reference to configure.in
172 to configure.ac.
173 * sysdeps/arm/preconfigure.ac: ... here.
174 configure.in to configure.ac.
175 * sysdeps/gnu/configure.in: Moved to ...
176 * sysdeps/gnu/configure.ac: ... here.
177 * sysdeps/i386/configure.in: Moved to ...
178 * sysdeps/i386/configure.ac: ... here.
179 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
180 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
181 * sysdeps/mach/configure.in: Moved to ...
182 * sysdeps/mach/configure.ac: ... here.
183 * sysdeps/mach/hurd/configure.in: Moved to ...
184 * sysdeps/mach/hurd/configure.ac: ... here.
185 * sysdeps/powerpc/configure.in: Moved to ...
186 * sysdeps/powerpc/configure.ac: ... here.
187 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
188 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
189 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
190 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
191 * sysdeps/s390/s390-32/configure.in: Moved to ...
192 * sysdeps/s390/s390-32/configure.ac: ... here.
193 * sysdeps/s390/s390-64/configure.in: Moved to ...
194 * sysdeps/s390/s390-64/configure.ac: ... here.
195 * sysdeps/sh/configure.in: Moved to ...
196 * sysdeps/sh/configure.ac: ... here.
197 * sysdeps/sparc/configure.in: Moved to ...
198 * sysdeps/sparc/configure.ac: ... here.
199 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
200 * sysdeps/unix/sysv/linux/configure.ac: ... here.
201 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
202 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
203 * sysdeps/x86_64/configure.in: Moved to ...
204 * sysdeps/x86_64/configure.ac: ... here.
205 * sysdeps/x86_64/preconfigure.in: Moved to ...
206 * sysdeps/x86_64/preconfigure.ac: ... here.
207 * aclocal.m4: Change reference to configure.in to configure.ac.
208 * config.h.in: Likewise.
209 * manual/install.texi: Likewise.
210 * manual/maint.texi: Likewise.
211 * Makefile: Likewise.
212 * malloc/Makefile: Likewise.
213 * nscd/Makefile: Likewise.
214 * Makeconfig: Change reference to configure.in and
215 preconfigure.in to configure.ac and preconfigure.ac
216 respectively.
217 * INSTALL: Regenerated.
218 * configure: Likewise.
219 * sysdeps/gnu/configure: Likewise.
220 * sysdeps/i386/configure: Likewise.
221 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
222 * sysdeps/mach/configure: Likewise.
223 * sysdeps/mach/hurd/configure: Likewise.
224 * sysdeps/powerpc/configure: Likewise.
225 * sysdeps/powerpc/powerpc32/configure: Likewise.
226 * sysdeps/powerpc/powerpc64/configure: Likewise.
227 * sysdeps/s390/s390-32/configure: Likewise.
228 * sysdeps/s390/s390-64/configure: Likewise.
229 * sysdeps/sh/configure: Likewise.
230 * sysdeps/sparc/configure: Likewise.
231 * sysdeps/unix/sysv/linux/configure: Likewise.
232 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
233 * sysdeps/x86_64/configure: Likewise.
234 * sysdeps/x86_64/preconfigure: Likewise.
235
36a4953a
AS
2362013-10-29 Andreas Schwab <schwab@suse.de>
237
238 * stdio-common/Makefile (tst-swscanf-ENV): Define.
239
c79a1204
SP
2402013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
241
dfa1b402
SP
242 * benchtests/pow-inputs: Add new inputs.
243
54f73d9c
SP
244 * benchtests/exp-inputs: Add new inputs.
245
c79a1204
SP
246 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
247 conditional check for return value.
248 (__cos32): Likewise.
249
67beb545 2502013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
251
252 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
253 to provide a boost for large inputs with word alignment.
254 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
255 implementation based on optimized PPC64 strcpy.
256 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
257 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
258 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
259 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
260
151659f6
OB
2612013-10-25 Ondřej Bílka <neleai@seznam.cz>
262
482a077e 263 [BZ #2801]
151659f6
OB
264 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
265
10b0f26b
OB
2662013-10-25 Ondřej Bílka <neleai@seznam.cz>
267
268 [BZ #14876]
269 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
270 * time/tst-strptime.c (day_tests): Add testcase.
271
ca42d35e
OB
2722013-10-25 Ondřej Bílka <neleai@seznam.cz>
273
482a077e 274 [BZ #14029]
ca42d35e
OB
275 * manual/pattern.texi: Acknowledge that fnmatch can fail.
276
52e6d801
FB
2772013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
278
279 [BZ #16074]
280 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
281 MAP_FAILED on error.
282
7cbcdb36
SP
2832013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
284
285 [BZ #16072]
286 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
287 heap for large requests.
288
894f3f10
AM
2892013-10-25 Aurelien Jarno <aurelien@aurel32.net>
290
291 [BZ #9954]
292 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
293 result if the result has no associated interface.
294 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
295 interface for all 127.X.Y.Z addresses.
296
b85545a6
CL
2972013-10-24 Chris Leonard <cjl@sugarlabs.org>
298
299 * locale/iso-639.def: Add Ligurian (lij)
300
d1f23d46
OB
3012013-10-21 Ondřej Bílka <neleai@seznam.cz>
302
303 [BZ #15825]
304 * sunrpc/rpc_main.c: Document rpcgen -5.
305
4db5b08f
MS
3062013-10-19 Michael Stahl <mstahl@redhat.com>
307
308 * elf/rtld.c (do_preload): Print the reason why preloading failed.
309
a471e96a
OB
3102013-10-19 Ondřej Bílka <neleai@seznam.cz>
311
d1f23d46 312 [BZ #10278]
a471e96a
OB
313 * posix/glob.c: Match only directories when trailing slash is present.
314 * posix/tst-gnuglob.c (my_opendir): Do not open files.
315 (main): Add testcase.
316
45c30c61
OB
3172013-10-19 Ondřej Bílka <neleai@seznam.cz>
318
319 [BZ #15670]
320 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
321
484c12fb
CD
3222013-10-18 Carlos O'Donell <carlos@redhat.com>
323
3d7dc513
CD
324 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
325 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
326 AUTH_DES and cindex for FIPS 140-2.
327 (DES Encryption): Add cindex FIPS 46-3.
328
484c12fb
CD
329 * locale/locarchive.h (struct locarhandle): Add fname.
330 * locale/programs/localedef.c (main): Pass ARGV[remaining]
331 if an optional argument was specified to --list-archive,
332 otherwise NULL.
333 * locale/programs/locarchive.c (show_archive_content): Take new
334 argument fname and pass it via ah.fname to open_archive.
335 * locale/programs/localedef.h: Update decl.
336 (open_archive): If AH->fname is non-null, open that file
337 rather than the default file name, and don't ignore ENOENT.
338 (create_archive): Set AH.fname to NULL.
339 (delete_locales_from_archive): Likewise.
340 (add_locales_to_archive): Likewise.
341 * locale/programs/locfile.c (write_all_categories): Likewise.
342
3c8325fb
JM
3432013-10-18 Joseph Myers <joseph@codesourcery.com>
344 Aldy Hernandez <aldyh@redhat.com>
345
346 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
347 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
348 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
349 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
350 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
351 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
352 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
353 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
354 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
355 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
356 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
357 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
358 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
359 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
360 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
361 Likewise.
362 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
363 Likewise.
364 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
365 Likewise.
366 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
367 Likewise.
368 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
369 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
370 Likewise.
371 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
372 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
373 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
374 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
375 Likewise.
376 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
377 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
378 * sysdeps/powerpc/preconfigure: Likewise.
379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
380 Likewise.
381 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
382 Replace contents of file by #include of <fenv_libc.h>.
383 * sysdeps/powerpc/soft-fp/sfp-machine.h
384 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
385 and <sys/prctl.h>.
386 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
387 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
388 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
389 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
390 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
391 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
392 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
393 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
394 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
395 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
396 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
397 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
399 Allow copysignl PLT reference to be missing.
400
5abe0682
RS
4012013-10-18 Richard Sandiford <richard@codesourcery.com>
402 Joseph Myers <joseph@codesourcery.com
403
404 [BZ #15948]
405 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
406 single character.
407 (add_to_tablewc): Assert sequence of wide characters is nonempty.
408
c7738d08
SP
4092013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
410
411 * elf/tst-tls-dlinfo.c: Don't include tls.h.
412 * elf/tst-tls1.c: Likewise.
413 * elf/tst-tls10.h: Likewise.
414 * elf/tst-tls14.c: Likewise.
415 * elf/tst-tls2.c: Likewise.
416 * elf/tst-tls3.c: Likewise.
417 * elf/tst-tls4.c: Likewise.
418 * elf/tst-tls5.c: Likewise.
419 * elf/tst-tls6.c: Likewise.
420 * elf/tst-tls7.c: Likewise.
421 * elf/tst-tls8.c: Likewise.
422 * elf/tst-tls9.c: Likewise.
423 * elf/tst-tlsmod1.c: Likewise.
424 * elf/tst-tlsmod13.c: Likewise.
425 * elf/tst-tlsmod13a.c: Likewise.
426 * elf/tst-tlsmod14a.c: Likewise.
427 * elf/tst-tlsmod16a.c: Likewise.
428 * elf/tst-tlsmod16b.c: Likewise.
429 * elf/tst-tlsmod2.c: Likewise.
430 * elf/tst-tlsmod3.c: Likewise.
431 * elf/tst-tlsmod4.c: Likewise.
432 * elf/tst-tlsmod5.c: Likewise.
433 * elf/tst-tlsmod6.c: Likewise.
434
0bfcf2c7
OB
4352013-10-18 Ondřej Bílka <neleai@seznam.cz>
436
437 [BZ #12486]
438 * malloc/malloc.c: remove checks for statistics.
439
264aad1e
OB
4402013-10-17 Ondřej Bílka <neleai@seznam.cz>
441
442 [BZ #15277]
443 * inet/inet_net.c (inet_network): Detect additional invalid strings.
444 * inet/tst-network.c: Add testcase.
445
b957ced8
AS
4462013-10-17 Andreas Schwab <schwab@suse.de>
447
448 [BZ #15218]
449 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
450 to determine canonical name.
451
c5d5d574
OB
4522013-10-17 Ondřej Bílka <neleai@seznam.cz>
453
454 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
455 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
456 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
457 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
458 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
459 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
460 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
461 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
462 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
463 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
464 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
465 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
466 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
467 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
468 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
469 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
470 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
471 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
472 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
473 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
474 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
475 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
476 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
477 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
478 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
479 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
480 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
481 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
482 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
483 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
484 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
485 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
486 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
487 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
488 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
489 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
490 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
491 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
492 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
493 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
494 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
495 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
496 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
497 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
498 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
499 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
500 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
501 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
502 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
503 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
504 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
505 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
506 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
507 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
508 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
509 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
510 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
511 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
512
e5c2c2d0
JM
5132013-10-17 Joseph Myers <joseph@codesourcery.com>
514
515 [BZ #16041]
516 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
517 make result into a quiet NaN.
518
51ca9e29
JM
5192013-10-16 Joseph Myers <joseph@codesourcery.com>
520
521 * soft-fp/adddf3.c: Fix horizontal whitespace.
522 * soft-fp/addsf3.c: Likewise.
523 * soft-fp/addtf3.c: Likewise.
524 * soft-fp/divdf3.c: Likewise.
525 * soft-fp/divsf3.c: Likewise.
526 * soft-fp/divtf3.c: Likewise.
527 * soft-fp/double.h: Likewise.
528 * soft-fp/eqdf2.c: Likewise.
529 * soft-fp/eqsf2.c: Likewise.
530 * soft-fp/eqtf2.c: Likewise.
531 * soft-fp/extenddftf2.c: Likewise.
532 * soft-fp/extended.h: Likewise.
533 * soft-fp/extendsfdf2.c: Likewise.
534 * soft-fp/extendsftf2.c: Likewise.
535 * soft-fp/extendxftf2.c: Likewise.
536 * soft-fp/fixdfdi.c: Likewise.
537 * soft-fp/fixdfsi.c: Likewise.
538 * soft-fp/fixdfti.c: Likewise.
539 * soft-fp/fixsfdi.c: Likewise.
540 * soft-fp/fixsfsi.c: Likewise.
541 * soft-fp/fixsfti.c: Likewise.
542 * soft-fp/fixtfdi.c: Likewise.
543 * soft-fp/fixtfsi.c: Likewise.
544 * soft-fp/fixtfti.c: Likewise.
545 * soft-fp/fixunsdfdi.c: Likewise.
546 * soft-fp/fixunsdfsi.c: Likewise.
547 * soft-fp/fixunsdfti.c: Likewise.
548 * soft-fp/fixunssfdi.c: Likewise.
549 * soft-fp/fixunssfsi.c: Likewise.
550 * soft-fp/fixunssfti.c: Likewise.
551 * soft-fp/fixunstfdi.c: Likewise.
552 * soft-fp/fixunstfsi.c: Likewise.
553 * soft-fp/fixunstfti.c: Likewise.
554 * soft-fp/floatdidf.c: Likewise.
555 * soft-fp/floatdisf.c: Likewise.
556 * soft-fp/floatditf.c: Likewise.
557 * soft-fp/floatsidf.c: Likewise.
558 * soft-fp/floatsisf.c: Likewise.
559 * soft-fp/floatsitf.c: Likewise.
560 * soft-fp/floattidf.c: Likewise.
561 * soft-fp/floattisf.c: Likewise.
562 * soft-fp/floattitf.c: Likewise.
563 * soft-fp/floatundidf.c: Likewise.
564 * soft-fp/floatundisf.c: Likewise.
565 * soft-fp/floatunditf.c: Likewise.
566 * soft-fp/floatunsidf.c: Likewise.
567 * soft-fp/floatunsisf.c: Likewise.
568 * soft-fp/floatunsitf.c: Likewise.
569 * soft-fp/floatuntidf.c: Likewise.
570 * soft-fp/floatuntisf.c: Likewise.
571 * soft-fp/floatuntitf.c: Likewise.
572 * soft-fp/fmadf4.c: Likewise.
573 * soft-fp/fmasf4.c: Likewise.
574 * soft-fp/fmatf4.c: Likewise.
575 * soft-fp/gedf2.c: Likewise.
576 * soft-fp/gesf2.c: Likewise.
577 * soft-fp/getf2.c: Likewise.
578 * soft-fp/ledf2.c: Likewise.
579 * soft-fp/lesf2.c: Likewise.
580 * soft-fp/letf2.c: Likewise.
581 * soft-fp/muldf3.c: Likewise.
582 * soft-fp/mulsf3.c: Likewise.
583 * soft-fp/multf3.c: Likewise.
584 * soft-fp/negdf2.c: Likewise.
585 * soft-fp/negsf2.c: Likewise.
586 * soft-fp/negtf2.c: Likewise.
587 * soft-fp/op-1.h: Likewise.
588 * soft-fp/op-2.h: Likewise.
589 * soft-fp/op-4.h: Likewise.
590 * soft-fp/op-8.h: Likewise.
591 * soft-fp/op-common.h: Likewise.
592 * soft-fp/quad.h: Likewise.
593 * soft-fp/single.h: Likewise.
594 * soft-fp/soft-fp.h: Likewise.
595 * soft-fp/sqrtdf2.c: Likewise.
596 * soft-fp/sqrtsf2.c: Likewise.
597 * soft-fp/sqrttf2.c: Likewise.
598 * soft-fp/subdf3.c: Likewise.
599 * soft-fp/subsf3.c: Likewise.
600 * soft-fp/subtf3.c: Likewise.
601 * soft-fp/truncdfsf2.c: Likewise.
602 * soft-fp/trunctfdf2.c: Likewise.
603 * soft-fp/trunctfsf2.c: Likewise.
604 * soft-fp/trunctfxf2.c: Likewise.
605 * soft-fp/unorddf2.c: Likewise.
606 * soft-fp/unordsf2.c: Likewise.
607 * soft-fp/unordtf2.c: Likewise.
608
9ebb0332
JM
6092013-10-15 Joseph Myers <joseph@codesourcery.com>
610
611 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
612 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
613
4b1a6d8b
OB
6142013-10-15 Ondřej Bílka <neleai@seznam.cz>
615
616 * elf/dl-libc.c: Clear initfini list after freeing.
617
1e145589
JM
6182013-10-14 Joseph Myers <joseph@codesourcery.com>
619
620 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
621 * soft-fp/addsf3.c: Likewise.
622 * soft-fp/addtf3.c: Likewise.
623 * soft-fp/divdf3.c: Likewise.
624 * soft-fp/divsf3.c: Likewise.
625 * soft-fp/divtf3.c: Likewise.
626 * soft-fp/double.h: Likewise.
627 * soft-fp/eqdf2.c: Likewise.
628 * soft-fp/eqsf2.c: Likewise.
629 * soft-fp/eqtf2.c: Likewise.
630 * soft-fp/extenddftf2.c: Likewise.
631 * soft-fp/extended.h: Likewise.
632 * soft-fp/extendsfdf2.c: Likewise.
633 * soft-fp/extendsftf2.c: Likewise.
634 * soft-fp/extendxftf2.c: Likewise.
635 * soft-fp/fixdfdi.c: Likewise.
636 * soft-fp/fixdfsi.c: Likewise.
637 * soft-fp/fixdfti.c: Likewise.
638 * soft-fp/fixsfdi.c: Likewise.
639 * soft-fp/fixsfsi.c: Likewise.
640 * soft-fp/fixsfti.c: Likewise.
641 * soft-fp/fixtfdi.c: Likewise.
642 * soft-fp/fixtfsi.c: Likewise.
643 * soft-fp/fixtfti.c: Likewise.
644 * soft-fp/fixunsdfdi.c: Likewise.
645 * soft-fp/fixunsdfsi.c: Likewise.
646 * soft-fp/fixunsdfti.c: Likewise.
647 * soft-fp/fixunssfdi.c: Likewise.
648 * soft-fp/fixunssfsi.c: Likewise.
649 * soft-fp/fixunssfti.c: Likewise.
650 * soft-fp/fixunstfdi.c: Likewise.
651 * soft-fp/fixunstfsi.c: Likewise.
652 * soft-fp/fixunstfti.c: Likewise.
653 * soft-fp/floatdidf.c: Likewise.
654 * soft-fp/floatdisf.c: Likewise.
655 * soft-fp/floatditf.c: Likewise.
656 * soft-fp/floatsidf.c: Likewise.
657 * soft-fp/floatsisf.c: Likewise.
658 * soft-fp/floatsitf.c: Likewise.
659 * soft-fp/floattidf.c: Likewise.
660 * soft-fp/floattisf.c: Likewise.
661 * soft-fp/floattitf.c: Likewise.
662 * soft-fp/floatundidf.c: Likewise.
663 * soft-fp/floatundisf.c: Likewise.
664 * soft-fp/floatunsidf.c: Likewise.
665 * soft-fp/floatunsisf.c: Likewise.
666 * soft-fp/floatuntidf.c: Likewise.
667 * soft-fp/floatuntisf.c: Likewise.
668 * soft-fp/floatuntitf.c: Likewise.
669 * soft-fp/fmadf4.c: Likewise.
670 * soft-fp/fmasf4.c: Likewise.
671 * soft-fp/fmatf4.c: Likewise.
672 * soft-fp/gedf2.c: Likewise.
673 * soft-fp/gesf2.c: Likewise.
674 * soft-fp/getf2.c: Likewise.
675 * soft-fp/ledf2.c: Likewise.
676 * soft-fp/lesf2.c: Likewise.
677 * soft-fp/letf2.c: Likewise.
678 * soft-fp/muldf3.c: Likewise.
679 * soft-fp/mulsf3.c: Likewise.
680 * soft-fp/multf3.c: Likewise.
681 * soft-fp/negdf2.c: Likewise.
682 * soft-fp/negsf2.c: Likewise.
683 * soft-fp/negtf2.c: Likewise.
684 * soft-fp/op-1.h: Likewise.
685 * soft-fp/op-2.h: Likewise.
686 * soft-fp/op-4.h: Likewise.
687 * soft-fp/op-8.h: Likewise.
688 * soft-fp/op-common.h: Likewise.
689 * soft-fp/quad.h: Likewise.
690 * soft-fp/single.h: Likewise.
691 * soft-fp/soft-fp.h: Likewise.
692 * soft-fp/sqrtdf2.c: Likewise.
693 * soft-fp/sqrtsf2.c: Likewise.
694 * soft-fp/sqrttf2.c: Likewise.
695 * soft-fp/subdf3.c: Likewise.
696 * soft-fp/subsf3.c: Likewise.
697 * soft-fp/subtf3.c: Likewise.
698 * soft-fp/truncdfsf2.c: Likewise.
699 * soft-fp/trunctfdf2.c: Likewise.
700 * soft-fp/trunctfsf2.c: Likewise.
701 * soft-fp/trunctfxf2.c: Likewise.
702 * soft-fp/unorddf2.c: Likewise.
703 * soft-fp/unordsf2.c: Likewise.
704 * soft-fp/unordtf2.c: Likewise.
705
17c48a60
OB
7062013-10-14 Ondřej Bílka <neleai@seznam.cz>
707
708 [BZ #15672]
709 * misc/error.c (error_tail): Fix possible buffer overflow.
710
cabba934
OB
7112013-10-14 Aurelien Jarno <aurelien@aurel32.net>
712
713 [BZ #13028]
714 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
715 address.
716
94bf958a
PM
7172013-10-14 P. J. McDermott <pj@pehjota.net>
718
719 [BZ #832]
720 * elf/ldd.bash.in (try_trace): New function. Delete previous code
721 testing pipefail option.
722
71b4dea7
JM
7232013-10-12 Joseph Myers <joseph@codesourcery.com>
724
725 * soft-fp/double.h: Indent preprocessor directives inside #if.
726 * soft-fp/extended.h: Likewise.
727 * soft-fp/op-2.h: Likewise.
728 * soft-fp/op-4.h: Likewise.
729 * soft-fp/op-common.h: Likewise.
730 * soft-fp/quad.h: Likewise.
731 * soft-fp/single.h: Likewise.
732 * soft-fp/soft-fp.h: Likewise.
733
55602758
YC
7342013-10-12 Yuri Chornoivan <yurchor@ukr.net>
735
736 * iconv/iconv_prog.c: Fix typos.
737 * stdio-common/psiginfo-data.h: Likewise.
738
9cd83302
RT
7392013-10-12 Reuben Thomas <rrt@sc3d.org>
740
741 [BZ #15764]
742 * locale/setlocale.c: Fix typo.
743
99fd9f47
JM
7442013-10-12 Joseph Myers <joseph@codesourcery.com>
745
b7ea74f0
JM
746 [BZ #16036]
747 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
748 signaling NaN arguments.
749 * soft-fp/unordsf2.c (__unordsf2): Likewise.
750 * soft-fp/unordtf2.c (__unordtf2): Likewise.
751
8a509447
JM
752 [BZ #14910]
753 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
754 unordered operands.
755 * soft-fp/gesf2.c (__gesf2): Likewise.
756 * soft-fp/getf2.c (__getf2): Likewise.
757 * soft-fp/ledf2.c (__ledf2): Likewise.
758 * soft-fp/lesf2.c (__lesf2): Likewise.
759 * soft-fp/letf2.c (__letf2): Likewise.
760
98998e9f
JM
761 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
762 * soft-fp/eqsf2.c (__eqsf2): Likewise.
763 * soft-fp/eqtf2.c (__eqtf2): Likewise.
764 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
765 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
766 * soft-fp/fixdfti.c (__fixdfti): Likewise.
767 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
768 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
769 * soft-fp/fixsfti.c (__fixsfti): Likewise.
770 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
771 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
772 * soft-fp/fixtfti.c (__fixtfti): Likewise.
773 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
774 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
775 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
776 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
777 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
778 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
779 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
780 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
781 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
782 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
783 * soft-fp/floatdisf.c (__floatdisf): Likewise.
784 * soft-fp/floatsisf.c (__floatsisf): Likewise.
785 * soft-fp/floattidf.c (__floattidf): Likewise.
786 * soft-fp/floattisf.c (__floattisf): Likewise.
787 * soft-fp/floattitf.c (__floattitf): Likewise.
788 * soft-fp/floatundidf.c (__floatundidf): Likewise.
789 * soft-fp/floatundisf.c (__floatundisf): Likewise.
790 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
791 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
792 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
793 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
794 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
795 * soft-fp/gesf2.c (__gesf2): Likewise.
796 * soft-fp/getf2.c (__getf2): Likewise.
797 * soft-fp/ledf2.c (__ledf2): Likewise.
798 * soft-fp/lesf2.c (__lesf2): Likewise.
799 * soft-fp/letf2.c (__letf2): Likewise.
800
8edc4a11
JM
801 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
802 Undefine and redefine.
803 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
804 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
805 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
806 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
807 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
808 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
809 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
810 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
811 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
812 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
813 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
814 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
815 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
816 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
817 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
818
8399acaf
JM
819 [BZ #16032]
820 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
821 without decrementing exponent if mantissa >= that for the
822 denominator, not >.
823 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
824 denominator, not >. Decrement exponent in < case instead of
825 incrementing in >= case.
826 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
827 without decrementing exponent if mantissa >= that for the
828 denominator, not >.
829
99fd9f47
JM
830 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
831 computing saturated result for unsigned overflow.
832
10e1cf6b
SP
8332013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
834 Jeff Law <law@redhat.com>
835
836 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
837 (atan2Mp): Add systemtap probe marker.
838 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
839 (__ieee754_log): Add systemtap probe marker.
840 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
841 (atanMp): Add systemtap probe marker.
842 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
843 (tanMp): Add systemtap probe marker.
844 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
845 (__slowexp): Add systemtap probe marker.
846 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
847 (__slowpow): Add systemtap probe marker.
848 * manual/probes.texi: Document probes.
849
3d110c7c
EB
8502013-10-11 Eric Biggers <ebiggers3@gmail.com>
851
852 [BZ #15362]
853 * libio/fileops.c (_IO_new_file_write): Return count of bytes
854 written.
855 (_IO_new_file_xsputn): Don't return EOF if nothing has been
856 written.
857 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
858 written to buffer but not flushed.
859 * libio/iofwrite_u.c: Likewise.
860 * libio/iopadn.c: Return bytes returned even if EOF was
861 encountered.
862 * libio/iowpadn.c: Likewise.
863 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
864 if _IO_padn does not write the whole buffer.
865 [!COMPILE_WPRINTF] (PAD): Likewise.
866
75b4202a
DM
8672013-10-10 David S. Miller <davem@davemloft.net>
868
869 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
870 directory block.
871
6c6352e6
JM
8722013-10-10 Joseph Myers <joseph@codesourcery.com>
873
33b853c3
JM
874 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
875 instead of FSF address.
876 * soft-fp/fixdfti.c: Likewise.
877 * soft-fp/fixsfti.c: Likewise.
878 * soft-fp/fixtfti.c: Likewise.
879 * soft-fp/fixunsdfti.c: Likewise.
880 * soft-fp/fixunssfti.c: Likewise.
881 * soft-fp/fixunstfti.c: Likewise.
882 * soft-fp/floattidf.c: Likewise.
883 * soft-fp/floattisf.c: Likewise.
884 * soft-fp/floattitf.c: Likewise.
885 * soft-fp/floatuntidf.c: Likewise.
886 * soft-fp/floatuntisf.c: Likewise.
887 * soft-fp/floatuntitf.c: Likewise.
888 * soft-fp/trunctfxf2.c: Likewise.
889
6c6352e6
JM
890 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
891 * soft-fp/fixdfti.c: Likewise.
892 * soft-fp/fixsfti.c: Likewise.
893 * soft-fp/fixtfti.c: Likewise.
894 * soft-fp/fixunsdfti.c: Likewise.
895 * soft-fp/fixunssfti.c: Likewise.
896 * soft-fp/fixunstfti.c: Likewise.
897 * soft-fp/floattidf.c: Likewise.
898 * soft-fp/floattisf.c: Likewise.
899 * soft-fp/floattitf.c: Likewise.
900 * soft-fp/floatuntidf.c: Likewise.
901 * soft-fp/floatuntisf.c: Likewise.
902 * soft-fp/floatuntitf.c: Likewise.
903 * soft-fp/trunctfxf2.c: Likewise.
904
3bf78b71
DM
9052013-10-10 David S. Miller <davem@davemloft.net>
906
907 * sysdeps/sparc/fpu/libm-test-ulps: Update.
908
6f10289e
JM
9092013-10-10 Joseph Myers <joseph@codsourcery.com>
910
bd878fc0
JM
911 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
912 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
913 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
914 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
915 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
916 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
917 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
918
6f10289e
JM
919 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
920 for NaNs before doing comparisons on argument.
921 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
922 Likewise.
923
321e2684
WN
9242013-10-10 Will Newton <will.newton@linaro.org>
925
926 * malloc/hooks.c (memalign_check): Ensure the value of bytes
927 passed to _int_memalign does not overflow.
928
40fefba1
TR
9292013-10-10 Torvald Riegel <triegel@redhat.com>
930
931 * scripts/bench.pl: Add include-sources directive.
932 * benchtests/README: Update documentation.
933
2ae21ed2
JM
9342013-10-10 Joseph Myers <joseph@codesourcery.com>
935
dcc2dd3f
JM
936 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
937 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
938 instead of FP_INIT_ROUNDMODE.
939 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
940 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
941
2ae21ed2
JM
942 [BZ #16034]
943 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
944 copy class of input value.
945 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
946 not handle exceptions.
947 * soft-fp/negsf2.c (__negsf2): Likewise.
948 * soft-fp/negtf2.c (__negtf2): Likewise.
949 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
950
cb8f9562
JM
9512013-10-09 Joseph Myers <joseph@codesourcery.com>
952
953 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
954 semicolon. From Linux kernel.
955
5b60c59d
AB
9562013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
957
958 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
959
b86835ca
YC
9602013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
961
962 [BZ #156]
963 * manual/socket.texi: Added statement about buffer
964 for gethostbyname2_r.
965
e7044ea7
OB
9662013-10-08 Ondřej Bílka <neleai@seznam.cz>
967
968 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
969 Use .p2align directive instead, throughout.
970 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
971 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
972 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
973 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
974 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
975 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
976 * sysdeps/x86_64/strchr.S: Likewise.
977 * sysdeps/x86_64/strrchr.S: Likewise.
978
09544cbc
SP
9792013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
980
88576635
SP
981 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
982
e7b2d1dd
SP
983 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
984
09544cbc
SP
985 * sysdeps/generic/math_private.h (__mpsin1): Remove
986 declaration.
987 (__mpcos1): Likewise.
988 (__mpsin): New argument __range_reduce.
989 (__mpcos): Likewise.
990 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
991 (slow): Use __mpsin and __mpcos.
992 (slow1): Likewise.
993 (slow2): Likewise.
994 (sloww): Likewise.
995 (sloww1): Likewise.
996 (sloww2): Likewise.
997 (bsloww): Likewise.
998 (bsloww1): Likewise.
999 (bsloww2): Likewise.
1000 (cslow2): Likewise.
1001 (csloww): Likewise.
1002 (csloww1): Likewise.
1003 (csloww2): Likewise.
1004 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
1005 range_reduce. Merge in __mpsin1.
1006 (__mpcos): Likewise.
1007 (__mpsin1): Remove.
1008 (__mpcos1): Likewise.
1009
7602d070
JM
10102013-10-07 Joseph Myers <joseph@codesourcery.com>
1011
1012 * locale/loadlocale.c (_nl_intern_locale_data): Use
1013 LOCFILE_ALIGNED_P.
1014 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
1015 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
1016 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
1017 obstack data is appropriately aligned.
1018 (obstack_int32_grow_fast): Likewise.
1019 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
1020 * locale/programs/locfile.c (add_locale_uint32): Likewise.
1021 (add_locale_uint32_array): Likewise.
1022
a357259b
SP
10232013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
1024
1025 * benchtests/Makefile: Remove ARGLIST and RET variables.
1026 ($(objpfx)bench-%.c): Pass only function name to the script.
1027 * benchtests/README: Update documentation.
1028 * benchtests/acos-inputs: Add new directives.
1029 * benchtests/acosh-inputs: Likewise.
1030 * benchtests/asin-inputs: Likewise.
1031 * benchtests/asinh-inputs: Likewise.
1032 * benchtests/atan-inputs: Likewise.
1033 * benchtests/atanh-inputs: Likewise.
1034 * benchtests/cos-inputs: Likewise.
1035 * benchtests/cosh-inputs: Likewise.
1036 * benchtests/exp-inputs: Likewise.
1037 * benchtests/log-inputs: Likewise.
1038 * benchtests/pow-inputs: Likewise.
1039 * benchtests/rint-inputs: Likewise.
1040 * benchtests/sin-inputs: Likewise.
1041 * benchtests/sinh-inputs: Likewise.
1042 * benchtests/tan-inputs: Likewise.
1043 * benchtests/tanh-inputs: Likewise.
1044 * scripts/bench.pl: Add support for new directives.
1045
9ec1b13d
AM
10462013-10-07 Alan Modra <amodra@gmail.com>
1047
1048 * README: Fix careless merge.
1049
8b7d57cd
AM
10502013-10-05 Alan Modra <amodra@gmail.com>
1051
1052 * NEWS: Mention powerpc64le support and bugs fixed.
1053 * README: Both big-endian and little-endian powerpc64 supported.
1054
7b7bab13
ST
10552013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
1056
1057 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
1058 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
1059 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
1060 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
1061
d39baad1
RA
10622013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
1063
1064 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
1065 match prototype.
1066
cd78f7e7
JM
10672013-10-04 Joseph Myers <joseph@codesourcery.com>
1068
29d73d86
JM
1069 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
1070 Move -mhard-float appending from
1071 ports/sysdeps/powerpc/powerpc32/Makefile.
1072 [$(with-fp) = yes] (ASFLAGS): Likewise.
1073 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
1074 * sysdeps/powerpc/nofpu: Move directory from
1075 ports/sysdeps/powerpc/nofpu.
1076 * sysdeps/powerpc/soft-fp: Move directory from
1077 ports/sysdeps/powerpc/soft-fp.
1078 * sysdeps/powerpc/powerpc32/405: Move directory from
1079 ports/sysdeps/powerpc/powerpc32/405.
1080 * sysdeps/powerpc/powerpc32/440: Move directory from
1081 ports/sysdeps/powerpc/powerpc32/440.
1082 * sysdeps/powerpc/powerpc32/464: Move directory from
1083 ports/sysdeps/powerpc/powerpc32/464.
1084 * sysdeps/powerpc/powerpc32/476: Move directory from
1085 ports/sysdeps/powerpc/powerpc32/476.
1086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
1087 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
1088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
1089 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
1090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
1091 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
1092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
1093 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
1094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
1095 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
1096 * README: Update for powerpc-*-linux-gnu software floating point
1097 support in libc.
1098
e246b347
JM
1099 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
1100 case to powerpc/powerpc32*.
1101 * sysdeps/unix/sysv/linux/configure: Regenerated.
1102
89c2003e
JM
1103 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
1104 (_FPU_MASK_OM): Define as 0x04.
1105 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
1106 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
1107 0x00c10080.
1108 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
1109 0x0000003c.
1110 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
1111
cd78f7e7
JM
1112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
1113 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
1114 getcontext_e500.
1115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
1116 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
1117 setcontext_e500.
1118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
1119 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
1120 and setcontext_e500.
1121
c755294d
CL
11222013-10-04 Chris Leonard <cjl@sugarlabs,.org>
1123
1124 * locale/iso-3166.def: Update iso-1366.def and related occurrences
1125
e16d221c
SP
11262013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1127
1128 * manual/threads.texi (Default Thread Attributes): Fix typo.
1129
215c7d43
WN
11302013-10-04 Will Newton <will.newton@linaro.org>
1131
1132 * malloc/Makefile: Add tst-memalign.
1133 * malloc/tst-memalign.c: New file.
1134
27d0461b
WN
1135 * malloc/tst-posix_memalign.c: Add comments.
1136 (do_test): Add comments and call free on all potentially
1137 allocated pointers. Add space after cast.
1138
1bc92709
WN
1139 * malloc/tst-pvalloc.c: Add comments.
1140 (do_test): Add comments and call free on all potentially
1141 allocated pointers. Remove duplicate check for NULL pointer.
1142 Add space after cast.
1143
66a9be9d
WN
1144 * malloc/tst-valloc.c: Add comments.
1145 (do_test): Add comments and call free on all potentially
1146 allocated pointers. Remove duplicate check for NULL pointer.
1147 Add space after cast.
1148
4cb81307
AM
11492013-10-04 Alan Modra <amodra@gmail.com>
1150
1151 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
1152 Use stdint types in rather than __attribute__((mode())).
1153 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1154
f8e3e9f3
AM
11552013-10-04 Alan Modra <amodra@gmail.com>
1156
1157 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
1158 Correct handling of unaligned relocs for little-endian.
1159 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1160
8f9ebb08
AM
11612013-10-04 Alan Modra <amodra@gmail.com>
1162
1163 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
1164 * configure: Regenerate.
1165 * nptl/shlib-versions: Powerpc*le starts at 2.18.
1166 * shlib-versions: Likewise.
1167
0edf96c2
AM
11682013-10-04 Alan Modra <amodra@gmail.com>
1169
1170 * string/tester.c (test_memrchr): Increment reported test cycle.
1171
e0f7a380
AM
11722013-10-04 Alan Modra <amodra@gmail.com>
1173
1174 * string/test-memcpy.c (do_one_test): When reporting errors, print
1175 string address and don't overrun end of string.
1176
466b0393
AM
11772013-10-04 Alan Modra <amodra@gmail.com>
1178
1179 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
1180 insrdi. Make better use of reg selection to speed exit slightly.
1181 Schedule entry path a little better. Remove useless "are we done"
1182 checks on entry to main loop. Handle wrapping around zero address.
1183 Correct main loop count. Handle single left-over word from main
1184 loop inline rather than by using loop_small. Remove extra word
1185 case in loop_small caused by wrong loop count. Add little-endian
1186 support.
1187 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
1188 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
1189 cache hint.
1190 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
1191 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
1192 support. Avoid rlwimi.
1193 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
1194
3be87c77
AM
11952013-10-04 Alan Modra <amodra@gmail.com>
1196
1197 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 1198 insrdi. Formatting.
3be87c77
AM
1199 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
1200 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1201 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
1202 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
1203 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
1204 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
1205
759cfef3
AM
12062013-10-04 Alan Modra <amodra@gmail.com>
1207
1208 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
1209 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1210 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
1211 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
1212 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
1213 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1214 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1215 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
1216 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
1217 use of regs. Use power7 mtocrf. Tidy function tails.
1218
fe6e95d7
AM
12192013-10-04 Alan Modra <amodra@gmail.com>
1220
1221 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
1222 Formatting. Consistently use rXXX register defines or rN defines.
1223 Use early exit labels that avoid restoring unused non-volatile regs.
1224 Make cr field use more consistent with rWORDn compares. Rename
1225 regs used as shift registers for unaligned loop, using rN defines
1226 for short lifetime/multiple use regs.
1227 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1228 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
1229 addi 1,1,64 to pop stack frame. Simplify return value code.
1230 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1231
664318c3
AM
12322013-10-04 Alan Modra <amodra@gmail.com>
1233
1234 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
1235 support. Correct typos, formatting. Optimize tail. Use insrdi
1236 rather than rlwimi.
1237 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
1238 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
1239 little-endian support. Correct typos.
1240 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
1241 rather than rlwimi.
1242 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
1243 in loop and entry code to keep "and." results.
1244 (strchr): Add little-endian support. Comment. Move cntlzd
1245 earlier in tail.
1246 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
1247
43b84013
AM
12482013-10-04 Alan Modra <amodra@gmail.com>
1249
1250 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
1251 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
1252 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
1253 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
1254
8a7413f9
AM
12552013-10-04 Alan Modra <amodra@gmail.com>
1256
1257 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
1258 (rTMP): Define as r11.
1259 (strcmp): Add little-endian support. Optimise tail.
1260 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
1261 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1262 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
1263 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
1264 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
1265 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
1266 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
1267
33ee81de
AM
12682013-10-04 Alan Modra <amodra@gmail.com>
1269
1270 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
1271 little-endian support. Remove unnecessary "are we done" tests.
1272 Handle "s" wrapping around zero and extremely large "size".
1273 Correct main loop count. Handle single left-over word from main
1274 loop inline rather than by using small_loop. Correct comments.
1275 Delete "zero" tail, use "end_max" instead.
1276 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
1277
db9b4570
AM
12782013-10-04 Alan Modra <amodra@gmail.com>
1279
1280 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
1281 support. Don't branch over align.
1282 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
1283 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
1284 support. Rearrange tmp reg use to suit. Comment.
1285 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
1286
f7c399cf
AM
12872013-10-04 Alan Modra <amodra@gmail.com>
1288
1289 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
1290
0b2c2ace
AM
12912013-10-04 Alan Modra <amodra@gmail.com>
1292
1293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
1294 conditional form of branch and link when obtaining pc.
1295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
1296
02f04a6c
AM
12972013-10-04 Alan Modra <amodra@gmail.com>
1298
1299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
1300 HIWORD/LOWORD.
1301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
1302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
1303
9b874b2f
AM
13042013-10-04 Alan Modra <amodra@gmail.com>
1305
1306 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
1307 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
1308 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
1309 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
1310 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
1311 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
1312 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
1313 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
1314 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
1315 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
1316
be1e5d31
AB
13172013-10-04 Anton Blanchard <anton@au1.ibm.com>
1318 Alistair Popple <alistair@ozlabs.au.ibm.com>
1319 Alan Modra <amodra@gmail.com>
1320
1321 [BZ #15723]
1322 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
1323 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
1324 _dl_hwcap access for little-endian.
1325 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
1326 destroy vmx regs when saving unaligned.
1327 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
1328 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
1329 destroy vmx regs when saving unaligned.
1330
fef13a78
AM
13312013-10-04 Alan Modra <amodra@gmail.com>
1332
1333 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
1334 Don't use a union to pack hi/low value.
1335
76a66d51
AB
13362013-10-04 Anton Blanchard <anton@au1.ibm.com>
1337
1338 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
1339 for little-endian.
1340 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1341 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
1342 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
1343 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
1344 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
1345
6a31fe7f
AM
13462013-10-04 Alan Modra <amodra@gmail.com>
1347
1348 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
1349 constants to usual value for .cst8 section, and remove redundant
1350 high address load.
1351 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
1352 constant for 0x1p52. Load little-endian words of double from
1353 correct stack offsets.
1354
7b88401f
AM
13552013-10-04 Alan Modra <amodra@gmail.com>
1356
1357 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
1358 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
1359 words of double from correct stack offsets.
1360 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
1361 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
1362 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
1363 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
1364 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
1365 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
1366 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
1367 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
1368 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
1369 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
1370 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
1371 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
1372 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
1373 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
1374 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
1375 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
1376 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
1377
9c008155
AM
13782013-10-04 Alan Modra <amodra@gmail.com>
1379
1380 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
1381 64-bit int/double union.
1382 (_FPU_SETCW): Likewise.
1383 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
1384 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
1385
da13146d
AM
13862013-10-04 Alan Modra <amodra@gmail.com>
1387
1388 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
1389 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
1390
603e8410
AM
13912013-10-04 Alan Modra <amodra@gmail.com>
1392
1393 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
1394 use vector int constants.
1395 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
1396
4a28b3ca
AB
13972013-10-04 Anton Blanchard <anton@au1.ibm.com>
1398
1399 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
1400 array with long long.
1401 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
1402 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
1403 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
1404 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
1405 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
1406 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
1407 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
1408 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
1409 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
1410 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
1411 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
1412 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
1413 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
1414
2ca85d2b
AB
14152013-10-04 Anton Blanchard <anton@au1.ibm.com>
1416
1417 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
1418 (__signbit): Likewise. Correct for little-endian.
1419 (__signbitl): Call __signbit.
1420 (lrint): Correct for little-endian.
1421 (lrintf): Call lrint.
1422
62a728ae
AM
14232013-10-04 Alan Modra <amodra@gmail.com>
1424
1425 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
1426 union 32-bit int array member with 64-bit int array.
1427 (t515, tm256): Double rather than long double.
1428 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
1429
32c301df
AM
14302013-10-04 Alan Modra <amodra@gmail.com>
1431
1432 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
1433 Delete.
1434 (IEEE854_LONG_DOUBLE_BIAS): Delete.
1435 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
1436 version of math_ldbl.h.
1437
650ef4bd
AM
14382013-10-04 Alan Modra <amodra@gmail.com>
1439
1440 [BZ #15734], [BZ #15735]
1441 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
1442 all uses of ieee875 long double macros and unions. Simplify test
1443 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
1444 ldbl_extract_mantissa value for ix,iy exponents. Properly
1445 normalize after ldbl_extract_mantissa, and don't add hidden bit
1446 already handled. Don't treat low word of ieee854 mantissa like
1447 low word of IBM long double and mask off bit when testing for
1448 zero.
1449 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
1450 all uses of ieee875 long double macros and unions. Simplify tests
1451 for 0.0L and inf. Correct double adjustment of k. Delete dead code
1452 adjusting ha,hb. Simplify code setting kld. Delete two600 and
1453 two1022, instead use their values. Recognise that tests for large
1454 "a" and small "b" are mutually exclusive. Rename vars. Comment.
1455 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
1456 Rewrite all uses of ieee875 long double macros and unions. Simplify
1457 test for 0.0L and nan. Correct negation.
1458 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
1459 ieee875 long double macros and unions. Correct output for large
1460 magnitude x. Correct absolute value calculation.
1461 (__erfcl): Likewise.
1462 * math/libm-test.inc: Add tests for errors discovered in IBM long
1463 double versions of fmodl, remainderl, erfl and erfcl.
1464
765714ca
AM
14652013-10-04 Alan Modra <amodra@gmail.com>
1466
1467 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
1468 all uses of ieee854 long double macros and unions. Simplify tests
1469 for long doubles that are fully specified by the high double.
1470 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
1471 Likewise.
1472 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
1473 Remove dead code too.
1474 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
1475 (__ieee754_ynl): Likewise.
1476 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
1477 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
1478 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
1479 Remove dead code too.
1480 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
1481 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
1482 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
1483 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
1484 Simplify.
1485 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
1486 Simplify.
1487 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
1488 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
1489 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
1490 Comment on variable precision.
1491 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
1492 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
1493 Likewise.
1494 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1495 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
1496 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
1497 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
1498 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
1499
4ebd120c
AM
15002013-10-04 Alan Modra <amodra@gmail.com>
1501
1502 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
1503 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
1504 all uses of ieee854 long double macros and unions.
1505 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
1506 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
1507 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
1508 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
1509 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
1510 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
1511 Likewise.
1512 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
1513 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
1514 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
1515 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
1516 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
1517 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
1518 Simplify sign and nan test too.
1519 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
1520 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
1521 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
1522 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
1523 Likewise.
1524 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
1525 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
1526 Likewise.
1527 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1528 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
1529 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
1530 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
1531 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
1532 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
1533
1b6adf88
AM
15342013-10-04 Alan Modra <amodra@gmail.com>
1535
1536 * stdio-common/printf_size.c (__printf_size): Don't use
1537 union ieee854_long_double in fpnum union.
1538 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
1539 signbit macro to retrieve sign from long double.
1540 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
1541 retrieve sign from long double.
1542 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
1543 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
1544 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
1545 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
1546 * math/test-misc.c (main): Don't use union ieee854_long_double.
1547
4cf69995
AM
15482013-10-04 Alan Modra <amodra@gmail.com>
1549
1550 [BZ #15680]
1551 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
1552 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
1553 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
1554 calculation. Remove unnecessary test for denormal exponent.
1555 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
1556 Correct handling of denormals. Avoid undefined shift behaviour.
1557 Correct normalisation of low mantissa when low double is denormal.
1558 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
1559 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
1560 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
1561 Correct normalisation of low mantissa. Test for overflow of high
1562 mantissa and normalise.
1563 (ldbl_nearbyint): Use more readable constant for two52.
1564 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
1565 (__mpn_construct_long_double): Fix test for overflow of high
1566 mantissa and correct normalisation. Avoid undefined shift.
1567
9605ca6c
AM
15682013-10-04 Alan Modra <amodra@gmail.com>
1569
1570 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
1571 (union ibm_extended_long_double): Define as an array of ieee754_double.
1572 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
1573 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
1574 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
1575 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
1576 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1577 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
1578 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
1579 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
1580 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
1581 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
1582 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
1583
975569d0
JM
15842013-10-03 Joseph Myers <joseph@codesourcery.com>
1585
d3d23756
JM
1586 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
1587 page size instead of calling getpagesize.
1588
975569d0
JM
1589 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
1590 (LOCFILE_ALIGN_MASK): Likewise.
1591 (LOCFILE_ALIGN_UP): Likewise.
1592 (LOCFILE_ALIGNED_P): Likewise.
1593 * locale/programs/ld-collate.c (collate_output): Use the new
1594 macros instead of __alignof__ (int32_t).
1595 * locale/weight.h (findidx): Likewise.
1596
b1fe1f2b
OB
15972013-10-03 Ondřej Bílka <neleai@seznam.cz>
1598
1599 [BZ #431]
1600 * manual/string.texi: Fix strncat and wcsncat.
1601
5f855e35
BM
16022013-10-03 Brooks Moses <bmoses@google.com>
1603
1604 [BZ #15915]
1605 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
1606 * Makerules: ...here, and adjust associated comments.
1607
3cef6009
WN
16082013-10-02 Will Newton <will.newton@linaro.org>
1609
1610 * malloc/Makefile: Add tst-pvalloc.
1611 * malloc/tst-pvalloc.c: New file.
1612
7815420b
WN
16132013-10-02 Will Newton <will.newton@linaro.org>
1614
1615 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
1616 improve test coverage.
1617
4868b204
WN
16182013-10-02 Will Newton <will.newton@linaro.org>
1619
1620 * malloc/Makefile: Add tst-posix_memalign.
1621 * malloc/tst-posix_memalign.c: New file.
1622
29c793b3
EB
16232013-10-01 Eric Blake <eblake@redhat.com>
1624
1625 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
1626 Use __THROWNL rather than __THROW on static functions.
1627
fd967522
PM
16282013-09-30 Petr Machata <pmachata@redhat.com>
1629
1630 * elf/elf.h (R_AARCH64_ABS16): New macro.
1631 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
1632 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
1633 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
1634 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
1635 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
1636 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
1637 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
1638 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
1639 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
1640 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
1641 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
1642 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
1643 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
1644 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
1645 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
1646 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
1647 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
1648 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
1649 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
1650 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
1651 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
1652 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
1653 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
1654 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
1655 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
1656 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
1657 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
1658 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
1659 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
1660 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
1661 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
1662 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
1663 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
1664 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
1665 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
1666 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
1667 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
1668 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
1669 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
1670 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
1671 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
1672 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
1673 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
1674 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
1675 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
1676 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
1677 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
1678 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
1679 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
1680 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
1681 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
1682 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
1683 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
1684 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
1685 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
1686 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
1687 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
1688 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
1689 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
1690 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
1691 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
1692 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
1693 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
1694 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
1695 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
1696 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
1697 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
1698 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
1699 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
1700 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
1701 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
1702 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
1703 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
1704 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
1705 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
1706 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
1707 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
1708 (R_AARCH64_TLSDESC_LDR): Likewise.
1709 (R_AARCH64_TLSDESC_ADD): Likewise.
1710 (R_AARCH64_TLSDESC_CALL): Likewise.
1711
b2179107
AS
17122013-09-30 Andreas Schwab <schwab@suse.de>
1713
1714 [BZ #15048]
1715 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
1716 the nss database lookup.
1717 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1718 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1719
47f28d0a
MF
17202013-09-28 Mike Frysinger <vapier@gentoo.org>
1721
1722 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
1723
17242013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
1725
1726 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
1727 ${Bash-specific parameter/pattern/string} parameter expansion.
1728 * sysdeps/unix/make-syscalls.sh: Likewise.
1729
f4518a17
KK
17302013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1731
1732 * sysdeps/sh/stackguard-macros.h: New file.
1733
dc1a95c7
OB
17342013-09-26 Ondřej Bílka <neleai@seznam.cz>
1735
1736 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
1737 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
1738 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
1739 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
1740 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
1741 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
1742
5ebbff8f
AZ
17432013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1744
1745 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
1746 Fix thread ID register.
1747
4fd2cf9f
JM
17482013-09-25 Joseph Myers <joseph@codesourcery.com>
1749
1750 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
1751 [POSIX || UNIX98]: Require rather than permitting all symbols from
1752 <time.h>.
1753 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
1754 element of struct sched_param.
1755 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
1756 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
1757 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
1758 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
1759 constant.
1760
12c22bc4
OL
17612013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
1762
1763 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
1764 argument calculation.
1765
a03d8ea7
JM
17662013-09-24 Joseph Myers <joseph@codesourcery.com>
1767
1768 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
1769 Expect macro.
1770 [POSIX] (pthread_attr_t): Do not require type.
1771 [POSIX] (pthread_cond_t): Likewise.
1772 [POSIX] (pthread_condattr_t): Likewise.
1773 [POSIX] (pthread_key_t): Likewise.
1774 [POSIX] (pthread_mutex_t): Likewise.
1775 [POSIX] (pthread_mutexattr_t): Likewise.
1776 [POSIX] (pthread_once_t): Likewise.
1777 [POSIX] (pthread_t): Likewise.
1778 [POSIX-based standards] (pthread_atfork): Expect function.
1779
6055173a
JM
17802013-09-24 Joseph Myers <joseph@codesourcery.com>
1781 Richard Sandiford <richard@codesourcery.com>
1782
1783 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
1784 (swap_endianness_p): New extern variable.
1785 (set_big_endian): New inline function.
1786 (maybe_swap_uint32): Likewise.
1787 (maybe_swap_uint32_array): Likewise.
1788 (maybe_swap_uint32_obstack): Likewise.
1789 * locale/programs/locfile.c: Include <stdbool.h>.
1790 (swap_endianness_p): New variable.
1791 (add_locale_uint32): Call maybe_swap_uint32.
1792 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
1793 (write_locale_data): Call maybe_swap_uint32_array.
1794 * locale/programs/ld-collate.c (obstack_int32_grow): Call
1795 maybe_swap_uint32.
1796 (obstack_int32_grow_fast): Likewise.
1797 (output_weightwc): Call maybe_swap_uint32_obstack.
1798 (collate_output): Likewise.
1799 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
1800 (OPT_LITTLE_ENDIAN): Likewise.
1801 (options): Add --little-endian and --big-endian options.
1802 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
1803 * locale/programs/locarchive.c: Include "locfile.h".
1804 (GET): New macro.
1805 (SET): Likewise.
1806 (INC): Likewise.
1807 (create_archive): Use the new macros to access fields of
1808 structures directly mapped from or written to locale archives.
1809 (oldlocrecentcmp): Likewise.
1810 (enlarge_archive): Likewise.
1811 (insert_name): Likewise.
1812 (add_alias): Likewise.
1813 (add_locale): Likewise.
1814 (delete_locales_from_archive): Likewise.
1815 (show_archive_content): Likewise.
1816 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
1817 locale data.
1818
39bf0bb4
RM
18192013-09-24 Roland McGrath <roland@hack.frob.com>
1820
1821 * manual/freemanuals.texi: Updated from (newly) canonical copy at
1822 http://www.gnu.org/doc/freemanuals.texi.
1823 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
1824
f02eed10
WN
18252013-09-24 Will Newton <will.newton@linaro.org>
1826
1827 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
1828 macro.
1829
a3a6c312
JM
18302013-09-23 Joseph Myers <joseph@codesourcery.com>
1831
1832 * locale/hashval.h (compute_hashval): Interpret bytes of key as
1833 unsigned char.
1834
107375ac
MR
18352013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
1836
1837 * manual/threads.texi (POSIX Threads): Fix a typo.
1838
141f3a77
SP
18392013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
1840
303e567a
SP
1841 [BZ #14547]
1842 * string/tst-strcoll-overflow.c: New test case.
1843 * string/Makefile (xtests): Add tst-strcoll-overflow.
1844 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
1845 cache if string sizes may cause integer overflow.
1846
141f3a77
SP
1847 [BZ #14547]
1848 * string/strcoll_l.c (coll_seq): New members rule, idx,
1849 save_idx and back_us.
1850 (get_next_seq_nocache): New function.
1851 (do_compare_nocache): New function.
1852 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
1853 when malloc fails.
1854
c61b4d41
CD
18552013-09-23 Carlos O'Donell <carlos@redhat.com>
1856
0b1f8e35
CD
1857 [BZ #15754]
1858 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
1859 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
1860 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
1861
c61b4d41
CD
1862 [BZ #15754]
1863 * elf/Makefile (tests): Add tst-ptrguard1.
1864 (tests-static): Add tst-ptrguard1-static.
1865 (tst-ptrguard1-ARGS): Define.
1866 (tst-ptrguard1-static-ARGS): Define.
1867 * elf/tst-ptrguard1.c: New file.
1868 * elf/tst-ptrguard1-static.c: New file.
1869 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
1870 * sysdeps/i386/stackguard-macros.h: Likewise.
1871 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
1872 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
1873 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
1874 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
1875 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
1876 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
1877
18782013-09-23 Hector Marco <hecmargi@upv.es>
1879 Ismael Ripoll <iripoll@disca.upv.es>
1880 Carlos O'Donell <carlos@redhat.com>
1881
1882 [BZ #15754]
1883 * sysdeps/generic/stackguard-macros.h: Define
1884 __pointer_chk_guard_local and POINTER_CHK_GUARD.
1885 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
1886 Define __pointer_chk_guard_local.
1887 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
1888 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
1889
f5f4e7b4
VV
18902013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
1891
1892 [BZ #15859]
1893 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
1894
5bb43a43
AS
18952013-09-20 Andreas Schwab <schwab@linux-m68k.org>
1896
1897 * include/string.h (__ffs): Declare as hidden.
1898 * string/ffs.c (__ffs): Define as hidden.
1899 * sysdeps/i386/ffs.c (__ffs): Likewise.
1900 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
1901 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
1902 * sysdeps/s390/ffs.c (__ffs): Likewise.
1903 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
1904
3ea5be54
AO
19052013-09-20 Alexandre Oliva <aoliva@redhat.com>
1906
ffb89e53
AO
1907 * NEWS: Mention malloc probes.
1908
322dea08
AO
1909 * malloc/arena.c (new_heap): New memory_heap_new probe.
1910 (grow_heap): New memory_heap_more probe.
1911 (shrink_heap): New memory_heap_less probe.
1912 (heap_trim): New memory_heap_free probe.
1913 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
1914 (systrim): New memory_sbrk_less probe.
1915 * manual/probes.texi: Document them.
1916
655673f3
AO
1917 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
1918 * manual/probes.texi: Document it.
1919
35fed6f1
AO
1920 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
1921 (__libc_realloc): Add memory_realloc_retry probe.
1922 (__libc_memalign): Add memory_memalign_retry probe.
1923 (__libc_valloc): Add memory_valloc_retry probe.
1924 (__libc_pvalloc): Add memory_pvalloc_retry probe.
1925 (__libc_calloc): Add memory_calloc_retry probe.
1926 * manual/probes.texi: Document them.
1927
6999d38c
AO
1928 * malloc/arena.c (get_free_list): Add probe
1929 memory_arena_reuse_free_list.
1930 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
1931 and memory_arena_reuse.
1932 (arena_get2) [!PER_THREAD]: Likewise.
1933 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
1934 memory_arena_reuse_realloc.
1935 * manual/probes.texi: Document them.
1936
0653427f
AO
1937 * malloc/malloc.c (__libc_free): Add
1938 memory_mallopt_free_dyn_thresholds probe.
1939 (__libc_mallopt): Add multiple memory_mallopt probes.
1940 * manual/probes.texi: Document them.
1941
3ea5be54
AO
1942 * malloc/malloc.c: Include stap-probe.h.
1943 (__libc_mallopt): Add memory_mallopt probe.
1944 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
1945 * manual/probes.texi: New.
1946 * manual/Makefile (chapters): Add probes.
1947 * manual/threads.texi: Set next node.
1948
e35696c3 19492013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 1950
e35696c3
CL
1951 [BZ #15963, #13985]
1952 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
1953 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
1954 Add `Chinese' to `nan' entry name.
1955
4aafb73c
SP
19562013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1957
1958 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
1959 (POLYNOMIAL): Likewise.
1960 (TAYLOR_SINCOS): Likewise.
1961 (TAYLOR_SLOW): Likewise.
1962 (__sin): Use TAYLOR_SINCOS.
1963 (__cos): Likewise.
1964 (slow): Use TAYLOR_SLOW.
1965 (sloww): Likewise.
1966 (bsloww): Likewise.
1967 (csloww): Likewise.
1968
d84f25c7
LD
19692013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1970
1971 * stdlib/strtod_l.c: Fix buffer overrun.
1972
5eea0404
SP
19732013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1974
7849ff93
SP
1975 * benchtests/Makefile (bench): Add sincos.
1976 * benchtests/bench-sincos.c: New file.
1977
cfa3c886
SP
1978 * math/libm-test.inc (cos_test_data): New test inputs.
1979 (sin_test_data): Likewise.
1980
b348e1e3
SP
1981 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
1982 macro.
1983 (__sin): Use it.
1984 (__cos): Likewise.
1985 (slow1): Likewise.
1986 (slow2): Likewise.
1987 (sloww1): Likewise.
1988 (sloww2): Likewise.
1989 (bsloww1): Likewise.
1990 (bsloww2): Likewise.
1991 (cslow2): Likewise.
1992 (csloww1): Likewise.
1993 (csloww2): Likewise.
1994
6cce25f8
SP
1995 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
1996 function.
1997 (__sin): Use it.
1998 (__cos): Likewise.
1999
5eea0404
SP
2000 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
2001 gotos.
2002 (__cos): Likewise.
2003
9c21573c
MR
20042013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
2005
2006 * config.h.in (HAVE_MIPS_NAN2008): New macro.
2007 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
2008 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
2009 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
2010 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
2011 * elf/cache.c (print_entry): Handle the new cache flags.
2012
24d22e65
JM
20132013-09-18 Joseph Myers <joseph@codesourcery.com>
2014 Aldy Hernandez <aldyh@redhat.com>
2015
2016 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
2017 Change condition to [_SOFT_FLOAT].
2018 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
2019 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
2020 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
2021 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
2022 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
2023 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
2024 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
2025 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
2026 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
2027 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
2028 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
2029 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
2030 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
2031 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
2032 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
2033 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
2034 declaration.
2035
d13ef066
JM
20362013-09-18 Joseph Myers <joseph@codesourcery.com>
2037
2e071de0
JM
2038 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
2039 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
2040 (__longjmp): Use LOAD_GP to load saved GPRs.
2041 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
2042 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
2043 (__sigsetjmp): Use SAVE_GP to save GPRs.
2044
d13ef066
JM
2045 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
2046 Do not append -msoft-float.
2047 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
2048
97a0650b
SP
20492013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2050
2051 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
2052
11ca09e9
JM
20532013-09-17 Joseph Myers <joseph@codesourcery.com>
2054
2055 [BZ #15966]
2056 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
2057 (_FPU_GETCW): Use initial "__" on variable and field names but not
2058 on macro parameter name.
2059 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
2060 parentheses around reference to macro parameter.
2061
08ffcf34
RS
20622013-09-13 Richard Sandiford <richard@codesourcery.com>
2063
2064 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
2065 prototype.
2066 (ctype_startup): Use uint32_t in cast and sizeof for
2067 ctype->charnames.
2068
ae7080d3
JL
20692013-09-11 Jia Liu <proljc@gmail.com>
2070
2071 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
2072 __daddr_t_defined.
2073 [__FreeBSD__]: Likewise.
2074
5905e7b3
OB
20752013-09-11 Ondřej Bílka <neleai@seznam.cz>
2076
2077 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2078 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
2079 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
2080 (strchr): Remove __strchr_sse42 ifunc selection.
2081 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
2082 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
2083
b987c776
WN
20842013-09-11 Will Newton <will.newton@linaro.org>
2085
2086 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
2087 parameter to RES. Remove hardcoded 1000 value.
2088 * benchtests/bench-skeleton.c (main): Pass RES parameter
2089 to TIMING_INIT and multiply result by 1000.
2090
ddf985af
AZ
20912013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2092
2093 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2094
ffdd3181
AS
20952013-09-11 Andreas Schwab <schwab@suse.de>
2096
2097 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
2098 if not defined.
2099 (O_TMPFILE) [__USE_GNU]: Define.
2100 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
2101 Define.
2102
b73ed247
WN
21032013-09-11 Will Newton <will.newton@linaro.org>
2104
2105 [BZ #15857]
2106 * malloc/malloc.c (__libc_memalign): Check the value of bytes
2107 does not overflow.
2108
55e17aad
WN
21092013-09-11 Will Newton <will.newton@linaro.org>
2110
2111 [BZ #15856]
2112 * malloc/malloc.c (__libc_valloc): Check the value of bytes
2113 does not overflow.
2114
1159a193
WN
21152013-09-11 Will Newton <will.newton@linaro.org>
2116
2117 [BZ #15855]
2118 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
2119 does not overflow.
2120
5905e7b3 21212013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
2122
2123 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
2124 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2125 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2126 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2127 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2128
cdfc721b
AM
21292013-09-10 Allan McRae <allan@archlinux.org>
2130
aa04af00
AM
2131 [BZ #15748]
2132 * manual/arith.texi (Parsing of Floats): Clarify
2133 cross-reference.
2134
cdfc721b
AM
2135 [BZ #15849]
2136 * manual/install.texi (Running make install): Mention
2137 --enable-pt-chown.
2138 * INSTALL: Regenerated.
2139
95e7cf29
MR
21402013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2141
2142 * csu/init-first.c (_init): Remove the !SHARED condition around
2143 FPU control word initialization.
2144 * elf/dl-support.c (_dl_fpu_control): New variable.
2145 (_dl_aux_init) <AT_FPUCW>: Initialize it.
2146 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
2147 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
2148 * math/test-fpucw-static.c: New file.
2149 * math/test-fpucw-ieee.c: New file.
2150 * math/test-fpucw-ieee-static.c: New file.
2151 * math/Makefile (tests): Add `test-fpucw-ieee' and
2152 `$(tests-static)'.
2153 (tests-static): New variable.
2154 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
2155 dependency to...
2156 [($(build-shared),yes)]
2157 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
2158 ... this.
2159 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
2160 New dependency.
2161
83e43bf0
AM
21622013-09-09 Allan McRae <allan@archlinux.org>
2163
a9f5ce09
AM
2164 [BZ #15939]
2165 * manual/string.texi (Collation Functions): Fix typo in
2166 strcoll example.
2167 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
2168
34829bc2
AM
2169 [BZ #15893]
2170 * stdlib/isomac.c (get_null_defines): Fix memory leak.
2171
3932737d
AM
2172 [BZ #15892]
2173 * libio/memstream.c (open_memstream): Fix memory leak.
2174 * libio/wmemstream.c (open_wmemstream): Likewise.
2175
83e43bf0
AM
2176 [BZ #15895]
2177 * nscd/netgroupcache.c: Fix nesting of ifdefs.
2178
0c66b8e9
WN
21792013-09-09 Will Newton <will.newton@linaro.org>
2180
2181 * malloc/Makefile: Add tst-realloc to tests.
2182 * malloc/tst-realloc.c: New file.
2183
f6b00fd1
AM
21842013-09-09 Allan McRae <allan@archlinux.org>
2185
2186 [BZ #15844]
2187 * COPYING: Update from GNU website to fix FSF address.
2188 * COPYING.LIB: Likewise.
2189
eec55e16
DM
21902013-09-06 David S. Miller <davem@davemloft.net>
2191
2192 * po/zh_TW.po: Update Chinese (traditional) translation from
2193 translation project.
2194
1ecbb381
RS
21952013-09-06 Richard Sandiford <richard@codesourcery.com>
2196 Joseph Myers <joseph@codesourcery.com>
2197
2198 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
2199 "localeinfo.h".
2200 (obstack_chunk_alloc): New macro.
2201 (obstack_chunk_free): Likewise.
2202 (record_offset): New function.
2203 (init_locale_data): Likewise.
2204 (align_locale_data): Likewise.
2205 (add_locale_empty): Likewise.
2206 (add_locale_raw_data): Likewise.
2207 (add_locale_raw_obstack): Likewise.
2208 (add_locale_string): Likewise.
2209 (add_locale_wstring): Likewise.
2210 (add_locale_uint32): Likewise.
2211 (add_locale_uint32_array): Likewise.
2212 (add_locale_char): Likewise.
2213 (start_locale_structure): Likewise.
2214 (end_locale_structure): Likewise.
2215 (start_locale_prelude): Likewise.
2216 (end_locale_prelude): Likewise.
2217 (write_locale_data): Take locale_file structure rather than an
2218 iovec.
2219 * locale/programs/locfile.h: Include "obstack.h".
2220 (struct locale_file): Change to store locale file contents instead
2221 of header.
2222 (init_locale_data): New prototype.
2223 (align_locale_data): Likewise.
2224 (add_locale_empty): Likewise.
2225 (add_locale_raw_data): Likewise.
2226 (add_locale_raw_obstack): Likewise.
2227 (add_locale_string): Likewise.
2228 (add_locale_wstring): Likewise.
2229 (add_locale_uint32): Likewise.
2230 (add_locale_uint32_array): Likewise.
2231 (add_locale_char): Likewise.
2232 (start_locale_structure): Likewise.
2233 (end_locale_structure): Likewise.
2234 (start_locale_prelude): Likewise.
2235 (end_locale_prelude): Likewise.
2236 (write_locale_data): Update prototype.
2237 * locale/programs/3level.h (struct TABLE): Remove result field.
2238 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
2239 Use new locale_file interface.
2240 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
2241 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
2242 * locale/programs/ld-address.c (address_output): Use new
2243 locale_file interface.
2244 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
2245 NO_ADD_LOCALE.
2246 (collate_finish): Don't call collseq_table_finalize.
2247 (collate_output): Use new locale_file interface.
2248 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
2249 in file.
2250 (NO_FINALIZE): Change to NO_ADD_LOCALE.
2251 (TABLE): Move defines earlier in file.
2252 (ELEMENT): Likewise.
2253 (DEFAULT): Likewise.
2254 (wctrans_table_add): Move macro and inline function earlier in
2255 file.
2256 (struct wctype_table): Move type earlier in file.
2257 (add_locale_wctype_table): New static prototype.
2258 (struct locale_ctype_t): Use logical types instead of struct iovec
2259 pointers for members.
2260 (ctype_output): Use new locale_file interface.
2261 (wctype_table_finalize): Change to add_locale_wctype_table. Use
2262 new locale_file interface.
2263 (allocate_arrays): Update for use of new locale_file interface.
2264 * locale/programs/ld-identification.c (identification_output): Use
2265 new locale_file interface.
2266 * locale/programs/ld-measurement.c (measurement_output): Likewise.
2267 * locale/programs/ld-messages.c (messages_output): Likewise.
2268 * locale/programs/ld-monetary.c (monetary_output): Likewise.
2269 * locale/programs/ld-name.c (name_output): Likewise.
2270 * locale/programs/ld-numeric.c (numeric_output): Likewise.
2271 * locale/programs/ld-paper.c (paper_output): Likewise.
2272 * locale/programs/ld-telephone.c (telephone_output): Likewise.
2273 * locale/programs/ld-time.c (time_output): Likewise.
2274
e029e2e5
AZ
22752013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2276
2277 * benchtests/Makefile: Add memrchr benchmark.
2278 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
2279 benchmark as memrchr.
2280 * benchtests/bench-memrchr-ifunc.c: New file.
2281 * benchtests/bench-memrchr.c: New file.
2282
bbf6e8e4
WN
22832013-09-06 Will Newton <will.newton@linaro.org>
2284
2285 * benchtests/Makefile (string-bench): Add memcpy.
2286
6c82a2f8
CD
22872013-09-05 Carlos O'Donell <carlos@redhat.com>
2288 Cong Wang <amwang@redhat.com>
2289
2290 * sysdeps/unix/sysv/linux/bits/in.h
2291 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
2292 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
2293 before __USE_KERNEL_IPV6_DEFS uses.
2294 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
2295 IPPROTO_BEETPH.
2296 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
2297 sockaddr_in6, or ipv6_mreq.
2298
5430fc65
AZ
22992013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2300
2301 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
2302 memory access for final bytes in some large inputs.
2303 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
2304
4660856c
AZ
23052013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2306
2307 * string/test-memrchr.c: New file.
2308 * string/test-memrchr-ifunc.c: New file.
2309 * string/Makefile: Add new memrchr testcase.
2310
bb8ea713
MF
23112013-09-05 Mike Frysinger <vapier@gentoo.org>
2312
2313 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
2314 fanotify_init returns EPERM.
2315
b92a20b5
JM
23162013-09-04 Joseph Myers <joseph@codesourcery.com>
2317
2318 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
2319 errors.
2320 (top level): Treat second token from macro or constant entries for
2321 allowed headers as allowed.
2322 * include/complex.h: Condition internal declarations on
2323 [!_ISOMAC].
2324 * include/fenv.h: Condition include of <stdbool.h> and internal
2325 declarations on [!_ISOMAC].
7447ccd9
CL
2326
23272013-09-04 Chris Leonard <cjl@sugarlabs,.org>
2328
3e181dda 2329 [BZ #15923]
7447ccd9
CL
2330 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
2331
3f2e46a4
JM
23322013-09-04 Joseph Myers <joseph@codesourcery.com>
2333
2334 * configure.in (--enable-versioning): Remove configure option.
2335 (libc_cv_asm_symver_directive): Remove configure test.
2336 (libc_cv_ld_version_script_option): Likewise.
2337 (VERSIONING): Remove variable and AC_SUBST.
2338 (DO_VERSIONING): Remove AC_DEFINE.
2339 * configure: Regenerated.
2340 * config.h.in (DO_VERSIONING): Remove macro.
2341 * Makerules [$(versioning) = yes]: Change conditionals to
2342 [$(build-shared) = yes].
2343 * config.make.in (versioning): Remove variable.
2344 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
2345 [$(build-shared) = yes].
2346 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
2347 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
2348 * elf/Makefile [$(versioning) = yes]: Change conditionals to
2349 [$(build-shared) = yes].
2350 * extra-lib.mk [$(versioning) = yes]: Likewise.
2351 * hurd/Makefile [$(versioning) = yes]: Likewise.
2352 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
2353 [SHARED].
2354 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
2355 [SHARED].
2356 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
2357 [SHARED && !NO_HIDDEN].
2358 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
2359 [SHARED].
2360 [SHARED && DO_VERSIONING]: Likewise..
2361 * libio/Makefile [$(versioning) = yes]: Change conditionals to
2362 [$(build-shared) = yes].
2363 * manual/install.texi (--disable-versioning): Remove
2364 documentation.
2365 * INSTALL: Regenerated.
2366 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
2367 to [SHARED].
2368 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
2369 [$(build-shared) = yes].
2370 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
2371 * sysdeps/i386/i686/multiarch/strstr-c.c
2372 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
2373 [SHARED && !NO_HIDDEN].
2374 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
2375 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
2376 * sysdeps/powerpc/powerpc32/dl-machine.c
2377 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
2378 * sysdeps/powerpc/powerpc32/sysdep.h
2379 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
2380 to [SHARED && PIC && !NO_HIDDEN].
2381 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
2382 conditional to [SHARED].
2383
44558701
WN
23842013-09-04 Will Newton <will.newton@linaro.org>
2385
2386 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
2387 * benchtests/bench-string.h: Include bench-timing.h instead
2388 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
2389 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
2390 call to HP_TIMING_DIFF_INIT.
2391 * benchtests/bench-memccpy.c: Use bench-timing.h macros
2392 instead of hp-timing.h macros.
2393 * benchtests/bench-memchr.c: Likewise.
2394 * benchtests/bench-memcmp.c: Likewise.
2395 * benchtests/bench-memcpy.c: Likewise.
2396 * benchtests/bench-memmem.c: Likewise.
2397 * benchtests/bench-memmove.c: Likewise.
2398 * benchtests/bench-memset.c: Likewise.
2399 * benchtests/bench-rawmemchr.c: Likewise.
2400 * benchtests/bench-strcasecmp.c: Likewise.
2401 * benchtests/bench-strcasestr.c: Likewise.
2402 * benchtests/bench-strcat.c: Likewise.
2403 * benchtests/bench-strchr.c: Likewise.
2404 * benchtests/bench-strcmp.c: Likewise.
2405 * benchtests/bench-strcpy.c: Likewise.
2406 * benchtests/bench-strcpy_chk.c: Likewise.
2407 * benchtests/bench-strlen.c: Likewise.
2408 * benchtests/bench-strncasecmp.c: Likewise.
2409 * benchtests/bench-strncat.c: Likewise.
2410 * benchtests/bench-strncmp.c: Likewise.
2411 * benchtests/bench-strncpy.c: Likewise.
2412 * benchtests/bench-strnlen.c: Likewise.
2413 * benchtests/bench-strpbrk.c: Likewise.
2414 * benchtests/bench-strrchr.c: Likewise.
2415 * benchtests/bench-strspn.c: Likewise.
2416 * benchtests/bench-strstr.c: Likewise.
2417
cae16d66
WN
24182013-09-04 Will Newton <will.newton@linaro.org>
2419
2420 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
2421
ffa3cd7f
JM
24222013-09-03 Joseph Myers <joseph@codesourcery.com>
2423
2424 [BZ #15427]
2425 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
2426 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
2427 * math/libm-test.inc (lgamma_test_data): Add more tests.
2428 * sysdeps/i386/fpu/libm-test-ulps: Update.
2429 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2430
8f02859f
OB
24312013-09-03 Ondřej Bílka <neleai@seznam.cz>
2432
2433 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
2434 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2435 Add ifunc.
2436 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
2437 Add strcmp-sse2-unaligned
2438 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
2439
18d43716
MF
24402013-09-02 Mike Frysinger <vapier@gentoo.org>
2441
2442 * Versions.def (libc): Add GLIBC_2.19.
2443
ac444012
MF
24442013-09-02 Mike Frysinger <vapier@gentoo.org>
2445
2446 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
2447 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
2448
b7835e32
JM
24492013-09-02 Joseph Myers <joseph@codesourcery.com>
2450
2451 [BZ #14155]
2452 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
2453 intermediate calculations in recurrence.
2454 (__ieee754_ynf): Likewise.
2455 * math/libm-test.inc (jn_test_data): Do not allow spurious
2456 underflow exception. Add more tests.
2457 (yn_test_data): Add more tests.
2458 * sysdeps/i386/fpu/libm-test-ulps: Update.
2459 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2460
8220f4f0
OB
24612013-09-02 Ondřej Bílka <neleai@seznam.cz>
2462
2463 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
2464
f24a6d08
OB
24652013-08-30 Ondřej Bílka <neleai@seznam.cz>
2466
2467 * csu/init-first.c: Fix then/than typos.
2468 * locale/programs/ld-collate.c: Likewise.
2469 * locale/programs/linereader.h: Likewise.
2470 * manual/charset.texi: Likewise.
2471 * manual/filesys.texi: Likewise.
2472 * manual/stdio.texi: Likewise.
2473 * manual/string.texi: Likewise.
2474 * stdlib/fmtmsg.c: Likewise.
2475 * sysdeps/i386/stpncpy.S: Likewise.
2476 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2477 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
2478 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2479 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2480
382466e0
OB
24812013-08-30 Ondřej Bílka <neleai@seznam.cz>
2482
2483 * elf/dl-open.c: Fix typos.
2484 * iconvdata/gbbig5.c: Likewise.
2485 * iconvdata/iso-2022-jp.c: Likewise.
2486 * iconv/gconv_int.h: Likewise.
2487 * iconv/loop.c: Likewise.
2488 * nis/rpcsvc/nis.h: Likewise.
2489 * resolv/ns_name.c: Likewise.
2490 * stdio-common/vfscanf.c: Likewise.
2491 * streams/stropts.h: Likewise.
2492 * sunrpc/rpc_thread.c: Likewise.
2493 * sysdeps/i386/strpbrk.S: Likewise.
2494 * sysdeps/ieee754/k_standard.c: Likewise.
2495 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2496 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2497 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
2498 * sysdeps/mach/hurd/profil.c: Likewise.
2499 * sysdeps/s390/dl-procinfo.h: Likewise.
2500 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
2501 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
2502 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
2503 * sysdeps/x86_64/dl-trampoline.S: Likewise.
2504 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
2505
0186c6e9
OB
25062013-08-30 Ondřej Bílka <neleai@seznam.cz>
2507
2508 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
2509 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
2510
d4e16af1
OB
25112013-08-29 Ondřej Bílka <neleai@seznam.cz>
2512
2513 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
2514 aix specific files.
2515 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
2516 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
2517 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
2518 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
2519 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
2520 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
2521 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
2522 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
2523
88335980
TS
25242013-08-29 Thomas Schwinge <thomas@codesourcery.com>
2525 Roland McGrath <roland@hack.frob.com>
2526
2527 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
2528 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
2529
ed479b02
ST
25302013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
2531
2532 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
2533 __executable_start symbol instead of _start.
2534
f1cc4c86
TS
25352013-08-29 Thomas Schwinge <thomas@codesourcery.com>
2536
d821f07c
TS
2537 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
2538 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
2539 Move macros to...
2540 * sysdeps/gnu/ldsodefs.h: ... this new file.
2541
c54290cf
TS
2542 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
2543 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
2544 instead of ELFOSABI_LINUX.
2545
0007fc9b 2546 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
2547 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
2548 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
2549 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
2550 Likewise.
2551 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
2552 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
2553 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
2554 Likewise.
2555 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
2556 (ibm_extended_long_double): Add ieee_nan member.
2557 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
2558 (do_test): New function.
2559
f1cc4c86
TS
2560 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
2561 TEST_TRUNC.
2562 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
2563 functions, renamed from truncdfsf_test, trunctfsf_test,
2564 trunctfdf_test.
2565 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
2566 functions.
2567 (do_test): Run all these.
2568
6f65e668
OB
25692013-08-29 Ondřej Bílka <neleai@seznam.cz>
2570
2571 * argp/argp-help.c: Fix typos.
2572 * argp/argp-parse.c: Likewise.
2573 * debug/backtracesyms.c: Likewise.
2574 * elf/elf.h: Likewise.
2575 * malloc/malloc.c: Likewise.
2576 * nis/nis_print.c: Likewise.
2577 * resolv/res_comp.c: Likewise.
2578 * stdlib/stdlib.h: Likewise.
2579 * sunrpc/clnt_tcp.c: Likewise.
2580 * sunrpc/clnt_udp.c: Likewise.
2581 * sunrpc/clnt_unix.c: Likewise.
2582 * sysdeps/unix/bsd/ptsname.c: Likewise.
2583 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
2584 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
2585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
2586 Likewise.
2587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
2588 Likewise.
2589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
2590 Likewise.
6f65e668
OB
2591 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
2592
3a309239
SP
25932013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2594
2595 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
2596 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2597
3b813b29
MF
25982013-08-27 Mike Frysinger <vapier@gentoo.org>
2599
2600 [BZ #15897]
2601 * dlfcn/Makefile (tests): Add bug-dl-leaf.
2602 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
2603 ($(objpfx)bug-dl-leaf): New rule.
2604 ($(objpfx)bug-dl-leaf.so): Likewise.
2605 ($(objpfx)bug-dl-leaf.out): Likewise.
2606 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
2607 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
2608 * dlfcn/bug-dl-leaf.c: New test.
2609 * dlfcn/bug-dl-leaf-lib.c: Likewise.
2610 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
2611 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
2612 (dlclose): Likewise.
2613 (dlmopen): Likewise.
2614
8cc3269f
RM
26152013-08-27 Roland McGrath <roland@hack.frob.com>
2616
7f9d0034
RM
2617 * include/netdb.h [!_ISOMAC]:
2618 Don't include <tls.h>.
2619 (h_errno, __libc_h_errno): Move declaration and macros out of
2620 [_LIBC_REENTRANT].
2621
fb431262
RM
2622 * include/resolv.h [_RESOLV_H_]:
2623 Don't include <tls.h>.
2624 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
2625 * resolv/res_libc.c: Don't include <tls.h>.
2626 (_res): Use __attribute__ ((nocommon)) in place of
2627 __attribute__ ((section (".bss"))).
2628
bd81123a
RM
2629 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
2630 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
2631
c4e42566
RM
2632 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
2633
f890a59b
RM
2634 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
2635 only under [SIOCGIFCONF && SIOCGIFNETMASK].
2636
2637 * resolv/res_mkquery.c: Include <sys/time.h>.
2638
5d1f0a09
RM
2639 * inet/ifreq.c: Moved to ...
2640 * sysdeps/unix/ifreq.c: ... here.
2641 * inet/ifreq.c: New file, true stub version.
2642
6fcf28b3
RM
2643 * socket/sa_len.c: New file.
2644 * socket/Makefile (aux): Add it.
2645 * sysdeps/unix/sysv/linux/Makefile
2646 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
2647 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
2648 and #include <socket/sa_len.c>.
2649 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
2650 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
2651
e041fb8b
RM
2652 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
2653 * bits/socket.h: ... here.
2654
8cc3269f
RM
2655 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
2656 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
2657 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
2658
5d228a43
AS
26592013-08-27 Andreas Schwab <schwab@suse.de>
2660
45b8accc
AS
2661 [BZ #15736]
2662 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
2663 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
2664 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
2665 * string/test-strcasecmp.c (test_main): Run tests in several
2666 locales.
2667 * string/test-strncasecmp.c (test_main): Likewise.
2668
5d228a43
AS
2669 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
2670 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
2671 to __strcasecmp_nonascii and __strncasecmp_nonascii.
2672 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
2673 (__strncasecmp_ssse3) [PIC]: Likewise.
2674
59d112a4
RM
26752013-08-26 Roland McGrath <roland@hack.frob.com>
2676
53234cc3
RM
2677 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
2678
59d112a4
RM
2679 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
2680 instead of explicitly declaring xdecrypt.
2681 * nis/nss_nis/nis-publickey.c: Likewise.
2682
595aba70
SP
26832013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2684
2685 [BZ #15890]
2686 * nscd/aicache.c: Include res_hconf.h.
2687 (addhstaiX): Initialize res_hconf.
2688
ffabd393
AS
26892013-08-26 Andreas Schwab <schwab@suse.de>
2690
2691 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
2692 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
2693
e0a69f5c
SP
26942013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2695
2696 * nscd/aicache.c (addhstaiX): Fix indentation.
2697
8c12f01d
MF
26982013-08-25 Mike Frysinger <vapier@gentoo.org>
2699
2700 * configure.ac: Quote $build_pt_chown test.
2701 * configure: Regenerated.
2702
8fe89494
JM
27032013-08-23 Joseph Myers <joseph@codesourcery.com>
2704
2705 [BZ #15532]
2706 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
2707 * math/s_cexpf.c (__cexpf): Likewise.
2708 * math/s_cexpl.c (__cexpl): Likewise.
2709 * math/libm-test.inc (cexp_test_data): Correct expected return
2710 value for NaN + i0. Add another test.
2711
75b181d6
DM
27122013-08-22 David S. Miller <davem@davemloft.net>
2713
2714 * po/ca.po: Update Catalan translation from translation project.
936241e4 2715 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 2716
acd06bb1
JM
27172013-08-21 Joseph Myers <joseph@codesourcery.com>
2718
2719 [BZ #15797]
2720 * math/s_fdim.c (__fdim): Check for infinite arguments if result
2721 is infinite, not alongside NaN test.
2722 * math/s_fdimf.c (__fdimf): Likewise.
2723 * math/s_fdiml.c (__fdiml): Likewise.
2724 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
2725 errno is unchanged.
2726
c0c3f78a
OB
27272013-08-21 Ondřej Bílka <neleai@seznam.cz>
2728
2729 * argp/argp-help.c: Fix typos.
2730 * crypt/speeds.c: Likewise.
2731 * csu/check_fds.c: Likewise.
2732 * elf/dl-load.c: Likewise.
2733 * elf/dl-open.c: Likewise.
2734 * elf/reldep3.c: Likewise.
2735 * elf/reldep.c: Likewise.
2736 * elf/sprof.c: Likewise.
2737 * iconv/iconv_charmap.c: Likewise.
2738 * iconv/skeleton.c: Likewise.
2739 * iconv/strtab.c: Likewise.
2740 * io/lockf64.c: Likewise.
2741 * libio/libioP.h: Likewise.
2742 * resolv/gai_notify.c: Likewise.
2743 * resolv/ns_name.c: Likewise.
2744 * resolv/ns_samedomain.c: Likewise.
2745 * resolv/res_send.c: Likewise.
2746 * stdlib/random.c: Likewise.
2747 * sunrpc/rpc/xdr.h: Likewise.
2748 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
2749 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
2750 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
2751 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
2752 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
2753 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
2754 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
2755 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
2756 * sysdeps/mach/hurd/check_fds.c: Likewise.
2757 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
2758 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
2759 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2760 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
2761 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
2762 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
2763 * sysdeps/pthread/aio_notify.c: Likewise.
2764 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
2765 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
2766 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
2767 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
2768 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
2769
46ed1038
LD
27702013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2771
2772 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
2773 version if bit_Slow_SSE4_2 is set.
2774 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2775 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
2776
d400dcac
AZ
27772013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2778
2779 [BZ #15867]
2780 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
2781 trampoline stack frame information.
2782 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
2783 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
2784 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
2785 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
2786 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
2787 * sysdeps/unix/sysv/linux/powerpc/init-first.c
2788 (_libc_vdso_platform_setup): Initialize the signal trampolines.
2789 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
2790 sa_flags value.
2791 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
2792 interrupting a syscall and set with option SA_SIGINFO.
2793
42c8fdd8
JM
27942013-08-20 Joseph Myers <joseph@codesourcery.com>
2795
c980f2f4
JM
2796 [BZ #15531]
2797 * math/s_cproj.c (__cproj): Only return an infinity if one part of
2798 argument is infinite.
2799 * math/s_cprojf.c (__cprojf): Likewise.
2800 * math/s_cprojl.c (__cprojl): Likewise.
2801 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
2802 * math/libm-test.inc (cproj_test_data): Add more tests.
2803
0716c4fc
JM
2804 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
2805
42c8fdd8
JM
2806 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
2807 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
2808 size. Use __ffs to determine corresponding shift.
2809
b31469d0
JM
28102013-08-20 Joseph Myers <joseph@codesourcery.com>
2811 Roland McGrath <roland@hack.frob.com>
2812
2813 * Makefile (INSTALL): Remove trailing blank lines from output of
2814 makeinfo.
2815
4e39af6e
AK
28162013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2817
2818 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
2819 Align 32 bit compat elf_greg to 8 bytes.
2820
f315524e
AA
28212013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
2822
2823 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
2824
1326ba1a
SP
28252013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2826
2827 * string/strcoll_l.c (coll_seq): New structure.
2828 (get_next_seq_cached): New function.
2829 (get_next_seq): New function.
2830 (do_compare): New function.
2831 (STRCOLL): Use GNU style definition. Simplify implementation
2832 by using get_next_seq, get_next_seq_cached and do_compare.
2833
91ce4085
FW
28342013-08-16 Florian Weimer <fweimer@redhat.com>
2835
2836 [BZ #14699]
2837 CVE-2013-4237
2838 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
2839 member.
2840 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
2841 member.
2842 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
2843 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
2844 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
2845 conditional.
2846 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
2847 GETDENTS_64BIT_ALIGNED.
2848 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
2849 * manual/filesys.texi (Reading/Closing Directory): Document
2850 ENAMETOOLONG return value of readdir_r. Recommend readdir more
2851 strongly.
2852 * manual/conf.texi (Limits for Files): Add portability note to
2853 NAME_MAX, PATH_MAX.
2854 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
2855
ca0a6bc4
AS
28562013-08-13 Andreas Schwab <schwab@suse.de>
2857
2858 [BZ #15749]
2859 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
2860 of fabs.
2861 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
2862 LDBL_MAX_EXP >= 16384]: Add tests for it.
2863
6c1fd795
DM
28642013-08-12 David S. Miller <davem@davemloft.net>
2865
2866 * version.h (RELEASE): Set to "development".
2867 (VERSION): Set to "2.18.90".
2868 * NEWS: Add 2.19 section.
2869
31ad488d
DM
28702013-08-03 David S. Miller <davem@davemloft.net>
2871
2872 * po/ko.po: Update Korean translation from translation project.
2873
db24e684
DM
28742013-08-01 David S. Miller <davem@davemloft.net>
2875
2876 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
2877 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
2878 Bilka.
2879
f723285b
DM
28802013-07-30 David S. Miller <davem@davemloft.net>
2881
2882 * po/fr.po: Update French translation from translation project.
2883
3cbc52db
DM
28842013-07-28 David S. Miller <davem@davemloft.net>
2885
30bbc0cc
DM
2886 * po/cs.po: Update Czech translation from translation project.
2887
3cbc52db
DM
2888 * po/sv.po: Update Swedish translation from translation project.
2889
d492e6d0
DM
28902013-07-27 David S. Miller <davem@davemloft.net>
2891
f1a7f492
DM
2892 * po/eo.po: Update Esperanto translation from translation project.
2893
90e62a4a
DM
2894 * po/vi.po: Update Vietnamese translation from translation project.
2895
d492e6d0
DM
2896 * po/de.po: Update German translation from translation project.
2897
d4baa62d
DM
28982013-07-26 David S. Miller <davem@davemloft.net>
2899
641aa7b4
DM
2900 * po/bg.po: Update Bulgarian translation from translation project.
2901
d4baa62d
DM
2902 * po/nl.po: Update Dutch translation from translation project.
2903 * po/pl.po: Update Polish translation from translation project.
2904 * po/ru.po: Update Russian translation from translation project.
2905
61a9dcb9
DM
29062013-07-24 David S. Miller <davem@davemloft.net>
2907
2908 * po/libc.pot: Update.
2909
7b1f8b58
AZ
29102013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2911
2912 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
2913 variable page size.
2914 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
2915 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
2916 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
2917
a8fc7a03
AK
29182013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2919
2920 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
2921
e4608715
CD
29222013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2923 Andreas Schwab <schwab@suse.de>
2924 Roland McGrath <roland@hack.frob.com>
2925 Joseph Myers <joseph@codesourcery.com>
2926 Carlos O'Donell <carlos@redhat.com>
2927
2928 [BZ #15755]
2929 * config.h.in: Define HAVE_PT_CHOWN.
2930 * config.make.in (build-pt-chown): New variable.
2931 * configure.in (--enable-pt_chown): New configure option.
2932 * configure: Regenerate.
2933 * login/Makefile: Include Makeconfig. Build pt_chown only if
2934 build-pt-chown is enabled.
2935 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
2936 pt_chown to fix pty ownership.
2937 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
2938 CLOSE_ALL_FDS.
2939 * manual/install.texi (Configuring and compiling): Mention
2940 --enable-pt_chown. Add @findex for grantpt.
2941 * INSTALL: Regenerate.
2942
da2d62df
DM
29432013-07-20 David S. Miller <davem@davemloft.net>
2944
2945 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
2946 difference between 32-bit and 64-bit.
2947
d7e06450
CD
29482013-07-15 Carlos O'Donell <carlos@redhat.com>
2949
2950 [BZ #15711]
2951 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
2952 Avoid system header dependency with -ffreestanding.
2953 ($(objpfx)bits/syscall%d): Likewise.
2954
f959cfd7
DM
29552013-07-13 David S. Miller <davem@davemloft.net>
2956
2957 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
2958 underflows from atanl/atan2l due to bug 15319.
2959 (casinh_test_data): Likewise.
2960
c61f8513
DM
29612013-07-07 David S. Miller <davem@davemloft.net>
2962
2963 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
2964
72c90ed0
JA
29652013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
2966
2967 * sysdeps/i386/fpu/libm-test-ulps: Update.
2968 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2969
52dfbe13
SP
29702013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2971
2972 * configure.in (--enable-lock-elision): Fix message text.
2973 * INSTALL: Regenerate.
2974 * configure: Regenerate.
2975
3f169543
AZ
29762013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2977
2978 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2979
521c6785
AJ
29802013-07-03 Andreas Jaeger <aj@suse.de>
2981
2982 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
2983 define.
2984 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
2985 (ptrace_peeksiginfo_args): Add.
2986 (__ptrace_peeksiginfo_flags): Add.
2987 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
2988 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
2989 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
2990
d2cc15cb
AM
29912013-07-03 Allan McRae <allan@archlinux.org>
2992
2993 * sysdeps/i386/fpu/libm-test-ulps: Update.
2994
3aaeeca7
DM
29952013-07-02 David S. Miller <davem@davemloft.net>
2996
2997 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2998
5314ed1a
MT
29992013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
3000
3001 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3002
67338156
JM
30032013-07-02 Joseph Myers <joseph@codesourcery.com>
3004
3005 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
3006 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3007
1717da59
AK
30082013-07-02 Andi Kleen <ak@linux.intel.com>
3009
3010 * config.h.in (ENABLE_LOCK_ELISION): Add.
3011 * configure.in (--enable-lock-elision): Add option.
3012 * manual/install.texi: Document --enable lock elision.
3013 * configure: Regenerate
3014 * INSTALL: Regenerate.
3015
1c81621c
L
30162013-07-02 H.J. Lu <hongjiu.lu@intel.com>
3017
3018 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
3019 SSE4.2 strcasecmp for libc.a.
3020 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
3021
77f01ab5
JM
30222013-07-02 Joseph Myers <joseph@codesourcery.com>
3023
3024 [BZ #13304]
3025 * soft-fp/op-common.h (_FP_FMA): New macro.
3026 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
3027 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
3028 (_FP_MUL_MEAT_1_imm): ... here.
3029 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
3030 (_FP_MUL_MEAT_1_wide): ... here.
3031 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
3032 (_FP_MUL_MEAT_1_hard): ... here.
3033 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
3034 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
3035 (_FP_MUL_MEAT_2_wide): ... here.
3036 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
3037 (_FP_MUL_MEAT_2_wide_3mul): ... here.
3038 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
3039 (_FP_MUL_MEAT_2_gmp): ... here.
3040 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
3041 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
3042 (_FP_MUL_MEAT_4_wide): ... here.
3043 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
3044 (_FP_MUL_MEAT_4_gmp): ... here.
3045 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
3046 (_FP_WFRACBITS_DW_S): Likewise.
3047 (_FP_WFRACXBITS_DW_S): Likewise.
3048 (_FP_HIGHBIT_DW_S): Likewise.
3049 (FP_FMA_S): Likewise.
3050 (_FP_FRAC_HIGH_DW_S): Likewise.
3051 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
3052 (_FP_WFRACBITS_DW_D): Likewise.
3053 (_FP_WFRACXBITS_DW_D): Likewise.
3054 (_FP_HIGHBIT_DW_D): Likewise.
3055 (FP_FMA_D): Likewise.
3056 (_FP_FRAC_HIGH_DW_D): Likewise.
3057 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
3058 (_FP_WFRACBITS_DW_E): Likewise.
3059 (_FP_WFRACXBITS_DW_E): Likewise.
3060 (_FP_HIGHBIT_DW_E): Likewise.
3061 (FP_FMA_E): Likewise.
3062 (_FP_FRAC_HIGH_DW_E): Likewise.
3063 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
3064 (_FP_WFRACBITS_DW_Q): Likewise.
3065 (_FP_WFRACXBITS_DW_Q): Likewise.
3066 (_FP_HIGHBIT_DW_Q): Likewise.
3067 (FP_FMA_Q): Likewise.
3068 (_FP_FRAC_HIGH_DW_Q): Likewise.
3069 * soft-fp/fmasf4.c: New file.
3070 * soft-fp/fmadf4.c: Likewise.
3071 * soft-fp/fmatf4.c: Likewise.
3072
6308fd9a
LD
30732013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3074
3075 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
3076 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
3077 Silvermont.
3078 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
3079 macro.
3080 (index_Slow_SSE4_2): Likewise.
3081 (index_Prefer_PMINUB_for_stringop): Likewise.
3082 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
3083 bit_Slow_SSE4_2 is set.
3084 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3085 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3086
89cd9569
RA
30872013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3088
3089 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
3090 rtld_global._dl_hwcap2.
3091 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
3092 POWER8.
3093 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
3094 POWER8 feature descriptions defined in _dl_hwcap2.
3095 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
3096 string handling for POWER8 feature bits.
3097 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
3098 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
3099 _dl_powerpc_cap_flags.
3100 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
3101 * sysdeps/powerpc/rtld-global-offsets.sym
3102 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
3103 _dl_hwcap2 in the rtld_global_ro structure.
3104
1ae8bfe0
RA
31052013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3106
3107 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
3108 hardware capabilities in support of AT_HWCAP2.
3109 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
3110 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
3111 GLRO(dl_hwcap2).
3112 (_dl_show_auxv): Add support for calling _dl_procinfo to display
3113 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
3114 explicitly the unknown a_type display mechanism is used.
3115 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
3116 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
3117 struct member.
3118 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
3119 to macro prototype for AT_HWCAP2 support.
3120 * sysdeps/i386/dl-procinfo.h: Likewise.
3121 * sysdeps/s390/dl-procinfo.h: Likewise.
3122 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
3123 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
3124 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
3125 return -1 for unknown a_type display fallback.
3126 * sysdeps/sparc/dl-procinfo.h: Likewise.
3127 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
3128 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
3129
8fbec010
JM
31302013-06-28 Joseph Myers <joseph@codesourcery.com>
3131
3132 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
3133 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
3134
0432680e
PY
31352013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
3136
3137 [BZ #12492]
3138 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
3139 mprotect making __stack_prot writable.
3140
ce61a2ad
NF
31412013-06-28 Nathan Froyd <froydnj@codesourcery.com>
3142 Joseph Myers <joseph@codesourcery.com>
3143
3144 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
3145 as being properly aligned.
3146
f91f1c0f
MR
31472013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
3148
3d0f5d0c
MR
3149 * dlfcn/modstatic5.c: New file.
3150 * dlfcn/tststatic5.c: New file.
3151 * dlfcn/Makefile (tests): Add tststatic5.
3152 (tests-static): Likewise.
3153 (modules-names): Add modstatic5.
3154 (tststatic5-ENV): New variable.
3155 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
3156
f91f1c0f
MR
3157 [BZ #15022]
3158 * elf/dl-support.c (_dl_main_map): New variable.
3159 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
3160 (_dl_nns, _dl_load_adds): Set to 1.
3161 (_dl_initial_searchlist): Refer to _dl_main_map.
3162 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
3163 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
3164 call to _dl_get_origin.
3165 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
3166 around call_map.
3167 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
3168 * dlfcn/modstatic3.c: New file.
3169 * dlfcn/tststatic3.c: New file.
3170 * dlfcn/tststatic4.c: New file.
3171 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
3172 (tests-static): Likewise.
3173 (modules-names): Add modstatic3.
3174 (tststatic3-ENV, tststatic4-ENV): New variables.
3175 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
3176 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
3177
cbe7d24b
JM
31782013-06-26 Joseph Myers <joseph@codesourcery.com>
3179
3180 * configure.in (CC): Require GCC version 4.4 or later.
3181 * configure: Regenerated.
3182 * manual/install.texi (Tools for Compilation): Update GCC version
3183 requirement.
3184 * INSTALL: Regenerated.
3185
11b8a0e1
LD
31862013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3187
3188 [BZ #15674]
bb5bb87c
L
3189 * string/test-memcmp.c (check2): New.
3190 (main): Call check2.
3191
11b8a0e1
LD
3192 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
3193
b0037103
MR
31942013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
3195
3196 [BZ #15022]
3197 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
3198 over to...
3199 (dl_open_worker) [!SHARED]: ... here.
3200
c18c701d
RA
32012013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3202
3203 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
3204
1d17fa5f
RH
32052013-06-25 Richard Henderson <rth@redhat.com>
3206
3207 * locale/programs/locarchive.c: Include <libc-internal.h>
3208
8fcb833a
JM
32092013-06-25 Joseph Myers <joseph@codesourcery.com>
3210
3211 * manual/texinfo.tex: Update to version 2013-06-21.17, with
3212 trailing whitespace removed.
3213
17db6e8d
MF
32142013-06-24 Mike Frysinger <vapier@gentoo.org>
3215
3216 [BZ #10283]
17db6e8d
MF
3217 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
3218 * locale/programs/locarchive.c: Include libc-mmap.h.
3219 (prepare_address_space): Take two new outputs (the mmap base and len).
3220 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
3221 values.
3222 (create_archive): Declare new mmap base and len values for
3223 prepare_address_space, and store the result in ah.
3224 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
3225 (enlarge_archive): If ah->mmap_base is not NULL, use that and
3226 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
3227 Declare new mmap base and len values for
3228 prepare_address_space, and store the result in new_ah.
3229 (open_archive): Declare new mmap base and len values for
3230 prepare_address_space, and store the result in ah.
3231 (close_archive): If ah->mmap_base is not NULL, use that and
3232 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
3233 * sysdeps/generic/libc-mmap.h: New file.
3234
d605071e
MF
32352013-06-24 Mike Frysinger <vapier@gentoo.org>
3236
3237 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
3238 (ALIGN_UP): Likewise.
3239 (PTR_ALIGN_DOWN): Likewise.
3240 (PTR_ALIGN_UP): Likewise.
3241
2f063a6e
RA
32422013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3243
3244 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
3245 entry mapped to PPC_PLATFORM_POWER8.
3246 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
3247 POWER8.
3248 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
3249 (_dl_string_platform): Add case for exporting platform position for
3250 POWER8.
3251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
3252 search path to sysdeps/powerpc/powerpc32/power8 directory.
3253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
3254 search path to sysdeps/powerpc/powerpc64/power8 directory.
3255 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
3256 power7 directories.
3257 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
3258 power7 directories.
3259
a31ee4b3
SP
32602013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3261
a74ca98f
SP
3262 * INSTALL: Regenerate.
3263
a31ee4b3
SP
3264 * nscd/connections.c (nscd_init): Fix comment.
3265
695c378f
JM
32662013-06-22 Joseph Myers <joseph@codesourcery.com>
3267
d8412221
JM
3268 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
3269
695c378f
JM
3270 [BZ #15667]
3271 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
3272 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
3273
d1d54715
MR
32742013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
3275
3276 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
3277 DL_DST_REQ_STATIC.
3278 (DL_DST_REQ_STATIC): Remove macro.
3279
8fdda7af
JM
32802013-06-21 Joseph Myers <joseph@codesourcery.com>
3281
3282 [BZ #7006]
3283 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
3284 with a shift of 0 bits.
3285
f3bc5e5a
MR
32862013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
3287
3288 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
3289 $(tststatic-ENV).
3290
be09e8c9
KK
32912013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3292
3293 [BZ #15655]
3294 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
3295
85c2e611
AZ
32962013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3297
3298 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
3299 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
3300 accepts -fno-tree-loop-distribute-patterns.
3301 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
3302 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
3303 recursive call.
3304 * string/memset.c (memset): Likewise.
3305 * string/test-memmove.c (simple_memmove): Disable loop transformation
3306 to library calls.
3307 * string/test-memset.c (simple_memset): Likewise.
3308 * benchtests/bench-memmove.c (simple_memmove): Likewise.
3309 * benchtests/bench-memset.c (simple_memset): Likewise.
3310 * configure: Regenerated.
3311
c91e0825
JM
33122013-06-20 Joseph Myers <joseph@codesourcery.com>
3313
b8c792af
JM
3314 * math/test-misc.c (main): Ignore fesetround failure when failures
3315 of subsequent rounding tests would be ignored.
3316
c91e0825
JM
3317 [BZ #15654]
3318 * math/fedisblxcpt.c (fedisableexcept): Return 0.
3319 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
3320 * math/fegetenv.c (__fegetenv): Return 0.
3321 * math/fegetexcept.c (fegetexcept): Return 0.
3322 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
3323 FE_TONEAREST.
3324 * math/feholdexcpt.c (feholdexcept): Return 0.
3325 * math/fesetenv.c (__fesetenv): Return 0.
3326 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
3327 argument FE_TONEAREST.
3328 * math/feupdateenv.c (__feupdateenv): Return 0.
3329 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
3330
bfcacbde
RM
33312013-06-18 Roland McGrath <roland@hack.frob.com>
3332
3333 * elf/rtld-Rules (rtld-compile-command.S): New variable.
3334 (rtld-compile-command.s, rtld-compile-command.c): New variables.
3335 ($(objpfx)rtld-%.os rules): Use them.
3336
e55a9b25
AZ
33372013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3338
3339 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
3340 fields.
3341
346d65b3
RM
33422013-06-17 Roland McGrath <roland@hack.frob.com>
3343
12086fb4
RM
3344 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
3345 length of target pattern, then descending length of dependency pattern.
3346 * configure.in (AWK): Require gawk 3.1.2 or newer.
3347 * manual/install.texi (Tools for Compilation): Say that we do.
3348 * configure: Regenerated.
3349
346d65b3
RM
3350 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
3351 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
3352 * scripts/sysd-rules.awk: ... this new script.
3353 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
3354 than a glob-style pattern.
3355
1a846317
JM
33562013-06-17 Joseph Myers <joseph@codesourcery.com>
3357
3358 * math/test-misc.c (main): Do not treat incorrectly rounded
3359 conversions as failure unless ROUNDING_TESTS passes.
3360
8fc75e6f
JM
33612013-06-15 Joseph Myers <joseph@codesourcery.com>
3362
3711a167
JM
3363 [BZ #15631]
3364 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
3365 restore exception state around main square root computation, then
3366 check for inexactness explicitly.
3367
8fc75e6f
JM
3368 * math/libm-test.inc (fma_test_data): Add another test.
3369
61dd6208
SP
33702013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3371
adf23d2c
SP
3372 * manual/threads.texi (Non-POSIX Extensions): New document
3373 node. Document pthread_getattr_default_np and
3374 pthread_setattr_default_np.
3375
61dd6208
SP
3376 * Versions.def (libpthread): Add GLIBC_2.18.
3377 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
3378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3379 Likewise.
3380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3381 Likewise.
3382 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3383 Likewise.
3384 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3385 Likewise.
3386 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
3387 Likewise.
3388 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
3389 Likewise.
3390 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
3391 Likewise.
3392 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
3393 Likewise.
3394 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
3395 Likewise.
3396
d086fc7b
LD
33972013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3398
3399 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3400 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
3401
747ef469
SP
34022013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3403 H.J. Lu <hjl.tools@gmail.com>
3404
3405 [BZ #15627]
3406 * sysdeps/x86_64/rtld-memset.c: Remove file.
3407 * sysdeps/x86_64/rtld-memset.S: New file.
3408
1b2feed2
JM
34092013-06-14 Joseph Myers <joseph@codesourcery.com>
3410
3411 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
3412 (test_in_one_mode): Take arguments for whether the rounding mode
3413 is supported for each floating-point type.
3414 (do_test): Pass new arguments to test_in_one_mode using
3415 ROUNDING_TESTS.
3416
a58ad3f8
RM
34172013-06-13 Roland McGrath <roland@hack.frob.com>
3418
3419 * posix/tst-waitid.c (do_test): Distinguish different instances of
3420 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
3421 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
3422 before entering the kernel for waitpid.
3423
c204ab28
SP
34242013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3425
3426 * NEWS: Fix note on clock function precision. Text by Roland
3427 McGrath.
3428
f4a29fba
RM
34292013-06-13 Roland McGrath <roland@hack.frob.com>
3430
3431 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
3432 it into place only when and if the sanity check passes.
3433
1f24b9ad
JM
34342013-06-13 Joseph Myers <joseph@codesourcery.com>
3435
3436 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
3437 output for whether conversion result is exact. Take argument
3438 indicating whether type is IBM long double.
3439 (round_for_all): Change need_exact field to ibm_ld.
3440 * stdlib/tst-strtod-round.c (struct exactness): New type.
3441 (struct test): Change bool ld_ok field to struct exactness exact.
3442 (TEST): Update all definitions for change to field.
3443 (tests): Regenerate array contents.
3444 (test_in_one_mode): Take pointer to new field instead of old ld_ok
3445 field value. Check for IBM long double here.
3446 (do_test): Update calls to test_in_one_mode.
3447
58206c68
SP
34482013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3449
3450 [BZ #12515]
3451 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
3452 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
3453
2d6f4c5b 34542013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
3455
3456 [BZ #15605]
3457 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
3458 generated by the compiler on loop optimizations.
3459 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
3460 general definitions.
3461
94f2c076
JM
34622013-06-12 Joseph Myers <joseph@codesourcery.com>
3463
3464 * math/bug-nextafter.c: Include <math-tests.h>.
3465 (main): Only test for exceptions if EXCEPTION_TESTS is true for
3466 the relevant type.
3467 * math/bug-nexttoward.c: Include <math-tests.h>.
3468 (main): Only test for exceptions if EXCEPTION_TESTS is true for
3469 the relevant type.
3470 * math/test-misc.c: Include <math-tests.h>.
3471 (main): Only test for exceptions if EXCEPTION_TESTS is true for
3472 the relevant type.
3473
e0e50a0a
AJ
34742013-06-12 Andreas Jaeger <aj@suse.de>
3475
3476 * po/ia.po: Update Interlingua translation from translation
3477 project.
3478
25061094
SP
34792013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3480
3481 * include/fenv.h: Include stdbool.h.
3482 (struct rm_ctx): New structure.
3483 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
3484 Define macro.
3485 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
3486 (SET_RESTORE_ROUNDF): Likewise.
3487 (SET_RESTORE_ROUNDL): Likewise.
3488 (SET_RESTORE_ROUND_NOEX): Likewise.
3489 (SET_RESTORE_ROUND_NOEXF): Likewise.
3490 (SET_RESTORE_ROUND_NOEXL): Likewise.
3491 (SET_RESTORE_ROUND_53BIT): Likewise.
3492 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
3493 (libc_feresetround_noexf_ctx): Likewise.
3494 (libc_feresetround_noexl_ctx): Likewise.
3495 (libc_feholdsetround_53bit_ctx): Likewise.
3496 (libc_feresetround_53bit_ctx): Likewise.
3497 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
3498 (libc_feholdexcept_setround_sse_ctx): New function.
3499 (libc_fesetenv_sse_ctx): Likewise.
3500 (libc_feupdateenv_sse_ctx): Likewise.
3501 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
3502 (libc_feholdexcept_setround_387_ctx): Likewise.
3503 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
3504 (libc_feholdsetround_387_prec_ctx): Likewise.
3505 (libc_feholdsetround_387_ctx): Likewise.
3506 (libc_feholdsetround_387_53bit_ctx): Likewise.
3507 (libc_feholdsetround_sse_ctx): Likewise.
3508 (libc_feresetround_sse_ctx): Likewise.
3509 (libc_feresetround_387_ctx): Likewise.
3510 (libc_feupdateenv_387_ctx): Likewise.
3511 (libc_feholdexcept_setroundf_ctx): Define macro.
3512 (libc_fesetenvf_ctx): Likewise.
3513 (libc_feupdateenvf_ctx): Likewise.
3514 (libc_feholdsetroundf_ctx): Likewise.
3515 (libc_feresetroundf_ctx): Likewise.
3516 (libc_feholdexcept_setround_ctx): Likewise.
3517 (libc_fesetenv_ctx): Likewise.
3518 (libc_feupdateenv_ctx): Likewise.
3519 (libc_feholdsetround_ctx): Likewise.
3520 (libc_feresetround_ctx): Likewise.
3521 (libc_feholdexcept_setroundl_ctx): Likewise.
3522 (libc_feupdateenvl_ctx): Likewise.
3523 (libc_feholdsetroundl_ctx): Likewise.
3524 (libc_feresetroundl_ctx): Likewise.
3525 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
3526 (libc_feresetround_53bit_ctx): Likewise.
3527
59b30555
SP
35282013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3529
3530 * locale/iso-639.def: Convert to UTF-8.
3531
f1d73d30
JM
35322013-06-11 Joseph Myers <joseph@codesourcery.com>
3533
3534 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
3535 (EXCEPTION_TESTS_double): Likewise.
3536 (EXCEPTION_TESTS_long_double): Likewise.
3537 (EXCEPTION_TESTS): Likewise.
3538 * math/libm-test.inc (test_exceptions): Only test exceptions if
3539 EXCEPTION_TESTS (FLOAT).
3540
94aca5e7
SP
35412013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3542
3543 * benchtests/Makefile (string-bench): Add strcpy_chk and
3544 stpcpy_chk.
3545 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
3546 * benchtests/bench-stpcpy_chk.c: New file.
3547 * benchtests/bench-strcpy_chk-ifunc.c: New file.
3548 * benchtests/bench-strcpy_chk.c: New file.
3549 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
3550 code.
3551 (do_test): Likewise.
3552
fac0c5f2
RA
35532013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3554
3555 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
3556 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
3557 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
3558 with tabs where appropriate.
3559 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
3560 dl-procinfo.h.
3561 [PPC_PLATFORM_PPC440]: Likewise.
3562 [PPC_PLATFORM_PPC464]: Likewise.
3563 [PPC_PLATFORM_PPC476]: Likewise.
3564 (_dl_string_platform): Add support for detecting ppc405, ppc440,
3565 ppc464, and ppc476 platform strings merging from ports/
3566 dl-procinfo.h.
3567
f22bc486
AS
35682013-06-11 Andreas Schwab <schwab@suse.de>
3569
3570 [BZ #14991]
3571 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
3572 (from_ucs4_idx): Regenerate.
3573 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
3574 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
3575 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
3576 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
3577 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
3578 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
3579 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
3580 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
3581 from FROM_LOOP and TO_LOOP specific macros.
3582 (BODY): Handle combining characters.
3583 * iconvdata/BIG5HKSCS.irreversible: Update.
3584 * iconvdata/BIG5HKSCS.precomposed: New file.
3585 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
3586 characters.
3587 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
3588
c1f75dc3
SP
35892013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3590
4eacded2
SP
3591 * include/sys/time.h: Fix indentation and add copyright header.
3592
fec799f8
SP
3593 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
3594 (do_test): Likewise.
3595 * string/test-memchr.c (do_one_test): Likewise.
3596 (do_test): Likewise.
3597 * string/test-memcmp.c (do_one_test): Likewise.
3598 (do_test): Likewise.
3599 * string/test-memcpy.c (do_one_test): Likewise.
3600 (do_test): Likewise.
3601 * string/test-memmem.c (do_one_test): Likewise.
3602 (do_test): Likewise.
3603 (do_random_tests): Likewise.
3604 * string/test-memmove.c (do_one_test): Likewise.
3605 (do_test): Likewise.
3606 * string/test-memset.c (do_one_test): Likewise.
3607 (do_test): Likewise.
3608 * string/test-rawmemchr.c (do_one_test): Likewise.
3609 (do_test): Likewise.
3610 * string/test-strcasecmp.c (do_one_test): Likewise.
3611 (do_test): Likewise.
3612 * string/test-strcasestr.c (do_one_test): Likewise.
3613 (do_test): Likewise.
3614 * string/test-strcat.c (do_one_test): Likewise.
3615 (do_test): Likewise.
3616 * string/test-strchr.c (do_one_test): Likewise.
3617 (do_test): Likewise.
3618 * string/test-strcmp.c (do_one_test): Likewise.
3619 (do_test): Likewise.
3620 * string/test-strcpy.c (do_one_test): Likewise.
3621 (do_test): Likewise.
3622 * string/test-string.h: Likewise.
3623 (test_init): Likewise.
3624 * string/test-strlen.c (do_one_test): Likewise.
3625 (do_test): Likewise.
3626 * string/test-strncasecmp.c (do_one_test): Likewise.
3627 (do_test): Likewise.
3628 * string/test-strncat.c (do_one_test): Likewise.
3629 (do_test): Likewise.
3630 * string/test-strncmp.c (do_one_test): Likewise.
3631 (do_test_limit): Likewise.
3632 (do_test): Likewise.
3633 * string/test-strncpy.c (do_one_test): Likewise.
3634 (do_test): Likewise.
3635 * string/test-strnlen.c (do_one_test): Likewise.
3636 (do_test): Likewise.
3637 * string/test-strpbrk.c (do_one_test): Likewise.
3638 (do_test): Likewise.
3639 * string/test-strrchr.c (do_one_test): Likewise.
3640 (do_test): Likewise.
3641 * string/test-strspn.c (do_one_test): Likewise.
3642 (do_test): Likewise.
3643 * string/test-strstr.c (do_one_test): Likewise.
3644 (do_test): Likewise.
3645
97020474
SP
3646 * benchtests/Makefile (string-bench): Add string benchmarks.
3647 * benchtests/bench-bcopy-ifunc.c: New file.
3648 * benchtests/bench-bcopy.c: New file.
3649 * benchtests/bench-bzero-ifunc.c: New file.
3650 * benchtests/bench-bzero.c: New file.
3651 * benchtests/bench-memccpy-ifunc.c: New file.
3652 * benchtests/bench-memccpy.c: New file.
3653 * benchtests/bench-memchr-ifunc.c: New file.
3654 * benchtests/bench-memchr.c: New file.
3655 * benchtests/bench-memcmp-ifunc.c: New file.
3656 * benchtests/bench-memcmp.c: New file.
3657 * benchtests/bench-memmem-ifunc.c: New file.
3658 * benchtests/bench-memmem.c: New file.
3659 * benchtests/bench-memmove-ifunc.c: New file.
3660 * benchtests/bench-memmove.c: New file.
3661 * benchtests/bench-mempcpy-ifunc.c: New file.
3662 * benchtests/bench-mempcpy.c: New file.
3663 * benchtests/bench-memset-ifunc.c: New file.
3664 * benchtests/bench-memset.c: New file.
3665 * benchtests/bench-rawmemchr-ifunc.c: New file.
3666 * benchtests/bench-rawmemchr.c: New file.
3667 * benchtests/bench-stpcpy-ifunc.c: New file.
3668 * benchtests/bench-stpcpy.c: New file.
3669 * benchtests/bench-stpncpy-ifunc.c: New file.
3670 * benchtests/bench-stpncpy.c: New file.
3671 * benchtests/bench-strcasecmp-ifunc.c: New file.
3672 * benchtests/bench-strcasecmp.c: New file.
3673 * benchtests/bench-strcasestr-ifunc.c: New file.
3674 * benchtests/bench-strcasestr.c: New file.
3675 * benchtests/bench-strcat-ifunc.c: New file.
3676 * benchtests/bench-strcat.c: New file.
3677 * benchtests/bench-strchr-ifunc.c: New file.
3678 * benchtests/bench-strchr.c: New file.
3679 * benchtests/bench-strchrnul-ifunc.c: New file.
3680 * benchtests/bench-strchrnul.c: New file.
3681 * benchtests/bench-strcmp-ifunc.c: New file.
3682 * benchtests/bench-strcmp.c: New file.
3683 * benchtests/bench-strcpy-ifunc.c: New file.
3684 * benchtests/bench-strcpy.c: New file.
3685 * benchtests/bench-strcspn-ifunc.c: New file.
3686 * benchtests/bench-strcspn.c: New file.
3687 * benchtests/bench-strlen-ifunc.c: New file.
3688 * benchtests/bench-strlen.c: New file.
3689 * benchtests/bench-strncasecmp-ifunc.c: New file.
3690 * benchtests/bench-strncasecmp.c: New file.
3691 * benchtests/bench-strncat-ifunc.c: New file.
3692 * benchtests/bench-strncat.c: New file.
3693 * benchtests/bench-strncmp-ifunc.c: New file.
3694 * benchtests/bench-strncmp.c: New file.
3695 * benchtests/bench-strncpy-ifunc.c: New file.
3696 * benchtests/bench-strncpy.c: New file.
3697 * benchtests/bench-strnlen-ifunc.c: New file.
3698 * benchtests/bench-strnlen.c: New file.
3699 * benchtests/bench-strpbrk-ifunc.c: New file.
3700 * benchtests/bench-strpbrk.c: New file.
3701 * benchtests/bench-strrchr-ifunc.c: New file.
3702 * benchtests/bench-strrchr.c: New file.
3703 * benchtests/bench-strspn-ifunc.c: New file.
3704 * benchtests/bench-strspn.c: New file.
3705 * benchtests/bench-strstr-ifunc.c: New file.
3706 * benchtests/bench-strstr.c: New file.
3707
c1f75dc3
SP
3708 * benchtests/Makefile: Disable parallel execution of targets.
3709 (string-bench): Add memcpy.
3710 (benchset): New variable to store a list of benchmark sets.
3711 (bench-func): Renamed from bench.
3712 (bench-set): New target.
3713 (bench): Depend on bench-func and bench-set.
3714 * benchtests/README: Add section on benchmark sets.
3715 * benchtests/bench-memcpy-ifunc.c: New file.
3716 * benchtests/bench-memcpy.c: New file.
3717 * benchtests/bench-string.h: New file.
3718
50fd745b
AS
37192013-06-11 Andreas Schwab <schwab@suse.de>
3720
3721 [BZ #15577]
3722 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
3723 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
3724 values in the triple.
3725 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
3726 terminator in the group key.
3727
3ee7e9fe
AJ
37282013-06-11 Andreas Jaeger <aj@suse.de>
3729
3730 * po/zh_TW.po: Update Chinese (traditional) translation from
3731 translation project.
3732
89fb6835
SP
37332013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3734
3735 * include/time.h (__clock_gettime): Add libc_hidden_proto.
3736 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
3737 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
3738 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
3739 (clock_getcpuclockid): Likewise.
3740 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
3741 Add weak_alias and libc_hidden_def.
3742 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
3743 * rt/clock_gettime.c (clock_gettime): Rename to
3744 __clock_gettime. Add weak_alias and libc_hidden_def.
3745 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
3746 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
3747 __clock_nanosleep. Add weak_alias and libc_hidden_def.
3748 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
3749 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
3750 Likewise.
3751 * rt/clock_settime.c (clock_settime): Rename to
3752 __clock_settime. Add weak_alias and libc_hidden_def.
3753 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
3754
0efa6f8b
JM
37552013-06-10 Joseph Myers <joseph@codesourcery.com>
3756
b8c61b4b
JM
3757 * mach/err_boot.sub: Remove trailing whitespace.
3758 * mach/err_ipc.sub: Likewise.
3759 * mach/err_mach.sub: Likewise.
3760
0efa6f8b
JM
3761 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
3762 (ROUNDING_TESTS_double): Likewise.
3763 (ROUNDING_TESTS_long_double): Likewise.
3764 (ROUNDING_TESTS): Likewise.
3765 * math/libm-test.inc: Include <math-tests.h>.
3766 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
3767 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
3768 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
3769 (IF_ROUND_INIT_FE_UPWARD): Likewise.
3770
50b818bf
SP
37712013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3772
3773 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
3774 of assigning.
3775
60d2f8f3
JM
37762013-06-08 Joseph Myers <joseph@codesourcery.com>
3777
4902d2c3
JM
3778 * sysdeps/gnu/errlist.awk: Do not generate space at end of
3779 otherwise empty TRANS lines.
3780 * sysdeps/gnu/errlist.c: Regenerated.
3781
60d2f8f3
JM
3782 * catgets/gencat.c (error_print): Use (void) in function
3783 definition.
3784 * crypt/crypt_util.c (__init_des): Likewise.
3785 * crypt/speeds.c (Stop): Likewise.
3786 (main): Likewise.
3787 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
3788 * inet/ruserpass.c (token): Likewise.
3789 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
3790 * intl/localealias.c (extend_alias_table): Likewise.
3791 * intl/plural-exp.c (init_germanic_plural): Likewise.
3792 * libio/fcloseall.c (__fcloseall): Likewise.
3793 * libio/genops.c (_IO_flush_all): Likewise.
3794 (_IO_flush_all_linebuffered): Likewise.
3795 (_IO_cleanup): Likewise.
3796 (_IO_iter_begin): Likewise.
3797 (_IO_iter_end): Likewise.
3798 (_IO_list_lock): Likewise.
3799 (_IO_list_unlock): Likewise.
3800 (_IO_list_resetlock): Likewise.
3801 * libio/getchar.c (getchar): Likewise.
3802 * libio/getchar_u.c (getchar_unlocked): Likewise.
3803 * libio/getwchar.c (getwchar): Likewise.
3804 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
3805 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
3806 * login/getpt.c (__getpt): Likewise.
3807 * login/tst-utmp.c (main): Likewise.
3808 * malloc/hooks.c (__malloc_check_init): Likewise.
3809 * malloc/malloc.c (__malloc_stats): Likewise.
3810 * malloc/mtrace.c (tr_break): Likewise.
3811 (mtrace): Likewise.
3812 (muntrace): Likewise.
3813 * misc/fstab.c (endfsent): Likewise.
3814 * misc/getclktck.c (__getclktck): Likewise.
3815 * misc/getdtsz.c (__getdtablesize): Likewise.
3816 * misc/gethostid.c (gethostid): Likewise.
3817 * misc/getpagesize.c (__getpagesize): Likewise.
3818 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
3819 (__get_nprocs): Likewise.
3820 (__get_phys_pages): Likewise.
3821 (__get_avphys_pages): Likewise.
3822 * misc/getttyent.c (getttyent): Likewise.
3823 (setttyent): Likewise.
3824 (endttyent): Likewise.
3825 * misc/getusershell.c (getusershell): Likewise.
3826 (endusershell): Likewise.
3827 (setusershell): Likewise.
3828 (initshells): Likewise.
3829 * misc/hsearch.c (__hdestroy): Likewise.
3830 * misc/sync.c (sync): Likewise.
3831 * misc/syslog.c (closelog_internal): Likewise.
3832 (closelog): Likewise.
3833 * misc/ttyslot.c (ttyslot): Likewise.
3834 * misc/vhangup.c (vhangup): Likewise.
3835 * posix/fork.c (__fork): Likewise.
3836 * posix/getegid.c (__getegid): Likewise.
3837 * posix/geteuid.c (__geteuid): Likewise.
3838 * posix/getgid.c (__getgid): Likewise.
3839 * posix/getpid.c (__getpid): Likewise.
3840 * posix/getppid.c (__getppid): Likewise.
3841 * posix/getuid.c (__getuid): Likewise.
3842 * posix/pause.c (pause): Likewise.
3843 * posix/setpgrp.c (setpgrp): Likewise.
3844 * posix/setsid.c (__setsid): Likewise.
3845 * posix/test-vfork.c (noop): Likewise.
3846 * resolv/gethnamaddr.c (_endhtent): Likewise.
3847 (_gethtent): Likewise.
3848 (ht_endhostent): Likewise.
3849 (gethostent): Likewise.
3850 (dns_service): Likewise.
3851 * stdlib/drand48.c (drand48): Likewise.
3852 * stdlib/lrand48.c (lrand48): Likewise.
3853 * stdlib/mrand48.c (mrand48): Likewise.
3854 * stdlib/rand.c (rand): Likewise.
3855 * stdlib/random.c (__random): Likewise.
3856 * stdlib/setenv.c (clearenv): Likewise.
3857 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
3858 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
3859 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
3860 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
3861 (__get_nprocs): Likewise.
3862 (__get_phys_pages): Likewise.
3863 (__get_avphys_pages): Likewise.
3864 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
3865 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
3866 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
3867 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
3868 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
3869 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
3870 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
3871 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
3872 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
3873 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
3874 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
3875 * sysdeps/mach/hurd/sync.c (sync): Likewise.
3876 * sysdeps/posix/clock.c (clock): Likewise.
3877 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
3878 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
3879 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
3880 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
3881 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
3882 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
3883 (__get_nprocs_conf): Likewise.
3884 (__get_phys_pages): Likewise.
3885 (__get_avphys_pages): Likewise.
3886 * time/clock.c (clock): Likewise.
3887 * time/tzset.c (__tzname_max): Likewise.
3888
2e09a79a
JM
38892013-06-07 Joseph Myers <joseph@codesourcery.com>
3890
3891 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
3892 (__bswap_32): Do not use "register".
3893 * crypt/crypt.c (_ufc_doit_r): Likewise.
3894 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
3895 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
3896 * gmon/gmon.c (__monstartup): Likewise.
3897 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
3898 * hurd/hurdmalloc.c (more_memory): Likewise.
3899 (malloc): Likewise.
3900 (free): Likewise.
3901 (realloc): Likewise.
3902 (malloc_fork_prepare): Likewise.
3903 (malloc_fork_parent): Likewise.
3904 (malloc_fork_child): Likewise.
3905 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
3906 (_svcauth_des): Likewise.
3907 * inet/inet_lnaof.c (inet_lnaof): Likewise.
3908 * inet/inet_net.c (inet_network): Likewise.
3909 * inet/inet_netof.c (inet_netof): Likewise.
3910 * inet/rcmd.c (__validuser2_sa): Likewise.
3911 * io/fts.c (fts_open): Likewise.
3912 (fts_load): Likewise.
3913 (fts_close): Likewise.
3914 (fts_read): Likewise.
3915 (fts_children): Likewise.
3916 (fts_build): Likewise.
3917 (fts_stat): Likewise.
3918 (fts_sort): Likewise.
3919 (fts_alloc): Likewise.
3920 (fts_lfree): Likewise.
3921 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
3922 (_IO_file_xsgetn): Likewise.
3923 (_IO_file_xsgetn_mmap): Likewise.
3924 * libio/iofopncook.c (_IO_cookie_read): Likewise.
3925 (_IO_cookie_write): Likewise.
3926 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
3927 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
3928 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
3929 * malloc/obstack.c (_obstack_begin): Likewise.
3930 (_obstack_begin_1): Likewise.
3931 (_obstack_newchunk): Likewise.
3932 (_obstack_allocated_p): Likewise.
3933 (obstack_free): Likewise.
3934 (_obstack_memory_used): Likewise.
3935 * misc/getttyent.c (getttynam): Likewise.
3936 (getttyent): Likewise.
3937 (skip): Likewise.
3938 (value): Likewise.
3939 * misc/getusershell.c (initshells): Likewise.
3940 * misc/syslog.c (__vsyslog_chk): Likewise.
3941 * misc/ttyslot.c (ttyslot): Likewise.
3942 * nis/nis_hash.c (__nis_hash): Likewise.
3943 * posix/fnmatch_loop.c (FCT): Likewise.
3944 * posix/getconf.c (print_all): Likewise.
3945 (main): Likewise.
3946 * posix/getopt.c (exchange): Likewise.
3947 * posix/glob.c (globfree): Likewise.
3948 (prefix_array): Likewise.
3949 (__glob_pattern_type): Likewise.
3950 * resolv/arpa/nameser.h (NS_GET16): Likewise.
3951 (NS_GET32): Likewise.
3952 (NS_PUT16): Likewise.
3953 (NS_PUT32): Likewise.
3954 * resolv/gethnamaddr.c (getanswer): Likewise.
3955 (gethostbyname2): Likewise.
3956 (gethostbyaddr): Likewise.
3957 (_gethtent): Likewise.
3958 (_gethtbyname2): Likewise.
3959 (_gethtbyaddr): Likewise.
3960 * resolv/ns_print.c (dst_s_get_int16): Likewise.
3961 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
3962 * resolv/res_init.c (__res_vinit): Likewise.
3963 (net_mask): Likewise.
3964 * resolv/res_mkquery.c (outchar): Likewise.
3965 (PRINT): Likewise.
3966 * stdio-common/printf_fp.c (outchar): Likewise.
3967 (PRINT): Likewise.
3968 * stdio-common/printf_fphex.c (outchar): Likewise.
3969 (PRINT): Likewise.
3970 * stdio-common/printf_size.c (outchar): Likewise.
3971 (PRINT): Likewise.
3972 * stdio-common/test_rdwr.c (main): Likewise.
3973 * stdio-common/tfformat.c (matches): Likewise.
3974 * stdio-common/vfprintf.c (outchar): Likewise.
3975 (printf_unknown): Likewise.
3976 (buffered_vfprintf): Likewise.
3977 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
3978 * stdio-common/xbug.c (AppendToBuffer): Likewise.
3979 (ReadFile): Likewise.
3980 * stdlib/qsort.c (SWAP): Likewise.
3981 (_quicksort): Likewise.
3982 * stdlib/setenv.c (__add_to_environ): Likewise.
3983 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
3984 * stdlib/strtol_l.c (__strtol_l): Likewise.
3985 * stdlib/tst-strtod.c (main): Likewise.
3986 * stdlib/tst-strtol.c (main): Likewise.
3987 * stdlib/tst-strtoll.c (main): Likewise.
3988 * string/bits/string2.h (__strcmp_cc): Likewise.
3989 (__strcmp_cg): Likewise.
3990 (__strcspn_c1): Likewise.
3991 (__strcspn_c2): Likewise.
3992 (__strcspn_c3): Likewise.
3993 (__strspn_c1): Likewise.
3994 (__strspn_c2): Likewise.
3995 (__strspn_c3): Likewise.
3996 (__strsep_1c): Likewise.
3997 (__strsep_2c): Likewise.
3998 (__strsep_3c): Likewise.
3999 * string/memccpy.c (__memccpy): Likewise.
4000 * string/stpcpy.c (__stpcpy): Likewise.
4001 * string/strcmp.c (strcmp): Likewise.
4002 * string/strrchr.c (strrchr): Likewise.
4003 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
4004 Likewise.
4005 * sysdeps/mach/hurd/getcwd.c
4006 (_hurd_canonicalize_directory_name_internal): Likewise.
4007 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
4008 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
4009 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
4010 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
4011 Likewise, in both definitions.
4012 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
4013 definitions.
4014 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
4015 64] (__bswap_64): Likewise.
4016 * time/test_time.c (main): Likewise.
4017 * time/tzfile.c (__tzfile_read): Likewise.
4018 (__tzfile_compute): Likewise.
4019 * time/tzset.c (__tzset_parse_tz): Likewise.
4020 (tzset_internal): Likewise.
4021 (compute_change): Likewise.
4022 * wcsmbs/wcscat.c (__wcscat): Likewise.
4023 * wcsmbs/wcschr.c (wcschr): Likewise.
4024 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
4025 * wcsmbs/wcscspn.c (wcscspn): Likewise.
4026 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
4027 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
4028 * wcsmbs/wcsspn.c (wcsspn): Likewise.
4029 * wcsmbs/wcsstr.c (wcsstr): Likewise.
4030 * wcsmbs/wmemchr.c (wmemchr): Likewise.
4031 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
4032 * wcsmbs/wmemset.c (wmemset): Likewise.
4033
9e54314b
JM
40342013-06-06 Joseph Myers <joseph@codesourcery.com>
4035
4036 * scripts/config.guess: Update to version 2013-05-16.
4037 * scripts/config.sub: Update to version 2013-04-24.
4038 * scripts/install-sh: Update to version 2011-11-20.07.
4039 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
4040 * scripts/move-if-change: Update to version 2012-01-06 07:23.
4041
350635a5
OB
40422013-06-06 Ondřej Bílka <neleai@seznam.cz>
4043
4044 * debug/fgetws_u_chk.c: Fix leading whitespaces.
4045 * elf/sln.c: Likewise.
4046 * hurd/hurd/ioctl.h: Likewise.
4047 * hurd/hurdmalloc.c: Likewise.
4048 * hurd/xattr.c: Likewise.
4049 * include/shlib-compat.h: Likewise.
4050 * inet/ruserpass.c: Likewise.
4051 * libio/iofgets_u.c: Likewise.
4052 * libio/iofgetws_u.c: Likewise.
4053 * locale/programs/ld-identification.c: Likewise.
4054 * locale/programs/ld-time.c: Likewise.
4055 * mach/msg-destroy.c: Likewise.
4056 * nss/nss_files/files-netgrp.c: Likewise.
4057 * resolv/res_data.c: Likewise.
4058 * soft-fp/op-1.h: Likewise.
4059 * soft-fp/op-2.h: Likewise.
4060 * soft-fp/op-4.h: Likewise.
4061 * soft-fp/op-common.h: Likewise.
4062 * stdio-common/printf_fphex.c: Likewise.
4063 * stdlib/strtod_l.c: Likewise.
4064 * sunrpc/rpc/clnt.h: Likewise.
4065 * sysdeps/generic/framestate.c: Likewise.
4066 * sysdeps/i386/bsd-_setjmp.S: Likewise.
4067 * sysdeps/i386/bsd-setjmp.S: Likewise.
4068 * sysdeps/i386/__longjmp.S: Likewise.
4069 * sysdeps/i386/setjmp.S: Likewise.
4070 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4071 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4072 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4073 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4074 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4075 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
4076 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4077 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4078 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4079 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
4080 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
4081 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4082 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4083 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4084 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4085 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4086 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
4087 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
4088 * sysdeps/ieee754/support.c: Likewise.
4089 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4090 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
4091 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
4092 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
4093 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
4094 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
4095 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
4096 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
4097 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
4098 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
4099 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
4100 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
4101 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
4102 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
4103 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
4104 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
4105 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
4106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
4107
44a988af
OB
41082013-06-05 Ondřej Bílka <neleai@seznam.cz>
4109
25506f09 4110 * posix/transbug.c: Remove executable mode.
44a988af 4111
9c84384c
JM
41122013-06-05 Joseph Myers <joseph@codesourcery.com>
4113
4114 * crypt/speeds.c: Remove trailing whitespace.
4115 * dlfcn/default.c: Likewise.
4116 * elf/ifuncdep2.c: Likewise.
4117 * elf/ifuncmain1.c: Likewise.
4118 * elf/ifuncmain1vis.c: Likewise.
4119 * elf/testobj.h: Likewise.
4120 * elf/tst-stackguard1.c: Likewise.
4121 * gmon/sys/gmon.h: Likewise.
4122 * hurd/hurdmsg.c: Likewise.
4123 * hurd/new-fd.c: Likewise.
4124 * hurd/ports-get.c: Likewise.
4125 * iconvdata/ibm1008_420.c: Likewise.
4126 * inet/tst-getni1.c: Likewise.
4127 * inet/tst-getni2.c: Likewise.
4128 * libio/ioungetc.c: Likewise.
4129 * libio/wfiledoalloc.c: Likewise.
4130 * manual/libm-err-tab.pl: Likewise.
4131 * math/w_dremf.c: Likewise.
4132 * misc/ftruncate.c: Likewise.
4133 * posix/bug-glob2.c: Likewise.
4134 * posix/tst-pcre.c: Likewise.
4135 * posix/wait4.c: Likewise.
4136 * resolv/README: Likewise.
4137 * resolv/res_debug.h: Likewise.
4138 * resolv/tst-inet_ntop.c: Likewise.
4139 * setjmp/bug269-setjmp.c: Likewise.
4140 * soft-fp/extended.h: Likewise.
4141 * soft-fp/op-1.h: Likewise.
4142 * soft-fp/op-2.h: Likewise.
4143 * soft-fp/op-4.h: Likewise.
4144 * soft-fp/op-8.h: Likewise.
4145 * soft-fp/testit.c: Likewise.
4146 * stdio-common/bug16.c: Likewise.
4147 * stdlib/random.c: Likewise.
4148 * sunrpc/rpcsvc/rquota.x: Likewise.
4149 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
4150 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4151 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4152 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4153 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4154 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4155 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4156 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4157 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4158 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4159 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4160 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4161 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4162 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4163 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4164 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4165 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4166 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4167 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4168 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4169 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4170 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4171 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
4172 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
4173 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
4174 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
4175 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4176 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
4177 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4178 * sysdeps/ieee754/s_lib_version.c: Likewise.
4179 * sysdeps/mach/hurd/check_fds.c: Likewise.
4180 * sysdeps/mach/hurd/getsockname.c: Likewise.
4181 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
4182 * sysdeps/mach/hurd/recvfrom.c: Likewise.
4183 * sysdeps/powerpc/bits/link.h: Likewise.
4184 * sysdeps/powerpc/dl-procinfo.c: Likewise.
4185 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
4186 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
4187 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
4188 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
4189 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
4190 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
4191 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
4192 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
4193 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
4194 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
4195 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
4196 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
4197 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
4198 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
4199 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
4200 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
4201 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
4202 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
4203 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4204 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4205 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
4206 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4207 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
4208 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
4209 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
4210 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
4211 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4212 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4213 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
4214 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
4215 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
4216 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4217 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4218 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
4219 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
4220 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
4221 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
4222 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
4223 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
4224 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
4225 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
4226 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
4227 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
4228 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
4229 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
4230 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
4231 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
4232 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
4233 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
4234 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4235 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4236 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4237 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4238 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
4239 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
4240 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
4241 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4242 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
4243 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
4244 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
4245 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
4246 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
4247 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4248 * sysdeps/powerpc/sysdep.h: Likewise.
4249 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
4250 * sysdeps/s390/s390-64/sub_n.S: Likewise.
4251 * sysdeps/sh/dl-trampoline.S: Likewise.
4252 * sysdeps/sh/memset.S: Likewise.
4253 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
4254 * sysdeps/sh/strlen.S: Likewise.
4255 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
4256 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
4257 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
4258 * sysdeps/sparc/sparc32/rem.S: Likewise.
4259 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
4260 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
4261 * sysdeps/sparc/sparc32/strchr.S: Likewise.
4262 * sysdeps/sparc/sparc32/udiv.S: Likewise.
4263 * sysdeps/sparc/sparc32/urem.S: Likewise.
4264 * sysdeps/sparc/sparc64/add_n.S: Likewise.
4265 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
4266 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
4267 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
4268 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
4269 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
4270 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
4271 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
4272 * sysdeps/unix/bsd/times.c: Likewise.
4273 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
4274 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
4275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
4276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
4277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
4278 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
4279 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
4280 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
4281 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
4282 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
4283 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
4284 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
4285 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
4286 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
4287 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
4288 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
4289 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
4290 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
4291 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
4292 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
4293 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
4294 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
4295 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
4296 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
4297 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
4298 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
4299 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
4300 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4301 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
4302 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
4303 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
4304 * sysdeps/x86_64/strcspn.S: Likewise.
4305
869378a5
RA
43062013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4307
4308 * locale/C-translit.h: Revert #include <stdint.h> because this is a
4309 generated file. Regenerate properly from gen-translit.pl.
4310 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
4311 locale/C-translit.h.
4312
840e2943
AS
43132013-06-05 Andreas Schwab <schwab@suse.de>
4314
4315 [BZ #15100]
4316 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
4317 week as 6 instead of -1.
4318 * time/tst-strptime.c (day_tests): Add test case.
4319
4c60cb0c
SP
43202013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4321
4322 * sysdeps/generic/math_private.h
4323 (libc_feholdexcept_setround_53bit): Replace with
4324 libc_feholdsetround_53bit.
4325 (libc_feupdateenv_53bit): Replace with
4326 libc_feresetround_53bit.
4327 (SET_RESTORE_ROUND_53BIT): Adjust.
4328
d180203e
SP
43292013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4330
96df079a
SP
4331 * string/test-strchrnul.c: Add copyright header.
4332
d180203e
SP
4333 * posix/tst-getaddrinfo4.c: Increase test timeout.
4334
8b0ccb2d
CD
43352013-06-03 Carlos O'Donell <carlos@redhat.com>
4336
4337 [BZ #15536]
4338 * math/libm-test.inc (MAX_EXP): Remove
4339 (MIN_EXP): Define.
4340 (ulp): Use MIN_EXP - MANT_DIG.
4341 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
4342
3b3c4d40
CD
43432013-05-31 Carlos O'Donell <carlos@redhat.com>
4344
4345 * po/be.po: Revert last change.
4346 * po/zh_CN.po: Likewise.
4347 * po/header.pot: Likewise.
4348
fab7ce3f
JM
43492013-05-31 Joseph Myers <joseph@codesourcery.com>
4350
4351 * Makefile ($(common-objpfx)linkobj/libc.so): Define
4352 link-libc-deps to empty as target-specific variable.
4353 * Makerules (link-libc-args): New variable.
4354 (libc-for-link): Likewise.
4355 (link-libc-deps): Likewise.
4356 (lib%.so): Depend on $(link-libc-deps). Link with
4357 $(link-libc-args).
4358 (build-module): Link with $(link-libc-args).
4359 (build-module-asneeded): Likewise.
4360 (build-module-helper-objlist): Filter out $(link-libc-deps) from
4361 list of objects.
4362 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
4363 target-specific variable.
4364 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
4365 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
4366 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
4367 libc.
4368 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
4369 libc and ld.so.
4370 ($(objpfx)libpcprofile.so): Likewise.
4371 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
4372 libc_nonshared.a.
4373 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
4374 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
4375 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
4376 $(link-libc-deps).
4377 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
4378 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
4379 * login/Makefile ($(objpfx)libutil.so): Likewise.
4380 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
4381 * math/Makefile ($(objpfx)libm.so): Likewise.
4382 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
4383 $(objpfx)libnsl.so): Define libc-for-link as target-specific
4384 variable instead of depending directly on libc.
4385 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
4386 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
4387 $(link-libc-deps).
4388 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
4389 libc.
4390 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
4391 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
4392 ($(objpfx)libanl.so): Likewise.
4393 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
4394 ld.so.
4395 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
4396 $(link-libc-deps).
4397 * sysdeps/i386/fpu/Makefile: Remove file.
4398 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
4399 ($(objpfx)libm.so): Remove dependency on ld.so.
4400
eca5920c
PF
44012013-05-30 Patsy Franklin <pfrankli@redhat.com>
4402
4403 [BZ # 15553]
4404 * nis/yp_xdr.c (XDRMAXNAME): Define.
4405 (XDRMAXRECORD): Define.
4406 (xdr_domainname): Use XDRMAXNAME.
4407 (xdr_mapname): Likewise.
4408 (xdr_peername): Likewise.
4409 (xdr_keydat): Use XDRMAXRECORD.
4410 (xdr_valdat): Likewise.
4411
44122013-05-30 Jeff Law <law@redhat.com>
96945714
JL
4413
4414 [BZ #14256]
4415 * manual/errno.texi (ESTALE): Update to account for more than
4416 just NFS file systems.
4417 * sysdeps/gnu/errlist.c: Regenerated.
4418
b9375348
SP
44192013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4420
4421 [BZ #15465]
4422 * elf/Makefile (tests): Add tst-null-argv.
4423 (modules-names): Add tst-null-argv-lib.
4424 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
4425 (tst-null-argv-ENV): Set environment for tst-null-argv.
4426 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
4427 (RTLD_PROGNAME): New macro.
4428 * elf/tst-null-argv.c: New test case.
4429 * elf/tst-null-argv-lib.c: Library for test case.
4430 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
4431 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
4432 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
4433 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
4434 * elf/dl-init.c (call_init): Likewise.
4435 (_dl_init): Likewise.
4436 * elf/dl-load.c (print_search_path): Likewise.
4437 (_dl_map_object): Likewise.
4438 * elf/dl-lookup.c (do_lookup_x): Likewise.
4439 (add_dependency): Likewise.
4440 (_dl_lookup_symbol_x): Likewise.
4441 (_dl_debug_bindings): Likewise.
4442 * elf/dl-open.c (_dl_show_scope): Likewise.
4443 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
4444 * elf/dl-version.c (match_symbol): Likewise.
4445 (_dl_check_map_versions): Likewise.
4446 * elf/rtld.c (dl_main): Likewise.
4447 (print_unresolved): Use RTLD_PROGNAME.
4448 (print_missing_version): Likewise.
4449 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
4450 (elf_machine_rela): Likewise.
4451 * sysdeps/powerpc/powerpc32/dl-machine.c
4452 (__process_machine_rela): Likewise.
4453 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
4454 Likewise.
4455 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
4456 Likewise.
4457 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
4458 Likewise.
4459 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4460 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
4461 Likewise.
4462 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
4463 Likewise.
4464 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
4465
8a9f20c8
CD
44662013-05-28 Carlos O'Donell <carlos@redhat.com>
4467
4468 * po/be.po: Add descriptive title.
4469 * po/zh_CN.po: Likewise.
4470 * po/header.pot: Likewise.
4471
0e60d68e
MF
44722013-05-28 Mike Frysinger <vapier@gentoo.org>
4473
4474 * locale/programs/locarchive.c (create_archive): Inlucde fname in
4475 error message.
4476 (enlarge_archive): Likewise.
4477
56b672e9
BN
44782013-05-28 Ben North <ben@redfrontdoor.org>
4479
4480 * manual/arith.texi (frexp): It is the magnitude of the return
4481 value which lies in [0.5, 1), not the return value itself.
4482
5e056687
AZ
44832013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4484
4485 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4486
2b66ef5d
TS
44872013-05-26 Thomas Schwinge <thomas@codesourcery.com>
4488
528c2405
TS
4489 * stdio-common/bug26.c (main): Correct fscanf template.
4490
07b4c13d
TS
4491 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
4492 declare _dl_skip_args.
4493
ec9dd97c
TS
4494 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
4495 Don't declare.
4496
2b66ef5d
TS
4497 * manual/platform.texi: Add missing @end deftypefun.
4498
4f8dfe27
JM
44992013-05-24 Joseph Myers <joseph@codesourcery.com>
4500
0323d086
JM
4501 [BZ #15529]
4502 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
4503 bit of mantissa of 2^16382.
4504 * math/libm-test.inc (hypot_test_data): Add more tests.
4505
dd4259b9
JM
4506 * math/libm-test.inc: Add drem and pow10 to list of tested
4507 functions.
4508 (pow10_test): New function.
4509 (drem_test): Likewise.
4510 (drem_test_tonearest): Likewise.
4511 (drem_test_towardzero): Likewise.
4512 (drem_test_downward): Likewise.
4513 (drem_test_upward): Likewise.
4514 (main): Call the new functions.
4515
4f8dfe27
JM
4516 * math/libm-test.inc (finite_test_data): Remove.
4517 (finite_test): Run tests from isfinite_test_data.
4518 (gamma_test_data): Remove.
4519 (gamma_test): Run tests from lgamma_test_data.
4520 * sysdeps/i386/fpu/libm-test-ulps: Update.
4521 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4522
d116b7c4
AZ
45232013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4524
4525 * manual/platform.texi: Add PowerPC PPR function set documentation.
4526 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
4527 implementation.
4528
e96e3767
CD
45292013-05-24 Carlos O'Donell <carlos@redhat.com>
4530
4531 * math/libm-test.inc (MAX_EXP): Define.
4532 (ULPDIFF): Define.
4533 (ulp): New function.
4534 (check_float_internal): Use ULPDIFF.
4535 (cpow_test): Disable failing test.
4536 (check_ulp): Test ulp() implemetnation.
4537 (main): Call check_ulp before starting tests.
4538
b679a606
JM
45392013-05-24 Joseph Myers <joseph@codesourcery.com>
4540
e8bdba36
JM
4541 * math/gen-libm-test.pl (generate_testfile): Do not handle
4542 START_DATA and END_DATA.
4543 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
4544 END_DATA.
4545 (acos_tonearest_test_data): Likewise.
4546 (acos_towardzero_test_data): Likewise.
4547 (acos_downward_test_data): Likewise.
4548 (acos_upward_test_data): Likewise.
4549 (acosh_test_data): Likewise.
4550 (asin_test_data): Likewise.
4551 (asin_tonearest_test_data): Likewise.
4552 (asin_towardzero_test_data): Likewise.
4553 (asin_downward_test_data): Likewise.
4554 (asin_upward_test_data): Likewise.
4555 (asinh_test_data): Likewise.
4556 (atan_test_data): Likewise.
4557 (atanh_test_data): Likewise.
4558 (atan2_test_data): Likewise.
4559 (cabs_test_data): Likewise.
4560 (cacos_test_data): Likewise.
4561 (cacosh_test_data): Likewise.
4562 (carg_test_data): Likewise.
4563 (casin_test_data): Likewise.
4564 (casinh_test_data): Likewise.
4565 (catan_test_data): Likewise.
4566 (catanh_test_data): Likewise.
4567 (cbrt_test_data): Likewise.
4568 (ccos_test_data): Likewise.
4569 (ccosh_test_data): Likewise.
4570 (ceil_test_data): Likewise.
4571 (cexp_test_data): Likewise.
4572 (cimag_test_data): Likewise.
4573 (clog_test_data): Likewise.
4574 (clog10_test_data): Likewise.
4575 (conj_test_data): Likewise.
4576 (copysign_test_data): Likewise.
4577 (cos_test_data): Likewise.
4578 (cos_tonearest_test_data): Likewise.
4579 (cos_towardzero_test_data): Likewise.
4580 (cos_downward_test_data): Likewise.
4581 (cos_upward_test_data): Likewise.
4582 (cosh_test_data): Likewise.
4583 (cosh_tonearest_test_data): Likewise.
4584 (cosh_towardzero_test_data): Likewise.
4585 (cosh_downward_test_data): Likewise.
4586 (cosh_upward_test_data): Likewise.
4587 (cpow_test_data): Likewise.
4588 (cproj_test_data): Likewise.
4589 (creal_test_data): Likewise.
4590 (csin_test_data): Likewise.
4591 (csinh_test_data): Likewise.
4592 (csqrt_test_data): Likewise.
4593 (ctan_test_data): Likewise.
4594 (ctan_tonearest_test_data): Likewise.
4595 (ctan_towardzero_test_data): Likewise.
4596 (ctan_downward_test_data): Likewise.
4597 (ctan_upward_test_data): Likewise.
4598 (ctanh_test_data): Likewise.
4599 (ctanh_tonearest_test_data): Likewise.
4600 (ctanh_towardzero_test_data): Likewise.
4601 (ctanh_downward_test_data): Likewise.
4602 (ctanh_upward_test_data): Likewise.
4603 (erf_test_data): Likewise.
4604 (erfc_test_data): Likewise.
4605 (exp_test_data): Likewise.
4606 (exp_tonearest_test_data): Likewise.
4607 (exp_towardzero_test_data): Likewise.
4608 (exp_downward_test_data): Likewise.
4609 (exp_upward_test_data): Likewise.
4610 (exp10_test_data): Likewise.
4611 (exp2_test_data): Likewise.
4612 (expm1_test_data): Likewise.
4613 (fabs_test_data): Likewise.
4614 (fdim_test_data): Likewise.
4615 (finite_test_data): Likewise.
4616 (floor_test_data): Likewise.
4617 (fma_test_data): Likewise.
4618 (fma_towardzero_test_data): Likewise.
4619 (fma_downward_test_data): Likewise.
4620 (fma_upward_test_data): Likewise.
4621 (fmax_test_data): Likewise.
4622 (fmin_test_data): Likewise.
4623 (fmod_test_data): Likewise.
4624 (fpclassify_test_data): Likewise.
4625 (frexp_test_data): Likewise.
4626 (gamma_test_data): Likewise.
4627 (hypot_test_data): Likewise.
4628 (ilogb_test_data): Likewise.
4629 (isfinite_test_data): Likewise.
4630 (isgreater_test_data): Likewise.
4631 (isgreaterequal_test_data): Likewise.
4632 (isinf_test_data): Likewise.
4633 (isless_test_data): Likewise.
4634 (islessequal_test_data): Likewise.
4635 (islessgreater_test_data): Likewise.
4636 (isnan_test_data): Likewise.
4637 (isnormal_test_data): Likewise.
4638 (issignaling_test_data): Likewise.
4639 (isunordered_test_data): Likewise.
4640 (j0_test_data): Likewise.
4641 (j1_test_data): Likewise.
4642 (jn_test_data): Likewise.
4643 (ldexp_test_data): Likewise.
4644 (lgamma_test_data): Likewise.
4645 (lrint_test_data): Likewise.
4646 (lrint_tonearest_test_data): Likewise.
4647 (lrint_towardzero_test_data): Likewise.
4648 (lrint_downward_test_data): Likewise.
4649 (lrint_upward_test_data): Likewise.
4650 (llrint_test_data): Likewise.
4651 (llrint_tonearest_test_data): Likewise.
4652 (llrint_towardzero_test_data): Likewise.
4653 (llrint_downward_test_data): Likewise.
4654 (llrint_upward_test_data): Likewise.
4655 (log_test_data): Likewise.
4656 (log10_test_data): Likewise.
4657 (log1p_test_data): Likewise.
4658 (log2_test_data): Likewise.
4659 (logb_test_data): Likewise.
4660 (logb_downward_test_data): Likewise.
4661 (lround_test_data): Likewise.
4662 (llround_test_data): Likewise.
4663 (modf_test_data): Likewise.
4664 (nearbyint_test_data): Likewise.
4665 (nextafter_test_data): Likewise.
4666 (nexttoward_test_data): Likewise.
4667 (pow_test_data): Likewise.
4668 (pow_tonearest_test_data): Likewise.
4669 (pow_towardzero_test_data): Likewise.
4670 (pow_downward_test_data): Likewise.
4671 (pow_upward_test_data): Likewise.
4672 (remainder_test_data): Likewise.
4673 (remainder_tonearest_test_data): Likewise.
4674 (remainder_towardzero_test_data): Likewise.
4675 (remainder_downward_test_data): Likewise.
4676 (remainder_upward_test_data): Likewise.
4677 (remquo_test_data): Likewise.
4678 (rint_test_data): Likewise.
4679 (rint_tonearest_test_data): Likewise.
4680 (rint_towardzero_test_data): Likewise.
4681 (rint_downward_test_data): Likewise.
4682 (rint_upward_test_data): Likewise.
4683 (round_test_data): Likewise.
4684 (scalb_test_data): Likewise.
4685 (scalbn_test_data): Likewise.
4686 (scalbln_test_data): Likewise.
4687 (signbit_test_data): Likewise.
4688 (sin_test_data): Likewise.
4689 (sin_tonearest_test_data): Likewise.
4690 (sin_towardzero_test_data): Likewise.
4691 (sin_downward_test_data): Likewise.
4692 (sin_upward_test_data): Likewise.
4693 (sincos_test_data): Likewise.
4694 (sinh_test_data): Likewise.
4695 (sinh_tonearest_test_data): Likewise.
4696 (sinh_towardzero_test_data): Likewise.
4697 (sinh_downward_test_data): Likewise.
4698 (sinh_upward_test_data): Likewise.
4699 (sqrt_test_data): Likewise.
4700 (tan_test_data): Likewise.
4701 (tan_tonearest_test_data): Likewise.
4702 (tan_towardzero_test_data): Likewise.
4703 (tan_downward_test_data): Likewise.
4704 (tan_upward_test_data): Likewise.
4705 (tanh_test_data): Likewise.
4706 (tgamma_test_data): Likewise.
4707 (trunc_test_data): Likewise.
4708 (y0_test_data): Likewise.
4709 (y1_test_data): Likewise.
4710 (yn_test_data): Likewise.
4711 (significand_test_data): Likewise.
4712
b679a606
JM
4713 * math/gen-libm-test.pl (@functions): Remove variable.
4714 (generate_testfile): Don't handle START and END lines.
4715 * math/libm-test.inc (START): New macro.
4716 (END): Likewise.
4717 (END_COMPLEX): Likewise.
4718 (acos_test): Use END macro without arguments.
4719 (acos_test_tonearest): Likewise.
4720 (acos_test_towardzero): Likewise.
4721 (acos_test_downward): Likewise.
4722 (acos_test_upward): Likewise.
4723 (acosh_test): Likewise.
4724 (asin_test): Likewise.
4725 (asin_test_tonearest): Likewise.
4726 (asin_test_towardzero): Likewise.
4727 (asin_test_downward): Likewise.
4728 (asin_test_upward): Likewise.
4729 (asinh_test): Likewise.
4730 (atan_test): Likewise.
4731 (atanh_test): Likewise.
4732 (atan2_test): Likewise.
4733 (cabs_test): Likewise.
4734 (cacos_test): Use END_COMPLEX macro without arguments.
4735 (cacosh_test): Likewise.
4736 (carg_test): Use END macro without arguments.
4737 (casin_test): Use END_COMPLEX macro without arguments.
4738 (casinh_test): Likewise.
4739 (catan_test): Likewise.
4740 (catanh_test): Likewise.
4741 (cbrt_test): Use END macro without arguments.
4742 (ccos_test): Use END_COMPLEX macro without arguments.
4743 (ccosh_test): Likewise.
4744 (ceil_test): Use END macro without arguments.
4745 (cexp_test): Use END_COMPLEX macro without arguments.
4746 (cimag_test): Use END macro without arguments.
4747 (clog_test): Use END_COMPLEX macro without arguments.
4748 (clog10_test): Likewise.
4749 (conj_test): Likewise.
4750 (copysign_test): Use END macro without arguments.
4751 (cos_test): Likewise.
4752 (cos_test_tonearest): Likewise.
4753 (cos_test_towardzero): Likewise.
4754 (cos_test_downward): Likewise.
4755 (cos_test_upward): Likewise.
4756 (cosh_test): Likewise.
4757 (cosh_test_tonearest): Likewise.
4758 (cosh_test_towardzero): Likewise.
4759 (cosh_test_downward): Likewise.
4760 (cosh_test_upward): Likewise.
4761 (cpow_test): Use END_COMPLEX macro without arguments.
4762 (cproj_test): Likewise.
4763 (creal_test): Use END macro without arguments.
4764 (csin_test): Use END_COMPLEX macro without arguments.
4765 (csinh_test): Likewise.
4766 (csqrt_test): Likewise.
4767 (ctan_test): Likewise.
4768 (ctan_test_tonearest): Likewise.
4769 (ctan_test_towardzero): Likewise.
4770 (ctan_test_downward): Likewise.
4771 (ctan_test_upward): Likewise.
4772 (ctanh_test): Likewise.
4773 (ctanh_test_tonearest): Likewise.
4774 (ctanh_test_towardzero): Likewise.
4775 (ctanh_test_downward): Likewise.
4776 (ctanh_test_upward): Likewise.
4777 (erf_test): Use END macro without arguments.
4778 (erfc_test): Likewise.
4779 (exp_test): Likewise.
4780 (exp_test_tonearest): Likewise.
4781 (exp_test_towardzero): Likewise.
4782 (exp_test_downward): Likewise.
4783 (exp_test_upward): Likewise.
4784 (exp10_test): Likewise.
4785 (exp2_test): Likewise.
4786 (expm1_test): Likewise.
4787 (fabs_test): Likewise.
4788 (fdim_test): Likewise.
4789 (finite_test): Likewise.
4790 (floor_test): Likewise.
4791 (fma_test): Likewise.
4792 (fma_test_towardzero): Likewise.
4793 (fma_test_downward): Likewise.
4794 (fma_test_upward): Likewise.
4795 (fmax_test): Likewise.
4796 (fmin_test): Likewise.
4797 (fmod_test): Likewise.
4798 (fpclassify_test): Likewise.
4799 (frexp_test): Likewise.
4800 (gamma_test): Likewise.
4801 (hypot_test): Likewise.
4802 (ilogb_test): Likewise.
4803 (isfinite_test): Likewise.
4804 (isgreater_test): Likewise.
4805 (isgreaterequal_test): Likewise.
4806 (isinf_test): Likewise.
4807 (isless_test): Likewise.
4808 (islessequal_test): Likewise.
4809 (islessgreater_test): Likewise.
4810 (isnan_test): Likewise.
4811 (isnormal_test): Likewise.
4812 (issignaling_test): Likewise.
4813 (isunordered_test): Likewise.
4814 (j0_test): Likewise.
4815 (j1_test): Likewise.
4816 (jn_test): Likewise.
4817 (ldexp_test): Likewise.
4818 (lgamma_test): Likewise.
4819 (lrint_test): Likewise.
4820 (lrint_test_tonearest): Likewise.
4821 (lrint_test_towardzero): Likewise.
4822 (lrint_test_downward): Likewise.
4823 (lrint_test_upward): Likewise.
4824 (llrint_test): Likewise.
4825 (llrint_test_tonearest): Likewise.
4826 (llrint_test_towardzero): Likewise.
4827 (llrint_test_downward): Likewise.
4828 (llrint_test_upward): Likewise.
4829 (log_test): Likewise.
4830 (log10_test): Likewise.
4831 (log1p_test): Likewise.
4832 (log2_test): Likewise.
4833 (logb_test): Likewise.
4834 (logb_test_downward): Likewise.
4835 (lround_test): Likewise.
4836 (llround_test): Likewise.
4837 (modf_test): Likewise.
4838 (nearbyint_test): Likewise.
4839 (nextafter_test): Likewise.
4840 (nexttoward_test): Likewise.
4841 (pow_test): Likewise.
4842 (pow_test_tonearest): Likewise.
4843 (pow_test_towardzero): Likewise.
4844 (pow_test_downward): Likewise.
4845 (pow_test_upward): Likewise.
4846 (remainder_test): Likewise.
4847 (remainder_test_tonearest): Likewise.
4848 (remainder_test_towardzero): Likewise.
4849 (remainder_test_downward): Likewise.
4850 (remainder_test_upward): Likewise.
4851 (remquo_test): Likewise.
4852 (rint_test): Likewise.
4853 (rint_test_tonearest): Likewise.
4854 (rint_test_towardzero): Likewise.
4855 (rint_test_downward): Likewise.
4856 (rint_test_upward): Likewise.
4857 (round_test): Likewise.
4858 (scalb_test): Likewise.
4859 (scalbn_test): Likewise.
4860 (scalbln_test): Likewise.
4861 (signbit_test): Likewise.
4862 (sin_test): Likewise.
4863 (sin_test_tonearest): Likewise.
4864 (sin_test_towardzero): Likewise.
4865 (sin_test_downward): Likewise.
4866 (sin_test_upward): Likewise.
4867 (sincos_test): Likewise.
4868 (sinh_test): Likewise.
4869 (sinh_test_tonearest): Likewise.
4870 (sinh_test_towardzero): Likewise.
4871 (sinh_test_downward): Likewise.
4872 (sinh_test_upward): Likewise.
4873 (sqrt_test): Likewise.
4874 (tan_test): Likewise.
4875 (tan_test_tonearest): Likewise.
4876 (tan_test_towardzero): Likewise.
4877 (tan_test_downward): Likewise.
4878 (tan_test_upward): Likewise.
4879 (tanh_test): Likewise.
4880 (tgamma_test): Likewise.
4881 (trunc_test): Likewise.
4882 (y0_test): Likewise.
4883 (y1_test): Likewise.
4884 (yn_test): Likewise.
4885 (significand_test): Likewise.
4886
bae143d2
OB
48872013-05-24 Ondřej Bílka <neleai@seznam.cz>
4888
4889 [BZ #15381]
4890 * libio/genops.c (_IO_no_init): Initialize wide struct info.
4891
9323d39b
EM
48922013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
4893
d4ea44a0 4894 [BZ #14894]
9323d39b
EM
4895 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
4896 __ppc_mdoio and __ppc_mdoom.
4897 * manual/platform.texi: Document new functions __ppc_yield,
4898 __ppc_mdoio and __ppc_mdoom.
4899
13e23af7
CD
49002013-05-22 Carlos O'Donell <carlos@redhat.com>
4901
4902 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
4903 (main): Mention "tls" pseudo-hwcap is legacy.
4904 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
4905
351fe550
JM
49062013-05-22 Joseph Myers <joseph@codesourcery.com>
4907
4908 * math/gen-libm-test.pl (parse_args): Output only string of
4909 arguments as text for test name, not full call or descriptions of
4910 tests for extra outputs.
4911 (generate_testfile): Do not pass function name to parse_args.
4912 Generate this_func variable from START.
4913 * math/libm-test.inc (struct test_f_f_data): Rename test_name
4914 field to arg_str.
4915 (struct test_ff_f_data): Likewise.
4916 (test_ff_f_data_nexttoward): Likewise.
4917 (struct test_fi_f_data): Likewise.
4918 (struct test_fl_f_data): Likewise.
4919 (struct test_if_f_data): Likewise.
4920 (struct test_fff_f_data): Likewise.
4921 (struct test_c_f_data): Likewise.
4922 (struct test_f_f1_data): Likewise. Remove field extra_name.
4923 (struct test_fF_f1_data): Likewise.
4924 (struct test_ffI_f1_data): Likewise.
4925 (struct test_c_c_data): Rename test_name field to arg_str.
4926 (struct test_cc_c_data): Likewise.
4927 (struct test_f_i_data): Likewise.
4928 (struct test_ff_i_data): Likewise.
4929 (struct test_f_l_data): Likewise.
4930 (struct test_f_L_data): Likewise.
4931 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
4932 and extra2_name.
4933 (COMMON_TEST_SETUP): New macro.
4934 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
4935 (COMMON_TEST_CLEANUP): Likewise.
4936 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
4937 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
4938 macros.
4939 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
4940 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
4941 macros.
4942 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
4943 (RUN_TEST_fff_f): Take argument string. Call new setup and
4944 cleanup macros.
4945 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
4946 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
4947 macros.
4948 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
4949 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
4950 macros.
4951 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
4952 (RUN_TEST_fF_f1): Take argument string. Call new setup and
4953 cleanup macros.
4954 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
4955 (RUN_TEST_fI_f1): Take argument string. Call new setup and
4956 cleanup macros.
4957 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
4958 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
4959 cleanup macros.
4960 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
4961 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
4962 macros.
4963 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
4964 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
4965 macros.
4966 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
4967 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
4968 macros.
4969 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
4970 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
4971 cleanup macros.
4972 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
4973 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
4974 cleanup macros.
4975 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
4976 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
4977 macros.
4978 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
4979 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
4980 cleanup macros.
4981 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
4982 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
4983 macros.
4984 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
4985 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
4986 macros.
4987 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
4988 (RUN_TEST_fFF_11): Take argument string. Call new setup and
4989 cleanup macros.
4990 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
4991
85118d4d
EBM
49922013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4993
4994 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
4995 to _sifields.sigfault.
4996 (si_addr_lsb): Define new macro.
4997 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
4998 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4999 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
5000
7a44c18f
CD
50012013-05-03 Carlos O'Donell <carlos at redhat.com>
5002
5003 [BZ #15441]
5004 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
5005 returns -1.
5006 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
5007 null return -1.
5008 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
5009 loading the domain.
5010
b50a7181
JM
50112013-05-22 Joseph Myers <joseph@codesourcery.com>
5012
5013 * math/gen-libm-test.pl (parse_args): Do not include expected
5014 result in test name.
5015 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
5016 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5017 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5018 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5019 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5020 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5021
051063c8
SP
50222013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5023
3ce9e010
SP
5024 * benchtests/Makefile: Sort function entries.
5025
051063c8
SP
5026 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
5027 tanh, asinh, acosh, atanh.
5028 * benchtests/acos-inputs: New file.
5029 * benchtests/acosh-inputs: New file.
5030 * benchtests/asin-inputs: New file.
5031 * benchtests/asinh-inputs: New file.
5032 * benchtests/atanh-inputs: New file.
5033 * benchtests/cosh-inputs: New file.
5034 * benchtests/log-inputs: New file.
5035 * benchtests/sinh-inputs: New file.
5036 * benchtests/tanh-inputs: New file.
5037
47c22455
DL
50382013-05-21 Dmitry V. Levin <ldv@altlinux.org>
5039
5040 [BZ #15339]
5041 * posix/tst-getaddrinfo4.c: New test.
5042 * posix/Makefile (tests): Add it.
5043
3d04f5db
SP
50442013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5045
5046 [BZ #15339]
5047 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
5048 when no services were used.
5049 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
5050 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
5051
d5dd6189
AS
50522013-05-21 Andreas Schwab <schwab@suse.de>
5053
5054 [BZ #15014]
5055 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
5056 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
5057 successful.
5058 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
5059 redundant variable declarations and reallocation of buffer when
5060 parsing as IPv6 address. Always set NSS status when called from
5061 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
5062 buffer too small. Correct computation of needed size.
5063 * nss/Makefile (tests): Add test-digits-dots.
5064 * nss/test-digits-dots.c: New test.
5065
fef94eab
SP
50662013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5067
5068 * benchtests/Makefile: Remove instructions for adding
5069 benchmark tests.
5070 * benchtests/README: New file to explain how to execute and
5071 enhance the benchmark tests.
5072
e39adf43
AS
50732013-05-21 Andreas Schwab <schwab@suse.de>
5074
5075 [BZ #15493]
5076 * setjmp/Makefile (tests): Add tst-sigsetjmp.
5077 * setjmp/tst-sigsetjmp.c: New test.
5078
b2b671b6
OB
50792013-05-20 Ondřej Bílka <neleai@seznam.cz>
5080
5081 * sysdeps/x86_64/memset.S (memset): New implementation.
5082 (__bzero): Likewise.
5083 (__memset_tail): New function.
5084
2d48b41c
OB
50852013-05-20 Ondřej Bílka <neleai@seznam.cz>
5086
5087 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
5088 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
5089 __memcpy_sse2_unaligned ifunc selection.
5090 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5091 Add memcpy-sse2-unaligned.S.
5092 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5093 Add: __memcpy_sse2_unaligned.
5094
f16cc3eb
JM
50952013-05-19 Joseph Myers <joseph@codesourcery.com>
5096
3e694268
JM
5097 [BZ #15490]
5098 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
5099 math_force_eval before restoring floating-point envrionment.
5100 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
5101 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
5102 Likewise.
5103 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
5104 <math_private.h>.
5105 (__nearbyintl): Use math_force_eval before restoring
5106 floating-point environment.
5107 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
5108
db62a907
JM
5109 * math/gen-libm-test.pl (special_functions): Remove.
5110 (parse_args): Don't handle TEST_extra. Handle functions with no
5111 return value.
5112 * math/libm-test.inc (struct test_sincos_data): Replace with
5113 struct test_fFF_11_data.
5114 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
5115 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
5116 (sincos_test_data): Change element type to struct
5117 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
5118 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
5119 RUN_TEST_LOOP_sincos.
5120 * math/README.libm-test: Don't mention special handling of
5121 individual functions.
5122 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
5123 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5124 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5125 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5126 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5127 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5128
f16cc3eb
JM
5129 * math/gen-libm-test.pl (get_variable): Remove function.
5130 (parse_args): Don't show pointer parameters to call in test
5131 names. Use "extra output N" in test names for extra outputs
5132 rather than naming variables.
5133
3779b5b6
JM
51342013-05-18 Joseph Myers <joseph@codesourcery.com>
5135
2ee094ff
JM
5136 [BZ #15488]
5137 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
5138 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
5139 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
5140 double tests.
5141 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
5142 disable.
5143 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
5144 check_long_double.
5145
3779b5b6
JM
5146 * math/gen-libm-test.pl (@tests): Remove variable.
5147 ($count): Likewise.
5148 (new_test): Remove function.
5149 (show_exceptions): New function.
5150 (special_functions): Use show_exceptions instead of new_test.
5151 (parse_args): Likewise.
5152 (generate_testfile): Pass only function name in generated call to
5153 print_max_error or print_complex_max_error.
5154 (get_ulps): Do not handle complex tests specially.
5155 (output_test): Rename to ...
5156 (get_all_ulps_for_test): ... this. Return a string rather than
5157 printing to a file. Require ulps to be present.
5158 (output_ulps): Generate arrays rather than #defines.
5159 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
5160 (struct ulp_data): New type.
5161 (BUILD_COMPLEX_ULP): Remove macro.
5162 (compare_ulp_data): New function.
5163 (find_ulps): Likewise.
5164 (find_test_ulps): Likewise.
5165 (find_function_ulps): Likewise.
5166 (find_complex_function_ulps): Likewise.
5167 (print_max_error): Determine allowed ulps using
5168 find_function_ulps.
5169 (print_complex_max_error): Determine allowed ulps using
5170 find_complex_function_ulps.
5171 (check_float_internal): Determine max ulps using find_test_ulps.
5172 (check_float): Do not take max_ulp parameter. Update call to
5173 check_float_internal.
5174 (check_complex): Likewise.
5175 (check_int): Do not take max_ulp parameter.
5176 (check_long): Likewise.
5177 (check_bool): Likewise.
5178 (check_longlong): Likewise.
5179 (struct test_f_f_data): Remove max_ulp field.
5180 (struct test_ff_f_data): Likewise.
5181 (struct test_ff_f_data_nexttoward): Likewise.
5182 (struct test_fi_f_data): Likewise.
5183 (struct test_fl_f_data): Likewise.
5184 (struct test_if_f_data): Likewise.
5185 (struct test_fff_f_data): Likewise.
5186 (struct test_c_f_data): Likewise.
5187 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
5188 (struct test_fF_f1_data): Likewise.
5189 (struct test_ffI_f1_data): Likewise.
5190 (struct test_c_c_data): Remove max_ulp field.
5191 (struct test_cc_c_data): Likewise.
5192 (struct test_f_i_data): Likewise.
5193 (struct test_ff_i_data): Likewise.
5194 (struct test_f_l_data): Likewise.
5195 (struct test_f_L_data): Likewise.
5196 (struct test_sincos_data): Likewise.
5197 (RUN_TEST_f_f): Do not handle ulps.
5198 (RUN_TEST_LOOP_f_f): Likewise.
5199 (RUN_TEST_2_f): Likewise.
5200 (RUN_TEST_LOOP_2_f): Likewise.
5201 (RUN_TEST_fff_f): Likewise.
5202 (RUN_TEST_LOOP_fff_f): Likewise.
5203 (RUN_TEST_c_f): Likewise.
5204 (RUN_TEST_LOOP_c_f): Likewise.
5205 (RUN_TEST_f_f1): Likewise.
5206 (RUN_TEST_LOOP_f_f1): Likewise.
5207 (RUN_TEST_fF_f1): Likewise.
5208 (RUN_TEST_LOOP_fF_f1): Likewise.
5209 (RUN_TEST_fI_f1): Likewise.
5210 (RUN_TEST_LOOP_fI_f1): Likewise.
5211 (RUN_TEST_ffI_f1): Likewise.
5212 (RUN_TEST_LOOP_ffI_f1): Likewise.
5213 (RUN_TEST_c_c): Likewise.
5214 (RUN_TEST_LOOP_c_c): Likewise.
5215 (RUN_TEST_cc_c): Likewise.
5216 (RUN_TEST_LOOP_cc_c): Likewise.
5217 (RUN_TEST_f_i): Likewise.
5218 (RUN_TEST_LOOP_f_i): Likewise.
5219 (RUN_TEST_f_i_tg): Likewise.
5220 (RUN_TEST_LOOP_f_i_tg): Likewise.
5221 (RUN_TEST_ff_i_tg): Likewise.
5222 (RUN_TEST_LOOP_ff_i_tg): Likewise.
5223 (RUN_TEST_f_b): Likewise.
5224 (RUN_TEST_LOOP_f_b): Likewise.
5225 (RUN_TEST_f_b_tg): Likewise.
5226 (RUN_TEST_LOOP_f_b_tg): Likewise.
5227 (RUN_TEST_f_l): Likewise.
5228 (RUN_TEST_LOOP_f_l): Likewise.
5229 (RUN_TEST_f_L): Likewise.
5230 (RUN_TEST_LOOP_f_L): Likewise.
5231 (RUN_TEST_sincos): Likewise.
5232 (RUN_TEST_LOOP_sincos): Likewise.
5233
8269107f
JM
52342013-05-17 Joseph Myers <joseph@codesourcery.com>
5235
bb38759d
JM
5236 [BZ #15480]
5237 [BZ #15485]
5238 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
5239 main case of finite arguments, set rounding mode to FE_TONEAREST
5240 and discard exceptions.
5241 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
5242 exceptions.
5243 (remainder_tonearest_test_data): New variable.
5244 (remainder_test_tonearest): New function.
5245 (remainder_towardzero_test_data): New variable.
5246 (remainder_test_towardzero): New function.
5247 (remainder_downward_test_data): New variable.
5248 (remainder_test_downward): New function.
5249 (remainder_upward_test_data): New variable.
5250 (remainder_test_upward): New function.
5251 (main): Call the new test functions.
5252
a00bdcf0
JM
5253 * math/libm-test.inc (struct test_f_f1_data): Remove field
5254 extra_init.
5255 (struct test_fF_f1_data): Likewise.
5256 (struct test_ffI_f1_data): Likewise.
5257 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
5258 based on value of EXTRA_EXPECTED.
5259 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
5260 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
5261 EXTRA_VAR based on value of EXTRA_EXPECTED.
5262 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
5263 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
5264 EXTRA_VAR based on value of EXTRA_EXPECTED.
5265 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
5266 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
5267 EXTRA_VAR based on value of EXTRA_EXPECTED.
5268 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
5269 * math/gen-libm-test.pl (parse_args): Don't output initializers
5270 for extra output values.
5271
de407f79
JM
5272 * math/libm-test.inc (check_int): Expect result to be exactly
5273 equal to expected value and do not handle ulps.
5274 (check_long): Likewise.
5275 (check_longlong): Likewise.
5276
8269107f
JM
5277 * math/libm-test.inc (ceil_test_data): Test for "inexact"
5278 exceptions.
5279 (cimag_test_data): Likewise.
5280 (conj_test_data): Likewise.
5281 (copysign_test_data): Likewise.
5282 (cproj_test_data): Likewise.
5283 (creal_test_data): Likewise.
5284 (fabs_test_data): Likewise.
5285 (fdim_test_data): Likewise.
5286 (finite_test_data): Likewise.
5287 (floor_test_data): Likewise.
5288 (fmax_test_data): Likewise.
5289 (fmin_test_data): Likewise.
5290 (fmod_test_data): Likewise.
5291 (fpclassify_test_data): Likewise.
5292 (frexp_test_data): Likewise.
5293 (ilogb_test_data): Likewise.
5294 (isfinite_test_data): Likewise.
5295 (isgreater_test_data): Likewise.
5296 (isgreaterequal_test_data): Likewise.
5297 (isinf_test_data): Likewise.
5298 (isless_test_data): Likewise.
5299 (islessequal_test_data): Likewise.
5300 (islessgreater_test_data): Likewise.
5301 (isnan_test_data): Likewise.
5302 (isnormal_test_data): Likewise.
5303 (issignaling_test_data): Likewise.
5304 (isunordered_test_data): Likewise.
5305 (ldexp_test_data): Likewise.
5306 (lrint_test_data): Likewise.
5307 (lrint_test_data) [TEST_FLOAT]: Disable one test.
5308 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
5309 (lrint_tonearest_test_data): Test for "inexact" exceptions.
5310 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
5311 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
5312 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
5313 test input.
5314 (lrint_towardzero_test_data): Test for "inexact" exceptions.
5315 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
5316 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
5317 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
5318 that test input.
5319 (lrint_downward_test_data): Test for "inexact" exceptions.
5320 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
5321 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
5322 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
5323 test input.
5324 (lrint_upward_test_data): Test for "inexact" exceptions.
5325 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
5326 test input.
5327 (llrint_test_data): Test for "inexact" exceptions.
5328 (llrint_test_data) [TEST_FLOAT]: Disable one test.
5329 (llrint_tonearest_test_data): Test for "inexact" exceptions.
5330 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
5331 (llrint_towardzero_test_data): Test for "inexact" exceptions.
5332 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
5333 (llrint_downward_test_data): Test for "inexact" exceptions.
5334 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
5335 (llrint_upward_test_data): Test for "inexact" exceptions.
5336 (logb_test_data): Likewise.
5337 (logb_downward_test_data): Likewise.
5338 (nextafter_test_data): Likewise.
5339 (nexttoward_test_data): Likewise.
5340 (remainder_test_data): Likewise.
5341 (remquo_test_data): Likewise.
5342 (scalbn_test_data): Likewise.
5343 (scalbln_test_data): Likewise.
5344 (signbit_test_data): Likewise.
5345 (sqrt_test_data): Likewise.
5346 (significand_test_data): Likewise.
5347
48a18de1
SP
53482013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5349
5350 [BZ #15424]
5351 * benchtests/bench-modf.c (struct args): Mark arg0 as
5352 volatile.
5353 * scripts/bench.pl: Mark members of struct args as volatile.
5354
13d3b41a
AZ
53552013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5356
68191c1d 5357 [BZ # 15497]
13d3b41a
AZ
5358 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
5359 negative infinity on POWER6 or lower.
5360 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
5361
2848b105
MR
53622013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
5363
5364 [BZ #15442]
5365 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
5366 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
5367 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
5368 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
5369 (_FP_SETQNAN): New macro.
5370 (_FP_SETQNAN_SEMIRAW): Likewise.
5371 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
5372 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
5373 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
5374 (FP_EXTEND): Use _FP_FRAC_SNANP.
5375 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
5376 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
5377 into account.
5378 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
5379 New macro.
5380 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
5381 Likewise.
5382
323e5cb7
JM
53832013-05-16 Joseph Myers <joseph@codesourcery.com>
5384
c58b274f
JM
5385 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
5386 with DIVIDE_BY_ZERO_EXCEPTION.
5387 (gamma_test_data): Likewise.
5388 (lgamma_test_data): Likewise.
5389 (log_test_data): Likewise.
5390 (log10_test_data): Likewise.
5391 (log2_test_data): Likewise.
5392 (tgamma_test_data): Likewise.
5393
0ab34904
JM
5394 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
5395 (acos_test_tonearest): Likewise.
5396 (acos_test_towardzero): Likewise.
5397 (acos_test_downward): Likewise.
5398 (acos_test_upward): Likewise.
5399 (acosh_test): Likewise.
5400 (asin_test): Likewise.
5401 (asin_test_tonearest): Likewise.
5402 (asin_test_towardzero): Likewise.
5403 (asin_test_downward): Likewise.
5404 (asin_test_upward): Likewise.
5405 (asinh_test): Likewise.
5406 (atan_test): Likewise.
5407 (atanh_test): Likewise.
5408 (atan2_test): Likewise.
5409 (cabs_test): Likewise.
5410 (cacos_test): Likewise.
5411 (cacosh_test): Likewise.
5412 (casin_test): Likewise.
5413 (casinh_test): Likewise.
5414 (catan_test): Likewise.
5415 (catanh_test): Likewise.
5416 (cbrt_test): Likewise.
5417 (ccos_test): Likewise.
5418 (ccosh_test): Likewise.
5419 (cexp_test): Likewise.
5420 (clog_test): Likewise.
5421 (clog10_test): Likewise.
5422 (cos_test): Likewise.
5423 (cos_test_tonearest): Likewise.
5424 (cos_test_towardzero): Likewise.
5425 (cos_test_downward): Likewise.
5426 (cos_test_upward): Likewise.
5427 (cosh_test): Likewise.
5428 (cosh_test_tonearest): Likewise.
5429 (cosh_test_towardzero): Likewise.
5430 (cosh_test_downward): Likewise.
5431 (cosh_test_upward): Likewise.
5432 (cpow_test): Likewise.
5433 (csin_test): Likewise.
5434 (csinh_test): Likewise.
5435 (csqrt_test): Likewise.
5436 (ctan_test): Likewise.
5437 (ctan_test_tonearest): Likewise.
5438 (ctan_test_towardzero): Likewise.
5439 (ctan_test_downward): Likewise.
5440 (ctan_test_upward): Likewise.
5441 (ctanh_test): Likewise.
5442 (ctanh_test_tonearest): Likewise.
5443 (ctanh_test_towardzero): Likewise.
5444 (ctanh_test_downward): Likewise.
5445 (ctanh_test_upward): Likewise.
5446 (erf_test): Likewise.
5447 (erfc_test): Likewise.
5448 (exp_test): Likewise.
5449 (exp_test_tonearest): Likewise.
5450 (exp_test_towardzero): Likewise.
5451 (exp_test_downward): Likewise.
5452 (exp_test_upward): Likewise.
5453 (exp10_test): Likewise.
5454 (exp2_test): Likewise.
5455 (expm1_test): Likewise.
5456 (fmod_test): Likewise.
5457 (gamma_test): Likewise.
5458 (hypot_test): Likewise.
5459 (j0_test): Likewise.
5460 (j1_test): Likewise.
5461 (jn_test): Likewise.
5462 (lgamma_test): Likewise.
5463 (log_test): Likewise.
5464 (log10_test): Likewise.
5465 (log1p_test): Likewise.
5466 (log2_test): Likewise.
5467 (logb_test_downward): Likewise.
5468 (pow_test): Likewise.
5469 (pow_test_tonearest): Likewise.
5470 (pow_test_towardzero): Likewise.
5471 (pow_test_downward): Likewise.
5472 (pow_test_upward): Likewise.
5473 (remainder_test): Likewise.
5474 (remquo_test): Likewise.
5475 (sin_test): Likewise.
5476 (sin_test_tonearest): Likewise.
5477 (sin_test_towardzero): Likewise.
5478 (sin_test_downward): Likewise.
5479 (sin_test_upward): Likewise.
5480 (sincos_test): Likewise.
5481 (sinh_test): Likewise.
5482 (sinh_test_tonearest): Likewise.
5483 (sinh_test_towardzero): Likewise.
5484 (sinh_test_downward): Likewise.
5485 (sinh_test_upward): Likewise.
5486 (sqrt_test): Likewise.
5487 (tan_test): Likewise.
5488 (tan_test_tonearest): Likewise.
5489 (tan_test_towardzero): Likewise.
5490 (tan_test_downward): Likewise.
5491 (tan_test_upward): Likewise.
5492 (tanh_test): Likewise.
5493 (tgamma_test): Likewise.
5494 (y0_test): Likewise.
5495 (y1_test): Likewise.
5496 (yn_test): Likewise.
5497
323e5cb7
JM
5498 * math/gen-libm-test.pl (adjust_arg): Remove function.
5499 (special_function): Remove argument $in_func. Only handle
5500 generating output for tables of tests, not inside functions.
5501 (parse_args): Likewise.
5502 (generate_testfile): Remove variable $in_func. Update call to
5503 parse_args.
5504 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
5505 (MINUS_ZERO_INIT): Rename macro to minus_zero.
5506 (PLUS_INFTY_INIT): Rename macro to plus_infty.
5507 (MINUS_INFTY_INIT): Rename macro to minus_infty.
5508 (QNAN_VALUE_INIT): Rename macro to qnan_value.
5509 (MAX_VALUE_INIT): Rename macro to max_value.
5510 (MIN_VALUE_INIT): Rename macro to min_value.
5511 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
5512 (plus_zero): Remove variable.
5513 (minus_zero): Likewise.
5514 (plus_infty): Likewise.
5515 (minus_infty): Likewise.
5516 (qnan_value): Likewise.
5517 (max_value): Likewise.
5518 (min_value): Likewise.
5519 (min_subnorm_value): Likewise.
5520
e054f494
RA
55212013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5522
5523 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
5524 uint64_t or uint32_t usage.
5525 * crypt/sha256-block.c: Likewise.
5526 * crypt/sha256-crypt.c: Likewise.
5527 * crypt/sha256.c: Likewise.
5528 * crypt/sha512-block.c: Likewise.
5529 * crypt/sha512-crypt.c: Likewise.
5530 * crypt/sha512.c: Likewise.
5531 * debug/backtrace-tst.c: Likewise.
5532 * debug/pcprofiledump.c: Likewise.
5533 * elf/cache.c: Likewise.
5534 * elf/dl-cache.c: Likewise.
5535 * elf/dl-misc.c: Likewise.
5536 * elf/dl-profile.c: Likewise.
5537 * elf/dl-support.c: Likewise.
5538 * elf/ldconfig.c: Likewise.
5539 * elf/sprof.c: Likewise.
5540 * iconv/dummy-repertoire.c: Likewise.
5541 * iconv/iconv_charmap.c: Likewise.
5542 * iconv/skeleton.c: Likewise.
5543 * iconvdata/8bit-generic.c: Likewise.
5544 * iconvdata/cp737.h: Likewise.
5545 * iconvdata/cp775.h: Likewise.
5546 * iconvdata/ibm1008.h: Likewise.
5547 * iconvdata/ibm1025.h: Likewise.
5548 * iconvdata/ibm1046.h: Likewise.
5549 * iconvdata/ibm1097.h: Likewise.
5550 * iconvdata/ibm1112.h: Likewise.
5551 * iconvdata/ibm1122.h: Likewise.
5552 * iconvdata/ibm1123.h: Likewise.
5553 * iconvdata/ibm1124.h: Likewise.
5554 * iconvdata/ibm1129.h: Likewise.
5555 * iconvdata/ibm1130.h: Likewise.
5556 * iconvdata/ibm1132.h: Likewise.
5557 * iconvdata/ibm1133.h: Likewise.
5558 * iconvdata/ibm1137.h: Likewise.
5559 * iconvdata/ibm1140.h: Likewise.
5560 * iconvdata/ibm1141.h: Likewise.
5561 * iconvdata/ibm1142.h: Likewise.
5562 * iconvdata/ibm1143.h: Likewise.
5563 * iconvdata/ibm1144.h: Likewise.
5564 * iconvdata/ibm1145.h: Likewise.
5565 * iconvdata/ibm1146.h: Likewise.
5566 * iconvdata/ibm1147.h: Likewise.
5567 * iconvdata/ibm1148.h: Likewise.
5568 * iconvdata/ibm1149.h: Likewise.
5569 * iconvdata/ibm1153.h: Likewise.
5570 * iconvdata/ibm1154.h: Likewise.
5571 * iconvdata/ibm1155.h: Likewise.
5572 * iconvdata/ibm1156.h: Likewise.
5573 * iconvdata/ibm1157.h: Likewise.
5574 * iconvdata/ibm1158.h: Likewise.
5575 * iconvdata/ibm1160.h: Likewise.
5576 * iconvdata/ibm1161.h: Likewise.
5577 * iconvdata/ibm1162.h: Likewise.
5578 * iconvdata/ibm1163.h: Likewise.
5579 * iconvdata/ibm1164.h: Likewise.
5580 * iconvdata/ibm1166.h: Likewise.
5581 * iconvdata/ibm1167.h: Likewise.
5582 * iconvdata/ibm12712.h: Likewise.
5583 * iconvdata/ibm1390.h: Likewise.
5584 * iconvdata/ibm1399.h: Likewise.
5585 * iconvdata/ibm16804.h: Likewise.
5586 * iconvdata/ibm4517.h: Likewise.
5587 * iconvdata/ibm4899.h: Likewise.
5588 * iconvdata/ibm4909.h: Likewise.
5589 * iconvdata/ibm4971.h: Likewise.
5590 * iconvdata/ibm5347.h: Likewise.
5591 * iconvdata/ibm803.h: Likewise.
5592 * iconvdata/ibm856.h: Likewise.
5593 * iconvdata/ibm901.h: Likewise.
5594 * iconvdata/ibm902.h: Likewise.
5595 * iconvdata/ibm9030.h: Likewise.
5596 * iconvdata/ibm9066.h: Likewise.
5597 * iconvdata/ibm921.h: Likewise.
5598 * iconvdata/ibm922.h: Likewise.
5599 * iconvdata/ibm9448.h: Likewise.
5600 * iconvdata/isiri-3342.h: Likewise.
5601 * iconvdata/jis0201.h: Likewise.
5602 * include/link.h: Likewise.
5603 * include/netdb.h: Likewise.
5604 * inet/check_native.c: Likewise.
5605 * inet/check_pf.c: Likewise.
5606 * inet/getipv4sourcefilter.c: Likewise.
5607 * inet/getnameinfo.c: Likewise.
5608 * inet/getsourcefilter.c: Likewise.
5609 * inet/htonl.c: Likewise.
5610 * inet/setipv4sourcefilter.c: Likewise.
5611 * inet/setsourcefilter.c: Likewise.
5612 * inet/test-inet6_opt.c: Likewise.
5613 * inet/tst-network.c: Likewise.
5614 * locale/C-collate.c: Likewise.
5615 * locale/C-ctype.c: Likewise.
5616 * locale/C-time.c: Likewise.
5617 * locale/C-translit.h: Likewise.
5618 * locale/loadarchive.c: Likewise.
5619 * locale/programs/3level.h: Likewise.
5620 * locale/programs/charmap.c: Likewise.
5621 * locale/programs/charmap.h: Likewise.
5622 * locale/programs/ld-address.c: Likewise.
5623 * locale/programs/ld-collate.c: Likewise.
5624 * locale/programs/ld-ctype.c: Likewise.
5625 * locale/programs/ld-identification.c: Likewise.
5626 * locale/programs/ld-measurement.c: Likewise.
5627 * locale/programs/ld-messages.c: Likewise.
5628 * locale/programs/ld-monetary.c: Likewise.
5629 * locale/programs/ld-name.c: Likewise.
5630 * locale/programs/ld-numeric.c: Likewise.
5631 * locale/programs/ld-paper.c: Likewise.
5632 * locale/programs/ld-telephone.c: Likewise.
5633 * locale/programs/ld-time.c: Likewise.
5634 * locale/programs/linereader.c: Likewise.
5635 * locale/programs/locale.c: Likewise.
5636 * locale/programs/locarchive.c: Likewise.
5637 * locale/programs/locfile.h: Likewise.
5638 * locale/programs/repertoire.c: Likewise.
5639 * locale/programs/simple-hash.c: Likewise.
5640 * locale/programs/simple-hash.h: Likewise.
5641 * malloc/memusage.c: Likewise.
5642 * malloc/memusagestat.c: Likewise.
5643 * nis/nis_defaults.c: Likewise.
5644 * nis/nis_hash.c: Likewise.
5645 * nis/nis_print.c: Likewise.
5646 * nis/nis_xdr.c: Likewise.
5647 * nscd/connections.c: Likewise.
5648 * nscd/hstcache.c: Likewise.
5649 * nscd/nscd_gethst_r.c: Likewise.
5650 * nscd/nscd_getserv_r.c: Likewise.
5651 * nscd/nscd_helper.c: Likewise.
5652 * nscd/servicescache.c: Likewise.
5653 * nss/makedb.c: Likewise.
5654 * nss/nss_db/db-XXX.c: Likewise.
5655 * nss/nss_db/db-initgroups.c: Likewise.
5656 * nss/nss_db/db-netgrp.c: Likewise.
5657 * nss/nss_files/files-network.c: Likewise.
5658 * nss/nss_files/files-parse.c: Likewise.
5659 * posix/bug-regex5.c: Likewise.
5660 * posix/fnmatch_loop.c: Likewise.
5661 * posix/regcomp.c: Likewise.
5662 * posix/regexec.c: Likewise.
5663 * posix/tst-rfc3484-2.c: Likewise.
5664 * posix/tst-rfc3484-3.c: Likewise.
5665 * posix/tst-rfc3484.c: Likewise.
5666 * resolv/nss_dns/dns-canon.c: Likewise.
5667 * resolv/nss_dns/dns-network.c: Likewise.
5668 * resolv/res_init.c: Likewise.
5669 * resolv/res_mkquery.c: Likewise.
5670 * resolv/tst-aton.c: Likewise.
5671 * stdlib/cxa_atexit.c: Likewise.
5672 * stdlib/cxa_finalize.c: Likewise.
5673 * stdlib/gen-fpioconst.c: Likewise.
5674 * stdlib/strtol_l.c: Likewise.
5675 * string/tst-endian.c: Likewise.
5676 * sunrpc/auth_des.c: Likewise.
5677 * sunrpc/clnt_udp.c: Likewise.
5678 * sunrpc/rtime.c: Likewise.
5679 * sunrpc/svcauth_des.c: Likewise.
5680 * sunrpc/xdr.c: Likewise.
5681 * sunrpc/xdr_intXX_t.c: Likewise.
5682 * sunrpc/xdr_rec.c: Likewise.
5683 * sysdeps/generic/ldconfig.h: Likewise.
5684 * sysdeps/generic/ldsodefs.h: Likewise.
5685 * sysdeps/generic/memusage.h: Likewise.
5686 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
5687 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
5688 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
5689 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
5690 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5691 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5692 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
5693 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
5694 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5695 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
5696 * sysdeps/posix/getaddrinfo.c: Likewise.
5697 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
5698 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5699 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
5700 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5701 * sysdeps/powerpc/test-gettimebase.c: Likewise.
5702 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
5703 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
5704 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
5705 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
5706 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
5707 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
5708 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
5709 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
5710 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
5711 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
5712 * sysdeps/x86_64/dl-tls.h: Likewise.
5713 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
5714 * time/alt_digit.c: Likewise.
5715 * time/era.c: Likewise.
5716 * wcsmbs/tst-c16c32-1.c: Likewise.
5717
8c75f674
JM
57182013-05-16 Joseph Myers <joseph@codesourcery.com>
5719
5720 * math/libm-test.inc (struct test_sincos_data): New type.
5721 (RUN_TEST_LOOP_sincos): New macro.
5722 (sincos_test_data): New variable.
5723 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
5724
e6e49e59
RH
57252013-05-16 Richard Henderson <rth@redhat.com>
5726
5727 * math/atest-exp2.c (LIMB64): New macro.
5728 (CONSTSZ): New macro.
5729 (mp_exp1, mp_exp_m1, mp_log2): New variables.
5730 (hexdig): Move ...
5731 (print_mpn_fp): ... to function scope.
5732 (read_mpn_hex): Remove.
5733 (get_log2): Remove.
5734 (exp2_mpn): Use mp_log2.
5735 (main): Use mp_exp1.
5736
15c7c18d
JM
57372013-05-16 Joseph Myers <joseph@codesourcery.com>
5738
105a07df
JM
5739 * math/libm-test.inc: Remove comment about not testing "inexact"
5740 exceptions.
5741 (INEXACT_EXCEPTION): New macro.
5742 (NO_INEXACT_EXCEPTION): Likewise.
5743 (INVALID_EXCEPTION_OK): Update value.
5744 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5745 (OVERFLOW_EXCEPTION_OK): Likewise.
5746 (UNDERFLOW_EXCEPTION_OK): Likewise.
5747 (IGNORE_ZERO_INF_SIGN): Likewise.
5748 (ERRNO_UNCHANGED): Likewise.
5749 (ERRNO_EDOM): Likewise.
5750 (ERRNO_ERANGE): Likewise.
5751 (test_exceptions): Handle testing "inexact" exceptions.
5752 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
5753 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
5754 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
5755 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
5756 INEXACT_EXCEPTION.
5757 (rint_towardzero_test_data): Likewise.
5758 (rint_downward_test_data): Likewise.
5759 (rint_upward_test_data): Likewise.
5760
e9eee333
JM
5761 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
5762 with OVERFLOW_EXCEPTION.
5763 (exp10_test_data): Likewise.
5764 (exp2_test_data): Likewise.
5765 (expm1_test_data): Likewise.
5766 (lgamma_test_data): Likewise.
5767 (pow_test_data): Likewise.
5768 (tgamma_test_data): Likewise.
5769 (yn_test_data): Remove duplicate test of overflow.
5770
1c38ff73
JM
5771 * math/libm-test.inc (struct test_cc_c_data): New type.
5772 (RUN_TEST_LOOP_cc_c): New macro.
5773 (cpow_test_data): New variable.
5774 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
5775
15c7c18d
JM
5776 * math/libm-test.inc (struct test_f_L_data): New type.
5777 (RUN_TEST_LOOP_f_L): New macro.
5778 (llrint_test_data): New variable.
5779 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
5780 (llrint_tonearest_test_data): New variable.
5781 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
5782 (llrint_towardzero_test_data): New variable.
5783 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
5784 (llrint_downward_test_data): New variable.
5785 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
5786 (llrint_upward_test_data): New variable.
5787 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
5788 (llround_test_data): New variable.
5789 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
5790
f137ff13
PC
57912013-05-13 Peter Collingbourne <pcc@google.com>
5792
5793 * math/atest-exp2.c (get_log2): Remove const attribute.
5794
3608cb24
JM
57952013-05-15 Joseph Myers <joseph@codesourcery.com>
5796
5797 * math/libm-test.inc (struct test_f_l_data): New type.
5798 (RUN_TEST_LOOP_f_l): New macro.
5799 (lrint_test_data): New variable.
5800 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
5801 (lrint_tonearest_test_data): New variable.
5802 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
5803 (lrint_towardzero_test_data): New variable.
5804 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
5805 (lrint_downward_test_data): New variable.
5806 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
5807 (lrint_upward_test_data): New variable.
5808 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
5809 (lround_test_data): New variable.
5810 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
5811
39b1f617
PC
58122013-05-15 Peter Collingbourne <pcc@google.com>
5813
1deff3dc
PC
5814 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
5815 (EXTRACT_WORDS64) Use where appropriate.
5816 (INSERT_WORDS64) Likewise.
5817
791f3ba0
PC
5818 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
5819 constraints with x constraints.
5820 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
5821
39b1f617
PC
5822 * malloc/obstack.c (_obstack_compat): Add initializer.
5823
12fba011
EM
58242013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
5825
5826 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
5827 si_trapno and add si_addr_lsb to _sifields.sigfault.
5828 (si_trapno): Remove macro.
5829 (si_addr_lsb): Define new macro.
5830 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
5831
d369f531
JM
58322013-05-15 Joseph Myers <joseph@codesourcery.com>
5833
b861c6c4
JM
5834 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
5835 instead of TEST_f_l.
5836 (llrint_test_tonearest): Likewise.
5837 (llrint_test_towardzero): Likewise.
5838 (llrint_test_downward): Likewise.
5839 (llrint_test_upward): Likewise.
5840 (llround_test): Likewise.
5841
7abeee12
JM
5842 * math/libm-test.inc (struct test_f_i_data): Add comment.
5843 (RUN_TEST_LOOP_f_b): New macro.
5844 (RUN_TEST_LOOP_f_b_tg): Likewise.
5845 (finite_test_data): New variable.
5846 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
5847 (isfinite_test_data): New variable.
5848 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5849 (isinf_test_data): New variable.
5850 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5851 (isnan_test_data): New variable.
5852 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5853 (isnormal_test_data): New variable.
5854 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5855 (issignaling_test_data): New variable.
5856 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5857 (signbit_test_data): New variable.
5858 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5859
cbe8c4d3
JM
5860 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
5861 with INVALID_EXCEPTION.
5862 (acosh_test_data): Likewise.
5863 (asin_test_data): Likewise.
5864 (atanh_test_data): Likewise.
5865 (fmod_test_data): Likewise.
5866 (log_test_data): Likewise.
5867 (log10_test_data): Likewise.
5868 (log2_test_data): Likewise.
5869 (pow_test_data): Likewise.
5870 (sqrt_test_data): Likewise.
5871 (y0_test_data): Likewise.
5872 (y1_test_data): Likewise.
5873 (yn_test_data): Likewise.
5874
5575c0e5
JM
5875 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
5876 function contents.
5877
d369f531
JM
5878 * math/libm-test.inc (struct test_ff_i_data): New type.
5879 (RUN_TEST_LOOP_ff_i_tg): New macro.
5880 (isgreater_test_data): New variable.
5881 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5882 (isgreaterequal_test_data): New variable.
5883 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5884 (isless_test_data): New variable.
5885 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5886 (islessequal_test_data): New variable.
5887 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5888 (islessgreater_test_data): New variable.
5889 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5890 (isunordered_test_data): New variable.
5891 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5892
781fd748
DM
58932013-05-14 David S. Miller <davem@davemloft.net>
5894
5895 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5896
87aa21df
JM
58972013-05-14 Joseph Myers <joseph@codesourcery.com>
5898
5e908270
JM
5899 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
5900
f71172e5
JM
5901 * math/libm-test.inc (struct test_fF_f1_data): Change type of
5902 extra_test to int.
5903 (struct test_f_i_data): Change type of max_ulp to int.
5904
8cfa635a
JM
5905 * math/libm-test.inc (test_ffI_f1_data): New type.
5906 (RUN_TEST_LOOP_ffI_f1): New macro.
5907 (remquo_test_data): New variable.
5908 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
5909
2bcb36b2
JM
5910 * setjmp/tst-setjmp-fp.c: New file.
5911 * setjmp/Makefile (tests): Add tst-setjmp-fp.
5912 (link-libm): New variable.
5913 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
5914
acbd839a
JM
5915 * math/libm-test.inc (struct test_f_i_data): New type.
5916 (RUN_TEST_LOOP_f_i): New macro.
5917 (RUN_TEST_LOOP_f_i_tg): Likewise.
5918 (fpclassify_test_data): New variable.
5919 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
5920 (ilogb_test_data): New variable.
5921 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
5922
e414d745
JM
5923 * math/libm-test.inc (scalbln_test): Correct function name in END
5924 call.
5925
d9c2a0fd
JM
5926 * math/libm-test.inc (struct test_f_f1_data): Add comment.
5927 (RUN_TEST_LOOP_fI_f1): New macro.
5928 (frexp_test_data): New variable.
5929 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
5930
9dc9095d
JM
5931 * math/libm-test.inc (struct test_fF_f1_data): New type.
5932 (RUN_TEST_LOOP_fF_f1): New macro.
5933 (modf_test_data): New variable.
5934 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
5935
87aa21df
JM
5936 * math/libm-test.inc (struct test_f_f1_data): New type.
5937 (RUN_TEST_LOOP_f_f1): New macro.
5938 (gamma_test_data): New variable.
5939 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
5940 (lgamma_test_data): New variable.
5941 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
5942
141af660
CD
59432013-05-13 Carlos O'Donell <carlos@redhat.com>
5944
5945 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
5946 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
5947 (main): Comment "tls" pseudo-hwcap.
5948
6d33265c
JM
59492013-05-13 Joseph Myers <joseph@codesourcery.com>
5950
68fc074c
JM
5951 * math/libm-test.inc (struct test_fl_f_data): New type.
5952 (RUN_TEST_LOOP_fl_f): New variable.
5953 (scalbln_test_data): New variable.
5954 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
5955
243216e1
JM
5956 * math/libm-test.inc (struct test_fi_f_data): New type.
5957 (RUN_TEST_LOOP_fi_f): New macro.
5958 (ldexp_test_data): New variable.
5959 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
5960 (scalbn_test_data): New variable.
5961 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
5962
6a1992e2
JM
5963 * math/libm-test.inc (struct test_c_f_data): New type.
5964 (RUN_TEST_LOOP_c_f): New macro.
5965 (cabs_test_data): New variable.
5966 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
5967 (carg_test_data): New variable.
5968 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
5969 (cimag_test_data): New variable.
5970 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
5971 (creal_test_data): New variable.
5972 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
5973
0e400df5
JM
5974 * math/libm-test.inc (struct test_if_f_data): New type.
5975 (RUN_TEST_LOOP_if_f): New macro.
5976 (jn_test_data): New variable.
5977 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
5978 (yn_test_data): New variable.
5979 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
5980
6d33265c
JM
5981 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
5982
f98ece5f
AZ
59832013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5984
5985 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
5986 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
5987
0f7d347b
SP
59882013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
5989
43fe811b
SP
5990 * benchtests/Makefile (CPPFLAGS-nonlib): Add
5991 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
5992 (bench-deps): Add bench-timing.h.
5993 * benchtests-bench-skeleton.c: Include bench-timing.h.
5994 (main): Use TIMING_* macros instead of clock_gettime.
5995 * benchtests/bench-timing.h: New file.
5996
0f7d347b
SP
5997 [BZ #14582]
5998 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
5999 Renamed from _LIB_VERSION.
6000 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
6001
601a3a5f
JM
60022013-05-12 Joseph Myers <joseph@codesourcery.com>
6003
4f184d30
JM
6004 * math/libm-test.inc (struct test_fff_f_data): New type.
6005 (RUN_TEST_LOOP_fff_f): New macro.
6006 (fma_test_data): New variable.
6007 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
6008 (fma_towardzero_test_data): New variable.
6009 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
6010 (fma_downward_test_data): New variable.
6011 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
6012 (fma_upward_test_data): New variable.
6013 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
6014
08198877
JM
6015 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
6016 (struct test_c_c_data): New type.
6017 (RUN_TEST_LOOP_c_c): New macro.
6018 (cacos_test_data): New variable.
6019 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
6020 (cacosh_test_data): New variable.
6021 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
6022 (casin_test_data): New variable.
6023 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
6024 (casinh_test_data): New variable.
6025 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
6026 (catan_test_data): New variable.
6027 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
6028 (catanh_test_data): New variable.
6029 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
6030 (ccos_test_data): New variable.
6031 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
6032 (ccosh_test_data): New variable.
6033 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
6034 (cexp_test_data): New variable.
6035 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
6036 (clog_test_data): New variable.
6037 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
6038 (clog10_test_data): New variable.
6039 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
6040 (conj_test_data): New variable.
6041 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
6042 (cproj_test_data): New variable.
6043 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
6044 (csin_test_data): New variable.
6045 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
6046 (csinh_test_data): New variable.
6047 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
6048 (csqrt_test_data): New variable.
6049 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
6050 (ctan_test_data): New variable.
6051 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
6052 (ctan_tonearest_test_data): New variable.
6053 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
6054 (ctan_towardzero_test_data): New variable.
6055 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
6056 (ctan_downward_test_data): New variable.
6057 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
6058 (ctan_upward_test_data): New variable.
6059 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
6060 (ctanh_test_data): New variable.
6061 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
6062 (ctanh_tonearest_test_data): New variable.
6063 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
6064 (ctanh_towardzero_test_data): New variable.
6065 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
6066 (ctanh_downward_test_data): New variable.
6067 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
6068 (ctanh_upward_test_data): New variable.
6069 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
6070 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
6071 of BUILD_COMPLEX.
6072
601a3a5f
JM
6073 * math/libm-test.inc (struct test_ff_f_data): New type.
6074 (struct test_ff_f_data_nexttoward): Likewise.
6075 (RUN_TEST_LOOP_2_f): New macro.
6076 (RUN_TEST_LOOP_ff_f): Likewise.
6077 (atan2_test_data): New variable.
6078 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
6079 (copysign_test_data): New variable.
6080 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
6081 (fdim_test_data): New variable.
6082 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
6083 (fmax_test_data): New variable.
6084 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
6085 (fmin_test_data): New variable.
6086 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
6087 (fmod_test_data): New variable.
6088 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
6089 (hypot_test_data): New variable.
6090 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
6091 (nextafter_test_data): New variable.
6092 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
6093 (nexttoward_test_data): New variable.
6094 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
6095 (pow_test_data): New variable.
6096 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
6097 (pow_tonearest_test_data): New variable.
6098 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
6099 (pow_towardzero_test_data): New variable.
6100 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
6101 (pow_downward_test_data): New variable.
6102 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
6103 (pow_upward_test_data): New variable.
6104 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
6105 (remainder_test_data): New variable.
6106 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
6107 (scalb_test_data): New variable.
6108 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
6109 * sysdeps/i386/fpu/libm-test-ulps: Update.
6110
74c57478
JM
61112013-05-11 Joseph Myers <joseph@codesourcery.com>
6112
8329e4da
JM
6113 * math/libm-test.inc (fma_test): Use max_value instead of local
6114 variable fltmax.
6115 (nextafter_test): Likewise.
6116
74c57478
JM
6117 * math/libm-test.inc (acos_towardzero_test_data): New variable.
6118 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6119 (acos_downward_test_data): New variable.
6120 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6121 (acos_upward_test_data): New variable.
6122 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6123 (acosh_test_data): New variable.
6124 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
6125 (asin_test_data): New variable.
6126 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
6127 (asin_tonearest_test_data): New variable.
6128 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6129 (asin_towardzero_test_data): New variable.
6130 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6131 (asin_downward_test_data): New variable.
6132 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6133 (asin_upward_test_data): New variable.
6134 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6135 (asinh_test_data): New variable.
6136 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
6137 (atan_test_data): New variable.
6138 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
6139 (atanh_test_data): New variable.
6140 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
6141 (cbrt_test_data): New variable.
6142 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
6143 (ceil_test_data): New variable.
6144 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
6145 (cos_test_data): New variable.
6146 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
6147 (cos_tonearest_test_data): New variable.
6148 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6149 (cos_towardzero_test_data): New variable.
6150 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6151 (cos_downward_test_data): New variable.
6152 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6153 (cos_upward_test_data): New variable.
6154 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6155 (cosh_test_data): New variable.
6156 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
6157 (cosh_tonearest_test_data): New variable.
6158 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6159 (cosh_towardzero_test_data): New variable.
6160 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6161 (cosh_downward_test_data): New variable.
6162 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6163 (cosh_upward_test_data): New variable.
6164 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6165 (erf_test_data): New variable.
6166 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
6167 (erfc_test_data): New variable.
6168 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
6169 (exp_test_data): New variable.
6170 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
6171 (exp_tonearest_test_data): New variable.
6172 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6173 (exp_towardzero_test_data): New variable.
6174 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6175 (exp_downward_test_data): New variable.
6176 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6177 (exp_upward_test_data): New variable.
6178 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6179 (exp10_test_data): New variable.
6180 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
6181 (exp2_test_data): New variable.
6182 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
6183 (expm1_test_data): New variable.
6184 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
6185 (fabs_test_data): New variable.
6186 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
6187 (floor_test_data): New variable.
6188 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
6189 (j0_test_data): New variable.
6190 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
6191 (j1_test_data): New variable.
6192 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
6193 (log_test_data): New variable.
6194 (log_test): Run tests with RUN_TEST_LOOP_f_f.
6195 (log10_test_data): New variable.
6196 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
6197 (log1p_test_data): New variable.
6198 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
6199 (log2_test_data): New variable.
6200 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
6201 (logb_test_data): New variable.
6202 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
6203 (logb_downward_test_data): New variable.
6204 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6205 (nearbyint_test_data): New variable.
6206 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
6207 (rint_test_data): New variable.
6208 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
6209 (rint_tonearest_test_data): New variable.
6210 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6211 (rint_towardzero_test_data): New variable.
6212 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6213 (rint_downward_test_data): New variable.
6214 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6215 (rint_upward_test_data): New variable.
6216 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6217 (round_test_data): New variable.
6218 (round_test): Run tests with RUN_TEST_LOOP_f_f.
6219 (sin_test_data): New variable.
6220 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
6221 (sin_tonearest_test_data): New variable.
6222 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6223 (sin_towardzero_test_data): New variable.
6224 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6225 (sin_downward_test_data): New variable.
6226 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6227 (sin_upward_test_data): New variable.
6228 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6229 (sinh_test_data): New variable.
6230 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
6231 (sinh_tonearest_test_data): New variable.
6232 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6233 (sinh_towardzero_test_data): New variable.
6234 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6235 (sinh_downward_test_data): New variable.
6236 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6237 (sinh_upward_test_data): New variable.
6238 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6239 (sqrt_test_data): New variable.
6240 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
6241 (tan_test_data): New variable.
6242 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
6243 (tan_tonearest_test_data): New variable.
6244 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6245 (tan_towardzero_test_data): New variable.
6246 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6247 (tan_downward_test_data): New variable.
6248 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6249 (tan_upward_test_data): New variable.
6250 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6251 (tanh_test_data): New variable.
6252 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
6253 (tgamma_test_data): New variable.
6254 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
6255 (trunc_test_data): New variable.
6256 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
6257 (y0_test_data): New variable.
6258 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
6259 (y1_test_data): New variable.
6260 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
6261 (significand_test_data): New variable.
6262 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
6263
7187d844
CG
62642013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
6265
6266 [BZ #12387]
6267 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
6268
f63fae73
PT
62692013-05-10 Pino Toscano <toscano.pino@tiscali.it>
6270
6271 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
6272
8a67a4b3
AJ
62732013-05-10 Andreas Jaeger <aj@suse.de>
6274
6275 [BZ #15448]
6276 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
6277 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
6278
51df539d
JM
62792013-05-10 Joseph Myers <joseph@codesourcery.com>
6280
6281 * math/gen-libm-test.pl (adjust_arg): New function.
6282 (special_functions): Handle generating output in both functions
6283 and arrays.
6284 (parse_args): Likewise.
6285 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
6286 $in_func argument to parse_args.
6287 * math/libm-test.inc (struct test_f_f_data): New type.
6288 (IF_ROUND_INIT_): New macro.
6289 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
6290 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
6291 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
6292 (IF_ROUND_INIT_FE_UPWARD): Likewise.
6293 (ROUND_RESTORE_): Likewise.
6294 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
6295 (ROUND_RESTORE_FE_TONEAREST): Likewise.
6296 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
6297 (ROUND_RESTORE_FE_UPWARD): Likewise.
6298 (RUN_TEST_LOOP_f_f): New macro.
6299 (acos_test_data): New variable.
6300 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
6301 (acos_tonearest_test_data): New variable.
6302 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6303
5c637fe5
SP
63042013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6305
6306 * benchtests/bench-skeleton.c (startup): Fix coding style.
6307
ab2b9461
JM
63082013-05-10 Joseph Myers <joseph@codesourcery.com>
6309
6310 [BZ #6809]
6311 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
6312 negative infinity argument.
6313 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
6314 negative infinity argument.
6315 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
6316 negative infinity argument.
6317 * math/libm-test.inc (tgamma_test): Expect errno to be set for
6318 domain errors.
6319
4c0fe6fe
FW
63202013-05-10 Florian Weimer <fweimer@redhat.com>
6321
6322 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
6323 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
6324 * iconv/iconv_prog.c (main): Likewise.
6325 * locale/programs/charmap-dir.c (charmap_readdir)
6326 (fopen_uncompressed): Likewise.
6327 * locale/programs/locfile.c (siblings_uncached)
6328 (write_locale_data): Use lstat64 instead of lstat.
6329 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
6330 stat.
6331
a3375d29
AJ
63322013-05-10 Andreas Jaeger <aj@suse.de>
6333
6334 [BZ #15395]
6335 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
6336 localization.
6337 Include <locale.h>.
6338
36129722
CD
63392013-05-09 Carlos O'Donell <carlos@redhat.com>
6340
6341 * elf/dl-close.c (_dl_close_worker): Add comments.
6342
faa7f811
JM
63432013-05-09 Joseph Myers <joseph@codesourcery.com>
6344
ed41ffef
JM
6345 [BZ #15359]
6346 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
6347 high part of pi/2.
6348 (__ieee754_rem_pio2l): Update comments.
6349
d0213cd0
JM
6350 [BZ #15429]
6351 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
6352 high part of pi/2.
6353 (__ieee754_rem_pio2l): Update comments.
6354
0d3e777a
JM
6355 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
6356 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
6357
24f56066
JM
6358 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
6359 M_PI_4l.
6360
faa7f811
JM
6361 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
6362 (M_PI_34_LOG10El): Likewise.
6363 (M_PI2_LOG10El): Likewise.
6364 (M_PI4_LOG10El): Likewise.
6365 (M_PI_LOG10El): Likewise.
6366
e9a5e0fd
AZ
63672013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6368
6369 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6370
d8cd06db
JM
63712013-05-08 Joseph Myers <joseph@codesourcery.com>
6372
a0d9f9d7
JM
6373 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
6374 (MINUS_ZERO_INIT): Likewise.
6375 (PLUS_INFTY_INIT): Likewise.
6376 (MINUS_INFTY_INIT): Likewise.
6377 (QNAN_VALUE_INIT): Likewise.
6378 (MAX_VALUE_INIT): Likewise.
6379 (MIN_VALUE_INIT): Likewise.
6380 (MIN_SUBNORM_VALUE_INIT): Likewise.
6381 (plus_zero): Initialize with PLUS_ZERO_INIT.
6382 (minus_zero): Initialize with MINUS_ZERO_INIT.
6383 (plus_infty): Initialize with PLUS_INFTY_INIT.
6384 (minus_infty): Initialize with MINUS_INFTY_INIT.
6385 (qnan_value): Initialize with QNAN_VALUE_INIT.
6386 (max_value): Initialize with MAX_VALUE_INIT.
6387 (min_value): Initialize with MIN_VALUE_INIT.
6388 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
6389
ae08db3b
JM
6390 * math/libm-test.inc (RUN_TEST_if_f): New macro.
6391 (jn_test): Use TEST_if_f instead of TEST_ff_f.
6392 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
6393 (yn_test): Use TEST_if_f instead of TEST_ff_f.
6394
f44bf14a
JM
6395 * math/libm-test.inc (RUN_TEST_f_f): New macro.
6396 (RUN_TEST_2_f): Likewise.
6397 (RUN_TEST_ff_f): Likewise.
6398 (RUN_TEST_fi_f): Likewise.
6399 (RUN_TEST_fl_f): Likewise.
6400 (RUN_TEST_fff_f): Likewise.
6401 (RUN_TEST_c_f): Likewise.
6402 (RUN_TEST_f_f1): Likewise.
6403 (RUN_TEST_fF_f1): Likewise.
6404 (RUN_TEST_fI_f1): Likewise.
6405 (RUN_TEST_ffI_f1): Likewise.
6406 (RUN_TEST_c_c): Likewise.
6407 (RUN_TEST_cc_c): Likewise.
6408 (RUN_TEST_f_i): Likewise.
6409 (RUN_TEST_f_i_tg): Likewise.
6410 (RUN_TEST_ff_i_tg): Likewise.
6411 (RUN_TEST_f_b): Likewise.
6412 (RUN_TEST_f_b_tg): Likewise.
6413 (RUN_TEST_f_l): Likewise.
6414 (RUN_TEST_f_L): Likewise.
6415 (RUN_TEST_sincos): Likewise.
6416 * math/gen-libm-test.pl (new_test): Take new argument to indicate
6417 whether to show exceptions. Do not include ");\n" in return
6418 value.
6419 (special_functions): Output call to RUN_TEST_sincos instead of
6420 check_float calls. Update calls to new_test.
6421 (parse_args): Output call to single RUN_TEST_* macro instead of
6422 check_* calls and other assignments. Update calls to new_test.
6423
d8cd06db
JM
6424 [BZ #2546]
6425 [BZ #2560]
6426 [BZ #5159]
6427 [BZ #15426]
6428 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
6429 input to result for tgamma overflow.
6430 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
6431 (gamma_coeff): New variable.
6432 (NCOEFF): New macro.
6433 (gamma_positive): New function.
6434 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
6435 underflow here. Use gamma_positive instead of exp (lgamma) for
6436 other arguments.
6437 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
6438 (gamma_coeff): New variable.
6439 (NCOEFF): New macro.
6440 (gammaf_positive): New function.
6441 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
6442 underflow here. Use gamma_positive instead of exp (lgamma) for
6443 other arguments.
6444 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
6445 (gamma_coeff): New variable.
6446 (NCOEFF): New macro.
6447 (gammal_positive): New function.
6448 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
6449 underflow here. Use gamma_positive instead of exp (lgamma) for
6450 other arguments.
6451 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
6452 (gamma_coeff): New variable.
6453 (NCOEFF): New macro.
6454 (gammal_positive): New function.
6455 (__ieee754_gammal_r): Handle positive infinity, overflow and
6456 underflow here. Handle NaN the same as positive infinity. Remove
6457 check x < 0xffffffff for negative integers. Use gamma_positive
6458 instead of exp (lgamma) for other arguments.
6459 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
6460 (gamma_coeff): New variable.
6461 (NCOEFF): New macro.
6462 (gammal_positive): New function.
6463 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
6464 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
6465 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
6466 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
6467 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
6468 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
6469 * sysdeps/generic/math_private.h (__gamma_productf): New
6470 prototype.
6471 (__gamma_product): Likewise.
6472 (__gamma_productl): Likewise.
6473 * math/Makefile (libm-calls): Add gamma_product.
6474 * math/libm-test.inc (tgamma_test): Add more tests.
6475 * sysdeps/i386/fpu/libm-test-ulps: Update.
6476 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6477
bb7cf681
OB
64782013-05-08 Ondřej Bílka <neleai@seznam.cz>
6479
6480 * benchtests/bench-skeleton.c (main): Preheat CPU.
6481
ba853947
AJ
64822013-05-07 Aurelien Jarno <aurelien@aurel32.net>
6483
6484 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
6485
8347c74c
RM
64862013-05-07 Roland McGrath <roland@hack.frob.com>
6487
6488 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
6489 and _dl_skip_args_internal.
6490
e8dd4791
CD
64912013-05-07 Carlos O'Donell <carlos@redhat.com>
6492
6493 * manual/message.texi (Message Translation): Talk about users.
6494 Message to key mapping impacts design.
6495
c7405830
RM
64962013-05-06 Roland McGrath <roland@hack.frob.com>
6497
a9173057
RM
6498 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
6499
976e2f03
RM
6500 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
6501
9723ffc5
RM
6502 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
6503 * sysdeps/wordsize-64/glob64.c: ... here.
6504
962e6658
RM
6505 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
6506 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
6507 New macros.
6508
ee586a6d
RM
6509 * debug/getlogin_r_chk.c: Moved to ...
6510 * login/getlogin_r_chk.c: ... here.
6511 * debug/Makefile (routines): Move getlogin_r_chk to ...
6512 * login/Makefile (routines): ... here.
6513 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
6514 * login/Versions (libc: GLIBC_2.4): ... here.
6515
355f9165
RM
6516 * io/poll.c (__poll): Renamed from poll.
6517 Add libc_hidden_def.
6518 (poll): Define as weak alias.
6519
bd9ffde6
RM
6520 * debug/ptsname_r_chk.c: Moved to ...
6521 * login/ptsname_r_chk.c: ... here.
6522 * debug/Makefile (routines): Move ptsname_r_chk to ...
6523 * login/Makefile (routines): ... here.
6524 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
6525 * login/Versions (libc: GLIBC_2.4): ... here.
6526
8fb16a04
RM
6527 * posix/getlogin.c: Moved to ...
6528 * login/getlogin.c: ... here.
6529 * posix/getlogin_r.c: Moved to ...
6530 * login/getlogin_r.c: ... here.
6531 * posix/getlogin_r.c: Moved to ...
6532 * login/getlogin_r.c: ... here.
6533 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
6534 * login/Makefile (routines): ... here.
6535 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
6536 * login/Versions (libc: GLIBC_2.0): ... here.
6537
b99b892f
RM
6538 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
6539 (setrlimit): Define as weak alias.
6540
c7405830
RM
6541 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
6542 Call __ names for open, ftruncate, and close.
6543 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
6544 (truncate): Define as weak alias.
6545
5bf96de5
JM
65462013-05-06 Joseph Myers <joseph@codesourcery.com>
6547
9ea3513c
JM
6548 * math/gen-libm-test.pl (parse_args): Initialize x before each
6549 test of frexp, modf and remquo.
6550
5bf96de5
JM
6551 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
6552 test signgam value.
6553
16e616a7
AZ
65542013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6555
6556 [BZ #15418]
6557 [BZ #15419]
6558 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
6559 internal tests.
6560 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6561
d5e82754
RM
65622013-05-06 Roland McGrath <roland@hack.frob.com>
6563
6564 * elf/dl-writev.h: New file.
6565 * elf/dl-misc.c: Include it.
6566 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
6567 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
6568
a7548d41
JM
65692013-05-04 Joseph Myers <joseph@codesourcery.com>
6570
b7dab1e4
JM
6571 * math/libm-test.inc (noXFails): Remove variable.
6572 (noXPasses): Likewise.
6573 (BUILD_COMPLEX_INT): Remove macro.
6574 (print_screen): Remove xfail argument.
6575 (print_screen_max_error): Likewise.
6576 (update_stats): Likewise.
6577 (print_max_error): Likewise. Update calls to other affected
6578 functions.
6579 (print_complex_max_error): Likewise.
6580 (test_single_exception): Update calls to print_screen.
6581 (test_single_errno): Likewise.
6582 (check_float_internal): Remove xfail argument. Update calls to
6583 other affected functions.
6584 (check_float): Likewise.
6585 (check_complex): Likewise.
6586 (check_int): Likewise.
6587 (check_long): Likewise.
6588 (check_bool): Likewise.
6589 (check_longlong): Likewise.
6590 (main): Don't print noXFails and noXPasses.
6591 * math/gen-libm-test.pl (top level): Don't mention expected
6592 failure handling in comment.
6593 (new_test): Don't handle expected failures.
6594 (parse_args): Don't mention expected failure handling in comment.
6595 (generate_testfile): Don't handle expected failures.
6596 (parse_ulps): Likewise.
6597 (print_ulps_file): Likewise.
6598 (get_failure): Remove function.
6599 (output_test): Don't handle expected failures.
6600 * make/README.libm-test: Don't mention expected failure handling.
6601
a7548d41
JM
6602 * math/libm-test.inc (plus_zero): Make const. Add initializer.
6603 (minus_zero): Likewise.
6604 (plus_infty): Likewise.
6605 (minus_infty): Likewise.
6606 (qnan_value): Likewise.
6607 (max_value): Likewise.
6608 (min_value): Likewise.
6609 (min_subnorm_value): Likewise.
6610 (initialize): Do not initialize those variables dynamically.
6611
60bfd54c
RM
66122013-05-03 Roland McGrath <roland@hack.frob.com>
6613
cc0e6ed8
RM
6614 * io/open.c (__open_2): Moved to ...
6615 * io/open_2.c: ... this new file.
6616 * io/open64.c (__open64_2): Moved to ...
6617 * io/open64_2.c: ... this new file.
6618 * io/openat.c (__openat_2): Moved to ...
6619 * io/openat_2.c: ... this new file.
6620 * io/openat64.c (__openat64_2): Moved to ...
6621 * io/openat64_2.c: ... this new file.
6622 * io/Makefile (routines): Add them.
6623 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
6624 * sysdeps/unix/sysv/linux/open_2.c: File removed.
6625 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
6626 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
6627 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
6628 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
6629 (__openat64): Add hidden_ver.
6630 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
6631 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
6632
60bfd54c
RM
6633 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
6634 Separately conditionalize setting of GLRO(dl_sysinfo) so
6635 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
6636 as well, but the actual setting is only under [NEED_DL_SYSINFO].
6637
83e7640f
AZ
66382013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6639
6640 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
6641 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
6642 definition.
6643 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
6644 * sysdeps/unix/sysv/linux/powerpc/init-first.c
6645 (_libc_vdso_platform_setup): Add __vdso_time initialization.
6646 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
6647 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
6648
d5dc2af3
JM
66492013-05-03 Joseph Myers <joseph@codesourcery.com>
6650
c31a5b1e
JM
6651 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
6652 test signgam value.
6653
d5dc2af3
JM
6654 * math/libm-test.inc (hypot_test): Do not use
6655 IGNORE_ZERO_INF_SIGN.
6656
164fd39d
AJ
66572013-05-03 Andreas Jaeger <aj@suse.de>
6658
6659 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
6660 Linux 3.9.
6661 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
6662 (PF_MAX): Adjust for VSOCK change.
6663
8237f48c
AZ
66642013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6665
6666 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6667
9df02941
CD
66682013-05-02 Carlos O'Donell <carlos@redhat.com>
6669
6670 [BZ #15264]
6671 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
6672 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
6673 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
6674
d422395e
DM
66752013-05-02 David S. Miller <davem@davemloft.net>
6676
6677 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6678
a07c5731
OB
66792013-05-01 Ondřej Bílka <neleai@seznam.cz>
6680
6681 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
6682
1324e37f
RM
66832013-05-01 Roland McGrath <roland@hack.frob.com>
6684
6685 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
6686
0695940b
RS
66872013-05-01 Richard Smith <richard@metafoo.co.uk>
6688
bb5f27ad 6689 [BZ #14952]
0695940b
RS
6690 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
6691 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
6692 Use __attribute__ ((__gnu_inline__)).
6693 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
6694 Don't use __attribute__ ((__gnu_inline__)).
6695
10de07f5
JM
66962013-05-01 Joseph Myers <joseph@codesourcery.com>
6697
6698 [BZ #15423]
6699 * math/s_catan.c (__catan): Handle small real or imaginary part of
6700 input specially to avoid spurious underflow.
6701 * math/s_catanf.c (__catanf): Likewise.
6702 * math/s_catanh.c (__catanh): Likewise.
6703 * math/s_catanhf.c (__catanhf): Likewise.
6704 * math/s_catanhl.c (__catanhl): Likewise.
6705 * math/s_catanl.c (__catanl): Likewise.
6706 * math/libm-test.inc (catan_test): Add more tests.
6707 (catanh_test): Likewise.
6708 * sysdeps/i386/fpu/libm-test-ulps: Update.
6709 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6710
cb4d5414
AZ
67112013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6712
6713 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6714
caf84319
JM
67152013-04-30 Joseph Myers <joseph@codesourcery.com>
6716
6717 [BZ #15416]
6718 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
6719 accurately for denominator in atan2.
6720 * math/s_catanf.c (__catanf): Likewise.
6721 * math/s_catanh.c (__catanh): Likewise.
6722 * math/s_catanhf.c (__catanhf): Likewise.
6723 * math/s_catanhl.c (__catanhl): Likewise.
6724 * math/s_catanl.c (__catanl): Likewise.
6725 * math/libm-test.inc (catan_test): Add more tests.
6726 (catanh_test): Likewise.
6727 * sysdeps/i386/fpu/libm-test-ulps: Update.
6728 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6729
d569c6ee
SP
67302013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6731
6dbe713d
SP
6732 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
6733
f0ee064b
SP
6734 * benchtests/Makefile (bench): Remove slow benchmarks.
6735 * benchtests/atan-inputs: Add slow benchmark inputs.
6736 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
6737 (BENCH_FUNC): Accept variant offset.
6738 (VARIANT): Define.
6739 * benchtests/bench-skeleton.c (main): Run benchmark for each
6740 variant.
6741 * benchtests/cos-inputs: Add slow benchmark inputs.
6742 * benchtests/exp-inputs: Likewise.
6743 * benchtests/pow-inputs: Likewise.
6744 * benchtests/sin-inputs: Likewise.
6745 * benchtests/slowatan-inputs: Remove.
6746 * benchtests/slowatan.c: Remove.
6747 * benchtests/slowcos-inputs: Remove.
6748 * benchtests/slowcos.c: Remove.
6749 * benchtests/slowexp-inputs: Remove.
6750 * benchtests/slowexp.c: Remove.
6751 * benchtests/slowpow-inputs: Remove.
6752 * benchtests/slowpow.c: Remove.
6753 * benchtests/slowsin-inputs: Remove.
6754 * benchtests/slowsin.c: Remove.
6755 * benchtests/slowtan-inputs: Remove.
6756 * benchtests/slowtan.c: Remove.
6757 * benchtests/tan-inputs: Add slow benchmark inputs.
6758 * scripts/bench.pl: Parse comments and directives.
6759
d569c6ee
SP
6760 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
6761 in CPPFLAGS.
6762 ($(objpfx)bench-%.c): Remove *-ITER.
6763 * benchtests/bench-modf.c: Remove definition of ITER.
6764 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
6765 (main): Loop for DURATION seconds instead of fixed number of
6766 iterations.
6767 * scripts/bench.pl: Don't expect iterations in parameters.
6768
a6a242fe
RM
67692013-04-29 Roland McGrath <roland@hack.frob.com>
6770
6771 * io/fchdir.c (__fchdir): Renamed from fchdir.
6772 (fchdir): Define as weak alias.
6773
f2da7793
JM
67742013-04-29 Joseph Myers <joseph@codesourcery.com>
6775
6776 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
6777 (ERRNO_EDOM): Likewise.
6778 (ERRNO_ERANGE): Likewise.
6779 (noErrnoTests): New variable.
6780 (init_max_error): Set errno to 0.
6781 (test_single_errno): New function.
6782 (test_errno): Likewise.
6783 (check_float_internal): Call test_errno. Set errno to 0.
6784 (check_complex): Refer to errno tests in comment.
6785 (check_int): Call test_errno. Set errno to 0.
6786 (check_long): Likewise.
6787 (check_bool): Likewise.
6788 (check_longlong): Likewise.
6789 (cos_test): Use ERRNO_* flags for errno tests instead of
6790 check_int.
6791 (expm1_test): Likewise.
6792 (fmod_test): Likewise.
6793 (ilogb_test): Likewise.
6794 (lgamma_test): Likewise.
6795 (pow_test): Likewise.
6796 (remainder_test): Likewise.
6797 (sin_test): Likewise.
6798 (tan_test): Likewise.
6799 (yn_test): Likewise.
6800 (initialize): Set errno to 0.
6801 (main): Print number of errno tests.
6802 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
6803
b1a36ceb
AJ
68042013-04-29 Andreas Jaeger <aj@suse.de>
6805
c3ed8088
AJ
6806 [BZ #15084]
6807 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
6808 and RES_USEVC.
6809
f1a24198
AJ
6810 [BZ #15085]
6811 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
6812 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
6813 unimplemented.
6814
9ce3b2cb
AJ
6815 [BZ #15380]
6816 * stdlib/random.c (__initstate): Return NULL if
6817 __initstate fails.
6818
f1a24198 6819 [BZ #15086]
b1a36ceb
AJ
6820 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
6821 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
6822 RES_SNGLKUPREOP.
6823
7e7b6f36
AZ
68242013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6825
6826 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6827
4d14f449
JM
68282013-04-29 Joseph Myers <joseph@codesourcery.com>
6829
6830 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
6831 of individual tests.
6832 (casin_test): Likewise.
6833 (casinh_test): Likewise.
6834
5b4217d7
JM
68352013-04-27 Joseph Myers <joseph@codesourcery.com>
6836
6837 [BZ #15409]
6838 * math/s_catan.c (__catan): Handle arguments with large real or
6839 imaginary part separately without squaring.
6840 * math/s_catanf.c (__catanf): Likewise.
6841 * math/s_catanh.c (__catanh): Likewise.
6842 * math/s_catanhf.c (__catanhf): Likewise.
6843 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
6844 and redefine.
6845 (__catanhl): Handle arguments with large real or imaginary part
6846 separately without squaring.
6847 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
6848 and redefine.
6849 (__catanl): Handle arguments with large real or imaginary part
6850 separately without squaring.
6851 * math/libm-test.inc (catan_test): Add more tests.
6852 (catanh_test): Likewise.
6853 * sysdeps/i386/fpu/libm-test-ulps: Update.
6854 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6855
4220c3ef
AJ
68562013-04-27 Andreas Jaeger <aj@suse.de>
6857
6858 [BZ #15007]
6859 * stdlib/stdlib.h: Update guards for qecvt.
6860 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
6861 <stdlib.h>.
6862
4721b2d1
AM
68632013-04-27 Allan McRae <allan@archlinux.org>
6864
6865 * sysdeps/i386/fpu/libm-test-ulps: Update.
6866
f0302940
JM
68672013-04-26 Joseph Myers <joseph@codesourcery.com>
6868
9457fd95
JM
6869 [BZ #15406]
6870 * math/s_catan.c: Include <float.h>.
6871 (__catan): Ensure underflow exception occurs for underflowed
6872 result.
6873 * math/s_catanf.c: Include <float.h>.
6874 (__catanf): Ensure underflow exception occurs for underflowed
6875 result.
6876 * math/s_catanh.c: Include <float.h>.
6877 (__catanh): Ensure underflow exception occurs for underflowed
6878 result.
6879 * math/s_catanhf.c: Include <float.h>.
6880 (__catanhf): Ensure underflow exception occurs for underflowed
6881 result.
6882 * math/s_catanhl.c: Include <float.h>.
6883 (__catanhl): Ensure underflow exception occurs for underflowed
6884 result.
6885 * math/s_catanl.c: Include <float.h>.
6886 (__catanl): Ensure underflow exception occurs for underflowed
6887 result.
6888 * math/libm-test.inc (catan_test): Add more tests.
6889 (catanh_test): Likewise.
6890
f0302940
JM
6891 [BZ #15405]
6892 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
6893 underflowed result.
6894 * math/s_ccoshf.c (__ccoshf): Likewise.
6895 * math/s_ccoshl.c (__ccoshl): Likewise.
6896 * math/s_csin.c (__csin): Likewise.
6897 * math/s_csinf.c (__csinf): Likewise.
6898 * math/s_csinh.c (__csinh): Likewise.
6899 * math/s_csinhf.c (__csinhf): Likewise.
6900 * math/s_csinhl.c (__csinhl): Likewise.
6901 * math/s_csinl.c (__csinl): Likewise.
6902 * math/libm-test.inc (ccos_test): Add more tests.
6903 (ccosh_test): Likewise.
6904 (csin_test): Likewise.
6905 (csinh_test): Likewise.
6906
aa630f59
AZ
69072013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6908
6909 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
6910 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
6911 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
6912 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
6913 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
6914 powerpc/power5+/fpu folders.
6915 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
6916
6917
1b835983
MT
69182013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
6919
6920 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6921
73709b26
JM
69222013-04-25 Joseph Myers <joseph@codesourcery.com>
6923
6924 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
6925 additions to variable.
6926 [$(config-machine) = x86_64] (modules-names): Likewise.
6927 ($(objpfx)tst-audit3): Remove dependency.
6928 ($(objpfx)tst-audit3.out): Likewise.
6929 ($(objpfx)tst-audit4): Likewise.
6930 ($(objpfx)tst-audit4.out): Likewise.
6931 ($(objpfx)tst-audit5): Likewise.
6932 ($(objpfx)tst-audit5.out): Likewise.
6933 ($(objpfx)tst-audit6): Likewise.
6934 ($(objpfx)tst-audit6.out): Likewise.
6935 ($(objpfx)tst-audit7): Likewise.
6936 ($(objpfx)tst-audit7.out): Likewise.
6937 (tst-audit3-ENV): Remove variable.
6938 (tst-audit4-ENV): Likewise.
6939 (tst-audit5-ENV): Likewise.
6940 (tst-audit6-ENV): Likewise.
6941 (tst-audit7-ENV): Likewise.
6942 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
6943 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
6944 addition to variable.
6945 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
6946 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
6947 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
6948 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
6949 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
6950 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
6951 tst-audit3, tst-audit4 and tst-audit5.
6952 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
6953 tst-audit6 and tst-audit7.
6954 [$(subdir) = elf] (modules-names): Add audit modules for those
6955 tests.
6956 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
6957 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
6958 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
6959 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
6960 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
6961 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
6962 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
6963 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
6964 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
6965 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
6966 [$(subdir) = elf] (tst-audit3-ENV): New variable.
6967 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
6968 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
6969 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
6970 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
6971 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
6972 Likewise.
6973 [$(subdir) = elf && $(config-cflags-avx) = yes]
6974 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
6975 [$(subdir) = elf && $(config-cflags-avx) = yes]
6976 (CFLAGS-tst-auditmod4a.c): Likewise.
6977 [$(subdir) = elf && $(config-cflags-avx) = yes]
6978 (CFLAGS-tst-auditmod4b.c): Likewise.
6979 [$(subdir) = elf && $(config-cflags-avx) = yes]
6980 (CFLAGS-tst-auditmod6b.c): Likewise.
6981 [$(subdir) = elf && $(config-cflags-avx) = yes]
6982 (CFLAGS-tst-auditmod6c.c): Likewise.
6983 [$(subdir) = elf && $(config-cflags-avx) = yes]
6984 (CFLAGS-tst-auditmod7b.c): Likewise.
6985 * elf/tst-audit3.c: Move to ...
6986 * sysdeps/x86_64/tst-audit3.c: ... here.
6987 * elf/tst-audit4.c: Move to ...
6988 * sysdeps/x86_64/tst-audit4.c: ... here.
6989 * elf/tst-audit5.c: Move to ...
6990 * sysdeps/x86_64/tst-audit5.c: ... here.
6991 * elf/tst-audit6.c: Move to ...
6992 * sysdeps/x86_64/tst-audit6.c: ... here.
6993 * elf/tst-audit7.c: Move to ...
6994 * sysdeps/x86_64/tst-audit7.c: ... here.
6995 * elf/tst-auditmod3a.c: Move to ...
6996 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
6997 * elf/tst-auditmod3b.c: Move to ...
6998 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
6999 * elf/tst-auditmod4a.c: Move to ...
7000 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
7001 * elf/tst-auditmod4b.c: Move to ...
7002 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
7003 * elf/tst-auditmod5a.c: Move to ...
7004 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
7005 * elf/tst-auditmod5b.c: Move to ...
7006 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
7007 * elf/tst-auditmod6a.c: Move to ...
7008 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
7009 * elf/tst-auditmod6b.c: Move to ...
7010 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
7011 * elf/tst-auditmod6c.c: Move to ...
7012 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
7013 * elf/tst-auditmod7a.c: Move to ...
7014 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
7015 * elf/tst-auditmod7b.c: Move to ...
7016 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
7017
1ef74943
PP
70182013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
7019
7020 [BZ #15366]
7021 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
7022 define unconditionally.
7023 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
7024 define unconditionally.
7025 (INT8_C, INT16_C, etc.): Likewise.
7026
93fd48c5
MR
70272013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
7028
ae9552cf
MR
7029 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
7030 __ehdr_start with hidden visibility.
7031
93fd48c5
MR
7032 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
7033
418601aa
CD
70342013-04-24 Carlos O'Donell <carlos@redhat.com>
7035
7036 * math/libm-test.inc (cos_test): Use accurate hex constants.
7037 (sincost_test): Likewise.
7038
2f38fbfe
JM
70392013-04-24 Joseph Myers <joseph@codesourcery.com>
7040
5e221800
JM
7041 * math/libm-test.inc (catan_test): Add more tests.
7042 (catanh_test): Likewise.
7043
77f143fd
JM
7044 * math/s_catanf.c (__catanf): Use suffixed floating-point
7045 constants.
7046 * math/s_catanhf.c (__catanhf): Likewise.
7047 * math/s_catanhl.c (__catanhl): Likewise.
7048 * math/s_catanl.c (__catanl): Likewise.
7049
2f38fbfe
JM
7050 [BZ #15394]
7051 * math/s_catan.c (__catan): Calculate imaginary part of result
7052 with log1p not log unless computing log of number close to 0.
7053 * math/s_catanf.c (__catanf): Likewise.
7054 * math/s_catanl.c (__catanl): Likewise.
7055 * math/s_catanh.c (__catanh): Calculate real part of result with
7056 log1p not log unless computing log of number close to 0.
7057 * math/s_catanhf.c (__catanhf): Likewise.
7058 * math/s_catanhl.c (__catanhl): Likewise.
7059 * math/libm-test.inc (catan_test): Add more tests.
7060 (catanh_test): Likewise.
7061 * sysdeps/i386/fpu/libm-test-ulps: Update.
7062 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7063
45d69176
SP
70642013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7065
7066 * benchtests/Makefile: Mention files in which fast and slow
7067 paths of math functions are implemented.
7068
87f51853
RM
70692013-04-23 Roland McGrath <roland@hack.frob.com>
7070
7071 * sysdeps/posix/timespec_get.c: New file.
7072
3c026539
AZ
70732013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7074
7075 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
7076 POWER.
7077 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
7078 for POWER.
7079 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
7080 powerpc/power5/fpu folders.
7081 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
7082 * benchtests/Makefile: Add modf testcase.
7083 * benchtests/bench-modf.c: New file: Benchmark test for mo
7084
ff491d14
SP
70852013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
7086
7087 [BZ #14888]
7088 * time/Makefile (tests): Add tst-strptime-whitespace.
7089 * time/strptime_l.c (get_number): Use ISSPACE.
7090 (__strptime_internal): Likewise.
7091 * time/tst-strptime-whitespace.c: New test case.
7092
7ed3f4e8
AS
70932013-04-23 Andreas Schwab <schwab@linux-m68k.org>
7094
7095 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
7096 member.
7097 (_nss_files_init): Set it here.
7098
5c95f7b6
HC
70992013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
7100
7101 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
7102 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
7103 unsigned.
7104
d34c9158
JBG
71052013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
7106
7107 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
7108
2169712d
SP
71092013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7110
7111 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
7112 size just once.
7113
29c5de99
DM
71142013-04-21 David S. Miller <davem@davemloft.net>
7115
7116 * po/ru.po: Update Russion translation from translation project.
7117
ccdad15d
AC
71182013-04-17 Adam Conrad <adconrad@0c3.net>
7119
7120 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
7121 and setfsgid.
7122
0f122b8d
CD
71232013-04-17 Carlos O'Donell <carlos@redhat.com>
7124
5c5b07da 7125 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 7126 * configure: Regenerate.
5c5b07da 7127 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
7128 Add example to error message.
7129 * sysdeps/i386/configure: Regenerate.
7130
037714dd
SP
71312013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7132
7133 * benchtests/Makefile (bench): Add cos, tan, slowcos and
7134 slowtan.
7135 * benchtests/cos-inputs: New file.
7136 * benchtests/slowcos-inputs: New file.
7137 * benchtests/slowcos.c: New file.
7138 * benchtests/slowtan-inputs: New file.
7139 * benchtests/slowtan.c: New file.
7140 * benchtests/tan-inputs: New file.
7141
e913141d
RM
71422013-04-16 Roland McGrath <roland@hack.frob.com>
7143
7144 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
7145 considered kosher.
7146
a2964074
SP
71472013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7148
4856bcd2
SP
7149 * benchtests/Makefile: Include cppflags-iterator.mk to add
7150 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
7151
a2964074
SP
7152 * Makefile.in (bench-clean): New target.
7153 * benchtests/Makefile (bench-clean): Likewise.
7154
9fbf9aca
DH
71552013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
7156
7157 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
7158
207d1e2a
TS
71592013-04-15 Thomas Schwinge <thomas@codesourcery.com>
7160
7161 * stdio-common/tstdiomisc.c: Fix coding-style violation.
7162
306dfba9
AS
71632013-04-15 Andreas Schwab <schwab@suse.de>
7164
7165 * nscd/grpcache.c (cache_addgr): Properly check for short write.
7166 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7167 * nscd/pwdcache.c (cache_addpw): Likewise.
7168 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
7169 more than recsize.
7170
206a6699
SP
71712013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7172
7173 * benchtests/Makefile (bench): Write all output to
7174 bench-out.tmp together.
7175
0582f6b3
AS
71762013-04-15 Andreas Schwab <schwab@suse.de>
7177
7178 * nscd/nscd.c (main): Don't fork again after closing files.
7179
acb4325f
SP
71802013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7181
5cb26d0a
SP
7182 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
7183
acb4325f
SP
7184 * benchtests/Rules (bench-deps): Collect dependencies into a
7185 single variable. Add Makefile to dependencies.
7186 ($(objpfx)bench-%.c): Depend on bench-deps.
7187
47792506
RM
71882013-04-12 Roland McGrath <roland@hack.frob.com>
7189 Xavier Roche <roche+kml2@exalead.com>
7190
7191 [BZ #15361]
7192 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
7193 just that it's a file descriptor.
7194 * manual/llio.texi (Synchronizing AIO Operations): Update description
7195 for EBADF error from aio_fsync.
7196
8fc1bee5
SP
71972013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7198
7199 * Rules (bench): Move target definition...
7200 * benchtests/Makefile: ... here.
7201
aba5e333
CD
72022013-04-11 Carlos O'Donell <carlos@redhat.com>
7203
7204 * math/libm-test.inc (cos_test): Fix PI/2 test.
7205 (sincos_test): Likewise.
7206 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
7207 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
7208
273cdee8
AS
72092013-04-11 Andreas Schwab <schwab@suse.de>
7210
6ecec3b6
AS
7211 [BZ #13988]
7212 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
7213 accept exponent character only when digits were seen.
7214 * stdio-common/Makefile (tests): Add bug26.
7215 * stdio-common/bug26.c: New file.
7216
273cdee8
AS
7217 [BZ #14293]
7218 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
7219 non-freeable.
7220
8da491f5
SP
72212013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7222
01dc6df9
SP
7223 * Makeconfig (rtld-prefix): Define built linker prefix.
7224 * Rules (run-bench): Use it.
7225 * math/Makefile (run-regen-ulps): Likewise.
7226
8da491f5
SP
7227 * Rules (bench): Remove eval.
7228
abe7f530
SP
72292013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7230 Roland McGrath <roland@hack.frob.com>
7231 Ondrej Bilka <neleai@seznam.cz>
7232
7233 [BZ #15346]
7234 * time/getdate.c: Include ctype.h and alloca.h.
7235 (__getdate_r): Trim leading and trailing spaces of input.
7236 * time/tst-getdate.c (tests): Add tests with leading and
7237 trailing spaces.
7238
61c23e62
RM
72392013-04-08 Roland McGrath <roland@hack.frob.com>
7240
7241 [BZ #14280]
7242 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
7243 when computing value.
7244
7208a313
CD
72452013-04-06 Carlos O'Donell <carlos@redhat.com>
7246
085b2d41
CD
7247 * math/README.libm-test (How can I generate "libm-test-ulps"?):
7248 Use testrun.sh to run libm tests.
7249
7208a313
CD
7250 [BZ #15309]
7251 * elf/dl-open.c (dl_open_worker): memset all of seen array.
7252
872c0acd
MM
72532013-04-06 Marko Myllynen <myllynen@redhat.com>
7254
7255 [BZ #15264]
7256 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
7257
26510bdd
CD
72582013-04-06 Carlos O'Donell <carlos@redhat.com>
7259
7260 * Makefile.in (regen-ulps): New target.
7261 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
7262 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
7263 [ifneq (no,$(PERL)] (regen-ulps): New target.
7264 [ifeq (no,$(PERL)] (regen-ulps): New target.
7265 * math/libm-test.inc (ulps_file_name): Define.
7266 (output_dir): New variable.
7267 (options): Add "output-dir" option.
7268 (parse_opt): Handle 'o' case.
7269 (main): If output_dir is non-NULL use it as a prefix
7270 otherwise use "".
7271 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
7272
a01f19c8
CD
72732013-04-06 Carlos O'Donell <carlos@redhat.com>
7274
7275 [BZ #10060, #10062]
7276 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
7277 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
7278 fail configure if __sync_val_compare_and_swap is not inlined.
7279 * sysdeps/i386/configure: Regenerate.
7280 * configure.in: Build for i686 when configured for i386.
7281 * configure: Regenerate.
7282 * README: Remove i386 reference.
7283
b7a329a5
CD
72842013-04-06 Carlos O'Donell <carlos@redhat.com>
7285
7286 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
7287 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7288
bf0f50df
TS
72892013-04-05 Thomas Schwinge <thomas@codesourcery.com>
7290
ee091edf
TS
7291 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
7292 (lmsnanval): New variables.
7293 (F): Add conversion tests.
7294 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
7295 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
7296
a8b792d6
TS
7297 * stdio-common/tstdiomisc.c (F): Properly collect individual
7298 tests' results.
7299
a1cbf437
TS
7300 [BZ #14686, #15336]
7301 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
7302 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
7303 Instead, use input NaN values or generate a qNaN by arithmetic
7304 operation. Also fix bugs to comply with the standard.
7305 * math/libm-test.inc (remainder_test): Add more tests.
7306
8b43a0c9
TS
7307 [BZ #15335, #15342]
7308 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
7309 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
7310 input NaN values or generate a qNaN by arithmetic operation.
7311
d91da4ce
TS
7312 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
7313 unreachable code.
7314
bf0f50df
TS
7315 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
7316 definitions.
7317
05e166c8
JM
73182013-04-03 Joseph Myers <joseph@codesourcery.com>
7319
7320 [BZ #14478]
7321 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
7322 underflowed result.
7323 * math/s_cexpf.c (__cexpf): Likewise.
7324 * math/s_cexpl.c (__cexpl): Likewise.
7325 * math/libm-test.inc (cexp_test): Add more tests.
7326
1cef1b19
AS
73272013-04-03 Andreas Schwab <schwab@suse.de>
7328
7329 [BZ #15330]
7330 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
7331 order arrays from heap if bigger than alloca cutoff.
7332
74d87055
TS
73332013-04-03 Thomas Schwinge <thomas@codesourcery.com>
7334
7335 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
7336 (SNAN_TESTS_double): Refer to GCC PR56831.
7337 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
7338 GCC PR56828.
7339
d755bba4
SP
73402013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7341
90d5d5bb
SP
7342 * Rules (bench): Move bench.out after the run is complete.
7343
73e0cd5d
SP
7344 * Rules (bench): Echo currently running benchmark.
7345
64aabd4b
SP
7346 * benchtests/Makefile (bench): Add atan and slowatan.
7347 * benchtests/atan-inputs: New file.
7348 * benchtests/slowatan-inputs: New file.
7349 * benchtests/slowatan.c: New file.
7350
c871eccd
SP
7351 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
7352 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
7353 its value.
7354
d755bba4
SP
7355 [BZ #15305]
7356 * sysdeps/unix/sysv/linux/kernel-features.h
7357 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
7358 __ASSUME_XFS_RESTRICTED_CHOWN.
7359 * sysdeps/unix/sysv/linux/pathconf.c
7360 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
7361 Save and restore errno.
7362
52ce4860
JM
73632013-04-02 Joseph Myers <joseph@codesourcery.com>
7364
7365 [BZ #15327]
7366 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
7367 arguments using __kernel_casinh.
7368 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
7369 arguments using __kernel_casinhf.
7370 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
7371 arguments using __kernel_casinhl.
7372 * math/libm-test.inc (cacosh_test): Add more tests.
7373 * sysdeps/i386/fpu/libm-test-ulps: Update.
7374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7375
81f311c2
SP
73762013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7377
e7906a47
SP
7378 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
7379 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
7380
92e3664b
SP
7381 * bench/Makefile (bench): Add sin and slowsin.
7382 * benchtests/sin-inputs: New file.
7383 * benchtests/slowsin-inputs: New file.
7384 * benchtests/slowsin.c: New file.
7385
81f311c2
SP
7386 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
7387 (bench): Add slowexp and slowpow.
7388 (exp-ITER): Increase iterations.
7389 (pow-ITER): Likewise.
7390 * benchtests/exp-inputs: Change input.
7391 * benchtests/pow-inputs: Likewise.
7392 * benchtests/slowexp-inputs: New file.
7393 * benchtests/slowexp.c: New file.
7394 * benchtests/slowpow-inputs: New file.
7395 * benchtests/slowpow.c: New file.
7396
ab0f1aa9
AZ
73972013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7398
7399 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
7400 instructions.
7401 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
7402 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
7403 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
7404 * benchtests/Makefile: Add rint benchtest.
7405 * benchtests/rint-inputs: Input for rint benchtest.
7406
57267616
TS
74072013-04-02 Thomas Schwinge <thomas@codesourcery.com>
7408
7409 * Versions.def (libm): Add GLIBC_2.18.
7410 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
7411 hidden libm prototypes.
7412 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
7413 * math/Makefile (libm-calls): Add s_issignaling.
7414 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
7415 __issignalingf, __issignalingl. Adjust all libm.abilist files.
7416 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
7417 declaration.
7418 * math/math.h [__USE_GNU] (issignaling): New macro.
7419 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
7420 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
7421 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
7422 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
7423 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
7424 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
7425 * manual/arith.texi (issignaling): New section.
7426 * manual/libm-err-tab.pl (@all_functions): Update comment.
7427 * math/gen-libm-test.pl (parse_args): Apply special handling for
7428 issignaling.
7429 * math/libm-test.inc (print_float, issignaling_test): New
7430 functions.
7431 (check_float_internal): Add issignaling checks.
7432 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
7433 default definition.
7434 * sysdeps/powerpc/math-tests.h: New file.
7435 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
7436 tests.
7437 * math/test-snan.c (TEST_FUNC): Likewise.
7438
6142896d
DM
74392013-03-30 David S. Miller <davem@davemloft.net>
7440
7441 * po/de.po: Update from translation team.
7442
ccc8cadf
JM
74432013-03-30 Joseph Myers <joseph@codesourcery.com>
7444
7445 [BZ #10357]
7446 * math/k_casinh.c (__kernel_casinh): Handle arguments with
7447 imaginary part less than 1.0 and real part less than 0.5
7448 specially.
7449 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7450 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7451 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
7452 (cacos_test): Add more tests.
7453 (casin_test): Likewise.
7454 (casinh_test): Likewise.
7455 * sysdeps/i386/fpu/libm-test-ulps: Update.
7456 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7457
0f6a8d4b
SP
74582013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7459
0d1029de
SP
7460 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
7461 ONE with its value.
7462
c2d94018
SP
7463 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
7464 (__pow_mp): Replace ONE and MONE with their values.
7465 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7466 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
7467 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
7468 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
7469 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7470 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
7471
27ec37f1
SP
7472 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
7473
a64d7e0e
SP
7474 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
7475 (__pow_mp): Replace ZERO and MZERO with their values.
7476 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
7477 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7478 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
7479 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
7480 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7481 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
7482 (__sqr): Likewise.
7483
d26dd3eb
SP
7484 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
7485
0f6a8d4b
SP
7486 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
7487
e57b0c61
RM
74882013-03-28 Roland McGrath <roland@hack.frob.com>
7489
7490 * include/stdlib.h [!SHARED] (__call_tls_dtors):
7491 Declare with __attribute__ ((weak)).
7492 * stdlib/exit.c (__libc_atexit) [!SHARED]:
7493 Call __call_tls_dtors only if it's not NULL.
7494
356b3480
RM
74952013-03-28 Roland McGrath <roland@hack.frob.com>
7496
288f7d79
RM
7497 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
7498 didn't do it already, then set _dl_phdr and _dl_phnum based on the
7499 magic __ehdr_start linker symbol if it's defined.
7500 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
7501 them up here if it was already done.
7502
dc0a0263
RM
7503 * elf/dl-support.c (_dl_phdr): Make pointer to const.
7504 (_dl_aux_init): Use const in cast when setting it.
7505 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
7506 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
7507 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
7508
3d3436ae
RM
7509 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
7510 Declare them here.
7511 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
7512 * csu/libc-tls.c: Nor here.
7513 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
7514
356b3480
RM
7515 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
7516 (__libc_message): Never call vsyslog.
7517
b0f1246a
AM
75182013-03-28 Alan Modra <amodra@gmail.com>
7519
7520 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
7521 Define as empty.
7522 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
7523 Likewise.
7524
fbbe2b9a
AZ
75252013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7526
7527 [BZ #15214]
7528 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
7529 underflow.
7530 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7531
1728ab37
SP
75322013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7533
7a86be6e
SP
7534 [BZ #15304]
7535 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
7536 Don't add gid passed as argument.
7537
1728ab37
SP
7538 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
7539
3a7182a1
JM
75402013-03-27 Joseph Myers <joseph@codesourcery.com>
7541
7542 [BZ #15307]
7543 * math/k_casinh.c (__kernel_casinh): Handle arguments with
7544 imaginary part between 1.0 and 1.5 and real part less than 0.5
7545 specially.
7546 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7547 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7548 * math/libm-test.inc (cacos_test): Add more tests.
7549 (casin_test): Likewise.
7550 (casinh_test): Likewise.
7551 * sysdeps/i386/fpu/libm-test-ulps: Update.
7552 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7553
6f2e90e7
SP
75542013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7555
5739f705
SP
7556 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
7557 constants.
7558 (norm): Likewise.
7559 (denorm): Likewise.
7560 (__dbl_mp): Likewise.
7561 (add_magnitudes): Likewise.
7562 (sub_magnitudes): Likewise.
7563 (__add): Likewise.
7564 (__sub): Likewise.
7565 (__mul): Likewise.
7566 (__sqr): Likewise.
7567 (__inv): Likewise.
7568 (__dvd): Likewise.
7569
e375e83d
SP
7570 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
7571 commented code.
7572 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
7573 (__dubcos): Likewise.
7574 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
7575 (__ieee754_acos): Likewise.
7576 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
7577 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
7578 (__exp1): Likewise.
7579 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7580 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
7581 (log1): Likewise.
7582 (my_log2): Likewise.
7583 (checkint): Likewise.
7584 * sysdeps/ieee754/dbl-64/e_remainder.c
7585 (__ieee754_remainder): Likewise.
7586 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7587 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
7588 (bsloww): Likewise.
7589 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
7590
6f2e90e7
SP
7591 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
7592 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
7593 MANTISSA_STORE_T to store computations on mantissa. Use
7594 macros for rounding and division.
7595 (denorm): Likewise.
7596 (__dbl_mp): Likewise.
7597 (add_magnitudes): Likewise.
7598 (sub_magnitudes): Likewise.
7599 (__mul): Likewise.
7600 (__sqr): Likewise.
7601 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
7602 powers of two in terms of TWOPOW macro.
7603 (mp_no): Make type of mantissa as MANTISSA_T.
7604 [!RADIXI]: Define RADIXI.
7605 [!TWO52]: Define TWO52.
7606 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
7607
fce14d4e
AZ
76082013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7609
7610 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
7611 llroundl symbol when building for PPC32.
7612
9ad027fb
MW
76132013-03-24 Mark H Weaver <mhw@netris.org>
7614
7615 * manual/arith.texi (Normalization Functions): Fix prototypes for
7616 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
7617
e42a38dd
AZ
76182013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7619
7620 [BZ #13889]
7621 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
7622 high value to check if expl overflow.
7623 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
7624 to check for underflow and overflow.
7625 * math/libm-test.inc: Add exp test.
7626
2e0fb521
DL
76272013-03-21 Dmitry V. Levin <ldv@altlinux.org>
7628
7629 [BZ #11120]
7630 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
7631 with NOT_IN_libc.
7632
b5784d95
AZ
76332013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7634
7635 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
7636 symbol.
7637
5aa4a1a1
TS
76382013-03-21 Thomas Schwinge <thomas@codesourcery.com>
7639
bdef0be7
TS
7640 * math/gen-libm-test.pl (parse_args, special_functions): Properly
7641 wrap blocks consisting of several statements.
7642
5aa4a1a1
TS
7643 * sysdeps/generic/math-tests.h: New file.
7644 * sysdeps/i386/fpu/math-tests.h: Likewise.
7645 * math/test-snan.c: Include it.
7646 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
7647
98c48fe5
JM
76482013-03-21 Joseph Myers <joseph@codesourcery.com>
7649
7650 [BZ #15285]
7651 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
7652 (__ieee754_j0l): Do not improve calculations using cos of twice
7653 input for inputs above LDBL_MAX / 2.0L.
7654 (__ieee754_y0l): Likewise.
7655 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
7656 (__ieee754_j1l): Do not improve calculations using cos of twice
7657 input for inputs above LDBL_MAX / 2.0L.
7658 (__ieee754_y1l): Likewise.
7659 * math/libm-test.inc (j0_test): Add another test.
7660 (j1_test): Likewise.
7661 (y0_test): Likewise.
7662 (y1_test): Likewise.
7663 * sysdeps/i386/fpu/libm-test-ulps: Update.
7664
3775a8bc
SP
76652013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7666
7667 * Rules ($(objpfx)bench-%.c): Include code from a C source
7668 file.
7669
0a1b2ae6
JM
76702013-03-21 Joseph Myers <joseph@codesourcery.com>
7671
7672 [BZ #15287]
7673 * math/k_casinh.c (__kernel_casinh): Handle arguments with
7674 imaginary part 1.0 and real part less than 0.5 specially.
7675 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7676 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7677 * math/libm-test.inc (cacos_test): Add more tests.
7678 (casin_test): Likewise.
7679 (casinh_test): Likewise.
7680 * sysdeps/i386/fpu/libm-test-ulps: Update.
7681 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7682
b33d4ce4
SP
76832013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7684
7685 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
7686 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
7687
bef0b507
JM
76882013-03-20 Joseph Myers <joseph@codesourcery.com>
7689
7690 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
7691 * config.make.in (config-cflags-sse4): Remove variable.
7692 (config-cflags-avx): Likewise.
7693 (config-cflags-sse2avx): Likewise.
7694 (config-cflags-novzeroupper): Likewise.
7695 (config-asflags-i686): Likewise.
7696 (have-mfma4): Likewise.
7697 (have-as-vis3): Likewise.
7698 (MIG): Likewise.
7699 * configure.in (MIG): Do not AC_SUBST.
7700 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
7701 (libc_cv_cc_sse4): Do not AC_SUBST.
7702 (libc_cv_cc_avx): Likewise.
7703 (libc_cv_cc_sse2avx): Likewise.
7704 (libc_cv_cc_novzeroupper): Likewise.
7705 (libc_cv_cc_fma4): Likewise.
7706 (libc_cv_as_i686): Likewise.
7707 (libc_cv_sparc_as_vis3): Likewise.
7708 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
7709 LIBC_CONFIG_VAR.
7710 (config-asflags-i686): Likewise.
7711 (config-cflags-avx): Likewise.
7712 (config-cflags-sse2avx): Likewise.
7713 (have-mfma4): Likewise.
7714 (config-cflags-novzeroupper): Likewise.
7715 * sysdeps/mach/configure.in (MIG): Likewise.
7716 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
7717 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
7718 LIBC_CONFIG_VAR.
7719 (config-cflags-avx): Likewise.
7720 (config-cflags-sse2avx): Likewise.
7721 (have-mfma4): Likewise.
7722 (config-cflags-novzeroupper): Likewise.
7723 * configure: Regenerated.
7724 * sysdeps/i386/configure: Likewise.
7725 * sysdeps/mach/configure: Likewise.
7726 * sysdeps/sparc/configure: Likewise.
7727 * sysdeps/x86_64/configure: Likewise.
7728
912cc4b3
RM
77292013-03-20 Roland McGrath <roland@hack.frob.com>
7730
7731 [BZ #14812]
7732 * locale/programs/localedef.c (options): Put N_ translation marker
7733 on argument names, not just descriptions.
7734
04eed2b0
MS
77352013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7736
7737 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
7738
a065ceff
OB
77392013-03-20 Ondřej Bílka <neleai@seznam.cz>
7740
9bb2a810 7741 [BZ #14176]
a065ceff
OB
7742 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
7743
a600e5ce
RM
77442013-03-19 Roland McGrath <roland@hack.frob.com>
7745
7746 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
7747 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
7748 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
7749 [!BEFORE_ABORT] (before_abort): New function.
7750 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
7751 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
7752 (writev_for_fatal): New function.
7753 (WRITEV_FOR_FATAL): New macro; call that.
7754 (backtrace_and_maps): New function.
7755 (BEFORE_ABORT): New macro; call that.
7756 (struct str_list): Type removed.
7757 (__libc_message, __libc_fatal): Functions removed.
7758 Include <sysdeps/posix/libc_fatal.c> instead.
7759
6b18bea6
JM
77602013-03-19 Joseph Myers <joseph@codesourcery.com>
7761
7762 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
7763 constants.
7764 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
7765 double constants.
7766
aaa8cb4b
AS
77672013-03-19 Andreas Schwab <schwab@suse.de>
7768
44673770
AS
7769 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
7770 * sysdeps/gnu/configure: Regenerate.
7771
aaa8cb4b
AS
7772 * configure.in: Substitute libc_cv_rtlddir.
7773 * configure: Regenerate.
7774 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
7775 * Makeconfig (rtlddir, inst_rtlddir): New variables.
7776 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
7777 * elf/Makefile (install-others, CFLAGS-interp.c)
7778 (ldso_install, common-ldd-rewrite): Likewise.
7779 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
7780 $(inst_slibdir)/$(rtld-installed-name).
7781 * scripts/rellns-sh: Add -p option.
7782 * Makerules (make-shlib-link): Use rellns-sh to get relative name
7783 for source.
7784
d3cfc668
SP
77852013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7786
7787 * manual/nptl.texi: Renamed to ...
7788 * manual/threads.texi: ... this.
7789 * manual/Makefile (chapters): Update.
7790
0e2b9cdd
RM
77912013-03-18 Roland McGrath <roland@hack.frob.com>
7792
7793 [BZ #14812]
7794 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
7795 on argument names, not just descriptions.
0e2b9cdd
RM
7796 * malloc/memusagestat.c (options): Likewise.
7797 * nss/getent.c (options): Likewise.
63270c24
RM
7798
77992013-03-18 Benno Schulenberg <bensberg@justemail.net>
7800
7801 [BZ #14812]
7802 * iconv/iconv_prog.c (options): Put N_ translation marker
7803 on argument names, not just descriptions.
7804 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 7805
b2e1393c
OB
78062013-03-18 Ondrej Bilka <neleai@seznam.cz>
7807
7808 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
7809 implementation which is faster on all x86_64 architectures.
7810 Tested on AMD, Intel Nehalem, SNB, IVB.
7811 * sysdeps/x86_64/strnlen.S: Likewise.
7812
7813 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
7814 Remove all multiarch strlen and strnlen versions.
7815 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
7816 Remove strlen and strnlen related parts.
7817
7818 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
7819 Inline strlen part.
7820 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
7821
7822 * sysdeps/x86_64/multiarch/strlen.S: Remove.
7823 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
7824 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
7825 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
7826 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
7827 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
7828
ec4ff04d
CD
78292013-03-17 Carlos O'Donell <carlos@redhat.com>
7830
7831 * manual/memory.texi (Malloc Tunable Parameters):
7832 Sort parameters alphabetically. Add comments for missing entries.
7833
cd18e90a
DM
78342013-03-17 David S. Miller <davem@davemloft.net>
7835
7836 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7837
2a185d32
JM
78382013-03-16 Joseph Myers <joseph@codesourcery.com>
7839
d2f9799e
JM
7840 [BZ #15283]
7841 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
7842 for arguments at most half maximum finite value.
7843 * math/libm-test.inc (j0_test): Add more tests.
7844 (j1_test): Likewise.
7845 (y0_test): Likewise.
7846 (y1_test): Likewise.
7847 * sysdeps/i386/fpu/libm-test-ulps: Update.
7848 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7849
2a185d32
JM
7850 [BZ #14155]
7851 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
7852 1 / x and functions P and Q for arguments above 0x1p256L.
7853 (__ieee754_y0l): Likewise.
7854 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
7855 (__ieee754_y1l): Likewise.
7856 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
7857 (j1_test): Likewise.
7858 (y0_test): Likewise.
7859 (y1_test): Likewise.
7860
6cbec759
TS
78612013-03-16 Thomas Schwinge <thomas@codesourcery.com>
7862
7863 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
7864 variable.
7865
bc16e260
RM
78662013-03-15 Roland McGrath <roland@hack.frob.com>
7867
aefc9b8c
RM
7868 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
7869 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
7870 zero since it's initialized to EXEC_PAGESIZE.
7871
bc16e260
RM
7872 * sysdeps/unix/sysv/linux/ldsodefs.h
7873 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
7874 * sysdeps/generic/ldsodefs.h: ... here.
7875
a57da955
TS
78762013-03-15 Thomas Schwinge <thomas@codesourcery.com>
7877
af00a34d
TS
7878 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
7879
495ded2c
TS
7880 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
7881 math/test-snan.c.
7882 * math/test-snan.c: Renamed from
7883 sysdeps/powerpc/fpu/test-powerpc-snan.c.
7884 * math/Makefile (tests): Add test-snan.
7885 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
7886 test-powerpc-snan.
7887
777b0332
TS
7888 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
7889 SUFFIX. Initialize qNaN_var with __builtin_nan family of
7890 functions.
7891 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
7892 __builtin_nan family of functions.
7893 * math/libm-test.inc (initialize): Initialize qnan_value with
7894 __builtin_nan family of functions.
7895 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
7896 Remove variables.
7897 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
7898 Remove functions.
7899 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
7900 storage class. Initialize qNaN_var and sNaN_var with
7901 __builtin_nan and __builtin_nans families of functions,
7902 respectively.
7903
64d063b8
TS
7904 * math/libm-test.inc (acosh_test): Also test with qNaN input.
7905 (sqrt_test): Remove duplicate test with qNaN input.
7906 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
7907 (round_test, signbit_test, significand_test): Note missing +/-Inf
7908 as well as qNaN tests.
7909
67e971f1
TS
7910 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
7911 qNaN_var. Fix a few strings, too.
7912 * math/libm-test.inc (nan_value): Rename to qnan_value.
7913 * math/gen-libm-test.pl (%beautify): Adjust to that.
7914 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
7915 * math/test-misc.c (main): Likewise.
7916 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
7917 to __qnan_bytes, and __qnan_union, respectively.
7918 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
7919 Likewise.
7920 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
7921 and lqnanval, respectively.
7922 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
7923 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
7924 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
7925 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
7926
64487e12
TS
7927 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
7928 * math/test-misc.c (main) [__x86_64__]: Enable test for long
7929 doubles.
7930
e015e27b
TS
7931 * math/test-misc.c (main): Fix copy'n'pastos.
7932 * misc/tst-efgcvt.c (special): Likewise.
7933
a57da955
TS
7934 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
7935 Remove declarations.
7936
1e380345
SP
79372013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7938
7939 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
7940 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
7941 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
7942 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
7943
ef26eece
AZ
79442013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7945
7946 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
7947 macro to return vdso values correctly in IFUNC implementations.
7948 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
7949 Optimization by using IFUNC.
7950
8cfdb7e0
SP
79512013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7952 Richard Henderson <rth@redhat.com>
7953 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7954
7955 * Makefile.in (bench): New target.
7956 * NEWS: Mention the benchmark framework.
7957 * Rules (bench): Likewise.
7958 (binaries-bench): Generate binaries for functions to
7959 benchmark.
7960 * benchtests/Makefile: New makefile for benchmark tests.
7961 * benchtests/bench-skeleton.c: New skeleton file for benchmark
7962 programs.
7963 * benchtests/exp-inputs: New input file for EXP function.
7964 * benchtests/pow-inputs: New input file for POW function.
7965 * scripts/bench.pl: New script to generate source files for
7966 benchmark programs.
7967
bcda9880
SP
79682013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7969
d22ca8cd
SP
7970 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
7971 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
7972 computations on mantissa. Use macros for rounding and
7973 division.
7974 (denorm): Likewise.
7975 (__dbl_mp): Likewise.
7976 (add_magnitudes): Likewise.
7977 (sub_magnitudes): Likewise.
7978 (__mul): Likewise.
7979 (__sqr): Likewise.
7980 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
7981 powers of two in terms of TWOPOW macro.
7982 (mp_no): Make type of mantissa as MANTISSA_T.
7983 [!RADIXI]: Define RADIXI.
7984 [!TWO52]: Define TWO52.
7985 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
7986
bcda9880
SP
7987 * manual/nptl.texi (cindex): Modify threads to pthreads.
7988
06d5adfb
JM
79892013-03-15 Joseph Myers <joseph@codesourcery.com>
7990
7991 * sysdeps/x86_64/preconfigure: Regenerated.
7992
41c7328e
JM
79932013-03-14 Joseph Myers <joseph@codesourcery.com>
7994
7995 [BZ #14155]
7996 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
7997 0x1p28 and above.
7998 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
7999 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
8000 0x1p28 and above.
8001 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
8002 * math/libm-test.inc (j0_test): Do not allow one spurious
8003 underflow exception.
8004 (y1_test): Likewise.
8005
e25cfa60
SP
80062013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8007
0409959c
SP
8008 * manual/Makefile (chapters): Add nptl.
8009 * manual/debug.texi (Debugging Support): Add link to Threads
8010 chapter.
8011 * manual/nptl.texi: New file.
8012
e25cfa60
SP
8013 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
8014
58a1335e
PB
80152013-03-14 Petr Baudis <pasky@ucw.cz>
8016
8017 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
8018 for non-NULL pointer before the memory validity test. Pointed
8019 out by Holger Brunck <holger.brunck@keymile.com>.
8020
9dc7c64f
AS
80212013-03-13 Andreas Schwab <schwab@suse.de>
8022
8023 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
8024 instead of .os.
8025
54206aa6
JM
80262013-03-13 Joseph Myers <joseph@codesourcery.com>
8027
8028 * timezone/zic.c: Update from tzcode 2013b.
8029
e98cdb38
CD
80302013-03-12 Carlos O'Donell <carlos@redhat.com>
8031
8032 * manual/install.texi (Configuring and compiling):
8033 Mention i686 and i586.
8034 * INSTALL: Regenerate.
8035
9967e003
RM
80362013-03-12 Roland McGrath <roland@hack.frob.com>
8037
8038 * sysdeps/init_array/elf-init.c: New file.
8039 * csu/elf-init.c
8040 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
8041 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
8042
8043 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
8044 __gmon_start__ as global, but as static with a .preinit_array pointer.
8045 * sysdeps/init_array/gmon-start.c: New file. Use that.
8046 * sysdeps/init_array/crti.S: New file, empty except for comments.
8047 * sysdeps/init_array/crtn.S: Likewise.
8048
e6b5a293 80492013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
8050
8051 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
8052 definining bcopy.
80f844c9
OB
8053 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8054 Remove Prefer_SSE_for_memop.
8055 * sysdeps/x86_64/multiarch/init-arch.h: Remove
8056 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
8057 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
8058 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
8059 memset-x86-64.
80f844c9 8060 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 8061 Remove bzero, memset ifunc support.
80f844c9
OB
8062 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
8063 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
8064 * sysdeps/x86_64/multiarch/memset.S: Likewise.
8065 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8066
fb6b0fcb
AS
80672013-03-11 Andreas Schwab <schwab@suse.de>
8068
8069 [BZ #15234]
8070 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
8071 by SHLIB_COMPAT.
8072 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
8073 (GLIBC_2.16): Remove pthread_atfork.
8074
3e6bd4b1
PP
80752013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
8076
8077 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
8078 (ptestcases.h): Likewise.
8079
222d7f00
RM
80802013-03-08 Roland McGrath <roland@hack.frob.com>
8081
8082 * Makeconfig ($(common-objpfx)config.status): Depend on
8083 sysdeps/*/preconfigure{,.in} too.
8084
1ba4f030
JM
80852013-03-08 Joseph Myers <joseph@codesourcery.com>
8086
a222d91a
JM
8087 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
8088 (__free_hook): Use void * instead of __malloc_ptr_t.
8089 (__malloc_hook): Likewise.
8090 (__realloc_hook): Likewise.
8091 (__memalign_hook): Likewise.
8092 (__after_morecore_hook): Likewise.
8093 * malloc/arena.c (save_malloc_hook): Likewise.
8094 (save_free_hook): Likewise.
8095 * malloc/hooks.c (malloc_hook_ini): Likewise.
8096 (realloc_hook_ini): Likewise.
8097 (memalign_hook_ini): Likewise.
8098 * malloc/malloc.c (malloc_hook_ini): Likewise.
8099 (realloc_hook_ini): Likewise.
8100 (memalign_hook_ini): Likewise.
8101 (__free_hook): Likewise.
8102 (__malloc_hook): Likewise.
8103 (__realloc_hook): Likewise.
8104 (__memalign_hook): Likewise.
8105 (__libc_malloc): Likewise.
8106 (__libc_free): Likewise.
8107 (__libc_realloc): Likewise.
8108 (__libc_memalign): Likewise.
8109 (__libc_valloc): Likewise.
8110 (__libc_pvalloc): Likewise.
8111 (__libc_calloc): Likewise.
8112 (__posix_memalign): Likewise.
8113 * malloc/morecore.c (__sbrk): Likewise.
8114 (__default_morecore): Likewise.
8115
5cc45e10
JM
8116 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
8117
dd54b864
JM
8118 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
8119 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
8120 __malloc_ptrdiff_t.
8121
1ba4f030
JM
8122 * malloc/malloc.h (__malloc_size_t): Remove macro.
8123 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
8124 __malloc_size_t.
8125 (old_memalign_hook): Likewise.
8126 (old_realloc_hook): Likewise.
8127 (struct hdr): Likewise.
8128 (flood): Likewise.
8129 (mallochook): Likewise.
8130 (memalignhook): Likewise.
8131 (reallochook): Likewise.
8132 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
8133 (tr_old_realloc_hook): Likewise.
8134 (tr_old_memalign_hook): Likewise.
8135 (tr_mallochook): Likewise.
8136 (tr_reallochook): Likewise.
8137 (tr_memalignhook): Likewise.
8138
edf66e57
AZ
81392013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8140
8141 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
8142 default_ldbl_pack and using as default implementation.
8143 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
8144 implementation.
8145 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
8146 redundant definition.
8147 (ldbl_insert_mantissa): Likewise.
8148 (ldbl_canonicalize): Likewise.
8149 (ldbl_nearbyint): Likewise.
8150 (ldbl_pack): Rename to ldbl_pack_ppc.
8151 (ldbl_unpack): Rename to ldbl_unpack_ppc.
8152 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
8153 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
8154
6d9145d8
SP
81552013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8156
8157 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
8158 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
8159 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
8160 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
8161 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
8162 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
8163 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
8164 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
8165
4dd4e157
AJ
81662013-03-07 Andreas Jaeger <aj@suse.de>
8167
8168 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8169 bits/mman-linux.h.
8170
adbb8027
SP
81712013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
8172
ce544b5b
SP
8173 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
8174 Include mpa.h and declare __MPEXP.
8175 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
8176 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
8177 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
8178 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
8179 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
8180 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
8181 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
8182
4cc149fd
SP
8183 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
8184 (__slowpow): Use long double EXPL and LOGL functions to
8185 compute POW.
8186 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
8187 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
8188 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
8189 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
8190 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
8191 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
8192
e6ebd4a7
SP
8193 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
8194 intermediate variable to calculate exponent.
8195 (__sqr): Likewise.
8196 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
8197 Likewise.
8198 (__sqr): Likewise.
8199
82a9811d
SP
8200 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
8201 [!NO__SQR]: Define __sqr.
8202 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
8203 and NO__SQR. Remove all code except __mul and __sqr. Include
8204 sysdeps/ieee754/dbl-64/mpa.c.
8205 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8206
adbb8027
SP
8207 [BZ #12723]
8208 * posix/Makefile (tests): Add tst-pathconf.
8209 * posix/tst-pathconf.c: New test case.
8210 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
8211 _PC_PIPE_BUF.
8212 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
8213
39120df9
PF
82142013-03-06 Patsy Franklin <pfrankli@redhat.com>
8215
8216 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
8217
67525cb8
AJ
82182013-03-06 Andreas Jaeger <aj@suse.de>
8219
664a9ce4
AJ
8220 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
8221 definition via __MAP_ANONYMOUS.
8222
8e39047d
AJ
8223 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
8224 it's not part of Linux headers.
8225
67525cb8
AJ
8226 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
8227 (MAP_HUGE_MASK): Define.
8228
8229 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
8230 Define.
8231 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8232 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
8233 Define.
8234 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8235 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
8236 Define.
8237 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8238 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
8239 Define.
8240 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8241
8242 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
8243 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
8244 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
8245 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
8246 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
8247 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
8248
8249 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
8250 Handle f2fs.
8251
8252 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8253 Handle f2fs and efivarfs.
8254
8255 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
8256 f2fs.
8257
8258 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
8259 (EFIVARFS_MAGIC): Add.
8260 (F2FS_LINK_MAX): Add.
8261
e1b42695
PP
82622013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8263
8264 * stdio-common/vfprintf.c: Replace __builtin_expect with
8265 __glibc_unlikely.
8266
2d67d91a
JM
82672013-03-06 Joseph Myers <joseph@codesourcery.com>
8268
8269 [BZ #13550]
8270 * sysdeps/generic/bp-sym.h: Remove file.
8271 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
8272 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
8273 <bp-sym.h> and <bp-asm.h>.
8274 (__longjmp): Don't use BP_SYM.
8275 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
8276 and <bp-asm.h>.
8277 (memcpy): Don't use BP_SYM.
8278 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
8279 <bp-sym.h> and <bp-asm.h>.
8280 (memcpy): Don't use BP_SYM.
8281 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
8282 <bp-asm.h>.
8283 (memcpy): Don't use BP_SYM.
8284 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
8285 <bp-asm.h>.
8286 (memset): Don't use BP_SYM.
8287 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8288 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8289 (__bzero): Don't use BP_SYM.
8290 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8291 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8292 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
8293 <bp-sym.h> and <bp-asm.h>.
8294 (memcmp): Don't use BP_SYM. Remove comment about bounded
8295 pointers.
8296 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
8297 <bp-sym.h> and <bp-asm.h>.
8298 (memcpy): Don't use BP_SYM.
8299 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
8300 <bp-sym.h> and <bp-asm.h>.
8301 (memset): Don't use BP_SYM.
8302 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8303 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8304 (__bzero): Don't use BP_SYM.
8305 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8306 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8307 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
8308 <bp-sym.h> and <bp-asm.h>.
8309 (strncmp): Don't use BP_SYM. Remove comment about bounded
8310 pointers.
8311 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
8312 <bp-sym.h> and <bp-asm.h>.
8313 (memcpy): Don't use BP_SYM.
8314 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
8315 <bp-sym.h> and <bp-asm.h>.
8316 (memset): Don't use BP_SYM.
8317 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8318 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8319 (__bzero): Don't use BP_SYM.
8320 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8321 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8322 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
8323 <bp-sym.h> and <bp-asm.h>.
8324 (__memchr): Don't use BP_SYM.
8325 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
8326 <bp-sym.h> and <bp-asm.h>.
8327 (memcmp): Don't use BP_SYM. Remove comment about bounded
8328 pointers.
8329 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
8330 <bp-sym.h> and <bp-asm.h>.
8331 (memcpy): Don't use BP_SYM.
8332 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
8333 <bp-sym.h> and <bp-asm.h>.
8334 (__mempcpy): Don't use BP_SYM.
8335 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
8336 <bp-sym.h> and <bp-asm.h>.
8337 (__memrchr): Don't use BP_SYM.
8338 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
8339 <bp-sym.h> and <bp-asm.h>.
8340 (memset): Don't use BP_SYM.
8341 (__bzero): Likewise.
8342 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
8343 <bp-sym.h> and <bp-asm.h>.
8344 (__rawmemchr): Don't use BP_SYM.
8345 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
8346 <bp-sym.h> and <bp-asm.h>.
8347 (__STRCMP): Don't use BP_SYM.
8348 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
8349 <bp-sym.h> and <bp-asm.h>.
8350 (strchr): Don't use BP_SYM.
8351 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
8352 <bp-sym.h> and <bp-asm.h>.
8353 (__strchrnul): Don't use BP_SYM.
8354 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
8355 <bp-sym.h> and <bp-asm.h>.
8356 (strlen): Don't use BP_SYM.
8357 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
8358 <bp-sym.h> and <bp-asm.h>.
8359 (strncmp): Don't use BP_SYM. Remove comment about bounded
8360 pointers.
8361 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
8362 <bp-sym.h> and <bp-asm.h>.
8363 (__strnlen): Don't use BP_SYM.
8364 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
8365 <bp-sym.h> and <bp-asm.h>.
8366 (__GI__setjmp): Don't use BP_SYM.
8367 (_setjmp): Likewise.
8368 (__sigsetjmp): Likewise.
8369 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
8370 (L(start_addresses)): Don't use BP_SYM.
8371 (_start): Likewise.
8372 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
8373 <bp-asm.h>.
8374 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
8375 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
8376 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8377 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8378 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
8379 <bp-asm.h>.
8380 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
8381 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
8382 about bounded pointers.
8383 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
8384 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8385 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
8386 <bp-asm.h>.
8387 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
8388 about bounded pointers. Remove GKM FIXME comments.
8389 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
8390 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
8391 <bp-asm.h>.
8392 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
8393 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
8394 Remove GKM FIXME comments.
8395 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8396 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8397 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
8398 <bp-asm.h>.
8399 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
8400 about bounded pointers. Remove GKM FIXME comment.
8401 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
8402 and <bp-asm.h>.
8403 (strncmp): Don't use BP_SYM. Remove comment about bounded
8404 pointers.
8405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
8406 <bp-sym.h> and <bp-asm.h>.
8407 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
8408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
8409 <bp-sym.h> and <bp-asm.h>.
8410 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
8411 comment.
8412
cdcf361f
PP
84132013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8414
8415 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
8416 call free(NULL).
8417
3c4a2b15
DM
84182013-03-05 David S. Miller <davem@davemloft.net>
8419
8420 * po/es.po: Update from translation team.
8421
cdcf361f 84222013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
8423
8424 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
8425 <bits/mman-linux.h>.
8426 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8427 is fine.
8428 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
8429 <bits/mman-linux.h> to end of file.
8430 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8431 is fine.
8432 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
8433 <bits/mman-linux.h> to end of file.
8434 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8435 is fine.
8436 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
8437 <bits/mman-linux.h> to end of file.
8438
8439 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
8440 (MCL_CURRENT, MCL_FUTURE): Define here.
8441
5f67c04f
AK
84422013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8443
8a4473cc 8444 [BZ #15232]
5f67c04f
AK
8445 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
8446 attribute_hidden.
8447 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8448
c3e94a95
AK
84492013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8450
8451 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
8452 fourth parameter needed for rt_sigprocmask syscall.
8453 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
8454 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
8455 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
8456 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
8457 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
8458 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
8459
cfb6382a
JM
84602013-03-04 Joseph Myers <joseph@codesourcery.com>
8461
8462 [BZ #13550]
8463 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
8464 comment about bounded pointers.
8465 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
8466 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
8467
539d8e01
AJ
84682013-03-04 Andreas Jaeger <aj@suse.de>
8469
8470 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
8471 common definitions.
8472
8473 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
8474 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
8475 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
8476 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8477 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
8478 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8479
2e167a70 84802013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
8481
8482 [BZ #15055]
8483 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
8484 __ieee754_sqrl instead of __sqrl.
8485
68508633
JM
84862013-03-01 Joseph Myers <joseph@codesourcery.com>
8487
8488 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
8489 * sysdeps/powerpc/fpu_control.h: ... here.
8490 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
8491 * sysdeps/powerpc/bits/fenvinline.h: ... here.
8492 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
8493 * sysdeps/powerpc/bits/mathinline.h: ... here.
8494
7775448e
RM
84952013-03-01 Roland McGrath <roland@hack.frob.com>
8496
8497 * elf/dl-hwcaps.c (_dl_important_hwcaps):
8498 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
8499 to just [NEED_DL_SYSINFO_DSO].
8500 * elf/dl-support.c: Likewise.
8501 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
8502 * elf/rtld.c (dl_main): Likewise.
8503 * elf/setup-vdso.h (setup_vdso): Likewise.
8504 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
8505 * sysdeps/unix/sysv/linux/dl-sysdep.c
8506 (_dl_discover_osversion): Likewise.
8507
4e9b5995
CD
85082013-03-01 Carlos O'Donell <carlos@redhat.com>
8509
8510 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
8511 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
8512
e23872c8
SP
85132013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
8514
e5c74c63
SP
8515 * NEWS: Mention libm performance improvements and non-x86 PI
8516 futex support.
8517
e23872c8
SP
8518 * csu/libc-start.c (__pthread_initialize_minimal): Change
8519 function arguments.
8520 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
8521
b5510883
JM
85222013-02-28 Joseph Myers <joseph@codesourcery.com>
8523
8524 [BZ #13550]
8525 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
8526 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
8527 <bp-sym.h> and <bp-asm.h>.
8528 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8529 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
8530 and <bp-asm.h>.
8531 (memcpy): Don't use BP_SYM.
8532 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
8533 <bp-asm.h>.
8534 (__mpn_add_n): Don't use BP_SYM.
8535 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
8536 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
8537 and <bp-asm.h>.
8538 (__mpn_addmul_1): Don't use BP_SYM.
8539 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8540 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
8541 <bp-sym.h>.
8542 (_setjmp): Don't use BP_SYM.
8543 (__novmx_setjmp): Likewise.
8544 (__GI__setjmp): Likewise.
8545 (__vmx_setjmp): Likewise.
8546 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
8547 <bp-sym.h>.
8548 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
8549 (__bzero): Don't use BP_SYM.
8550 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8551 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8552 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
8553 <bp-sym.h> and <bp-asm.h>.
8554 (memcpy): Don't use BP_SYM.
8555 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
8556 <bp-sym.h> and <bp-asm.h>.
8557 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8558 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
8559 <bp-sym.h> and <bp-asm.h>.
8560 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8561 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
8562 <bp-asm.h>.
8563 (__mpn_lshift): Don't use BP_SYM.
8564 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8565 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
8566 <bp-asm.h>.
8567 (memset): Don't use BP_SYM.
8568 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8569 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8570 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
8571 <bp-asm.h>.
8572 (__mpn_mul_1): Don't use BP_SYM.
8573 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8574 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
8575 <bp-sym.h> and <bp-asm.h>.
8576 (memcmp): Don't use BP_SYM.
8577 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
8578 <bp-sym.h> and <bp-asm.h>.
8579 (memcpy): Don't use BP_SYM.
8580 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
8581 <bp-sym.h> and <bp-asm.h>.
8582 (memset): Don't use BP_SYM.
8583 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
8584 <bp-sym.h> and <bp-asm.h>.
8585 (strncmp): Don't use BP_SYM.
8586 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
8587 <bp-sym.h> and <bp-asm.h>.
8588 (memcpy): Don't use BP_SYM.
8589 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
8590 <bp-sym.h> and <bp-asm.h>.
8591 (memset): Don't use BP_SYM.
8592 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
8593 <bp-sym.h> and <bp-asm.h>.
8594 (__memchr): Don't use BP_SYM.
8595 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
8596 <bp-sym.h> and <bp-asm.h>.
8597 (memcmp): Don't use BP_SYM.
8598 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
8599 <bp-sym.h> and <bp-asm.h>.
8600 (memcpy): Don't use BP_SYM.
8601 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
8602 <bp-sym.h> and <bp-asm.h>.
8603 (__mempcpy): Don't use BP_SYM.
8604 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
8605 <bp-sym.h> and <bp-asm.h>.
8606 (__memrchr): Don't use BP_SYM.
8607 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
8608 <bp-sym.h> and <bp-asm.h>.
8609 (memset): Don't use BP_SYM.
8610 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
8611 <bp-sym.h> and <bp-asm.h>.
8612 (__rawmemchr): Don't use BP_SYM.
8613 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
8614 <bp-sym.h> and <bp-asm.h>.
8615 (__STRCMP): Don't use BP_SYM.
8616 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
8617 <bp-sym.h> and <bp-asm.h>.
8618 (strchr): Don't use BP_SYM.
8619 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
8620 <bp-sym.h> and <bp-asm.h>.
8621 (__strchrnul): Don't use BP_SYM.
8622 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
8623 <bp-sym.h> and <bp-asm.h>.
8624 (strlen): Don't use BP_SYM.
8625 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
8626 <bp-sym.h> and <bp-asm.h>.
8627 (strncmp): Don't use BP_SYM.
8628 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
8629 <bp-sym.h> and <bp-asm.h>.
8630 (__strnlen): Don't use BP_SYM.
8631 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
8632 <bp-asm.h>.
8633 (__mpn_rshift): Don't use BP_SYM.
8634 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8635 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
8636 <bp-sym.h> and <bp-asm.h>.
8637 (__sigsetjmp): Don't use BP_SYM.
8638 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
8639 (L(start_addresses)): Don't use BP_SYM.
8640 (_start): Likewise.
8641 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
8642 <bp-asm.h>.
8643 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
8644 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8645 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8646 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
8647 <bp-asm.h>.
8648 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
8649 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
8650 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8651 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
8652 <bp-asm.h>.
8653 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
8654 comments.
8655 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
8656 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
8657 <bp-asm.h>.
8658 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
8659 FIXME comments.
8660 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8661 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8662 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
8663 <bp-asm.h>.
8664 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
8665 comment.
8666 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
8667 and <bp-asm.h>.
8668 (strncmp): Don't use BP_SYM,
8669 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
8670 <bp-asm.h>.
8671 (__mpn_sub_n): Don't use BP_SYM.
8672 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8673 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
8674 and <bp-asm.h>.
8675 (__mpn_submul_1): Don't use BP_SYM.
8676 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
8678 <bp-sym.h> and <bp-asm.h>.
8679 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
8680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
8681 <bp-sym.h> and <bp-asm.h>.
8682 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
8683 comment.
8684
8d19fe64
SP
86852013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8686
8687 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
8688 Use ZK to minimize writes to Z.
8689 (sub_magnitudes): Simplify code a bit.
8690 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
8691 Use ZK to minimize writes to Z.
8692 (sub_magnitudes): Simplify code a bit.
8693
85bd816a
RM
86942013-02-27 Roland McGrath <roland@hack.frob.com>
8695
8696 * csu/gmon-start.c: Add special exception to license text.
8697
b5977bf2
RH
86982013-02-27 Richard Henderson <rth@redhat.com>
8699
8700 * scripts/config.guess: Update from config.git.
8701 * scripts/config.sub: Likewise.
8702
11d6e2f2
SP
87032013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8704
09c14ed2
SP
8705 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
8706
a688864e
SP
8707 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
8708
6295157a
SP
8709 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
8710
b8de2202
SP
8711 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
8712
11d6e2f2
SP
8713 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
8714
7e80ddb8
RM
87152013-02-26 Roland McGrath <roland@hack.frob.com>
8716
8717 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
8718 [$(build-shared = yes].
7e80ddb8 8719
7da6d9ed
SP
87202013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8721
45f05884
SP
8722 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
8723 (__mul): Reduce iterations for calculating mantissa.
8724
2236d359
SP
8725 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
8726 MPTWO.
8727 (__mpranred): Likewise.
8728
7da6d9ed
SP
8729 [BZ #15160]
8730 * malloc/memusagestat.c (main): Draw graphs for heap and stack
8731 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
8732
b7688c42
PE
87332013-02-26 Paul Eggert <eggert@cs.ucla.edu>
8734
8735 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
8736 Define __attribute__.
8737
53a5c423
SP
87382013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8739
8740 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
8741 unused.
8742 * posix/regex_internal.h (__attribute): Remove.
8743 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
8744 (re_string_context_at): Likewise.
8745 (bitset_not): Use __attribute__ and mark function as possibly
8746 unused.
8747 (bitset_merge): Likewise.
8748 (bitset_mask): Likewise.
8749 (re_string_char_size_at): Likewise.
8750 (re_string_wchar_at): Likewise.
8751 (re_string_elem_size_at): Likewise.
8752
60f5a8b5
SP
87532013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8754
2a983a2e
SP
8755 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
8756 code.
8757 (cc32): Likewise.
8758
e69804d1
SP
8759 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
8760 (__acr): Likewise.
8761 (__cpy): Likewise.
8762 (norm): Likewise.
8763 (denorm): Likewise.
8764 (__dbl_mp): Likewise.
8765 (add_magnitudes): Likewise.
8766 (sub_magnitudes): Likewise.
8767 (__mul): Likewise.
8768 (__inv): Likewise.
8769
2f22a1e8
SP
8770 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
8771 style.
8772
8930ddc7
SP
8773 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
8774 style.
8775
dc60cb11
SP
8776 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
8777 code.
8778
60f5a8b5
SP
8779 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
8780 up changes with default code.
8781 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
8782 Likewise.
8783
b4d1fd33
AM
87842013-02-24 Allan McRae <allan@archlinux.org>
8785
faf6f8bc
AM
8786 * manual/socket.texi (The Internet Namespace): Order menu items
8787 to match that in the file.
8788
b4d1fd33
AM
8789 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
8790 node listing of the info page menu.
8791
2366713d
JM
87922013-02-21 Joseph Myers <joseph@codesourcery.com>
8793
8794 [BZ #13550]
8795 * sysdeps/i386/bp-asm.h: Remove file.
8796 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
8797 (PARMS): Do not use macros from bp-asm.h.
8798 (S1): Likewise.
8799 (S2): Likewise.
8800 (SIZE): Likewise.
8801 (__mpn_add_n): Do not use BP_SYM
8802 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
8803 "bp-asm.h".
8804 (PARMS): Do not use macros from bp-asm.h.
8805 (S1): Likewise.
8806 (SIZE): Likewise.
8807 (__mpn_addmul_1): Do not use BP_SYM
8808 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
8809 "bp-asm.h".
8810 (PARMS): Do not use macros from bp-asm.h.
8811 (SIGMSK): Likewise.
8812 (_setjmp): Likewise. Do not use BP_SYM.
8813 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
8814 "bp-asm.h".
8815 (PARMS): Do not use macros from bp-asm.h.
8816 (SIGMSK): Likewise.
8817 (setjmp): Likewise. Do not use BP_SYM.
8818 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
8819 "bp-asm.h".
8820 (PARMS): Do not use macros from bp-asm.h.
8821 (__frexp): Do not use BP_SYM.
8822 (frexp): Likewise.
8823 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
8824 "bp-asm.h".
8825 (PARMS): Do not use macros from bp-asm.h.
8826 (__frexpf): Do not use BP_SYM.
8827 (frexpf): Likewise.
8828 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
8829 "bp-asm.h".
8830 (PARMS): Do not use macros from bp-asm.h.
8831 (__frexpl): Do not use BP_SYM.
8832 (frexpl): Likewise.
8833 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
8834 "bp-asm.h".
8835 (PARMS): Do not use macros from bp-asm.h.
8836 (__remquo): Do not use BP_SYM.
8837 (remquo): Likewise.
8838 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
8839 "bp-asm.h".
8840 (PARMS): Do not use macros from bp-asm.h.
8841 (__remquof): Do not use BP_SYM.
8842 (remquof): Likewise.
8843 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
8844 "bp-asm.h".
8845 (PARMS): Do not use macros from bp-asm.h.
8846 (__remquol): Do not use BP_SYM.
8847 (remquol): Likewise.
8848 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
8849 "bp-asm.h".
8850 (PARMS): Do not use macros from bp-asm.h.
8851 (DEST): Likewise.
8852 (SRC): Likewise.
8853 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
8854 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
8855 "bp-asm.h".
8856 (PARMS): Do not use macros from bp-asm.h.
8857 (strlen): Do not use BP_SYM.
8858 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
8859 "bp-asm.h".
8860 (PARMS): Do not use macros from bp-asm.h.
8861 (S1): Likewise.
8862 (S2): Likewise.
8863 (SIZE): Likewise.
8864 (__mpn_add_n): Do not use BP_SYM.
8865 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
8866 "bp-asm.h".
8867 (PARMS): Do not use macros from bp-asm.h.
8868 (S1): Likewise.
8869 (SIZE): Likewise.
8870 (__mpn_addmul_1): Do not use BP_SYM.
8871 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
8872 weak_alias.
8873 (bzero): Likewise.
8874 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
8875 "bp-asm.h".
8876 (PARMS): Do not use macros from bp-asm.h.
8877 (S): Likewise.
8878 (SIZE): Likewise.
8879 (__mpn_lshift): Do not use BP_SYM.
8880 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
8881 "bp-asm.h".
8882 (PARMS): Do not use macros from bp-asm.h.
8883 (DEST): Likewise.
8884 (SRC): Likewise.
8885 (LEN): Likewise.
8886 (memcpy): Likewise. Do not use BP_SYM.
8887 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
8888 libc_hidden_def and weak_alias.
8889 (mempcpy): Do not use BP_SYM in weak_alias.
8890 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
8891 "bp-asm.h".
8892 (PARMS): Do not use macros from bp-asm.h.
8893 (DEST): Likewise.
8894 (LEN): Likewise.
8895 [!BZERO_P] (CHR): Likewise.
8896 (memset): Likewise. Do not use BP_SYM.
8897 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
8898 "bp-asm.h".
8899 (PARMS): Do not use macros from bp-asm.h.
8900 (S1): Likewise.
8901 (SIZE): Likewise.
8902 (__mpn_mul_1): Do not use BP_SYM.
8903 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
8904 "bp-asm.h".
8905 (PARMS): Do not use macros from bp-asm.h.
8906 (S): Likewise.
8907 (SIZE): Likewise.
8908 (__mpn_rshift): Do not use BP_SYM.
8909 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
8910 "bp-asm.h".
8911 (PARMS): Do not use macros from bp-asm.h.
8912 (STR): Likewise.
8913 (CHR): Likewise.
8914 (strchr): Likewise. Do not use BP_SYM.
8915 (index): Do not use BP_SYM in weak_alias.
8916 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
8917 "bp-asm.h".
8918 (PARMS): Do not use macros from bp-asm.h.
8919 (DEST): Likewise.
8920 (SRC): Likewise.
8921 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
8922 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
8923 "bp-asm.h".
8924 (PARMS): Do not use macros from bp-asm.h.
8925 (strlen): Do not use BP_SYM.
8926 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
8927 "bp-asm.h".
8928 (PARMS): Do not use macros from bp-asm.h.
8929 (S1): Likewise.
8930 (S2): Likewise.
8931 (SIZE): Likewise.
8932 (__mpn_sub_n): Do not use BP_SYM.
8933 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
8934 "bp-asm.h".
8935 (PARMS): Do not use macros from bp-asm.h.
8936 (S1): Likewise.
8937 (SIZE): Likewise.
8938 (__mpn_submul_1): Do not use BP_SYM.
8939 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
8940 "bp-asm.h".
8941 (PARMS): Do not use macros from bp-asm.h.
8942 (S1): Likewise.
8943 (S2): Likewise.
8944 (SIZE): Likewise.
8945 (__mpn_add_n): Do not use BP_SYM.
8946 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
8947 weak_alias.
8948 (bzero): Likewise.
8949 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
8950 "bp-asm.h".
8951 (PARMS): Do not use macros from bp-asm.h.
8952 (BLK2): Likewise.
8953 (LEN): Likewise.
8954 (memcmp): Do not use BP_SYM.
8955 (bcmp): Do not use BP_SYM in weak_alias.
8956 * sysdeps/i386/i686/memcpy.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 (memcpy): Likewise. Do not use BP_SYM.
8963 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
8964 "bp-asm.h".
8965 (PARMS): Do not use macros from bp-asm.h.
8966 (DEST): Likewise.
8967 (SRC): Likewise.
8968 (LEN): Likewise.
8969 (memmove): Likewise. Do not use BP_SYM.
8970 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
8971 "bp-asm.h".
8972 (PARMS): Do not use macros from bp-asm.h.
8973 (DEST): Likewise.
8974 (SRC): Likewise.
8975 (LEN): Likewise.
8976 (__mempcpy): Likewise. Do not use BP_SYM.
8977 (mempcpy): Do not use BP_SYM in weak_alias.
8978 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
8979 "bp-asm.h".
8980 (PARMS): Do not use macros from bp-asm.h.
8981 (DEST): Likewise.
8982 (LEN): Likewise.
8983 [!BZERO_P] (CHR): Likewise.
8984 (memset): Likewise. Do not use BP_SYM.
8985 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
8986 "bp-asm.h".
8987 (PARMS): Do not use macros from bp-asm.h.
8988 (STR2): Likewise.
8989 (strcmp): Do not use BP_SYM.
8990 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
8991 "bp-asm.h".
8992 (PARMS): Do not use macros from bp-asm.h.
8993 (STR): Likewise.
8994 (DELIM): Likewise.
8995 [USE_AS_STRTOK_R] (SAVE): Likewise.
8996 (FUNCTION): Likewise. Do not use BP_SYM.
8997 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
8998 aliases.
8999 (strtok_r): Likewise.
9000 (__GI___strtok_r): Likewise.
9001 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
9002 (PARMS): Do not use macros from bp-asm.h.
9003 (S): Likewise.
9004 (SIZE): Likewise.
9005 (__mpn_lshift): Do not use BP_SYM.
9006 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
9007 (PARMS): Do not use macros from bp-asm.h.
9008 (STR): Likewise.
9009 (CHR): Likewise.
9010 (__memchr): Do not use BP_SYM.
9011 (memchr): Do not use BP_SYM in weak_alias.
9012 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
9013 (PARMS): Do not use macros from bp-asm.h.
9014 (BLK2): Likewise.
9015 (LEN): Likewise.
9016 (memcmp): Do not use BP_SYM.
9017 (bcmp): Do not use BP_SYM in weak_alias.
9018 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
9019 (PARMS): Do not use macros from bp-asm.h.
9020 (S1): Likewise.
9021 (SIZE): Likewise.
9022 (__mpn_mul_1): Do not use BP_SYM.
9023 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
9024 "bp-asm.h".
9025 (PARMS): Do not use macros from bp-asm.h.
9026 (STR): Likewise.
9027 (CHR): Likewise.
9028 (__rawmemchr): Do not use BP_SYM.
9029 (rawmemchr): Do not use BP_SYM in weak_alias.
9030 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
9031 (PARMS): Do not use macros from bp-asm.h.
9032 (S): Likewise.
9033 (SIZE): Likewise.
9034 (__mpn_rshift): Do not use BP_SYM.
9035 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
9036 (PARMS): Do not use macros from bp-asm.h.
9037 (SIGMSK): Likewise.
9038 (__sigsetjmp): Likewise. Do not use BP_SYM.
9039 * sysdeps/i386/start.S: Do not include "bp-sym.h".
9040 (_start): Do not use BP_SYM.
9041 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
9042 (PARMS): Do not use macros from bp-asm.h.
9043 (DEST): Likewise.
9044 (SRC): Likewise.
9045 (__stpcpy): Likewise. Do not use BP_SYM.
9046 (stpcpy): Do not use BP_SYM in weak_alias.
9047 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
9048 "bp-asm.h".
9049 (PARMS): Do not use macros from bp-asm.h.
9050 (DEST): Likewise.
9051 (SRC): Likewise.
9052 (LEN): Likewise.
9053 (__stpncpy): Likewise. Do not use BP_SYM.
9054 (stpncpy): Do not use BP_SYM in weak_alias.
9055 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
9056 (PARMS): Do not use macros from bp-asm.h.
9057 (STR): Likewise.
9058 (CHR): Likewise.
9059 (strchr): Likewise. Do not use BP_SYM.
9060 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
9061 "bp-asm.h".
9062 (PARMS): Do not use macros from bp-asm.h.
9063 (STR): Likewise.
9064 (CHR): Likewise.
9065 (__strchrnul): Likewise. Do not use BP_SYM.
9066 (strchrnul): Do not use BP_SYM in weak_alias.
9067 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
9068 "bp-asm.h".
9069 (PARMS): Do not use macros from bp-asm.h.
9070 (STOP): Likewise.
9071 (strcspn): Do not use BP_SYM.
9072 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
9073 "bp-asm.h".
9074 (PARMS): Do not use macros from bp-asm.h.
9075 (STR): Likewise.
9076 (STOP): Likewise.
9077 (strpbrk): Likewise. Do not use BP_SYM.
9078 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
9079 "bp-asm.h".
9080 (PARMS): Do not use macros from bp-asm.h.
9081 (STR): Likewise.
9082 (CHR): Likewise.
9083 (strrchr): Likewise. Do not use BP_SYM.
9084 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
9085 (PARMS): Do not use macros from bp-asm.h.
9086 (SKIP): Likewise.
9087 (strspn): Do not use BP_SYM.
9088 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
9089 (PARMS): Do not use macros from bp-asm.h.
9090 (STR): Likewise.
9091 (DELIM): Likewise.
9092 (SAVE): Likewise.
9093 (FUNCTION): Likewise. Do not use BP_SYM.
9094 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
9095 aliases.
9096 (strtok_r): Likewise.
9097 (__GI___strtok_r): Likewise.
9098 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
9099 (PARMS): Do not use macros from bp-asm.h.
9100 (S1): Likewise.
9101 (S2): Likewise.
9102 (SIZE): Likewise.
9103 (__mpn_sub_n): Do not use BP_SYM.
9104 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
9105 "bp-asm.h".
9106 (PARMS): Do not use macros from bp-asm.h.
9107 (S1): Likewise.
9108 (SIZE): Likewise.
9109 (__mpn_submul_1): Do not use BP_SYM.
9110 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
9111 <bp-sym.h>.
9112 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
9113 and <bp-asm.h>.
9114 (PARMS): Do not use macros from bp-asm.h.
9115 (FLAGS): Likewise.
9116 (PTID): Likewise.
9117 (TLS): Likewise.
9118 (CTID): Likewise.
9119 (__clone): Do not use BP_SYM.
9120 (clone): Do not use BP_SYM in weak_alias.
9121 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
9122 and <bp-asm.h>.
9123 (PARMS): Do not use macros from bp-asm.h.
9124 (LEN): Likewise.
9125 (__mmap64): Do not use BP_SYM.
9126 (mmap64): Do not use BP_SYM in weak_alias.
9127 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
9128 <bp-sym.h> and <bp-asm.h>.
9129 (PARMS): Do not use macros from bp-asm.h.
9130 (__posix_fadvise64_l64): Do not use BP_SYM.
9131 * sysdeps/unix/sysv/linux/i386/semtimedop.S
9132 (PARMS): Do not use macros from bp-asm.h.
9133 (NSOPS): Likewise.
9134 (semtimedop): Do not use BP_SYM.
9135 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
9136 and <bp-asm.h>.
9137
582a3cff
AM
91382013-02-21 Allan McRae <allan@archlinux.org>
9139
9140 * manual/message.texi (Charset conversion in gettext):
9141 Move @end statement to beginning of line.
9142
bab8a695
SP
91432013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9144
80945231
SP
9145 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
9146 static.
9147 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
9148 Likewise.
9149
bab8a695
SP
9150 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
9151 (denorm): Likewise.
9152 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
9153 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
9154
e21d7aa7
AK
91552013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9156
9157 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
9158 tail-call to the resolved function if pltexit isn't needed.
9159
4c7a4263
SP
91602013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9161
9162 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
9163 or Y being zero as being unlikely.
9164 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
9165 Likewise.
9166
41f49342
CD
91672013-02-20 Carlos O'Donell <carlos@redhat.com>
9168
9169 * manual/nss.texi (System Databases and Name Service Switch):
9170 Remove frobnicate @pxref.
9171
50022a93
TS
91722013-02-20 Thomas Schwinge <thomas@codesourcery.com>
9173
9174 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
9175 __attribute__ ((unused)) to __attribute__ ((__unused__)).
9176
08cbd996
PM
91772013-02-20 Petr Machata <pmachata@redhat.com>
9178
9179 * elf/elf.h (R_ARM_TARGET1): New macro.
9180 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
9181 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
9182 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
9183 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
9184 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
9185 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
9186 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
9187 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
9188 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
9189 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
9190 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
9191 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
9192 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
9193 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
9194 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
9195 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
9196 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
9197 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
9198 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
9199 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
9200 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
9201 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
9202 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
9203 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
9204 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
9205 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
9206 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
9207 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
9208 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
9209 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
9210 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
9211 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
9212 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
9213 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
9214 (R_ARM_THM_GOT_BREL12): Likewise.
9215 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
9216 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
9217 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
9218 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
9219 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
9220 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
9221 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
9222 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
9223 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
9224
c7b275d6
TS
92252013-02-20 Thomas Schwinge <thomas@codesourcery.com>
9226
9227 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
9228 __attribute_used__ to __attribute__ ((unused)).
9229
20cd7fb3
SP
92302013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
9231
9232 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
9233 powerpc mpa.c.
9234 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
9235 comment formatting.
9236 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
9237
92945b52
JM
92382013-02-19 Joseph Myers <joseph@codesourcery.com>
9239
9240 [BZ #13550]
9241 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
9242 Remove macro.
9243 (ENTER): Remove both macro definitions.
9244 (LEAVE): Likewise.
9245 (CHECK_BOUNDS_LOW): Likewise.
9246 (CHECK_BOUNDS_HIGH): Likewise.
9247 (CHECK_BOUNDS_BOTH): Likewise.
9248 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
9249 (RETURN_BOUNDED_POINTER): Likewise.
9250 (RETURN_NULL_BOUNDED_POINTER): Likewise.
9251 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
9252 (POP_ERRNO_LOCATION_RETURN): Likewise.
9253 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
9254 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9255 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
9256 macros.
9257 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9258 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
9259 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
9260 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
9261 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
9262 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
9263 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
9264 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
9265 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
9266 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
9267 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
9268 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
9269 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9270 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
9271 removed macros.
9272 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9273 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
9274 macros.
9275 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9276 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
9277 * sysdeps/i386/i586/memset.S (memset): Likewise.
9278 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
9279 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9280 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
9281 macros.
9282 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9283 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
9284 Change uses of L(2) to L(out).
9285 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
9286 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
9287 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
9288 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9289 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
9290 removed macros.
9291 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9292 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
9293 macros.
9294 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9295 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
9296 (RETURN): Do not use macro LEAVE.
9297 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
9298 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
9299 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
9300 * sysdeps/i386/i686/memset.S (memset): Likewise.
9301 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
9302 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
9303 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
9304 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
9305 Likewise.
9306 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9307 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
9308 L(1_2) and L(1_3) into L(1).
9309 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
9310 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
9311 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9312 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
9313 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
9314 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
9315 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
9316 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9317 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
9318 macros.
9319 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
9320 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9321 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
9322 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
9323 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
9324 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9325 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
9326 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
9327 * sysdeps/i386/strcspn.S (strcspn): Likewise.
9328 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
9329 * sysdeps/i386/strrchr.S (strrchr): Likewise.
9330 * sysdeps/i386/strspn.S (strspn): Likewise.
9331 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
9332 conditional code.
9333 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9334 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
9335 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
9336 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
9337 L(1_3) into L(1_1).
9338 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
9339 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9340 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
9341 macros.
9342 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9343
2389741a
JJ
93442013-02-19 Jakub Jelinek <jakub@redhat.com>
9345
9346 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
9347 macro.
9348
2016b3cd
SP
93492013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9350
e4f22324
SP
9351 * math/atest-exp.c (exp_mpn): Remove ROUND.
9352 * math/atest-exp2.c (exp_mpn): Likewise.
9353 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
9354
2016b3cd
SP
9355 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
9356 * stdlib/tst-tls-atexit-lib.c: Likewise.
9357 * stdlib/tst-tls-atexit.c: Likewise.
9358
4be9b544
MF
93592013-02-18 Mike Frysinger <vapier@gentoo.org>
9360
9361 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
9362 and __attribute_alloc_size__.
9363
2f62b9ee
MF
93642013-02-18 Mike Frysinger <vapier@gentoo.org>
9365
9366 * include/programs/xmalloc.h: Change __attribute_alloc_size to
9367 __attribute_alloc_size__.
9368 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
9369 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
9370
6ff444c4
MF
93712013-02-18 Mike Frysinger <vapier@gentoo.org>
9372
9373 * include/programs/xmalloc.h: New file.
9374 * catgets/gencat.c: Include it.
9375 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
9376 * elf/pldd.c: Likewise.
9377 * iconv/iconv_charmap.c: Likewise.
9378 * iconv/iconvconfig.c: Likewise.
9379 * iconv/strtab.c: Likewise.
9380 * locale/programs/locale.c: Likewise.
9381 * locale/programs/localedef.h: Likewise.
9382 * locale/programs/simple-hash.c: Likewise.
9383 * nscd/nscd.h: Likewise.
9384 * nss/makedb.c: Likewise.
9385 * sysdeps/generic/ldconfig.h: Likewise.
9386
be179c8a
SP
93872013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9388
ba384f6e
SP
9389 * Versions.def: Add GLIBC_2.18.
9390 * include/link.h (struct link_map): New member l_tls_dtor_count.
9391 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
9392 (__call_tls_dtors): Likewise.
9393 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
9394 __cxa_thread_atexit_impl.
9395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9396 Likewise.
9397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9398 Likewise.
9399 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9400 Likewise.
9401 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9402 Likewise.
9403 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
9404 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
9405 Likewise.
9406 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
9407 Likewise.
9408 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
9409 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
9410 Likewise.
9411 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
9412 (tests): Add test case tst-tls-atexit.
9413 (modules-names): Add shared library for tst-tls-atexit.
85891aca 9414 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
9415 (GLIBC_PRIVATE): Add __call_tls_dtors.
9416 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
9417 for libstdc++.
9418 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
9419 * stdlib/tst-tls-atexit.c: New test case.
9420 * stdlib/tst-tls-atexit-lib.c: New test case.
9421
ffaa74cf 9422 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 9423
be179c8a
SP
9424 * elf/Versions (ld): Add _dl_find_dso_for_object.
9425 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
9426 * elf/dl-open.c (_dl_find_dso_for_object): New function.
9427 (dl_open_worker): Use _dl_find_dso_for_object.
9428 * elf/dl-sym.c (do_sym): Likewise.
9429 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
9430
f78b5caa
AK
94312013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9432
9433 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
9434 Syntactic changes only.
9435 (_dl_runtime_profile): Do a tail-call to the resolved function.
9436
29691210
JM
94372013-02-17 Joseph Myers <joseph@codesourcery.com>
9438
9439 [BZ #13550]
9440 * sysdeps/x86_64/bp-asm.h: Remove file.
9441 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
9442 <bp-sym.h> and <bp-asm.h>.
9443 (__clone): Do not use BP_SYM.
9444 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
9445 <bp-sym.h> and <bp-asm.h>.
9446 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9447 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
9448 "bp-asm.h".
9449 (_setjmp): Do not use BP_SYM.
9450 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
9451 "bp-asm.h".
9452 (setjmp): Do not use BP_SYM.
9453 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
9454 libc_hidden_def.
9455 (mempcpy): Do not use BP_SYM in weak_alias.
9456 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
9457 "bp-asm.h".
9458 (strchr): Do not use BP_SYM.
9459 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
9460 "bp-asm.h".
9461 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
9462 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
9463 (_start): Do not use BP_SYM.
9464 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
9465 "bp-asm.h".
9466 (strcat): Do not use BP_SYM.
9467 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
9468 "bp-asm.h".
9469 (STRCMP): Do not use BP_SYM.
9470 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
9471 "bp-asm.h".
9472 (STRCPY): Do not use BP_SYM.
9473 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
9474 "bp-asm.h".
9475 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
9476 "bp-asm.h".
9477 (FUNCTION): Do not use BP_SYM.
9478 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
9479 weak_alias.
9480 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
9481
f238fd19
AJ
94822013-02-17 Andreas Jaeger <aj@suse.de>
9483
9484 * time/Versions: Sort entries.
9485 * string/Versions: Likewise.
9486 * resolv/Versions: Likewise.
9487 * posix/Versions: Likewise.
9488 * iconv/Versions: Likewise.
9489 * elf/Versions: Likewise.
9490 * wcsmbs/Versions: Likewise.
9491
bd07f23c 94922013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 9493
22af19f9
SP
9494 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
9495 loop termination condition.
9496
4709fe76
SP
9497 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
9498 variable to calculate EZ.
9499 (__sqr): Likewise.
2d0e0f29
SP
9500
9501 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
9502 the lower precision input.
9503
daaa7713
JM
95042013-02-15 Joseph Myers <joseph@codesourcery.com>
9505
9506 [BZ #13550]
9507 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
9508 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
9509 (run-via-rtld-prefix): Do not handle %-bp tests.
9510 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
9511 (all-object-suffixes): Remove .ob.
9512 (bppfx): Remove variable.
9513 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
9514 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
9515 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
9516 [$(build-bounded) = yes] (libtype.ob): Likewise.
9517 * Makerules (elide-routines.ob): Remove variable.
9518 (do-tests-clean): Do not handle *-bp.out.
9519 (common-mostlyclean): Do not handle *-bp and *-bp.out.
9520 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
9521 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
9522 (tests): Do not include $(tests-bp.out).
9523 (xtests): Do not include $(xtests-bp.out).
9524 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
9525 [$(build-bounded) = yes] ($(addprefix
9526 $(objpfx),$(binaries-bounded))): Remove rule.
9527 ($(objpfx)%-bp.out): Remove rule.
9528 * config.make.in (build-bounded): Remove variable.
9529 * crypt/Makefile [$(build-bounded) = yes]
9530 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
9531 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
9532 append to variable.
9533 [$(build-bounded) = yes] (install-lib): Likewise.
9534 [$(build-bounded) = yes] (generated): Likewise.
9535 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
9536 Remove rule.
9537 * intl/Makefile [$(build-bounded) = yes]
9538 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
9539 * math/Makefile [$(build-bounded) = yes]
9540 ($(tests:%=$(objpfx)%-bp): Likewise.
9541 * misc/Makefile [$(build-bounded) = yes]
9542 ($(objpfx)tst-tsearch-bp): Likewise.
9543 * nptl/Makeconfig (bounded-thread-library): Remove variable.
9544 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
9545 Remove dependency.
9546 * string/Makefile (o-objects.ob): Remove variable.
9547 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
9548 (CFLAGS-.ob): Remove variable.
9549 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
9550 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
9551 both definitions of variable.
9552 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
9553 (ASFLAGS-.ob): Remove variable.
9554
e97ed6dd
JM
95552013-02-14 Joseph Myers <joseph@codesourcery.com>
9556
2bdd4ca6
JM
9557 [BZ #13550]
9558 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
9559 Remove __BOUNDED_POINTERS__ from condition.
9560 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
9561 * string/bits/string2.h [!__NO_STRING_INLINES &&
9562 !__BOUNDED_POINTERS__]: Likewise.
9563 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
9564 Likewise.
9565 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
9566 Remove conditional code.
9567 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
9568 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
9569 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
9570 condition.
9571
e97ed6dd
JM
9572 [BZ #13550]
9573 * csu/libc-start.c: Do not include <bp-sym.h>.
9574 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
9575 * elf/dl-open.c: Do not include <bp-sym.h>.
9576 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
9577 * math/fegetenv.c: Do not include <bp-sym.h>.
9578 (fegetenv): Do not use BP_SYM in versioned symbols.
9579 * nptl/sysdeps/pthread/bits/libc-lockP.h
9580 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
9581 <bp-sym.h>.
9582 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9583 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
9584 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9585 (__pthread_mutex_destroy): Likewise.
9586 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9587 (__pthread_mutex_lock): Likewise.
9588 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9589 (__pthread_mutex_trylock): Likewise.
9590 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9591 (__pthread_mutex_unlock): Likewise.
9592 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9593 (__pthread_mutexattr_init): Likewise.
9594 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9595 (__pthread_mutexattr_destroy): Likewise.
9596 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9597 (__pthread_mutexattr_settype): Likewise.
9598 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9599 (__pthread_rwlock_init): Likewise.
9600 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9601 (__pthread_rwlock_destroy): Likewise.
9602 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9603 (__pthread_rwlock_rdlock): Likewise.
9604 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9605 (__pthread_rwlock_tryrdlock): Likewise.
9606 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9607 (__pthread_rwlock_wrlock): Likewise.
9608 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9609 (__pthread_rwlock_trywrlock): Likewise.
9610 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9611 (__pthread_rwlock_unlock): Likewise.
9612 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9613 (__pthread_key_create): Likewise.
9614 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9615 (__pthread_setspecific): Likewise.
9616 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9617 (__pthread_getspecific): Likewise.
9618 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
9619 Likewise.
9620 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9621 (_pthread_cleanup_push_defer): Likewise.
9622 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9623 (_pthread_cleanup_pop_restore): Likewise.
9624 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9625 (pthread_setcancelstate): Likewise.
9626 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
9627 <bp-sym.h>.
9628 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
9629 (memchr): Do not use BP_SYM in weak_alias.
9630 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
9631 (fegetenv): Do not use BP_SYM in versioned symbols.
9632 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
9633 (fesetenv): Do not use BP_SYM in versioned symbols.
9634 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
9635 (feupdateenv): Do not use BP_SYM in versioned symbols.
9636 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
9637 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
9638 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
9639 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
9640 (open64): Do not use BP_SYM in weak_alias.
9641 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
9642 (fegetenv): Do not use BP_SYM in versioned symbols.
9643 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
9644 (fesetenv): Do not use BP_SYM in versioned symbols.
9645 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
9646 (feupdateenv): Do not use BP_SYM in versioned symbols.
9647 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
9648 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
9649 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
9650 (feraiseexcept): Do not use BP_SYM in versioned symbols.
9651 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
9652 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
9653 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
9654 <bp-sym.h>.
9655 (__libc_start_main): Do not use BP_SYM.
9656
d6752ccd
SP
96572013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
9658
cb57ce60
SP
9659 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
9660 redundant return line.
9661 (norm): Likewise.
9662 (denorm): Likewise.
9663 (dbl_mp): Likewise.
9664 (sub_magnitudes): Likewise.
9665 (__add): Likewise.
9666 (__sub): Likewise.
9667 (__mul): Likewise.
9668 (__inv): Likewise.
9669 (__dvd): Likewise.
9670 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
9671 (norm): Likewise.
9672 (denorm): Likewise.
9673 (dbl_mp): Likewise.
9674 (sub_magnitudes): Likewise.
9675 (__add): Likewise.
9676 (__sub): Likewise.
9677 (__mul): Likewise.
9678 (__inv): Likewise.
9679 (__dvd): Likewise.
9680
f414520d
SP
9681 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
9682 instead of __mul.
9683 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
9684 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
9685 (cc32): Likewise.
9686
d6752ccd
SP
9687 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
9688 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
9689 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
9690 of __mul for squares.
9691 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
9692 function
9693 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
9694 Likewise.
9695 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
9696 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
9697
70d9946a
JM
96982013-02-13 Joseph Myers <joseph@codesourcery.com>
9699
9700 [BZ #13550]
9701 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
9702 code.
9703 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
9704 prototype or function definition. Rename ubp_* variables and
9705 parameters. Remove argv definitions conditional on
9706 [__BOUNDED_POINTERS__].
9707 * debug/backtrace.c (__backtrace): Do not use __unbounded.
9708 * elf/dl-runtime.c (_dl_fixup): Likewise.
9709 * include/set-hooks.h (RUN_HOOK): Likewise.
9710 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
9711 definition.
9712 * string/strcpy.c (strcpy): Do not use __unbounded.
9713 * sysdeps/generic/frame.h (struct layout): Likewise.
9714 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
9715 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
9716 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
9717 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
9718 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
9719 (__backtrace): Likewise.
9720 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
9721 use __ptrvalue.
9722 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
9723 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
9724 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
9725 Likewise.
9726 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
9727 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
9728 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
9729 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
9730 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
9731 Do not use __unbounded.
9732 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
9733 Rename __unboundedrlimits parameter to rlimits in prototype.
9734 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
9735 Do not use __unbounded.
9736 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
9737 not use __ptrvalue.
9738 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
9739 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
9740 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
9741 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
9742 __ptrvalue or __unbounded.
9743 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
9744 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
9745 use __unbounded.
9746 (__new_msgctl): Do not use __ptrvalue.
9747 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
9748 __unbounded.
9749 (__libc_msgrcv): Do not use __ptrvalue.
9750 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
9751 startup_info): Do not use __unbounded.
9752 (__libc_start_main): Likewise. Rename ubp_* variables and
9753 parameters. Remove argv definitions conditional on
9754 [__BOUNDED_POINTERS__].
9755 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
9756 __ptrvalue.
9757 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
9758 use __unbounded.
9759 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
9760 or __ptrvalue.
9761 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
9762 use __unbounded.
9763 (__new_shmctl): Do not use __ptrvalue.
9764 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
9765 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
9766 Likewise.
9767 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
9768 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
9769 (__libc_sigaction): Likewise.
9770 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
9771 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
9772 Likewise.
9773 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
9774
cc7834d6
OB
97752013-02-13 Ondřej Bílka <neleai@seznam.cz>
9776
ffb1ec7b 9777 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
9778
9779 * string/mempcpy.c: Implement by calling memcpy.
9780
bdf02814
SP
97812013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
9782
c2af38aa
SP
9783 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
9784
4e92d59e
SP
9785 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
9786 evaluation.
9787
909279a5
SP
9788 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
9789 values in the mantissa.
9790
bdf02814
SP
9791 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
9792 minimize writes to Z.
9793 (sub_magnitudes): Simplify code a bit.
9794
cd525923
RM
97952013-02-12 Roland McGrath <roland@hack.frob.com>
9796
9797 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
9798 from the message. The linker prefixes all warnings with that already.
9799
7e2f0d2d
AS
98002013-02-12 Andreas Schwab <schwab@suse.de>
9801
a445af0b
AS
9802 [BZ #15078]
9803 * posix/regexec.c (extend_buffers): Add parameter min_len.
9804 (check_matching): Pass minimum needed length.
9805 (clean_state_log_if_needed): Likewise.
9806 (get_subexp): Likewise.
9807 * posix/Makefile (tests): Add bug-regex34.
9808 (bug-regex34-ENV): Define.
9809 * posix/bug-regex34.c: New file.
9810
7e2f0d2d
AS
9811 [BZ #11561]
9812 * posix/regcomp.c (parse_bracket_exp): When looking up collating
9813 elements compare against the byte sequence of it, not its name.
9814 * posix/Makefile (tests): Add bug-regex35.
9815 (bug-regex35-ENV): Define.
9816 * posix/bug-regex35.c: New file.
9817
a175b684
TV
98182013-02-11 Tom de Vries <tom@codesourcery.com>
9819
9820 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
9821 comment.
9822 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
9823 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
9824 (CHECK_EOL): Add undef.
9825
310998fe 98262013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
9827
9828 * bits/stdlib-bsearch.h: New file.
9829 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 9830 * stdlib/stdlib.h: Likewise.
41eda41d 9831
8ded91fb
RM
98322013-02-11 Roland McGrath <roland@hack.frob.com>
9833
9834 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
9835 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
9836 declaration.
9837 * manual/search.texi (Array Search Function): Add missing const in
9838 lfind prototype.
9839 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
9840 declaration to use rlim_t.
9841 (Basic Scheduling Functions): Remove erroneous const from
9842 sched_getparam prototype. Remove erroneous * from
9843 sched_get_priority_max and sched_get_priority_min prototypes.
9844 (Resource Usage): Fix summary @comment on vtimes to refer to
9845 sys/vtimes.h rather than vtimes.h.
9846 Add missing *s in vtimes prototype.
9847 (Limits on Resources): Fix ulimit prototype to return long int.
9848 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
9849 prototypes to use long int rather than double.
9850 (BSD Random): Fix initstate and setstate to use char *, not void *.
9851 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
9852 prototype to make second argument 'struct aiocb64 *const[]'.
9853 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
9854 (Status of AIO Operations): Remove erroneous const in aio_return and
9855 aio_return64 prototypes.
9856 (Synchronizing I/O): Fix sync prototype to return void.
9857 * manual/startup.texi (Suboptions): Remove an erroneous const in
9858 getsubopt prototype.
9859 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
9860 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
9861 use size_t rather than int.
9862 (Scanning All Users): Likewise for getpwent_r.
9863 (Setting Groups): Add missing const to setgroups prototype.
9864 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
9865 * manual/socket.texi (Host Names): Fix gethostbyaddr and
9866 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
9867 'const void *' rather than 'const char *'.
9868 (Host Address Functions): Likewise for inet_ntop.
9869 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
9870 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
9871 ssize_t for return value.
9872 (Sending Data): Likewise for send, sendto, sendmsg.
9873 (Socket Option Functions): Add a missing const in setsockopt prototype.
9874 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
9875 use wchar_t for the argument.
9876 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
9877 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
9878 take no arguments.
9879 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
9880 double/float/long double for second argument.
9881 Fix return types of significand, significandf, significandl.
9882 * manual/filesys.texi (Setting Permissions): Use mode_t for second
9883 argument in fchmod prototype.
9884 (File Owner): Use uid_t and gid_t in fchown prototype.
9885 (File Times): Add const to utimes, futimes, and lutimes prototypes.
9886 (Making Special Files): Use mode_t and dev_t in mknod prototype.
9887 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
9888 use 'const struct dirent **' as argument types to CMP function pointer
9889 argument.
9890 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
9891 (File Times): Fix summary magic @comment for struct utimbuf and utime
9892 to refer to utime.h, not time.h.
9893 * manual/string.texi (Argz Functions): Add missing const in
9894 argz_extract and argz_next prototypes.
9895 (Finding Tokens in a String): Likewise for basename.
9896 (String/Array Comparison): Fix typo in wcscasecmp prototype.
9897 (Copying and Concatenation): Fix typo in wmemmove prototype.
9898 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
9899 (Signal Stack): Remove erroneous const in sigstack prototype.
9900 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
9901 prototype.
9902 (Simple Calendar Time): Likewise for stime.
9903 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
9904 prototype.
9905 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
9906 say sys/sysctl.h instead.
9907 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
9908 and vsyslog prototypes.
9909
fe77fe6d
TV
99102013-02-11 Tom de Vries <tom@codesourcery.com>
9911
9912 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
9913 Remove.
9914
3a09b620
RM
99152013-02-11 Roland McGrath <roland@hack.frob.com>
9916
9917 * misc/sys/mman.h: Fix typo in mremap comment.
9918
550a0b89
RM
99192013-02-08 Roland McGrath <roland@hack.frob.com>
9920
9921 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
9922 the '\0' terminator.
9923
a2da1673
JM
99242013-02-08 Joseph Myers <joseph@codesourcery.com>
9925
9926 [BZ #13550]
9927 * debug/segfault.c: Don't include <bp-checks.h>.
9928 * sysdeps/generic/bp-checks.h: Remove file.
9929 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
9930 (__GETDENTS): Don't use CHECK_N.
9931 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
9932 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
9933 (__getgroups): Don't use CHECK_N.
9934 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
9935 (setgroups): Don't use CHECK_N.
9936 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
9937 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
9938 (__libc_msgrcv): Don't use CHECK_N.
9939 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
9940 (__libc_msgsnd): Don't use CHECK_N.
9941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
9942 <bp-checks.h>.
9943 (__libc_pread): Don't use CHECK_N.
9944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
9945 include <bp-checks.h>.
9946 (__libc_pread64): Don't use CHECK_N.
9947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
9948 include <bp-checks.h>.
9949 (__libc_pwrite): Don't use CHECK_N.
9950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
9951 include <bp-checks.h>.
9952 (__libc_pwrite64): Don't use CHECK_N.
9953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
9954 <bp-checks.h>.
9955 (__libc_pread): Don't use CHECK_N.
9956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
9957 include <bp-checks.h>.
9958 (__libc_pread64): Don't use CHECK_N.
9959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
9960 include <bp-checks.h>.
9961 (__libc_pwrite): Don't use CHECK_N.
9962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
9963 include <bp-checks.h>.
9964 (__libc_pwrite64): Don't use CHECK_N.
9965 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
9966 (do_pread): Don't use CHECK_N.
9967 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
9968 (do_pread64): Don't use CHECK_N.
9969 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
9970 (do_pwrite): Don't use CHECK_N.
9971 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
9972 (do_pwrite64): Don't use CHECK_N.
9973 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
9974 (__libc_readv): Don't use CHECK_N.
9975 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
9976 (semop): Don't use CHECK_N.
9977 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
9978 <bp-checks.h>.
9979 (semtimedop): Don't use CHECK_N.
9980 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
9981 (__libc_pread): Don't use CHECK_N.
9982 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
9983 <bp-checks.h>.
9984 (__libc_pread64): Don't use CHECK_N.
9985 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
9986 <bp-checks.h>.
9987 (__libc_pwrite): Don't use CHECK_N.
9988 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
9989 <bp-checks.h>.
9990 (__libc_pwrite64): Don't use CHECK_N.
9991 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
9992 <bp-checks.h>.
9993 (__libc_msgrcv): Don't use CHECK_N.
9994 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
9995 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
9996 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
9997 (__libc_writev): Don't use CHECK_N.
9998
b84660a8
RM
99992013-02-08 Roland McGrath <roland@hack.frob.com>
10000
7f3e75f8
RM
10001 * string/strcpy.c: Removed unused variable.
10002
b84660a8
RM
10003 * Makeconfig (+sysdep-includes): Define with := rather than =.
10004 Use an existing include/ subdir of each sysdeps dir before it.
10005
471514d3
CD
100062013-02-08 Carlos O'Donell <carlos@redhat.com>
10007
10008 * nscd/connection.c (register_traced_file): Comment function.
10009 [HAVE_INOTIFY] (union __inev): Define.
10010 [HAVE_INOTIFY] (inotify_check_files): New function.
10011 [HAVE_INOTIFY] (clear_db_cache): Likewise.
10012 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
10013 clear_db_cache.
10014 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
10015
b2d3c3be
CD
100162013-02-08 Carlos O'Donell <carlos@redhat.com>
10017
10018 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
10019 loaded if not already and that a failure is permanent.
10020
b39949d2
CD
100212013-02-08 Carlos O'Donell <carlos@redhat.com>
10022
ddacd1db 10023 [BZ #15006]
b39949d2
CD
10024 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
10025 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
10026
b2c9eff4
JM
100272013-02-08 Joseph Myers <joseph@codesourcery.com>
10028
f3aae3f3
JM
10029 [BZ #13550]
10030 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
10031 (CHECK_1_NULL_OK): Likewise.
10032 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
10033 (__fxstat): Do not use CHECK_1.
10034 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
10035 <bp-checks.h>.
10036 (___fxstat64): Do not use CHECK_1.
10037 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
10038 <bp-checks.h>.
10039 (__fxstatat): Do not use CHECK_1.
10040 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
10041 <bp-checks.h>.
10042 (__fxstatat64): Do not use CHECK_1.
10043 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
10044 <bp-checks.h>.
10045 (__fxstat): Do not use CHECK_1.
10046 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
10047 <bp-checks.h>.
10048 (__fxstatat): Do not use CHECK_1.
10049 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
10050 <bp-checks.h>.
10051 (__getresgid): Do not use CHECK_1.
10052 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
10053 <bp-checks.h>.
10054 (__getresuid): Do not use CHECK_1.
10055 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
10056 <bp-checks.h>.
10057 (__lxstat): Do not use CHECK_1.
10058 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
10059 <bp-checks.h>.
10060 (__old_msgctl): Do not use CHECK_1.
10061 (__new_msgctl): Likewise.
10062 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
10063 <bp-checks.h>.
10064 (__new_setrlimit): Do not use CHECK_1.
10065 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
10066 <bp-checks.h>.
10067 (__old_shmctl): Do not use CHECK_1.
10068 (__new_shmctl): Likewise.
10069 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
10070 <bp-checks.h>.
10071 (__xstat): Do not use CHECK_1.
10072 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
10073 (__lxstat): Do not use CHECK_1.
10074 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
10075 <bp-checks.h>.
10076 (___lxstat64): Do not use CHECK_1.
10077 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
10078 (__old_msgctl): Do not use CHECK_1.
10079 (__new_msgctl): Likewise.
10080 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
10081 <bp-checks.h>.
10082 (__gettimeofday): Do not use CHECK_1.
10083 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
10084 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
10085 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
10086 <bp-checks.h>.
10087 (__gettimeofday): Do not use CHECK_1.
10088 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
10089 (__old_shmctl): Do not use CHECK_1_NULL_OK.
10090 (__new_shmctl): Do not use CHECK_1.
10091 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
10092 <bp-checks.h>.
10093 (do_sigtimedwait): Do not use CHECK_1.
10094 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
10095 <bp-checks.h>.
10096 (do_sigwaitinfo): Do not use CHECK_1.
10097 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
10098 <bp-checks.h>.
10099 (msgctl): Do not use CHECK_1.
10100 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
10101 <bp-checks.h>.
10102 (shmctl): Do not use CHECK_1.
10103 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
10104 (ustat): Do not use CHECK_1.
10105 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
10106 <bp-checks.h>.
10107 (__fxstat): Do not use CHECK_1.
10108 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
10109 <bp-checks.h>.
10110 (__fxstatat): Do not use CHECK_1.
10111 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
10112 <bp-checks.h>.
10113 (__lxstat): Do not use CHECK_1.
10114 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
10115 <bp-checks.h>.
10116 (__xstat): Do not use CHECK_1.
10117 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
10118 (__xstat): Do not use CHECK_1.
10119 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
10120 (___xstat64): Do not use CHECK_1.
10121
b2c9eff4
JM
10122 [BZ #13550]
10123 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
10124 definitions.
10125 (CHECK_BOUNDS_HIGH): Likewise.
10126 * string/strcpy.c: Do not include <bp-checks.h>.
10127 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
10128
f1d70dad
RM
101292013-02-07 Roland McGrath <roland@hack.frob.com>
10130
10131 * nscd/nscd-client.h (__nscd_drop_map_ref):
10132 Add __attribute__ ((unused)).
10133 * nis/nss-nisplus.h (niserr2nss): Likewise.
10134
10135 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
10136 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
10137
10138 * csu/libc-tls.c (init_static_tls, init_slotinfo):
10139 Remove inline keyword.
10140 * include/rounding-mode.h (round_away): Likewise.
10141 * libio/wfileops.c (adjust_wide_data): Likewise.
10142 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
10143 (__m128i_strloadu_tolower): Likewise.
10144 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
10145 (__m128i_strloadu_tolower): Likewise.
10146 * time/mktime.c (ydhms_diff): Likewise.
10147 * locale/elem-hash.h (elem_hash): Likewise.
10148 * locale/setlocale.c (setdata): Likewise.
10149 * posix/regex_internal.h (re_string_char_size_at): Likewise.
10150 (re_string_wchar_at): Likewise.
10151 (bitset_not, bitset_merge, bitset_mask): Likewise.
10152 [!(__GNUC__ > 3)] (inline): Remove macro.
10153 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
10154 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
10155 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
10156 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
10157 * string/memcmp.c (memcmp_bytes): Likewise.
10158 * locale/programs/locarchive.c (compute_hashval): Likewise.
10159 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
10160 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
10161 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
10162 * nss/getent.c (print_rpc, print_protocols): Likewise.
10163 (print_passwd, print_group, print_aliases): Likewise.
10164 * nis/nss-nisplus.h (niserr2nss): Likewise.
10165 * nscd/connections.c (restart_p): Likewise.
10166 Change return type to bool.
10167
eab55bfb
RM
101682013-02-05 Roland McGrath <roland@hack.frob.com>
10169
7bd642f5
RM
10170 * Makeconfig (all-Depend-files): Add existing
10171 $(sorted-subdirs:=/Depend) files.
10172 (all-subdirs): Remove nss.
10173 * sysdeps/unix/inet/Subdirs: Add it here instead.
10174 * hesiod/Depend: New file.
10175
573c29b2
RM
10176 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
10177 instead of calling alloca.
10178
b2e25af0
RM
10179 * io/lseek.c (__lseek): Rename to __libc_lseek.
10180 Define __lseek as an alias.
10181
eab55bfb
RM
10182 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
10183
9a0d1941
CD
101842013-02-04 Carlos O'Donell <carlos@redhat.com>
10185
10186 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
10187 else clause and remove check for non-standard endianness.
10188
b83bbec4
DM
101892013-02-04 David S. Miller <davem@davemloft.net>
10190
10191 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10192
6277fdab
JM
101932013-02-04 Joseph Myers <joseph@codesourcery.com>
10194
10195 [BZ #13550]
10196 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
10197 (__ubp_memchr): Remove prototype.
10198 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
10199 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
10200 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
10201 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
10202 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
10203 Remove alias.
10204 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
10205 (__ubp_memchr): Likewise.
10206 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
10207 (__ubp_memchr): Likewise.
10208 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
10209 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
10210 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
10211 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
10212 CHECK_STRING.
10213 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
10214 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
10215 (__getcwd): Do not use CHECK_STRING.
10216 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
10217 <bp-checks.h>.
10218 (__real_chown): Do not use CHECK_STRING.
10219 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
10220 <bp-checks.h>.
10221 (fchownat): Do not use CHECK_STRING.
10222 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
10223 CHECK_STRING.
10224 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
10225 <bp-checks.h>.
10226 (__lchown): Do not use CHECK_STRING.
10227 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
10228 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
10229 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
10230 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
10231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
10232 include <bp-checks.h>.
10233 (truncate64): Do not use CHECK_STRING.
10234 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
10235 <bp-checks.h>.
10236 (__real_chown): Do not use CHECK_STRING.
10237 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
10238 <bp-checks.h>.
10239 (__lchown): Do not use CHECK_STRING.
10240 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
10241 <bp-checks.h>.
10242 (__chown): Do not use CHECK_STRING.
10243 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
10244 <bp-checks.h>.
10245 (truncate64): Do not use CHECK_STRING.
10246 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
10247 Likewise.
10248 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
10249 (__xmknod): Do not use CHECK_STRING.
10250 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
10251 <bp-checks.h>.
10252 (__xmknodat): Do not use CHECK_STRING.
10253 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
10254 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
10255
903ae060
AS
102562013-02-04 Andreas Schwab <schwab@suse.de>
10257
10258 [BZ #14142]
10259 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
10260 * include/netdb.h: Likewise for h_errno.
10261 * elf/tst-stackguard1.c: Include <tls.h>.
10262
542f9466
JK
102632013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10264
10265 * elf/link.h (struct link_map): Extend the l_addr comment.
10266 * include/link.h (struct link_map): Likewise.
10267
e782a927
JM
102682013-02-01 Joseph Myers <joseph@codesourcery.com>
10269
10270 [BZ #13550]
10271 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
10272 (BOUNDED_1): Remove macro.
10273 * debug/backtrace.c: Don't include <bp-checks.h>.
10274 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
10275 (__backtrace): Likewise.
10276 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
10277 <bp-checks.h>.
10278 (__backtrace): Don't use BOUNDED_1.
10279 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
10280 <bp-checks.h>.
10281 (__backtrace): Don't use BOUNDED_1.
10282 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
10283 (__backtrace): Don't use BOUNDED_1.
10284 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
10285 (shmat): Don't use BOUNDED_N.
10286
8cf28c5e
JM
102872013-01-31 Joseph Myers <joseph@codesourcery.com>
10288
3a7ac8a0
JM
10289 [BZ #13550]
10290 * sysdeps/generic/bp-start.h: Remove file.
10291 * csu/libc-start.c: Don't include <bp-start.h>.
10292 (LIBC_START_MAIN): Set up __environ directly instead of using
10293 INIT_ARGV_and_ENVIRON.
10294 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
10295 <bp-start.h>.
10296
f3499f95
JM
10297 [BZ #13550]
10298 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
10299 definitions.
10300 (CHECK_FCNTL): Likewise.
10301 (CHECK_N_PAGES): Likewise.
10302
32a45bea
JM
10303 [BZ #13550]
10304 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
10305 definitions.
10306 (CHECK_SIGSET_NULL_OK): Likewise.
10307 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
10308 <bp-checks.h>.
10309 (sigpending): Don't use CHECK_SIGSET.
10310 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
10311 <bp-checks.h>.
10312 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10313 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
10314 <bp-checks.h>.
10315 (do_sigsuspend): Don't use CHECK_SIGSET.
10316 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
10317 use CHECK_SIGSET.
10318 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
10319 (do_sigwait): Don't use CHECK_SIGSET.
10320 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
10321 use CHECK_SIGSET.
10322 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
10323 include <bp-checks.h>.
10324 (sigpending): Don't use CHECK_SIGSET.
10325 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
10326 include <bp-checks.h>.
10327 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10328 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
10329 <bp-checks.h>.
10330 (sigpending): Don't use CHECK_SIGSET.
10331 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
10332 <bp-checks.h>.
10333 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10334
2e8a5c8c
JM
10335 [BZ #13550]
10336 * sysdeps/generic/bp-semctl.h: Remove file.
10337 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
10338 <bp-checks.h> and <bp-semctl.h>.
10339 (__old_semctl): Don't use CHECK_SEMCTL.
10340 (__new_semctl): Likewise.
10341 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
10342 and <bp-semctl.h>.
10343 (__old_semctl): Don't use CHECK_SEMCTL.
10344 (__new_semctl): Likewise.
10345 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
10346 <bp-checks.h> and <bp-semctl.h>.
10347 (__old_semctl): Don't use CHECK_SEMCTL.
10348 (__new_semctl): Likewise.
10349 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
10350 <bp-checks.h> and <bp-semctl.h>.
10351 (semctl): Don't use CHECK_SEMCTL.
10352
c2d54929
JM
10353 [BZ #13550]
10354 * Makerules (elide-bp-thunks): Remove variable.
10355 (elide-routines.oS): Don't use $(elide-bp-thunks).
10356 (elide-routines.os): Likewise.
10357 (elide-routines.o): Likewise.
10358 (elide-routines.op): Likewise.
10359 (elide-routines.og): Likewise.
10360 (objects): Don't use $(bp-thunks).
10361 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
10362 include.
10363 (common-generated): Do not add s-proto-bp.d.
10364 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
10365 (int): Likewise.
10366 (typ): Likewise.
10367 Do not generate makefile rules for bounded-pointer thunks.
10368 * sysdeps/generic/bp-thunks.h: Remove file.
10369 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
10370 * sysdeps/unix/s-proto-bp.S: Likewise.
10371
8cf28c5e
JM
10372 [BZ #15062]
10373 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
10374 parts of result separately when argument is not close to line from
10375 -i to i and one part of argument is small.
10376 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10377 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10378 * math/libm-test.inc (cacos_test): Add more tests.
10379 (casin_test): Likewise.
10380 (casinh_test): Likewise.
10381 * sysdeps/i386/fpu/libm-test-ulps: Update.
10382 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10383
c4e33b8d
DM
103842013-01-31 David S. Miller <davem@davemloft.net>
10385
10386 * po/de.po: Update from translation team.
10387
3b60b421
MK
103882013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
10389
10390 * time/tzfile.c: Include stdint.h for SIZE_MAX.
10391
bb931195
TS
103922013-01-25 Thomas Schwinge <thomas@codesourcery.com>
10393
b5a5da23
TS
10394 * configure.in (_AC_PROG_CC_C89): New definition.
10395 * configure: Regenerate.
10396
bb931195
TS
10397 * configure.in (AC_PROG_CPP): New definition.
10398 * configure: Regenerate.
10399
8c53a12c
JM
104002013-01-23 Joseph Myers <joseph@codesourcery.com>
10401
10402 * debug/tst-backtrace.h: New file.
10403 * debug/tst-backtrace2.c: Include tst-backtrace.h.
10404 (ret): Remove variable.
10405 (x): Likewise.
10406 (FAIL): Remove macro.
10407 (NO_INLINE): Likewise.
10408 (fn1): Use match function instead of strstr.
10409 * debug/tst-backtrace3.c: Include tst-backtrace.h.
10410 (ret): Remove variable.
10411 (x): Likewise.
10412 (FAIL): Remove macro.
10413 (NO_INLINE): Likewise.
10414 (fn): Use match function instead of strstr.
10415 * debug/tst-backtrace4.c: Include tst-backtrace.h.
10416 (ret): Remove variable.
10417 (x): Likewise.
10418 (FAIL): Remove macro.
10419 (NO_INLINE): Likewise.
10420 (handle_signal): Use match function instead of strstr.
10421 * debug/tst-backtrace5.c: Include tst-backtrace.h.
10422 (ret): Remove variable.
10423 (x): Likewise.
10424 (FAIL): Remove macro.
10425 (NO_INLINE): Likewise.
10426 (handle_signal): Use match function instead of strstr.
10427
4858fa2a
RM
104282013-01-23 Roland McGrath <roland@hack.frob.com>
10429
10430 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
10431
bae8e7f5
DM
104322013-01-23 David S. Miller <davem@davemloft.net>
10433
10434 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
10435 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
10436 argument of CAS if possible.
10437 * sysdeps/sparc/sparc64/bits/atomic.h
10438 (__arch_compare_and_exchange_val_32_acq): Likewise.
10439 (__arch_compare_and_exchange_val_64_acq): Likewise.
10440
9cbbc4ae
PT
104412013-01-23 Pino Toscano <toscano.pino@tiscali.it>
10442
10443 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
10444 * sysdeps/posix/ulimit.c: ... this.
92a601b8 10445 Include <limits.h>.
67b3f58c 10446 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 10447
5655a0b5
AC
104482013-01-23 Adam Conrad <adconrad@0c3.net>
10449
10450 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
10451 (LDFLAGS-tst-array5): Likewise.
10452
052aff95
JM
104532013-01-23 Joseph Myers <joseph@codesourcery.com>
10454
10455 [BZ #15036]
10456 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
10457 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
10458 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
10459 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
10460
7c1e01aa
DM
104612013-01-21 David S. Miller <davem@davemloft.net>
10462
10463 * sysdeps/sparc/backtrace.c: New file.
10464 * sysdeps/sparc/sparc32/backtrace.h: New file.
10465 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
10466 * sysdeps/sparc/sparc64/backtrace.h: New file.
10467 * sysdeps/sparc/sparc64/backtrace.c: Delete.
10468 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
10469 -funwind-tables.
10470
ab087e0a
AS
104712013-01-21 Andreas Schwab <schwab@suse.de>
10472
10473 [BZ #15020]
10474 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
10475 closed its stdout.
10476
ed689c2f
AS
104772013-01-20 Andreas Schwab <schwab@linux-m68k.org>
10478
10479 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
10480 "mpa2.h".
10481 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10482
31d470ac
JM
104832013-01-18 Joseph Myers <joseph@codesourcery.com>
10484 Mark Mitchell <mark@codesourcery.com>
10485 Tom de Vries <tom@codesourcery.com>
10486 Paul Pluzhnikov <ppluzhnikov@google.com>
10487
10488 * debug/tst-backtrace2.c: New file.
10489 * debug/tst-backtrace3.c: Likewise.
10490 * debug/tst-backtrace4.c: Likewise.
10491 * debug/tst-backtrace5.c: Likewise.
10492 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
10493 (CFLAGS-tst-backtrace3.c): Likewise.
10494 (CFLAGS-tst-backtrace4.c): Likewise.
10495 (CFLAGS-tst-backtrace5.c): Likewise.
10496 (LDFLAGS-tst-backtrace2): Likewise.
10497 (LDFLAGS-tst-backtrace3): Likewise.
10498 (LDFLAGS-tst-backtrace4): Likewise.
10499 (LDFLAGS-tst-backtrace5): Likewise.
10500 (tests): Add new tests tst-backtrace2, tst-backtrace3,
10501 tst-backtrace4 and tst-backtrace5.
10502
90567f30 105032013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
10504 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10505
10506 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
10507 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
10508 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
10509 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
10510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10511 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
10512 "+r" and remove output regs list as redundant. Add explicit inline
10513 asm to specify register of return val to work around compiler codegen
10514 bug. Remove (int) cast on return value. Add return type parameter to
10515 use in macro so that this macro does not truncate return value for
10516 64-bit values.
10517 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
10518 pass to INTERNAL_VSYSCALL_NCS.
10519 (INLINE_VSYSCALL): Add 'long int' as return type to
10520 INTERNAL_VSYSCALL_NCS macro invocation.
10521 (INTERNAL_VSYSCALL): Add 'long int' as return type to
10522 INTERNAL_VSYSCALL_NCS macro invocation.
10523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10524
d3b9ea61
SP
105252013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10526
0b57daeb
SP
10527 [BZ #14496]
10528 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
10529 Fix application of SIMD FP exception mask.
10530
caa99d06
SP
10531 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
10532 mp_no from a power of two.
10533 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
10534 __mpexp_twomm1. Use __pow_mp.
10535
d3b9ea61
SP
10536 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
10537 multiplication.
10538
1dbaee3c
DM
105392013-01-17 David S. Miller <davem@davemloft.net>
10540
10541 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10542
728d7b43
JM
105432013-01-17 Joseph Myers <joseph@codesourcery.com>
10544
10545 [BZ #15023]
10546 * include/complex.h: Condition contents on [!_COMPLEX_H].
10547 (__kernel_casinhf): New prototype.
10548 (__kernel_casinh): Likewise.
10549 (__kernel_casinhl): Likewise.
10550 * math/Makefile (libm_calls): Add k_casinh.
10551 * math/k_casinh.c: New file.
10552 * math/k_casinhf.c: Likewise.
10553 * math/k_casinhl.c: Likewise.
10554 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
10555 finite nonzero arguments.
10556 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
10557 finite nonzero arguments.
10558 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
10559 finite nonzero arguments.
10560 * math/s_casinh.c: Do not include <float.h>.
10561 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
10562 * math/s_casinhf.c: Do not include <float.h>.
10563 (__casinhf): Move code for finite nonzero arguments to
10564 k_casinhf.c.
10565 * math/s_casinhl.c: Do not include <float.h>.
10566 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
10567 redefine.
10568 (__casinhl): Move code for finite nonzero arguments to
10569 k_casinhl.c.
10570 * math/libm-test.inc (cacos_test): Add more tests.
10571 * sysdeps/i386/fpu/libm-test-ulps: Update.
10572 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10573
2a26ef3a
PT
105742013-01-17 Pino Toscano <toscano.pino@tiscali.it>
10575
10576 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
10577 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
10578 [!HAVE_MREMAP]: Remove [defined linux] case.
10579 * malloc/arena.c: Do not include <malloc-sysdep.h>.
10580
a897655d
SP
105812013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10582
10583 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
10584
881ebe89 105852013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
10586
10587 * elf/elf.h (R_386_SIZE32): New relocation.
10588 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
10589 R_386_SIZE32.
10590 (elf_machine_rela): Likewise.
10591 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
10592 R_X86_64_SIZE64 and R_X86_64_SIZE32.
10593
59981e9b
JM
105942013-01-17 Joseph Myers <joseph@codesourcery.com>
10595
10596 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
10597 (FP_FAST_FMA): Do not define.
10598 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
10599 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
10600 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
10601 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
10602 !_SOFT_FLOAT]: Likewise.
10603 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
10604 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
10605 value.
10606 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
10607 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
10608 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
10609 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
10610 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
10611 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
10612 file.
10613
cfa8054f
AS
106142013-01-16 Andreas Schwab <schwab@suse.de>
10615
10616 [BZ #14327]
10617 * include/stdlib.h (__mktemp): Add declaration.
10618 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
10619 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
10620
dd930cc5
SP
106212013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10622
881ebe89
SP
10623 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
10624 definitions.
10625 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
10626 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
10627 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
10628 definitions here.
10629 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
10630 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
10631 definitions.
10632 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
10633 and ONE.
10634 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
10635 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
10636 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
10637 definitions.
10638 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
10639 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
10640 definitions.
10641 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 10642
dd930cc5
SP
10643 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
10644
c19a9f89
DM
106452013-01-15 David S. Miller <davem@davemloft.net>
10646
1aa61767
DM
10647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10648 trunc{,f} to libm-sysdep_routes.
10649 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
10651 file.
10652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
10653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
10654 file.
10655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
10656 file.
10657 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
10658 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
10659 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
10660 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
10661 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
10662 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
10663 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
10664 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
10665
c42d5e98
DM
10666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10667 nearbyint{,f} to libm-sysdep_routes.
10668 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
10670 New file.
10671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
10672 file.
10673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
10674 New file.
10675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
10676 file.
10677 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
10678 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
10679 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
10680 file.
10681 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
10682 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
10683 file.
10684 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
10685 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
10686 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
10687
c19a9f89
DM
10688 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
10689 libc_feholdexcept and libc_fesetenv.
10690
357679d2
MF
106912013-01-15 Mike Frysinger <vapier@gentoo.org>
10692
10693 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
10694
65a82e3d
DM
106952013-01-14 David S. Miller <davem@davemloft.net>
10696
8b954ab9
DM
10697 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
10698 (SPARC_ASM_VIS2_IFUNC): Likewise.
10699 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
10700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
10701 use of 'siam' instruction.
10702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
10703 Likewise.
10704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
10705 Likewise.
10706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
10707 Likewise.
10708 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
10709 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
10710 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
10711 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
10712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
10713 file.
10714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
10715 file.
10716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
10717 file.
10718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
10719 file.
10720 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
10721 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
10722 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
10723 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
10724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
10725 new VIS2 routines.
10726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
10727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
10728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
10729 Likewise.
10730 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
10731 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
10732 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
10733 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
10734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
10735 routines to libm-sysdep_routines.
10736 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10737
65a82e3d
DM
10738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10739 fdim/fdimf to libm-sysdep_routines.
10740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
10741 file.
10742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
10743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
10744 file.
10745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
10746 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
10747 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
10748 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
10749 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
10750 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
10751 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
10752
e34ab705
SP
107532013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
10754
2a91b573
SP
10755 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
10756 to optimize copies.
10757
1066a534
SP
10758 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
10759 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
10760 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10761
e34ab705
SP
10762 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
10763 local variable MPTWO.
10764 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
10765 Likewise.
10766
aba5e596
MF
107672013-01-13 Mike Frysinger <vapier@gentoo.org>
10768
10769 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
10770 GLOB_NOESCAPE.
10771
e557e9e5
MF
107722013-01-13 Mike Frysinger <vapier@gentoo.org>
10773
10774 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
10775
0428cec9
MF
107762013-01-13 Mike Frysinger <vapier@gentoo.org>
10777
10778 * manual/pattern.texi (glob_t): Document gl_flags.
10779 (glob64_t): Likewise.
10780
8794a964
DM
107812013-01-11 David S. Miller <davem@davemloft.net>
10782
66438c3f
RM
10783 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
10784 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
10785 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
10786 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
10787 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
10788 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
10789 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
10790 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
10791 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
10792 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
10793 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
10794 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
10795 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
10796
4ae4244d
DM
10797 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
10798 sparc V9 rather than using V8 code.
10799 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
10800 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
10801
8794a964
DM
10802 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
10803 Move to...
10804 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
10805 Here.
10806
6270516e
RM
108072013-01-11 Roland McGrath <roland@hack.frob.com>
10808
10809 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
10810 not in the main loop.
10811 * configure: Regenerated.
10812
6a57d931
JM
108132013-01-11 Joseph Myers <joseph@codesourcery.com>
10814
10815 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
10816 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
10817 to just #else.
10818 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
10819 [!__GLIBC_HAVE_LONG_LONG] case.
10820 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
10821 condition to just #else.
10822 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
10823 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
10824 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
10825 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
10826 unconditional.
10827 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
10828 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
10829 #elif condition to just #else.
10830 * sysdeps/unix/sysv/linux/sys/sysmacros.h
10831 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
10832 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
10833 #elif condition to just #else.
10834
0e8529e9
SE
108352013-01-11 Steve Ellcey <sellcey@mips.com>
10836
10837 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
10838 (EF_MIPS_ARCH_64): Fix value.
10839 (EF_MIPS_ARCH_32R2): New.
10840 (EF_MIPS_ARCH_64R2): New.
10841
740b3dbe
L
108422013-01-11 H.J. Lu <hongjiu.lu@intel.com>
10843
10844 * Makeconfig (+link-pie-before-libc): New.
10845 (+link-pie-after-libc): Likewise.
10846 (+link-pie-tests): Likewise.
10847 (+link-pie): Rewritten.
10848 (link-before-libc): Remove $(config-LDFLAGS).
10849 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
10850 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
10851 (config-LDFLAGS): Renamed to ...
10852 (rtld-LDFLAGS): This.
10853 (rtld-tests-LDFLAGS): New macro.
10854 (link-libc-rpath-link): Likewise.
10855 (link-libc-tests-rpath-link): Likewise.
10856 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
10857 (link-libc): Prepand $(link-libc-rpath-link).
10858 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
10859 (test-program-prefix): New macro.
10860 (test-via-rtld-prefix): Likewise.
10861 (test-program-cmd): Likewise.
10862 (host-test-program-cmd): Likewise.
10863 * Makefile ($(common-objpfx)testrun.sh): Replace
10864 $(run-program-prefix) with $(test-program-prefix).
10865 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
10866 $(rtld-LDFLAGS).
10867 ($(common-objpfx)shlib.lds): Likewise.
10868 (build-module-helper): Likewise.
10869 ($(common-objpfx)format.lds): Likewise.
10870 * Rules (binaries-pie-tests): New.
10871 (binaries-pie-notests): Likewise.
10872 (binaries-pie): Rewritten.
10873 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
10874 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
10875 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
10876 (make-test-out): Replace $(host-built-program-cmd) with
10877 $(host-test-program-cmd).
10878 * config.make.in (build-hardcoded-path-in-tests): New variable.
10879 * configure.in (--enable-hardcoded-path-in-tests): New configure
10880 option.
10881 (hardcoded_path_in_tests): New AC_SUBST.
10882 * configure: Regenerated.
10883 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
10884 $(built-program-cmd) with $(test-program-cmd).
10885 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
10886 (test_program_cmd): This.
10887 * elf/Makefile ($(objpfx)order.out): Run test with
10888 $(test-program-prefix).
10889 ($(objpfx)order2.out): Likewise.
10890 ($(objpfx)tst-initorder.out): Likewise.
10891 ($(objpfx)tst-initorder2.out): Likewise.
10892 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
10893 $(test-program-cmd).
10894 ($(objpfx)tst-array1-static.out): Likewise.
10895 ($(objpfx)tst-array2.out): Likewise.
10896 ($(objpfx)tst-array3.out): Likewise.
10897 ($(objpfx)tst-array4.out): Likewise.
10898 ($(objpfx)tst-array5.out): Likewise.
10899 ($(objpfx)tst-array5-static.out): Likewise.
10900 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
10901 $(test-program-cmd).
10902 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
10903 $(run-program-prefix) with $(test-program-prefix).
10904 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
10905 (test_program_prefix): This.
10906 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
10907 $(run-program-prefix) with $(test-program-prefix).
10908 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
10909 (test_program_prefix): This.
10910 * iconvdata/tst-tables.sh: Likewise.
10911 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
10912 $(run-program-prefix) with $(test-program-prefix).
10913 ($(objpfx)tst-translit.out): Likewise.
10914 ($(objpfx)tst-gettext2.out): Likewise.
10915 ($(objpfx)tst-gettext4.out): Likewise.
10916 ($(objpfx)tst-gettext6.out): Likewise.
10917 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
10918 (test_program_prefix): This.
10919 * intl/tst-gettext2.sh: Likewise.
10920 * intl/tst-gettext4.sh Likewise.
10921 * intl/tst-gettext6.sh: Likewise.
10922 * intl/tst-translit.sh: Likewise.
10923 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
10924 with $(test-program-cmd).
10925 * libio/Makefile ($(objpfx)test-freopen.out): Replace
10926 $(run-program-prefix) with $(test-program-prefix).
10927 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
10928 (test_program_prefix): This.
10929 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
10930 $(run-program-prefix) with $(test-program-prefix).
10931 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
10932 (test_program_prefix): This.
10933 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
10934 * posix/Makefile ($(objpfx)globtest.out): Replace
10935 $(run-via-rtld-prefix) and $(test-wrapper) with
10936 $(test-program-prefix) and $(test-via-rtld-prefix).
10937 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
10938 $(test-program-prefix).
10939 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
10940 $(host-test-program-cmd).
10941 (tst-spawn-ARGS): Likewise.
10942 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
10943 $(test-program-prefix).
10944 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
10945 (test_via_rtld_prefix): This.
10946 (test_wrapper): Renamed to ...
10947 (test_program_prefix): This.
10948 (run_program_prefix): Replaced by test_program_prefix.
10949 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
10950 (test_program_prefix): This.
10951 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
10952 with $(host-test-program-cmd).
10953 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
10954 $(run-program-prefix) with $(test-program-prefix).
10955 ($(objpfx)tst-printf.out): Likewise.
10956 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
10957 $(test-program-cmd).
10958 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
10959 (test_program_prefix): This.
10960 * stdio-common/tst-unbputc.sh: Likewise.
10961 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
10962 $(run-program-prefix) with $(test-program-prefix).
10963 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
10964 (test_program_prefix): This.
10965 * string/Makefile ($(objpfx)tst-svc.out): Replace
10966 $(built-program-cmd) with $(test-program-cmd).
10967
c6fe55cf
AJ
109682013-01-11 Andreas Jaeger <aj@suse.de>
10969
10970 [BZ #15003]
10971 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
10972 value. Sync with Linux 3.7.
10973
9e6919c8
DM
109742013-01-10 David S. Miller <davem@davemloft.net>
10975
10976 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
10977 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
10978 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
10979
1c9f1a02
RM
109802013-01-10 Roland McGrath <roland@hack.frob.com>
10981
10982 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
10983 never set.
10984 * configure: Regenerated.
10985
b9de2dde
DM
109862013-01-10 David S. Miller <davem@davemloft.net>
10987
10988 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
10989 sparc V9 rather than using V8 code.
10990 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
10991 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
10992
e7f68ef4
RM
109932013-01-10 Roland McGrath <roland@hack.frob.com>
10994
10995 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
10996 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
10997 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
10998 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
10999 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
11000 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
11001 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
11002 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
11003 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
11004 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
11005 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
11006 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
11007 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
11008 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
11009 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
11010 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
11011 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
11012 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
11013 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
11014 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
11015 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
11016 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
11017 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
11018 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
11019 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
11020 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
11021 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
11022
5a47cc9c
DM
110232013-01-10 David S. Miller <davem@davemloft.net>
11024
11025 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11026
4cf8f209
L
110272013-01-10 H.J. Lu <hongjiu.lu@intel.com>
11028
11029 * posix/Makefile (tests-static): New variable.
11030 (tests): Add $(tests-static).
11031 (tst-exec-static-ARGS): New variable.
11032 (tst-spawn-static-ARGS): Likewise.
11033 * posix/tst-exec-static.c: New file.
11034 * posix/tst-spawn-static.c: Likewise.
11035 * posix/tst-exec.c: Support run directly.
11036 * posix/tst-spawn.c: Likewise.
11037
fed0faa1
JM
110382013-01-10 Joseph Myers <joseph@codesourcery.com>
11039
828beb13
JM
11040 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
11041 long.
11042 * math/bits/mathcalls.h (llrint): Likewise.
11043 (llround): Likewise.
11044 * stdlib/stdlib.h (struct drand48_data): Likewise.
11045 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
11046 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
11047 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
11048 Likewise.
11049 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
11050 Likewise.
11051 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
11052 (elf_greg_t): Likewise.
11053 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
11054 (__jmp_buf): Likewise.
11055 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
11056 definitions.
11057 (llrint): Likewise, for all definitions.
11058 (llrintl): Likewise.
11059
fed0faa1
JM
11060 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
11061 Remove [__GNUC__] condition.
11062 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
11063 condition to just [__USE_ISOC99].
11064 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
11065
1a20cb20
L
110662013-01-10 H.J. Lu <hongjiu.lu@intel.com>
11067
11068 [BZ #14200]
11069 * sysdeps/unix/sysv/linux/x86/bits/environments.h
11070 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
11071 defined.
11072 (_POSIX_V6_ILP32_OFF32): Likewise.
11073 (_XBS5_ILP32_OFF32): Likewise.
11074 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
11075 (__ILP32_OFFBIG_LDFLAGS): Likewise.
11076
751b85f7
SP
110772013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11078
7490eb81
SP
11079 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
11080
751b85f7
SP
11081 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
11082 doubles __mpexp_twomm1. Adjust usage.
11083 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
11084 Remove.
11085
988197f0
AS
110862013-01-10 Andreas Schwab <schwab@suse.de>
11087
11088 [BZ #14964]
11089 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
11090 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
11091
e83d7298
DM
110922013-01-09 David S. Miller <davem@davemloft.net>
11093
034ed64b 11094 [BZ #15003]
e83d7298
DM
11095 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
11096 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
11097 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
11098 TCP_FASTOPEN): Define.
11099 (tcp_repair_opt): New structure.
11100 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
11101 enum values.
11102 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
11103 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
11104 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
11105 (tcp_cookie_transactions): New structure.
11106
d5e0b9bd
AB
111072013-01-09 Anton Blanchard <anton@samba.org>
11108
11109 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
11110 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
11111 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
11112 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
11113
0c07e3ea
JM
111142013-01-09 Joseph Myers <joseph@codesourcery.com>
11115
11116 * include/features.h (__USE_ANSI): Remove.
11117
232f7002
RM
111182013-01-09 Roland McGrath <roland@hack.frob.com>
11119
ad98e30c
RM
11120 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
11121
232f7002
RM
11122 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
11123
950c99ca
SP
111242013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
11125
b5792741
SP
11126 * sysdeps/s390/fpu/libm-test-ulps: Update.
11127
47cf2278
SP
11128 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11129
950c99ca
SP
11130 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
11131 (__acr): Likewise.
11132 (__cpy): Likewise.
11133 (norm): Likewise.
11134 (denorm): Likewise.
11135 (__mp_dbl): Likewise.
11136 (__dbl_mp): Likewise.
11137 (add_magnitudes): Likewise.
11138 (sub_magnitudes): Likewise.
11139 (__add): Likewise.
11140 (__sub): Likewise.
11141 (__mul): Likewise.
11142 (__inv): Likewise.
11143 (__dvd): Likewise.
11144 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
11145 (__acr): Likewise.
11146 (__cpy): Likewise.
11147 (norm): Likewise.
11148 (denorm): Likewise.
11149 (__mp_dbl): Likewise.
11150 (__dbl_mp): Likewise.
11151 (add_magnitudes): Likewise.
11152 (sub_magnitudes): Likewise.
11153 (__add): Likewise.
11154 (__sub): Likewise.
11155 (__mul): Likewise.
11156 (__inv): Likewise.
11157 (__dvd): Likewise.
11158 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
11159 (__acr): Likewise.
11160 (__cpy): Likewise.
11161 (norm): Likewise.
11162 (denorm): Likewise.
11163 (__mp_dbl): Likewise.
11164 (__dbl_mp): Likewise.
11165 (add_magnitudes): Likewise.
11166 (sub_magnitudes): Likewise.
11167 (__add): Likewise.
11168 (__sub): Likewise.
11169 (__mul): Likewise.
11170 (__inv): Likewise.
11171 (__dvd): Likewise.
11172
eede9df9
JM
111732013-01-08 Joseph Myers <joseph@codesourcery.com>
11174
11175 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
11176 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
11177 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
11178 2 && __USE_EXTERN_INLINES]: Likewise.
11179
c40ea3d9
AJ
111802013-01-08 Andreas Jaeger <aj@suse.de>
11181
11182 [BZ# 14985]
11183 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
11184 Remove.
11185 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
11186 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
11187
2ccdea26
AB
111882013-01-07 Anton Blanchard <anton@samba.org>
11189
11190 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
11191 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
11192 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
11193 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
11194 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
11195 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
11196 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
11197 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
11198 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11199 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11200 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11201 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11202 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
11203 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11204 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
11205 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11206 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11207 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11208 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
11209 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
11210 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
11211 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
11212 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11213 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
11214 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
11215 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
11216 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
11217 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
11218 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
11219 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
11220 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
11221 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11222 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11223 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
11224 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
11225 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11226 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11227 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
11228 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
11229 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
11230 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
11231 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11232 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
11233
a9708fed
JM
112342013-01-07 Joseph Myers <joseph@codesourcery.com>
11235
375607b9
JM
11236 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
11237 (__MALLOC_PMT): Likewise.
11238 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
11239 [__GNUC__], only on [_LIBC].
11240 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
11241 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
11242 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
11243 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
11244 forward declaration.
11245 (realloc_hook_ini): Likewise.
11246 (memalign_hook_ini): Likewise.
11247 (__libc_memalign): Do not use __MALLOC_PMT in variable
11248 declaration.
11249 (__libc_valloc): Likewise.
11250 (__libc_pvalloc): Likewise.
11251 (__libc_calloc): Likewise.
11252 (__posix_memalign): Likewise.
11253
a9708fed
JM
11254 [BZ #14996]
11255 * math/s_casinh.c: Include <float.h>.
11256 (__casinh): Do not do computation with squaring and square root
11257 for large arguments.
11258 * math/s_casinhf.c: Include <float.h>.
11259 (__casinhf): Do not do computation with squaring and square root
11260 for large arguments.
11261 * math/s_casinhl.c: Include <float.h>.
11262 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
11263 (__casinhl): Do not do computation with squaring and square root
11264 for large arguments.
11265 * math/libm-test.inc (casin_test): Add more tests.
11266 (casinh_test): Likewise.
11267 * sysdeps/i386/fpu/libm-test-ulps: Update.
11268 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11269
afec409a
L
112702013-01-04 H.J. Lu <hongjiu.lu@intel.com>
11271
11272 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
11273 (__x86_64_raw_data_cache_size): Likewise.
11274 (__x86_64_data_cache_size_half): Likewise.
11275 (__x86_64_raw_data_cache_size_half): Likewise.
11276 (__x86_64_shared_cache_size): Likewise.
11277 (__x86_64_raw_shared_cache_size): Likewise.
11278 (__x86_64_shared_cache_size_half): Likewise.
11279 (__x86_64_raw_shared_cache_size_half): Likewise.
11280 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
11281 to ...
11282 (__x86_data_cache_size): This.
11283 (__x86_64_raw_data_cache_size): Renamed to ...
11284 (__x86_raw_data_cache_size): This.
11285 (__x86_64_data_cache_size_half): Renamed to ...
11286 (__x86_data_cache_size_half): This.
11287 (__x86_64_raw_data_cache_size_half): Renamed to ...
11288 (__x86_raw_data_cache_size_half): This.
11289 (__x86_64_shared_cache_size): Renamed to ...
11290 (__x86_shared_cache_size): This.
11291 (__x86_64_raw_shared_cache_size): Renamed to ...
11292 (__x86_raw_shared_cache_size): This.
11293 (__x86_64_shared_cache_size_half): Renamed to ...
11294 (__x86_shared_cache_size_half): This.
11295 (__x86_64_raw_shared_cache_size_half): Renamed to ...
11296 (__x86_raw_shared_cache_size_half): This.
11297 * sysdeps/x86_64/memcpy.S: Updated.
11298 * sysdeps/x86_64/memset.S: Likewise.
11299 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
11300 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11301 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11302
0b3986d0
DM
113032013-01-04 David S. Miller <davem@davemloft.net>
11304
11305 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11306
e47686e9
AS
113072013-01-04 Andreas Schwab <schwab@linux-m68k.org>
11308
d643bac1
AS
11309 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
11310 1 to avoid redefinition warning.
11311 (__USE_GNU): Don't define.
11312 (init_signaling_nan): Protoize.
11313
e47686e9
AS
11314 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11315
b18decba
SP
113162013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11317
fffb407f
SP
11318 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
11319 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
11320 (__cpymn): Likewise.
11321 (norm): Remove commented code.
11322 (denorm): Likewise.
11323 (__mp_dbl): Likewise.
11324 (__inv): Likewise.
11325 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
11326 (__cpymn): Likewise.
11327 (norm): Remove commented code.
11328 (denorm): Likewise.
11329 (__mp_dbl): Likewise.
11330 (__inv): Likewise.
11331
b18decba
SP
11332 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
11333 mp_no value for 1.0 and 2.0.
11334 (norm): Use RADIXI instead of radixi.d.
11335 (denorm): Likewise.
11336 (__mul): Use 0.0 instead of zero.d.
11337 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
11338 mp_no value for 1.0 and 2.0.
11339 (norm): Use RADIXI instead of radixi.d.
11340 (denorm): Likewise.
11341 (__mul): Use 0.0 instead of zero.d.
11342
cdc1c96f
JM
113432013-01-04 Joseph Myers <joseph@codesourcery.com>
11344
11345 [BZ #14994]
11346 * math/s_casinh.c (__casinh): Reduce finite argument to first
11347 quadrant then set signs of results at the end.
11348 * math/s_casinhf.c (__casinhf): Likewise.
11349 * math/s_casinhl.c (__casinhl): Likewise.
11350 * math/libm-test.inc (casin_test): Add more tests.
11351 (casinh_test): Likewise.
11352 * sysdeps/i386/fpu/libm-test-ulps: Update.
11353 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11354
302913e1
SP
113552013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11356
6420d207
SP
11357 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
11358
a9e48ab4
SP
11359 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
11360
b7837264
SP
11361 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
11362 declarations.
11363 (denorm): Likewise.
11364 (__mp_dbl): Likewise.
11365 (__inv): Likewise.
11366
f8af25d2
SP
11367 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
11368 and adjust the header comment.
11369
302913e1
SP
11370 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
11371 variable name from declaration.
11372
5d7dd1ca
L
113732013-01-03 H.J. Lu <hongjiu.lu@intel.com>
11374
11375 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11376 Initialize COMMON_CPUID_INDEX_7 element.
11377 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
11378 (CPUID_RTM): Likewise.
11379 (HAS_RTM): Likewise.
11380 (COMMON_CPUID_INDEX_7): New enum.
11381
2f5f40f4
AS
113822013-01-03 Andreas Schwab <schwab@linux-m68k.org>
11383
11384 [BZ #14981]
11385 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
11386 size is zero, record memory as freed.
11387
4056f4a0
AJ
113882013-01-03 Andreas Jaeger <aj@suse.de>
11389
11390 * po/ia.po: Add new Interlingua translation.
11391
ab15736f 113922012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
11393
11394 * locale/programs/localedef.c: Fix description of '--posix' flag.
11395
568035b7
JM
113962013-01-02 Joseph Myers <joseph@codesourcery.com>
11397
e6898b8d
JM
11398 * NEWS: Update dates in second copyright notice.
11399 * README: Update copyright dates in example.
11400 * manual/libc.texinfo: Update copyright dates.
11401 * scripts/test-installation.pl: Update copyright date in --version
11402 output.
11403
0e2f9562
JM
11404 * hurd/ctty-input.c: Fix copyright notice formatting.
11405 * hurd/ctty-output.c: Likewise.
11406 * hurd/dtable.c: Likewise.
11407 * hurd/hurd-raise.c: Likewise.
11408 * hurd/hurdprio.c: Likewise.
11409 * hurd/msgportdemux.c: Likewise.
11410 * misc/sys/file.h: Likewise.
11411 * misc/sys/ioctl.h: Likewise.
11412 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
11413 * sysdeps/mach/hurd/chdir.c: Likewise.
11414 * sysdeps/mach/hurd/fchdir.c: Likewise.
11415 * sysdeps/mach/hurd/rename.c: Likewise.
11416 * sysdeps/mach/hurd/rmdir.c: Likewise.
11417 * sysdeps/mach/hurd/seekdir.c: Likewise.
11418 * sysdeps/mach/hurd/setsid.c: Likewise.
11419 * sysdeps/posix/wait3.c: Likewise.
11420
568035b7
JM
11421 * All files with FSF copyright notices: Update copyright dates
11422 using scripts/update-copyrights.
11423 * intl/plural.c: Regenerated.
11424 * locale/programs/charmap-kw.h: Likewise.
11425 * locale/programs/locfile-kw.h: Likewise.
11426
da08f647
SP
114272013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11428
0f5477af
SP
11429 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
11430 four values.
11431
44e0d4c2
SP
11432 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
11433 calculation loop and add branch prediction.
11434
4d55b4e5
SP
11435 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
11436 check access beyond bounds of m1np.
11437
da08f647
SP
11438 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
11439 MPTWO.
11440 (__inv): Remove local variable MPTWO to use the global
11441 constant.
11442 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
11443 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
11444 variable MPTWO.
11445 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
11446 MP3HALFS static const.
11447
8e051029
DM
114482013-01-01 David S. Miller <davem@davemloft.net>
11449
11450 * po/ca.po: Update from translation team.
11451
f4cf5f2d
JM
114522013-01-01 Joseph Myers <joseph@codesourcery.com>
11453
11454 * scripts/update-copyrights: New file.
11455 * Makeconfig: Reformat copyright notice.
11456 * ctype/ctype.h: Likewise.
11457 * debug/swprintf_chk.c: Likewise.
11458 * elf/dl-cache.c: Likewise.
11459 * elf/dl-debug.c: Likewise.
11460 * elf/dl-object.c: Likewise.
11461 * grp/initgroups.c: Likewise.
11462 * hurd/Makefile: Likewise.
11463 * hurd/hurd/signal.h: Likewise.
11464 * hurd/hurdfault.c: Likewise.
11465 * hurd/hurdioctl.c: Likewise.
11466 * hurd/hurdlookup.c: Likewise.
11467 * hurd/intr-msg.c: Likewise.
11468 * iconv/gconv_open.c: Likewise.
11469 * libio/swprintf.c: Likewise.
11470 * locale/lc-ctype.c: Likewise.
11471 * locale/nl_langinfo.c: Likewise.
11472 * mach/Machrules: Likewise.
11473 * mach/Makefile: Likewise.
11474 * malloc/obstack.h: Likewise.
11475 * manual/Makefile: Likewise.
11476 * manual/tsort.awk: Likewise.
11477 * misc/bits/stab.def: Likewise.
11478 * nis/nis_print_group_entry.c: Likewise.
11479 * nis/nis_table.c: Likewise.
11480 * nis/nss_compat/compat-pwd.c: Likewise.
11481 * nis/nss_compat/compat-spwd.c: Likewise.
11482 * po/Makefile: Likewise.
11483 * posix/fnmatch.c: Likewise.
11484 * posix/regex.h: Likewise.
11485 * resolv/Makefile: Likewise.
11486 * resolv/nss_dns/dns-network.c: Likewise.
11487 * resolv/res_hconf.c: Likewise.
11488 * scripts/gen-sorted.awk: Likewise.
11489 * soft-fp/soft-fp.h: Likewise.
11490 * stdio-common/printf.h: Likewise.
11491 * stdlib/monetary.h: Likewise.
11492 * stdlib/random.c: Likewise.
11493 * stdlib/random_r.c: Likewise.
11494 * sysdeps/generic/Makefile: Likewise.
11495 * sysdeps/gnu/Makefile: Likewise.
11496 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
11497 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11498 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11499 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11500 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11501 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11502 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11503 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11504 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11505 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11506 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
11507 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
11508 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
11509 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
11510 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
11511 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
11512 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
11513 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11514 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11515 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11516 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
11517 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
11518 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
11519 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
11520 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
11521 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
11522 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
11523 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
11524 * sysdeps/mach/hurd/errnos.awk: Likewise.
11525 * sysdeps/mach/hurd/fork.c: Likewise.
11526 * sysdeps/mach/hurd/getcwd.c: Likewise.
11527 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
11528 * sysdeps/mach/hurd/mmap.c: Likewise.
11529 * sysdeps/mach/hurd/utimes.c: Likewise.
11530 * sysdeps/mach/hurd/xmknod.c: Likewise.
11531 * sysdeps/posix/profil.c: Likewise.
11532 * sysdeps/posix/readdir_r.c: Likewise.
11533 * sysdeps/powerpc/bits/mathdef.h: Likewise.
11534 * sysdeps/powerpc/bits/setjmp.h: Likewise.
11535 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
11536 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
11537 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11538 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
11539 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11540 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11541 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11542 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
11543 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11544 * sysdeps/pthread/lio_listio.c: Likewise.
11545 * sysdeps/sparc/dl-procinfo.h: Likewise.
11546 * sysdeps/unix/i386/sysdep.S: Likewise.
11547 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
11548 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
11549 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
11550 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
11551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11552 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
11553 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
11554 * sysdeps/unix/sysv/linux/speed.c: Likewise.
11555 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
11556 * sysdeps/wordsize-32/divdi3.c: Likewise.
11557 * time/sys/time.h: Likewise.
11558 * wcsmbs/Makefile: Likewise.
11559
0549fbba
DM
115602013-01-01 David S. Miller <davem@davemloft.net>
11561
a141f1a7
DM
11562 * po/fr.po: Update from translation team.
11563
0549fbba
DM
11564 * catgets/gencat.c: Update copyright year.
11565 * csu/version.c: Likewise.
11566 * debug/catchsegv.sh: Likewise.
11567 * debug/pcprofiledump.c: Likewise.
11568 * debug/xtrace.sh: Likewise.
11569 * elf/ldconfig.c: Likewise.
11570 * elf/ldd.bash.in: Likewise.
11571 * elf/pldd.c: Likewise.
11572 * elf/sotruss.ksh: Likewise.
11573 * elf/sprof.c: Likewise.
11574 * iconv/iconv_prog.c: Likewise.
11575 * iconv/iconvconfig.c: Likewise.
11576 * locale/programs/locale.c: Likewise.
11577 * locale/programs/localedef.c: Likewise.
11578 * login/programs/pt_chown.c: Likewise.
11579 * malloc/memusage.sh: Likewise.
11580 * malloc/memusagestat.c: Likewise.
11581 * malloc/mtrace.pl: Likewise.
11582 * nscd/nscd.c: Likewise.
11583 * nss/getent.c: Likewise.
11584 * nss/makedb.c: Likewise.
11585 * posix/getconf.c: Likewise.
11586
18ea052c
SP
115872012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
11588
11589 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
11590 numbers.
11591
9c89fca6
MF
115922012-12-30 Mike Frysinger <vapier@gentoo.org>
11593
11594 * math/bits/mathcalls.h (modf): Use __nonnull.
11595
085ec079
SP
115962012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11597
11598 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
11599 (split): Use macro CN instead of the bare value.
11600 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
11601 could be used.
11602 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
11603 instead of the bare value.
11604 (power1): Likewise.
11605
6d9f97e1
SP
116062012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11607
d63f73be
SP
11608 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
11609 __ATAN_TWOM.
11610 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11611
6d9f97e1
SP
11612 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
11613 their values.
11614 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
11615 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11616 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
11617 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
11618
4c4febf5
AJ
116192012-12-28 Andreas Jaeger <aj@suse.de>
11620
af5843ef
AJ
11621 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
11622 values are from Linux 3.7.
11623
4c4febf5
AJ
11624 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
11625 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
11626
99136f82
SP
116272012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11628
2f216c3c 11629 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
11630 TRUE case.
11631
99136f82
SP
11632 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
11633 (norm): Likewise.
11634 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
11635 variables with preprocessor constants.
11636 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11637 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
11638 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
11639
7fffbdff
BH
116402012-12-27 Bruno Haible <bruno@clisp.org>
11641
11642 [BZ #14317]
11643 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
11644 only if needed.
11645
b76eb5f0
SP
116462012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11647
31a7fe5c
SP
11648 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
11649 and use variable directly.
11650 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
11651
b76eb5f0
SP
11652 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
11653 MPONE.
11654 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
11655 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
11656 variable MPONE.
11657 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11658 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
11659 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
11660 include directive. Remove local variable MPONE.
11661 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
11662 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
11663 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
11664
2c8bfe7d
DM
116652012-12-25 David S. Miller <davem@davemloft.net>
11666
11667 * version.h (RELEASE): Set to "development".
11668 (VERSION): Set to "2.17.90".
11669 * NEWS: Add 2.18 section.
11670
147d03b0
DM
116712012-12-21 David S. Miller <davem@davemloft.net>
11672
11673 * po/hr.po: Update from translation team.
11674
a8ebb2b9
AK
116752012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11676
11677 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
11678
95b4f1b6
SE
116792012-12-19 Steve Ellcey <sellcey@mips.com>
11680
b2d94007 11681 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 11682
cedb2a90
MS
116832012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11684
11685 * manual/contrib.texi (Contributors): Spelling correction.
11686
bbf527d6
DM
116872012-12-15 David S. Miller <davem@davemloft.net>
11688
11689 * po/ru.po: Update from translation team.
11690
bc38c906
DM
116912012-12-13 David S. Miller <davem@davemloft.net>
11692
85429b1a
DM
11693 * NEWS: Mention IFUNC testsuite enhancements.
11694
d283e353
DM
11695 * po/pl.po: Update from translation team.
11696 * po/bg.po: Likewise.
11697
bc38c906
DM
11698 * manual/contrib.texi (Contributors): Update entries for Hongjiu
11699 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
11700
a181b0d7
DM
117012012-12-11 David S. Miller <davem@davemloft.net>
11702
4641d57e
DM
11703 * po/sv.po: Update from translation team.
11704
f7bc6495
DM
11705 * po/vi.po: Update from translation team.
11706
6fc9048f
DM
11707 * po/cs.po: Update from translation team.
11708
a181b0d7
DM
11709 * po/de.po: Update from translation team.
11710 * po/eo.po: Likewise.
11711 * po/nl.po: Likewise.
11712
f70bfe80
SP
117132012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11714
3c8b4190
SP
11715 [BZ #14246]
11716 * manual/argp.texi (Argp Helper Functions): Move node to follow
11717 Argp Parsing State.
11718
f70bfe80
SP
11719 [BZ #14872]
11720 * manual/conf.texi (Limits on File System Capacity): Mention if
11721 terminating null is included in the max size.
11722
188f0adf
AJ
117232012-12-10 Andreas Jaeger <aj@suse.de>
11724
11725 * po/cs.po: Update from translation team.
11726
56e7d3ad
SP
117272012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11728
11729 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
11730 void pointer and cast to uintptr_t.
11731 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
11732 path.
11733 * sysdeps/s390/s390-64/memcpy.S: Likewise.
11734 * sysdeps/s390/s390-64/memset.S: Likewise.
11735
76f2d2ea 117362012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
11737
11738 [BZ #14833]
11739 * menual/message.texi (Message Translation): Fix typos.
11740 (Helper programs for gettext): Likewise.
11741
67cbf9a2
AS
117422012-12-07 Andreas Schwab <schwab@linux-m68k.org>
11743
11744 [BZ #14898]
11745 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
11746 Change to -1.
11747
682d0e9a
DM
117482012-12-07 David S. Miller <davem@davemloft.net>
11749
11750 * po/libc.pot: Update.
11751
573cd484
RH
117522012-12-07 Richard Henderson <rth@redhat.com>
11753
7e9da188 11754 [BZ #10114]
573cd484
RH
11755 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
11756 normal/normal case to before the switch.
11757 (_FP_DIV): Likewise.
11758
e933a943
MF
117592012-12-06 Carlos O'Donell <carlos@systemhalted.org>
11760 Mike Frysinger <vapier@gentoo.org>
11761
11762 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
11763 check for __NR_fadvise64_64.
11764
82123268
CM
117652012-12-06 Chris Metcalf <cmetcalf@tilera.com>
11766
11767 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
11768 0, not just to plain "0" as a statement.
11769 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
11770 with cw.
11771
d9814526
JM
117722012-12-06 Joseph Myers <joseph@codesourcery.com>
11773
11774 * NEWS: Use sourceware.org in Bugzilla URL.
11775
7728c574
SP
117762012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11777
f16946dd
SP
11778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
11779 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
11780
5704bbcb
SP
11781 * stdio-common/tst-put-error.c (do_test): Add newline to the
11782 padded test to ensure flush.
11783
17aa0516
JL
117842012-12-05 Jeff Law <law@redhat.com>
11785
11786 * sunrpc/etc.rpc (fedfs_admin): Add entry.
11787
363313b5
JM
117882012-12-05 Joseph Myers <joseph@codesourcery.com>
11789
effbd42a
JM
11790 * README: Don't refer to ports add-on as distributed separately.
11791 Mention AArch64 in list of systems supported in the ports add-on.
11792
87600365
JM
11793 * LICENSES: Add more non-FSF copyright and license notices.
11794
a0d7066a
JM
11795 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
11796 ((unused)).
11797
66ca5a5b
JM
11798 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
11799
363313b5
JM
11800 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
11801 10000 as width of padded output.
11802
b37984ad
JM
118032012-12-04 Joseph Myers <joseph@codesourcery.com>
11804
9003570a
JM
11805 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
11806
b37984ad
JM
11807 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
11808 variable LX with __attribute__ ((unused)).
11809 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
11810 Likewise.
11811 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
11812 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11813 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
11814 with __attribute__ ((unused)).
11815
c8df52ec
DM
118162012-12-04 David S. Miller <davem@abraco.davemloft.net>
11817
11818 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
11819
b3b099af
JM
118202012-12-04 Joseph Myers <joseph@codesourcery.com>
11821
c33aa6e3
JM
11822 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
11823 (CFLAGS-nldbl-acos.c): New variable.
11824 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
11825 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
11826 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
11827 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
11828 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
11829 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
11830 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
11831 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
11832 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
11833 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
11834 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
11835 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
11836 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
11837 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
11838 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
11839 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
11840 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
11841 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
11842 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
11843 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
11844 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
11845 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
11846 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
11847 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
11848 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
11849 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
11850 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
11851 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
11852 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
11853 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
11854 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
11855 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
11856 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
11857 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
11858 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
11859 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
11860 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
11861 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
11862 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
11863 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
11864 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
11865 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
11866 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
11867 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
11868 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
11869 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
11870 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
11871 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
11872 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
11873 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
11874 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
11875 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
11876 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
11877 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
11878 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
11879 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
11880 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
11881 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
11882 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
11883 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
11884 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
11885 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
11886 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
11887 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
11888 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
11889 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
11890 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
11891 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
11892 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
11893 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
11894 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
11895 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
11896 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
11897 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
11898 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
11899 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
11900 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
11901 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
11902 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
11903 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
11904 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
11905 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
11906 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
11907 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
11908 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
11909 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
11910 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
11911 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
11912 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
11913 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
11914 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
11915 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
11916 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
11917 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
11918 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
11919 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
11920 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
11921
20f0018d
JM
11922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11923 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
11924
b3b099af
JM
11925 [BZ #14914]
11926 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
11927 whole low double instead of just low 47 bits when splitting values
11928 into two parts.
11929
029264d1
AM
119302012-12-03 Allan McRae <allan@archlinux.org>
11931
11932 * manual/stdio.texi (Predefined Printf Handlers): Remove
11933 @hsep and @vsep usage.
11934
c9d6789e
MF
119352012-12-03 Mike Frysinger <vapier@gentoo.org>
11936
11937 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
11938 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
11939
4b7634a5
JL
119402012-12-03 Jeff Law <law@redhat.com>
11941
11942 * time/sys/time.h (settimeofday): Do not mark TV argument
11943 as __nonnull.
11944
eb6cbd24
MF
119452012-12-01 Mike Frysinger <vapier@gentoo.org>
11946
11947 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
11948 when currently writing and seek to current position when not.
11949 * libio/Makefile (tests): Remove bug-fclose1.
11950 * libio/bug-fclose1.c: Delete.
11951
f638872a
JM
119522012-12-01 Joseph Myers <joseph@codesourcery.com>
11953
11954 * manual/arith.texi (feenableexcept): Fix typo.
11955 (fedisableexcept): Likewise.
11956
48085d14
RM
119572012-11-30 Roland McGrath <roland@hack.frob.com>
11958
11959 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
11960 second, differently-typed declaration, rather than a cast.
11961
1a538b9f
SP
119622012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11963
11964 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
11965 * include/rpc/svc.h: ... here.
11966
d07f2ff1 119672012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
11968
11969 [BZ #13013]
11970 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
11971 depending n and resplen2 to catch cases where answer
11972 equals answerp2.
11973
c93ec1f0
CD
119742012-11-29 Carlos O'Donell <carlos@systemhalted.org>
11975
11976 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
11977 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
11978
37db69de
MF
119792012-11-29 Mike Frysinger <vapier@gentoo.org>
11980
11981 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
11982
e10c4e4f
RM
119832012-11-29 Roland McGrath <roland@hack.frob.com>
11984
11985 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
11986
2af1b328
JL
119872012-11-28 Jeff Law <law@redhat.com>
11988
11989 [BZ #13761]
11990 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
11991 dataset_temporary. Track alloca usage into alloca_used.
11992 If dataset is large allocate and release it via malloc/free.
11993
111db5b1
FW
119942012-06-04 Florian Weimer <fweimer@redhat.com>
11995
f06cc227 11996 [BZ #14197]
111db5b1
FW
11997 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
11998
dd694abd
DM
119992012-11-28 David S. Miller <davem@davemloft.net>
12000
12001 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12002
9984dd01
JM
120032012-11-28 Joseph Myers <joseph@codesourcery.com>
12004
12005 [BZ #14803]
12006 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
12007 of pi/2 rounded to nearest to 64 bits.
12008 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
12009 nearest to 64 bits.
12010 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
12011 bits.
12012
14bc93a9
JL
120132012-11-28 Jeff Law <law@redhat.com>
12014 Martin Osvald <mosvald@redhat.com>
12015
12016 [BZ #14889]
12017 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
12018 * sunrpc/svc.c: Include time.h.
12019 (__svc_accept_failed): New function.
12020 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
12021 any reason other than EINTR, call __svc_accept_failed.
12022 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
12023 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
12024
e3c6aa3a
AS
120252012-11-28 Andreas Schwab <schwab@suse.de>
12026
12027 * scripts/abilist.awk: Also handle indirect functions in .opd
12028 section.
12029
1bead169
JM
120302012-11-28 Joseph Myers <joseph@codesourcery.com>
12031
12032 [BZ #13881]
12033 * sysdeps/x86/fpu/powl_helper.c: New file.
12034 * sysdeps/x86/fpu/Makefile: Likewise.
12035 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
12036 (p3): New object.
12037 (__ieee754_powl): Use __powl_helper for finite arguments except
12038 integer exponents below 8.
12039 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
12040 (p3): New object.
12041 (__ieee754_powl): Use __powl_helper for finite arguments except
12042 integer exponents below 8.
12043 * math/libm-test.inc (pow_test): Add more tests and enable some
12044 previously disabled tests.
12045 * sysdeps/i386/fpu/libm-test-ulps: Update.
12046 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12047
0817d63d
SP
120482012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12049 Carlos O'Donell <carlos_odonell@mentor.com>
12050
12051 * nss/makedb.c (is_prime): Assert that input is odd and greater
12052 than 4. Note that fact in a comment too.
12053 (next_prime): Add 4 to input.
12054
de2fd463
SP
120552012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12056
12057 [BZ #11741]
12058 * libio/Makefile (tests): Add test case tst-fwrite-error.
12059 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
12060 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
12061 * libio/tst-fwrite-error.c: New test case.
12062
c515fb51
L
120632012-11-26 H.J. Lu <hongjiu.lu@intel.com>
12064
12065 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
12066 before casting to void *.
12067 * include/libc-internal.h (__pointer_type): New macro.
12068 (__integer_if_pointer_type_sub): Likewise.
12069 (__integer_if_pointer_type): Likewise.
12070 (cast_to_integer): Likewise.
12071 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
12072 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
12073 before casting to atomic64_t.
12074 (atomic_exchange_acq): Likewise.
12075 (__arch_exchange_and_add_body): Likewise.
12076 (__arch_add_body): Likewise.
12077 (atomic_add_negative): Likewise.
12078 (atomic_add_zero): Likewise.
12079
4cf77aa9
JM
120802012-11-26 Joseph Myers <joseph@codesourcery.com>
12081
12082 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
12083 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
12084 (add_fdes): Likewise.
12085 (linear_search_fdes): Likewise.
12086 (binary_search_unencoded_fdes): Likewise.
12087
d260b3b4
AS
120882012-11-26 Andreas Schwab <schwab@linux-m68k.org>
12089
12090 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
12091
67060746
AC
120922012-11-24 Adam Conrad <adconrad@0c3.net>
12093
12094 * configure.in: Autodetect C++ header directories.
12095 * configure: Regenerated.
12096
800938a1
MF
120972012-11-23 Mike Frysinger <vapier@gentoo.org>
12098
12099 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
12100
4e6e34e6
AS
121012012-11-23 Andreas Schwab <schwab@linux-m68k.org>
12102
12103 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12104
7c7feb47
JM
121052012-11-22 Joseph Myers <joseph@codesourcery.com>
12106
7184dcdf
JM
12107 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
12108 LDBL_MANT_DIG == 106]: Disable some tests.
12109 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
12110 Likewise.
12111 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
12112 Likewise.
12113
0a42601f
JM
12114 [BZ #14871]
12115 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
12116 input for small inputs. Return +/- pi/2 for large inputs.
12117 * math/libm-test.inc (atan_test): Add more tests.
12118
79c9b9fe
JM
12119 * sysdeps/generic/unwind-dw2-fde-glibc.c
12120 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
12121 __attribute__ ((unused)).
12122
c60d3bf2
JM
12123 [BZ #14645]
12124 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
12125 x * y if x and y are nonzero and z is zero.
12126
ef1e0867
JM
12127 [BZ #14811]
12128 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
12129 nonzero exponents with absolute value below 0x1p-117 to +/-
12130 0x1p-117.
12131
1468ded3
JM
12132 [BZ #14869]
12133 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
12134 up arguments below 2**-450, not just those below 2**-500.
12135 * math/libm-test.inc (hypot_test): Add another test.
12136
8e27e3cc
JM
12137 [BZ #14868]
12138 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
12139 Return a+b for ratio over 2**120, not 2**60.
12140 * math/libm-test.inc (hypot_test): Add another test.
12141
c9c0279b
JM
12142 * math/libm-test.inc (clog_test): Use
12143 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
12144 (clog10_test): Likewise.
12145
7c7feb47
JM
12146 [BZ #6778]
12147 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
12148
fff1530e
AS
121492012-11-22 Andreas Schwab <schwab@suse.de>
12150
12151 * sysdeps/i386/fpu/libm-test-ulps: Update.
12152
94558d30
PT
121532012-11-22 Pino Toscano <toscano.pino@tiscali.it>
12154
12155 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
12156 printf output with newline.
12157
7e1be741
L
121582012-11-21 H.J. Lu <hongjiu.lu@intel.com>
12159
6bfea974
L
12160 [BZ #14865]
12161 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
12162 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
12163 -z nodlopen, -z initfirst and -z execstack support.
12164 * configure: Regenerated.
12165
7e1be741
L
12166 * elf/elf.h (DF_1_NODIRECT): New macro.
12167 (DF_1_IGNMULDEF): Likewise.
12168 (DF_1_NOKSYMS): Likewise.
12169 (DF_1_NOHDR): Likewise.
12170 (DF_1_EDITED): Likewise.
12171 (DF_1_NORELOC): Likewise.
12172 (DF_1_SYMINTPOSE): Likewise.
12173 (DF_1_GLOBAUDIT): Likewise.
12174 (DF_1_SINGLETON): Likewise.
12175 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
12176 DT_1_SUPPORTED_MASK bits.
12177 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
12178
105ce2ce
CD
121792012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
12180
12181 * sysdeps/unix/make-syscalls.sh: Document prefixes.
12182
123be9de
TS
121832012-11-20 Thomas Schwinge <thomas@codesourcery.com>
12184
d072f3f7
TS
12185 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
12186 macro.
12187
123be9de
TS
12188 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
12189 (sendmmsg): Move declarations...
12190 * socket/sys/socket.h: ... here.
12191 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
12192 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
12193 include it from...
12194 * socket/recvmmsg.c: ... this new file.
12195 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
12196 (sendmmsg): Rename to __sendmmsg, create weak alias and make
12197 definition of __sendmmsg hidden.
12198 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
12199 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
12200 Move ENOSYS stub into and include it from...
12201 * socket/sendmmsg.c: ... this new file.
12202 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
12203 (sysdep_routines): Move recvmmsg and sendmmsg...
12204 * socket/Makefile (routines): ... here.
12205 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
12206 (GLIBC_PRIVATE): Add __sendmmsg.
12207 * include/sys/socket.h (__sendmmsg): Add declarations.
12208 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
12209 sendmmsg.
12210
cf9a5d18
JM
122112012-11-20 Joseph Myers <joseph@codesourcery.com>
12212
12213 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
12214 variable I1 with __attribute__ ((unused)).
12215 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
12216
ecd4caf9
JM
122172012-11-19 Joseph Myers <joseph@codesourcery.com>
12218
be14d48f
JM
12219 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
12220 DUMMY variables with __attribute__ ((unused)).
12221
ecd4caf9
JM
12222 * bits/byteswap.h: Include <bits/types.h>.
12223 (__bswap_64): Use __uint64_t instead of unsigned long long int.
12224
986cab95
PT
122252012-11-19 Pino Toscano <toscano.pino@tiscali.it>
12226
12227 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
12228 string_t. Do not manually set errno.
12229 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
12230 length with __strnlen. Make sure to both set errno and return it on
12231 failure.
12232
6d33cc9d
DM
122332012-11-19 David S. Miller <davem@davemloft.net>
12234
12235 With help from Joseph Myers.
12236 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
12237 very large arguments properly.
12238 * math/libm-test.inc (atan_test): New tests.
12239 (atan2_test): New tests.
12240 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12241 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12242
ee663277
JM
122432012-11-19 Joseph Myers <joseph@codesourcery.com>
12244
877f2d8e
JM
12245 [BZ #14856]
12246 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
12247 Define to 3.
12248
116fc08a
JM
12249 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
12250 [POSIX] (EADDRNOTAVAIL): Likewise.
12251 [POSIX] (EAFNOSUPPORT): Likewise.
12252 [POSIX] (EALREADY): Likewise.
12253 [POSIX] (ECONNABORTED): Likewise.
12254 [POSIX] (ECONNREFUSED): Likewise.
12255 [POSIX] (ECONNRESET): Likewise.
12256 [POSIX] (EDESTADDRREQ): Likewise.
12257 [POSIX] (EDQUOT): Likewise.
12258 [POSIX] (EHOSTUNREACH): Likewise.
12259 [POSIX] (EIDRM): Likewise.
12260 [POSIX] (EISCONN): Likewise.
12261 [POSIX] (ELOOP): Likewise.
12262 [POSIX] (EMULTIHOP): Likewise.
12263 [POSIX] (ENETDOWN): Likewise.
12264 [POSIX] (ENETUNREACH): Likewise.
12265 [POSIX] (ENOBUFS): Likewise.
12266 [POSIX] (ENODATA): Likewise.
12267 [POSIX] (ENOLINK): Likewise.
12268 [POSIX] (ENOMSG): Likewise.
12269 [POSIX] (ENOPROTOOPT): Likewise.
12270 [POSIX] (ENOSR): Likewise.
12271 [POSIX] (ENOSTR): Likewise.
12272 [POSIX] (ENOTCONN): Likewise.
12273 [POSIX] (ENOTSOCK): Likewise.
12274 [POSIX] (EOPNOTSUPP): Likewise.
12275 [POSIX] (EOVERFLOW): Likewise.
12276 [POSIX] (EPROTO): Likewise.
12277 [POSIX] (EPROTONOSUPPORT): Likewise.
12278 [POSIX] (EPROTOTYPE): Likewise.
12279 [POSIX] (ESTALE): Likewise.
12280 [POSIX] (ETIME): Likewise.
12281 [POSIX] (ETXTBSY): Likewise.
12282 [POSIX] (EWOULDBLOCK): Likewise.
12283 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
12284 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
12285 [POSIX] (SEEK_CUR): Likewise.
12286 [POSIX] (SEEK_END): Likewise.
12287 [POSIX || UNIX98] (mode_t): Do not require.
12288 [POSIX] (off_t): Likewise.
12289 [POSIX] (pid_t): Likewise.
12290 [POSIX] (sys/stat.h): Do not allow header.
12291 [POSIX] (unistd.h): Likewise.
12292 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
12293 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
12294 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
12295 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
12296 require.
12297 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
12298 sigevent): Specify elements.
12299 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
12300 entry.
12301 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
12302 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
12303
a483863f
JM
12304 * conform/data/cpio.h-data [POSIX]: Disable whole file.
12305 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
12306 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
12307 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
12308 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
12309 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
12310 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
12311 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
12312 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
12313 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
12314 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
12315 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
12316 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
12317 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
12318 Likewise.
12319 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
12320 Likewise.
12321 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
12322 Likewise.
12323 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
12324 Likewise.
12325 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
12326 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
12327 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
12328 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
12329 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
12330 Specify lower bound on value.
12331 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
12332 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
12333 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
12334 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
12335 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
12336 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
12337 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
12338 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
12339 value.
12340 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
12341 as optional.
12342 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
12343 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
12344 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
12345 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
12346 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
12347 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
12348 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
12349 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
12350 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
12351 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
12352 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
12353 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
12354 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
12355 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
12356 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
12357 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
12358 entry.
12359 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
12360 optional.
12361 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
12362 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
12363 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
12364 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
12365 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
12366 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
12367 Likewise.
12368 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
12369 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
12370 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
12371 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
12372 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
12373 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
12374 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
12375 as optional.
12376 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
12377 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
12378 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
12379 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
12380 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
12381 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
12382 specify as optional.
12383 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
12384 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
12385 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
12386 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
12387 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
12388 [XPG3] (NL_LANGMAX): Likewise.
12389 [POSIX || XPG3] (NL_MSGMAX): Likewise.
12390 [POSIX || XPG3] (NL_NMAX): Likewise.
12391 [POSIX || XPG3] (NL_SETMAX): Likewise.
12392 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
12393 [XPG3] (NZERO): Likewise.
12394 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
12395 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
12396 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
12397 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
12398 (REG_ERANGE): Expect.
12399 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
12400 optional-constant.
12401 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
12402 Use (void) in prototype.
12403 [POSIX] (*_t): Allow.
12404 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
12405 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
12406 (WRDE_BADVAL): Expect.
12407
5ba924e3
JM
12408 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
12409 expect.
12410 [XPG3 || XPG4] (O_RSYNC): Likewise.
12411 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
12412 Likewise.
12413 [XPG3 || XPG4] (pthread_sigmask): Likewise.
12414 [XPG3 || XPG4] (sigqueue): Likewise.
12415 [XPG3 || XPG4] (sigtimedwait): Likewise.
12416 [XPG3 || XPG4] (sigwaitinfo): Likewise.
12417 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
12418 [XPG3 || XPG4] (vsnprintf): Likewise.
12419 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
12420 Likewise.
12421 [XPG3 || XPG4] (blksize_t): Likewise.
12422 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
12423 Likewise.
12424 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
12425 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
12426 [XPG3 || XPG4] (struct itimerspec): Likewise.
12427 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
12428 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
12429 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
12430 [XPG3 || XPG4] (clockid_t): Likewise.
12431 [XPG3 || XPG4] (timer_t): Likewise.
12432 [XPG3 || XPG4] (clock_getres): Likewise.
12433 [XPG3 || XPG4] (clock_gettime): Likewise.
12434 [XPG3 || XPG4] (clock_settime): Likewise.
12435 [XPG3 || XPG4] (nanosleep): Likewise.
12436 [XPG3 || XPG4] (timer_create): Likewise.
12437 [XPG3 || XPG4] (timer_delete): Likewise.
12438 [XPG3 || XPG4] (timer_gettime): Likewise.
12439 [XPG3 || XPG4] (timer_getoverrun): Likewise.
12440 [XPG3 || XPG4] (timer_settime): Likewise.
12441 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
12442 [XPG3 || XPG4] (getlogin_r): Likewise.
12443 [XPG3 || XPG4] (pread): Likewise.
12444 [XPG3 || XPG4] (pthread_atfork): Likewise.
12445 [XPG3 || XPG4] (pwrite): Likewise.
12446
ee663277
JM
12447 [BZ #14835]
12448 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
12449 <bits/siginfo.h>.
12450
942caa16
PT
124512012-11-19 Pino Toscano <toscano.pino@tiscali.it>
12452
e19af380
PT
12453 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
12454 finalizing MALLSTREAM.
12455
942caa16
PT
12456 * sysdeps/mach/hurd/syncfs.c: New file.
12457
cfde9b46
SP
124582012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12459
12460 [BZ #14719]
12461 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
12462 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
12463 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
12464 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
12465 (_nss_dns_gethostbyname4_r): Likewise.
12466 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
12467 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
12468
f6da27e5
PH
124692012-11-19 Peng Haitao <penght@cn.fujitsu.com>
12470
12471 [BZ #13763]
12472 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
12473
6665d4a2
SM
124742012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
12475
1f51ee92
SM
12476 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
12477 * elf/cache.c (print_entry): Print ",AArch64" for
12478 FLAG_AARCH64_LIB64
12479
6665d4a2
SM
12480 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
12481 * elf/cache.c (print_entry): Print ",hard-float" for
12482 FLAG_ARM_LIBHF.
12483
05b227bd
DM
124842012-11-18 David S. Miller <davem@davemloft.net>
12485
12486 With help from Joseph Myers.
12487 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
12488 cutoff to 2**-13.
12489 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
12490 cutoff to 2**-25.
12491 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
12492 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
12493 small.
12494 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
12495 * math/libm-test.inc (y0_test): New tests.
12496 (y1_test): New tests.
12497 * sysdeps/i386/fpu/libm-test-ulps: Update.
12498 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12499 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12500
786b0b67
AS
125012012-11-18 Andreas Schwab <schwab@linux-m68k.org>
12502
12503 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
12504 64-bit targets.
12505 * configure: Regenerated.
12506
8e18b86d
DM
125072012-11-17 David S. Miller <davem@davemloft.net>
12508
12509 [BZ #14811]
12510 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
12511 nonzero exponents with absolute value below 0x1p-128 to +/-
12512 0x1p-128.
12513
531f1ae0
JM
125142012-11-17 Joseph Myers <joseph@codesourcery.com>
12515
12df29e2
JM
12516 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
12517
150dc1a0
JM
12518 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
12519
531f1ae0
JM
12520 * posix/getconf-speclist.c: New file.
12521 * posix/posix-envs.def: Likewise.
12522 * posix/confstr.c (START_ENV_GROUP): New macro.
12523 (END_ENV_GROUP): Likewise.
12524 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
12525 (KNOWN_PRESENT_ENV_STRING): Likewise.
12526 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
12527 (UNKNOWN_ENVIRONMENT): Likewise.
12528 (confstr): Include posix-envs.def instead of handling
12529 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
12530 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
12531 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
12532 (END_ENV_GROUP): Likewise.
12533 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
12534 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
12535 (UNKNOWN_ENVIRONMENT): Likewise.
12536 (__sysconf): Include posix-envs.def instead of handling associated
12537 cases directly here.
12538 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
12539 preprocessing getconf-speclist.c rather than running getconf or
12540 generating empty file.
12541
a93f9cbc
PT
125422012-11-16 Pino Toscano <toscano.pino@tiscali.it>
12543
12544 * scripts/check-local-headers.sh: Ignore 'mach' headers.
12545
d64d9f87
AL
125462012-11-16 Andrej Lajovic <natrij@gmail.com>
12547
12548 [BZ #14672]
12549 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
12550
447885eb
DM
125512012-11-16 David S. Miller <davem@davemloft.net>
12552
12553 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
12554 smaller than LDBL_EPSILON/2.0L, just return xm1.
12555
bcbf9830
L
125562012-11-16 H.J. Lu <hongjiu.lu@intel.com>
12557
12558 * elf/tst-array1.c (init): Set constructor priority to 1000.
12559 (fini): Set destructor priority to 1000.
12560 * elf/tst-array2dep.c: Likewise.
12561
2b766585
SP
125622012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12563
12564 [BZ #11741]
12565 * libio/fileops.c (_IO_new_file_write): Correctly return error.
12566 (_IO_new_file_xsputn): Also return EOF if none of the input
12567 data was written when overflow failed.
12568 * libio/iopadn.c (_IO_padn): Likewise.
12569 * libio/iowpadn.c (_IO_wpadn): Likewise.
12570 * stdio-common/tst-put-error.c: Add copyright notice.
12571 (do_test): Add case for printing padded string.
12572 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
12573 _IO_padn returned error.
12574 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
12575 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
12576 return EOF.
12577
b1848fde
SP
125782012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12579
12580 * libio/libioP.h: Add comment note that the references to C++
12581 bits are now obsolete.
12582
2fd89785
MS
125832012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12584
12585 * math/libm-test.inc (check_complex): Use asprintf.
12586
e3ea5409
JM
125872012-11-14 Joseph Myers <joseph@codesourcery.com>
12588
12589 * debug/pcprofiledump.c (print_version): Update copyright year.
12590 * malloc/memusagestat.c (print_version): Likewise.
12591
2e64d265
L
125922012-11-14 H.J. Lu <hongjiu.lu@intel.com>
12593
12594 [BZ #14831]
12595 * elf/Makefile (tests): Add tst-audit8.
12596 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
12597 ($(objpfx)tst-audit8.out): New target.
12598 (tst-audit8-ENV): New variable.
12599 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
12600 audit if l_reloc_result is NULL.
12601 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
12602 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
12603 * elf/tst-audit8.c: New file.
12604
c485e4d2
MS
126052012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12606
12607 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
12608 * misc/Makefile (CFLAGS-select.c): Define.
12609 * posix/Makefile (CFLAGS-pause.c): Define.
12610
3a0d900a
DM
126112012-11-13 David S. Miller <davem@davemloft.net>
12612
12613 * crypt/Makefile: Move test targets after toplevel Rules
12614 inclusion. Grab any necessary sysdep routines when linking.
12615 * crypt/md5.c (md5_process_block): Remove define, we will always
12616 name it __md5_process_block.
12617 (md5_finish_ctx): Update md5_process_block call.
12618 (md5_stream): Likewise.
12619 (md5_process_bytes): Likewise.
12620 (md5_process_block): Rename to __md5_process_block and move to ...
12621 * crypt/md5-block.c: ... here.
12622 * crypt/sha256.c (sha256_process_block): Move to ...
12623 * crypt/sha256-block.c: ... here.
12624 * crypt/sha512.c (sha512_process_block): Move to ...
12625 * crypt/sha512-block.c: ... here.
12626 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
12627 path.
12628 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
12629 * sysdeps/sparc/sparc64/multiarch/Makefile
12630 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
12631 crypt subdir.
12632 (localedef-aux): Add md5 crypto assembler when in locale subdir.
12633 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
12634 multiarch changes.
12635 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
12636 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
12637 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
12638 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
12639 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
12640 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
12641 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
12642 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
12643 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
12644 file.
12645 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
12646 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
12647 file.
12648 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
12649
8ca89318
JM
126502012-11-13 Joseph Myers <joseph@codesourcery.com>
12651
e27d476a
JM
12652 * timezone/tzselect.ksh: Update from tzcode git revision
12653 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
12654 * timezone/zdump.c: Likewise.
12655 * timezone/zic.c: Likewise.
12656 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
12657 in TZVERSION setting, not $(PKGVERSION).
12658 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
12659 REPORT_BUGS_TO settings.
12660
8ca89318
JM
12661 [BZ #14838]
12662 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
12663 macro.
12664
47594329
MS
126652012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12666
12667 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
12668 detection to immediately after _FP_ROUND().
12669 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
12670 bits are 0.
12671
640ac3f1
DM
126722012-11-11 David S. Miller <davem@davemloft.net>
12673
12674 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
12675 inttypes.h
12676 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
12677 __close rather than their public counterparts.
12678
3d2577bb
JM
126792012-11-10 Joseph Myers <joseph@codesourcery.com>
12680
12681 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
12682 file.
12683 [UNIX98] (sem_timedwait): Do not expect.
12684 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
12685 [XPG4 || UNIX98] (sockatmark): Do not expect.
12686 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
12687 (clock_getcpuclockid): Do not expect.
12688 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
12689 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
12690 Do not expect.
12691 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
12692 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
12693 [UNIX98] (vwscanf): Likewise.
12694 [UNIX98] (vswscanf): Likewise.
12695
fb1ae1ee
JM
126962012-11-09 Joseph Myers <joseph@codesourcery.com>
12697
9ec6f8bd
JM
12698 * timezone/version.h: Remove file.
12699 * timezone/README: Do not refer to version.h.
12700 * timezone/Makefile ($(objpfx)zic.o): New dependency on
12701 $(objpfx)version.h.
12702 ($(objpfx)zdump.o): Likewise.
c3f81911 12703 ($(objpfx)version.h): New target.
9ec6f8bd 12704
0aa8f8a1
JM
12705 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
12706 2012i.
12707 * timezone/README: Don't mention modification to tzselect.ksh.
12708 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
12709 work on unmodified tzselect.ksh. Substitute version numbers in
12710 tzselect.ksh.
12711
4e87147f
JM
12712 * Makefile (format-me): Remove.
12713 (INSTALL): Adjust indentation. Use commands directly instead of
12714 using $(format-me).
12715
8b748aed
JM
12716 * aclocal.m4 (ACX_PKGVERSION): New macro.
12717 (ACX_BUGURL): Likewise.
12718 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
12719 (PKGVERSION): New AC_DEFINE_UNQUOTED.
12720 (REPORT_BUGS_TO): Likewise.
12721 * configure: Regenerated.
12722 * config.h.in (PKGVERSION): New macro.
12723 (REPORT_BUGS_TO): Likewise.
12724 * config.make.in (PKGVERSION): New variable.
12725 (PKGVERSION_TEXI): Likewise.
12726 (REPORT_BUGS_TO): Likewise.
12727 (REPORT_BUGS_TEXI): Likewise.
12728 * Makefile (format-me): Use -I$(common-objpfx)manual.
12729 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
12730 ($(common-objpfx)manual/%): New target.
12731 (manual/%): Remove target.
12732 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
12733 (print_version): Use PKGVERSION.
12734 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
12735 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
12736 and REPORT_BUGS_TO.
12737 ($(objpfx)xtrace): Likewise.
12738 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
12739 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
12740 (print_version): Use PKGVERSION.
12741 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
12742 (do_version): Use PKGVERSION.
12743 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
12744 REPORT_BUGS_TO.
12745 (common-ldd-rewrite): Likewise.
12746 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
12747 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
12748 (print_version): Use PKGVERSION.
12749 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
12750 * elf/pldd.c (argp_program_bug_address): Remove variable.
12751 (more_help): New function.
12752 (argp): Use more_help.
12753 (print_version): Use PKGVERSION.
12754 * elf/sln.c (main): Use PKGVERSION.
12755 (usage): Use REPORT_BUGS_TO.
12756 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
12757 (top level): Use PKGVERSION.
12758 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
12759 (print_version): Use PKGVERSION.
12760 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
12761 (print_version): Use PKGVERSION.
12762 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
12763 (print_version): Use PKGVERSION.
12764 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
12765 (print_version): Use PKGVERSION.
12766 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
12767 (print_version): Use PKGVERSION.
12768 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
12769 (print_version): Use PKGVERSION.
12770 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
12771 and BUGURL.
12772 ($(objpfx)memusage): Likewise.
12773 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
12774 (do_version): Use PKGVERSION.
12775 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
12776 (print_version): Use PKGVERSION.
12777 * malloc/mtrace.pl ($PACKAGE): Remove variable.
12778 ($PKGVERSION): New variable.
12779 ($REPORT_BUGS_TO): Likewise.
12780 (usage): Use $REPORT_BUGS_TO.
12781 (top level): Use $PKGVERSION.
12782 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
12783 ($(objpfx)pkgvers.texi): New rule.
12784 ($(objpfx)stamp-pkgvers): Likewise.
12785 * manual/install.texi: Include pkgvers.texi.
12786 (--with-pkgversion): Document new configure option.
12787 (--with-bugurl): Likewise.
12788 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
12789 than necessarily for this particular distribution. Use
12790 REPORT_BUGS_TO for where to report bugs.
12791 * INSTALL: Regenerated.
12792 * manual/libc.texinfo: Include pkgvers.texi.
12793 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
12794 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
12795 (print_version): Use PKGVERSION.
12796 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
12797 (print_version): Use PKGVERSION.
12798 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
12799 (print_version): Use PKGVERSION.
12800 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
12801 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
12802 macro.
12803 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
12804 (print_version): Use PKGVERSION.
12805 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
12806 (print_version): Use PKGVERSION.
12807 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
12808 and PKGVERSION.
12809
92e4b6a9
JM
12810 * timezone/checktab.awk: Update from tzcode 2012i.
12811 * timezone/ialloc.c: Likewise.
12812 * timezone/private.h: Likewise.
12813 * timezone/scheck.c: Likewise.
12814 * timezone/tzfile.h: Likewise.
12815 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
12816 (TZVERSION): Hardcode tzcode version number.
12817 * timezone/zdump.c: Update from tzcode 2012i.
12818 * timezone/zic.c: Likewise.
12819 * timezone/version.h: New file.
12820 * timezone/README: Describe version.h. Update upstream location.
12821
9bde902c
JM
12822 [BZ #14824]
12823 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
12824 (mktemp): Enable declaration.
12825 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
12826 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
12827 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
12828 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
12829 Likewise.
12830 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
12831 Likewise.
12832 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
12833 Likewise.
12834 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
12835 Likewise.
12836 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
12837 Likewise.
12838 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
12839 Likewise.
12840
fb1ae1ee
JM
12841 [BZ #14821]
12842 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
12843 offset in buffer as u_int32_t not u_long. Consistently use memcpy
12844 for copies of such integer values.
12845 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
12846 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
12847
2c1adbcb
AJ
128482012-11-09 Andreas Jaeger <aj@suse.de>
12849
12850 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
12851 definitions and declarations that are provided by
12852 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
12853
d0f8457e
AK
128542012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12855
3a235abb 12856 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
12857 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
12858 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
12859 definition.
12860
57241e26
MS
128612012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12862
12863 * elf/elf.h: Update comment before AArch64 relocations.
12864
60e8270d
DM
128652012-11-07 David S. Miller <davem@davemloft.net>
12866
12867 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
12868 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
12869 (__start_context): Declare.
12870 (__makecontext_ret): Delete.
12871 (__makecontext): Hook up __start_context instead of
12872 __makecontext_ret.
12873 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
12874 (sysdep_routines): Add __start_context when in stdlib.
12875
0fbb0fbc
JM
128762012-11-07 Joseph Myers <joseph@codesourcery.com>
12877
12878 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
12879 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
12880 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
12881 hardcoded "nm".
12882 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
12883 (READELF): New variable. Use it instead of hardcoded "readelf".
12884
eb48db7e
L
128852012-11-07 H.J. Lu <hongjiu.lu@intel.com>
12886
12887 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
12888 * sysdeps/x86/Makefile: Here.
12889 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
12890 * sysdeps/x86/tst-xmmymm.sh: This.
12891
05bcf62a
JM
128922012-11-07 Joseph Myers <joseph@codesourcery.com>
12893
c4b6cf53
JM
12894 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
12895 expectations.
12896 [UNIX98] (pthread_barrier_t): Do not expect.
12897 [UNIX98] (pthread_barrierattr_t): Likewise.
12898 [UNIX98] (pthread_spinlock_t): Likewise.
12899 [UNIX98] (pthread_barrier_destroy): Likewise.
12900 [UNIX98] (pthread_barrier_init): Likewise.
12901 [UNIX98] (pthread_barrier_wait): Likewise.
12902 [UNIX98] (pthread_barrierattr_destroy): Likewise.
12903 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
12904 [UNIX98] (pthread_barrierattr_init): Likewise.
12905 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
12906 [UNIX98] (pthread_getcpuclockid): Likewise.
12907 [UNIX98] (pthread_mutex_timedlock): Likewise.
12908 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
12909 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
12910 [UNIX98] (pthread_sigmask): Likewise.
12911 [UNIX98] (pthread_spin_destroy): Likewise.
12912 [UNIX98] (pthread_spin_init): Likewise.
12913 [UNIX98] (pthread_spin_lock): Likewise.
12914 [UNIX98] (pthread_spin_trylock): Likewise.
12915 [UNIX98] (pthread_spin_unlock): Likewise.
12916 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
12917 Do not expect.
12918 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
12919 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
12920 [XPG3 || XPG4] (pthread_cond_t): Likewise.
12921 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
12922 [XPG3 || XPG4] (pthread_key_t): Likewise.
12923 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
12924 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
12925 [XPG3 || XPG4] (pthread_once_t): Likewise.
12926 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
12927 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
12928 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
12929 [XPG3 || XPG4] (pthread_t): Likewise.
12930
cbe6e120
JM
12931 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
12932 not expect.
12933 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
12934
1b126443
JM
12935 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
12936 Change function return type to int.
12937
b961a573
JM
12938 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
12939 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
12940 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
12941 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
12942 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
12943 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
12944 [!POSIX] (posix_madvise): Likewise.
12945 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
12946 && !UNIX98].
12947 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
12948 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
12949 (mode_t): Likewise.
12950 (posix_mem_offset): Likewise.
12951 (posix_typed_mem_get_info): Likewise.
12952 (posix_typed_mem_open): Likewise.
12953
9e188909
JM
12954 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
12955 Change condition to [XOPEN2K8].
12956
05bcf62a
JM
12957 * conform/conformtest.pl: Preprocess allow-header data with -x c
12958 instead of from stdin.
12959 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
12960 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
12961 [C99-based standards] (cerfc): Likewise.
12962 [C99-based standards] (cexp2): Likewise.
12963 [C99-based standards] (cexpm1): Likewise.
12964 [C99-based standards] (clog10): Likewise.
12965 [C99-based standards] (clog1p): Likewise.
12966 [C99-based standards] (clog2): Likewise.
12967 [C99-based standards] (clgamma): Likewise.
12968 [C99-based standards] (ctgamma): Likewise.
12969 [C99-based standards] (cerff): Likewise.
12970 [C99-based standards] (cerfcf): Likewise.
12971 [C99-based standards] (cexp2f): Likewise.
12972 [C99-based standards] (cexpm1f): Likewise.
12973 [C99-based standards] (clog10f): Likewise.
12974 [C99-based standards] (clog1pf): Likewise.
12975 [C99-based standards] (clog2f): Likewise.
12976 [C99-based standards] (clgammaf): Likewise.
12977 [C99-based standards] (ctgammaf): Likewise.
12978 [C99-based standards] (cerfl): Likewise.
12979 [C99-based standards] (cerfcl): Likewise.
12980 [C99-based standards] (cexp2l): Likewise.
12981 [C99-based standards] (cexpm1l): Likewise.
12982 [C99-based standards] (clog10l): Likewise.
12983 [C99-based standards] (clog1pl): Likewise.
12984 [C99-based standards] (clog2l): Likewise.
12985 [C99-based standards] (clgammal): Likewise.
12986 [C99-based standards] (ctgammal): Likewise.
12987 * conform/data/inttypes.h-data [C99-based standards]: Include
12988 stdint.h-data. Remove all expectations for stdint.h contents.
12989 [C99-based standards] (PRI*): Do not allow.
12990 [C99-based standards] (SCN*): Likewise.
12991 [C99-based standards] (*_t): Likewise.
12992 [C99-based-standards] (PRId8): Expect macro.
12993 [C99-based-standards] (PRIi8): Likewise.
12994 [C99-based-standards] (PRIo8): Likewise.
12995 [C99-based-standards] (PRIu8): Likewise.
12996 [C99-based-standards] (PRIx8): Likewise.
12997 [C99-based-standards] (PRIX8): Likewise.
12998 [C99-based-standards] (SCNd8): Likewise.
12999 [C99-based-standards] (SCNi8): Likewise.
13000 [C99-based-standards] (SCNo8): Likewise.
13001 [C99-based-standards] (SCNu8): Likewise.
13002 [C99-based-standards] (SCNx8): Likewise.
13003 [C99-based-standards] (PRIdLEAST8): Likewise.
13004 [C99-based-standards] (PRIiLEAST8): Likewise.
13005 [C99-based-standards] (PRIoLEAST8): Likewise.
13006 [C99-based-standards] (PRIuLEAST8): Likewise.
13007 [C99-based-standards] (PRIxLEAST8): Likewise.
13008 [C99-based-standards] (PRIXLEAST8): Likewise.
13009 [C99-based-standards] (SCNdLEAST8): Likewise.
13010 [C99-based-standards] (SCNiLEAST8): Likewise.
13011 [C99-based-standards] (SCNoLEAST8): Likewise.
13012 [C99-based-standards] (SCNuLEAST8): Likewise.
13013 [C99-based-standards] (SCNxLEAST8): Likewise.
13014 [C99-based-standards] (PRIdFAST8): Likewise.
13015 [C99-based-standards] (PRIiFAST8): Likewise.
13016 [C99-based-standards] (PRIoFAST8): Likewise.
13017 [C99-based-standards] (PRIuFAST8): Likewise.
13018 [C99-based-standards] (PRIxFAST8): Likewise.
13019 [C99-based-standards] (PRIXFAST8): Likewise.
13020 [C99-based-standards] (SCNdFAST8): Likewise.
13021 [C99-based-standards] (SCNiFAST8): Likewise.
13022 [C99-based-standards] (SCNoFAST8): Likewise.
13023 [C99-based-standards] (SCNuFAST8): Likewise.
13024 [C99-based-standards] (SCNxFAST8): Likewise.
13025 [C99-based-standards] (PRId16): Likewise.
13026 [C99-based-standards] (PRIi16): Likewise.
13027 [C99-based-standards] (PRIo16): Likewise.
13028 [C99-based-standards] (PRIu16): Likewise.
13029 [C99-based-standards] (PRIx16): Likewise.
13030 [C99-based-standards] (PRIX16): Likewise.
13031 [C99-based-standards] (SCNd16): Likewise.
13032 [C99-based-standards] (SCNi16): Likewise.
13033 [C99-based-standards] (SCNo16): Likewise.
13034 [C99-based-standards] (SCNu16): Likewise.
13035 [C99-based-standards] (SCNx16): Likewise.
13036 [C99-based-standards] (PRIdLEAST16): Likewise.
13037 [C99-based-standards] (PRIiLEAST16): Likewise.
13038 [C99-based-standards] (PRIoLEAST16): Likewise.
13039 [C99-based-standards] (PRIuLEAST16): Likewise.
13040 [C99-based-standards] (PRIxLEAST16): Likewise.
13041 [C99-based-standards] (PRIXLEAST16): Likewise.
13042 [C99-based-standards] (SCNdLEAST16): Likewise.
13043 [C99-based-standards] (SCNiLEAST16): Likewise.
13044 [C99-based-standards] (SCNoLEAST16): Likewise.
13045 [C99-based-standards] (SCNuLEAST16): Likewise.
13046 [C99-based-standards] (SCNxLEAST16): Likewise.
13047 [C99-based-standards] (PRIdFAST16): Likewise.
13048 [C99-based-standards] (PRIiFAST16): Likewise.
13049 [C99-based-standards] (PRIoFAST16): Likewise.
13050 [C99-based-standards] (PRIuFAST16): Likewise.
13051 [C99-based-standards] (PRIxFAST16): Likewise.
13052 [C99-based-standards] (PRIXFAST16): Likewise.
13053 [C99-based-standards] (SCNdFAST16): Likewise.
13054 [C99-based-standards] (SCNiFAST16): Likewise.
13055 [C99-based-standards] (SCNoFAST16): Likewise.
13056 [C99-based-standards] (SCNuFAST16): Likewise.
13057 [C99-based-standards] (SCNxFAST16): Likewise.
13058 [C99-based-standards] (PRId32): Likewise.
13059 [C99-based-standards] (PRIi32): Likewise.
13060 [C99-based-standards] (PRIo32): Likewise.
13061 [C99-based-standards] (PRIu32): Likewise.
13062 [C99-based-standards] (PRIx32): Likewise.
13063 [C99-based-standards] (PRIX32): Likewise.
13064 [C99-based-standards] (SCNd32): Likewise.
13065 [C99-based-standards] (SCNi32): Likewise.
13066 [C99-based-standards] (SCNo32): Likewise.
13067 [C99-based-standards] (SCNu32): Likewise.
13068 [C99-based-standards] (SCNx32): Likewise.
13069 [C99-based-standards] (PRIdLEAST32): Likewise.
13070 [C99-based-standards] (PRIiLEAST32): Likewise.
13071 [C99-based-standards] (PRIoLEAST32): Likewise.
13072 [C99-based-standards] (PRIuLEAST32): Likewise.
13073 [C99-based-standards] (PRIxLEAST32): Likewise.
13074 [C99-based-standards] (PRIXLEAST32): Likewise.
13075 [C99-based-standards] (SCNdLEAST32): Likewise.
13076 [C99-based-standards] (SCNiLEAST32): Likewise.
13077 [C99-based-standards] (SCNoLEAST32): Likewise.
13078 [C99-based-standards] (SCNuLEAST32): Likewise.
13079 [C99-based-standards] (SCNxLEAST32): Likewise.
13080 [C99-based-standards] (PRIdFAST32): Likewise.
13081 [C99-based-standards] (PRIiFAST32): Likewise.
13082 [C99-based-standards] (PRIoFAST32): Likewise.
13083 [C99-based-standards] (PRIuFAST32): Likewise.
13084 [C99-based-standards] (PRIxFAST32): Likewise.
13085 [C99-based-standards] (PRIXFAST32): Likewise.
13086 [C99-based-standards] (SCNdFAST32): Likewise.
13087 [C99-based-standards] (SCNiFAST32): Likewise.
13088 [C99-based-standards] (SCNoFAST32): Likewise.
13089 [C99-based-standards] (SCNuFAST32): Likewise.
13090 [C99-based-standards] (SCNxFAST32): Likewise.
13091 [C99-based-standards] (PRId64): Likewise.
13092 [C99-based-standards] (PRIi64): Likewise.
13093 [C99-based-standards] (PRIo64): Likewise.
13094 [C99-based-standards] (PRIu64): Likewise.
13095 [C99-based-standards] (PRIx64): Likewise.
13096 [C99-based-standards] (PRIX64): Likewise.
13097 [C99-based-standards] (SCNd64): Likewise.
13098 [C99-based-standards] (SCNi64): Likewise.
13099 [C99-based-standards] (SCNo64): Likewise.
13100 [C99-based-standards] (SCNu64): Likewise.
13101 [C99-based-standards] (SCNx64): Likewise.
13102 [C99-based-standards] (PRIdLEAST64): Likewise.
13103 [C99-based-standards] (PRIiLEAST64): Likewise.
13104 [C99-based-standards] (PRIoLEAST64): Likewise.
13105 [C99-based-standards] (PRIuLEAST64): Likewise.
13106 [C99-based-standards] (PRIxLEAST64): Likewise.
13107 [C99-based-standards] (PRIXLEAST64): Likewise.
13108 [C99-based-standards] (SCNdLEAST64): Likewise.
13109 [C99-based-standards] (SCNiLEAST64): Likewise.
13110 [C99-based-standards] (SCNoLEAST64): Likewise.
13111 [C99-based-standards] (SCNuLEAST64): Likewise.
13112 [C99-based-standards] (SCNxLEAST64): Likewise.
13113 [C99-based-standards] (PRIdFAST64): Likewise.
13114 [C99-based-standards] (PRIiFAST64): Likewise.
13115 [C99-based-standards] (PRIoFAST64): Likewise.
13116 [C99-based-standards] (PRIuFAST64): Likewise.
13117 [C99-based-standards] (PRIxFAST64): Likewise.
13118 [C99-based-standards] (PRIXFAST64): Likewise.
13119 [C99-based-standards] (SCNdFAST64): Likewise.
13120 [C99-based-standards] (SCNiFAST64): Likewise.
13121 [C99-based-standards] (SCNoFAST64): Likewise.
13122 [C99-based-standards] (SCNuFAST64): Likewise.
13123 [C99-based-standards] (SCNxFAST64): Likewise.
13124 [C99-based-standards] (PRIdMAX): Likewise.
13125 [C99-based-standards] (PRIiMAX): Likewise.
13126 [C99-based-standards] (PRIoMAX): Likewise.
13127 [C99-based-standards] (PRIuMAX): Likewise.
13128 [C99-based-standards] (PRIxMAX): Likewise.
13129 [C99-based-standards] (PRIXMAX): Likewise.
13130 [C99-based-standards] (SCNdMAX): Likewise.
13131 [C99-based-standards] (SCNiMAX): Likewise.
13132 [C99-based-standards] (SCNoMAX): Likewise.
13133 [C99-based-standards] (SCNuMAX): Likewise.
13134 [C99-based-standards] (SCNxMAX): Likewise.
13135 [C99-based-standards] (PRIdPTR): Likewise.
13136 [C99-based-standards] (PRIiPTR): Likewise.
13137 [C99-based-standards] (PRIoPTR): Likewise.
13138 [C99-based-standards] (PRIuPTR): Likewise.
13139 [C99-based-standards] (PRIxPTR): Likewise.
13140 [C99-based-standards] (PRIXPTR): Likewise.
13141 [C99-based-standards] (SCNdPTR): Likewise.
13142 [C99-based-standards] (SCNiPTR): Likewise.
13143 [C99-based-standards] (SCNoPTR): Likewise.
13144 [C99-based-standards] (SCNuPTR): Likewise.
13145 [C99-based-standards] (SCNxPTR): Likewise.
13146 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
13147 allow.
13148 * conform/data/stdint.h-data: Update comments to clarify
13149 requirements.
13150 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
13151 type.
13152 [C99-based standards] (INT8_MAX): Likewise.
13153 [C99-based standards] (INT16_MIN): Likewise.
13154 [C99-based standards] (INT16_MAX): Likewise.
13155 [C99-based standards] (INT32_MIN): Likewise.
13156 [C99-based standards] (INT32_MAX): Likewise.
13157 [C99-based standards] (INT64_MIN): Likewise.
13158 [C99-based standards] (INT64_MAX): Likewise.
13159 [C99-based standards] (UINT8_MAX): Likewise.
13160 [C99-based standards] (UINT16_MAX): Likewise.
13161 [C99-based standards] (UINT32_MAX): Likewise.
13162 [C99-based standards] (UINT64_MAX): Likewise.
13163 [C99-based standards] (INT_LEAST8_MIN): Likewise.
13164 [C99-based standards] (INT_LEAST8_MAX): Likewise.
13165 [C99-based standards] (INT_LEAST16_MIN): Likewise.
13166 [C99-based standards] (INT_LEAST16_MAX): Likewise.
13167 [C99-based standards] (INT_LEAST32_MIN): Likewise.
13168 [C99-based standards] (INT_LEAST32_MAX): Likewise.
13169 [C99-based standards] (INT_LEAST64_MIN): Likewise.
13170 [C99-based standards] (INT_LEAST64_MAX): Likewise.
13171 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
13172 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
13173 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
13174 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
13175 [C99-based standards] (INT_FAST8_MIN): Likewise.
13176 [C99-based standards] (INT_FAST8_MAX): Likewise.
13177 [C99-based standards] (INT_FAST16_MIN): Likewise.
13178 [C99-based standards] (INT_FAST16_MAX): Likewise.
13179 [C99-based standards] (INT_FAST32_MIN): Likewise.
13180 [C99-based standards] (INT_FAST32_MAX): Likewise.
13181 [C99-based standards] (INT_FAST64_MIN): Likewise.
13182 [C99-based standards] (INT_FAST64_MAX): Likewise.
13183 [C99-based standards] (UINT_FAST8_MAX): Likewise.
13184 [C99-based standards] (UINT_FAST16_MAX): Likewise.
13185 [C99-based standards] (UINT_FAST32_MAX): Likewise.
13186 [C99-based standards] (UINT_FAST64_MAX): Likewise.
13187 [C99-based standards] (INTPTR_MIN): Likewise.
13188 [C99-based standards] (INTPTR_MAX): Likewise.
13189 [C99-based standards] (UINTPTR_MAX): Likewise.
13190 [C99-based standards] (INTMAX_MIN): Likewise.
13191 [C99-based standards] (INTMAX_MAX): Likewise.
13192 [C99-based standards] (UINTMAX_MAX): Likewise.
13193 [C99-based standards] (PTRDIFF_MIN): Likewise.
13194 [C99-based standards] (PTRDIFF_MAX): Likewise.
13195 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
13196 [C99-based standards] (SIZE_MAX): Likewise.
13197 [C99-based standards] (WCHAR_MAX): Likewise.
13198 [C99-based standards] (WINT_MAX): Likewise.
13199 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
13200 constraint on value.
13201 [C99-based standards] (WCHAR_MIN): Likewise.
13202 [C99-based standards] (WINT_MIN): Likewise.
13203 [C99-based standards] (*_t): Allow.
13204 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
13205 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
13206 Include math.h-data and complex.h-data. Remove all expectations
13207 of math.h and complex.h contents.
13208 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
13209 at end of line.
13210 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
13211 (struct tm): Expect tag.
13212 [C99-based-standards] (wcstof): Expect function.
13213 [C99-based-standards] (wcstold): Likewise.
13214 [C99-based-standards] (wcstoll): Likewise.
13215 [C99-based-standards] (wcstoull): Likewise.
13216 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
13217 macro-int-constant. Specify type.
13218 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
13219 constraint on value.
13220 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
13221 Specify type.
13222 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
13223 Specify value.
13224 [ISO C standards]: Do not allow headers.
13225 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
13226 wcs[abcdefghijklmnopqrstuvwxyz]*.
13227 [ISO C standards] (*_t): Do not allow.
13228 * conform/data/wctype.h-data [C99-based standards] (iswblank):
13229 Expect function.
13230 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
13231 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
13232 Specify type.
13233 [ISO C standards]: Do not allow headers.
13234 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
13235 is[abcdefghijklmnopqrstuvwxyz]*.
13236 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
13237 to[abcdefghijklmnopqrstuvwxyz]*.
13238 [ISO C standards] (*_t): Do not allow.
13239 * conform/data/stdalign.h-data: New file.
13240 * conform/data/stdbool.h-data: Likewise.
13241 * conform/data/stdnoreturn.h-data: Likewise.
13242
7514feb8
RM
132432012-11-07 Roland McGrath <roland@hack.frob.com>
13244
13245 [BZ #14815]
13246 * manual/filesys.texi (Directory Entries): Typo fix.
13247 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
13248
19b2ecfc
MS
132492012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13250
13251 * elf/elf.h (EM_AARCH64): New macro.
13252 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
13253 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
13254 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
13255 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
13256 (R_AARCH64_TLSDESC): Likewise.
13257 (NT_ARM_TLS): Likewise.
13258 (NT_ARM_HW_BREAK): Likewise.
13259 (NT_ARM_HW_WATCH): Likewise.
13260
60e235ee
JM
132612012-11-07 Joseph Myers <joseph@codesourcery.com>
13262
13263 [BZ #14811]
13264 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
13265 (__ieee754_powl): Saturate nonzero exponents with absolute value
13266 below 0x1p-79 to +/- 0x1p-79.
13267 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
13268 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
13269 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
13270 nonzero exponents with absolute value below 0x1p-32 to +/-
13271 0x1p-32.
13272 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
13273 (__ieee754_powl): Saturate nonzero exponents with absolute value
13274 below 0x1p-79 to +/- 0x1p-79.
13275 * math/libm-test.inc (pow_test): Add more tests.
13276
0ab234b7
AK
132772012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13278
13279 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
13280 _dl_s390_cap_flags with kernel. Increase string length.
13281 (_dl_s390_platforms): Add z196 and zEC12.
13282
45832f74
JM
132832012-11-07 Joseph Myers <joseph@codesourcery.com>
13284
13285 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
13286 Change XOPEN21K to XOPEN2K.
13287
19218757
MK
132882012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
13289
13290 * string/memmove.c: Use memcpy when possible.
13291
c5f45721
AJ
132922012-11-06 Andreas Jaeger <aj@suse.de>
13293
13294 * po/eo.po: Update from translation team.
13295
82477c28
JM
132962012-11-06 Joseph Myers <joseph@codesourcery.com>
13297
13298 [BZ #14793]
13299 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
13300 exponent and small x and y exponents, scale x or y up. Increase
13301 by 2 the exponent used in scaling up.
13302 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13303 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13304 * math/libm-test.inc (fma_test): Add more tests.
13305 (fma_test_towardzero): Likewise.
13306 (fma_test_downward): Likewise.
13307 (fma_test_upward): Likewise.
13308
99252c8c
JM
133092012-11-05 Joseph Myers <joseph@codesourcery.com>
13310
acfa885f
JM
13311 [BZ #14805]
13312 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
13313 fenv_t *.
13314
99252c8c
JM
13315 [BZ #14801]
13316 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
13317 namespace for names of struct fields.
13318 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
13319 fenv_t fields.
13320 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
13321 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
13322
d6d98dea
ST
133232012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
13324
13325 [BZ #3665]
13326 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
13327
e10bb107
TS
133282012-11-04 Thomas Schwinge <thomas@codesourcery.com>
13329
13330 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
13331 PTR_DEMANGLE.
13332
13333 [BZ #5246]
13334 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
13335 PTR_DEMANGLE.
13336
a0c2940d
JM
133372012-11-04 Joseph Myers <joseph@codesourcery.com>
13338
13339 [BZ #14797]
13340 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
13341 definitely overflow as x * y not x * y + z.
13342 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13343 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13344 * math/libm-test.inc (fma_test): Add more tests.
13345 (fma_test_towardzero): Likewise.
13346 (fma_test_downward): Likewise.
13347 (fma_test_upward): Likewise.
13348
b830319d
TS
133492012-11-04 Thomas Schwinge <thomas@codesourcery.com>
13350
13351 [BZ #157]
13352
13353 * include/stub-tag.h: Remove file.
13354 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
13355 '#include' of it.
13356 * manual/maint.texi (Porting): Don't reference it.
13357 * Makerules ($(objpfx)stubs): Likewise.
13358 * dirent/closedir.c: Don't include <stub-tag.h>.
13359 * dirent/dirfd.c: Likewise.
13360 * dirent/fdopendir.c: Likewise.
13361 * dirent/getdents.c: Likewise.
13362 * dirent/getdents64.c: Likewise.
13363 * dirent/opendir.c: Likewise.
13364 * dirent/readdir.c: Likewise.
13365 * dirent/readdir64.c: Likewise.
13366 * dirent/readdir64_r.c: Likewise.
13367 * dirent/readdir_r.c: Likewise.
13368 * dirent/rewinddir.c: Likewise.
13369 * dirent/seekdir.c: Likewise.
13370 * dirent/telldir.c: Likewise.
13371 * gmon/profil.c: Likewise.
13372 * grp/setgroups.c: Likewise.
13373 * inet/if_index.c: Likewise.
13374 * io/access.c: Likewise.
13375 * io/chdir.c: Likewise.
13376 * io/chmod.c: Likewise.
13377 * io/chown.c: Likewise.
13378 * io/close.c: Likewise.
13379 * io/dup.c: Likewise.
13380 * io/dup2.c: Likewise.
13381 * io/dup3.c: Likewise.
13382 * io/euidaccess.c: Likewise.
13383 * io/faccessat.c: Likewise.
13384 * io/fchdir.c: Likewise.
13385 * io/fchmod.c: Likewise.
13386 * io/fchmodat.c: Likewise.
13387 * io/fchown.c: Likewise.
13388 * io/fchownat.c: Likewise.
13389 * io/fcntl.c: Likewise.
13390 * io/flock.c: Likewise.
13391 * io/fstatfs.c: Likewise.
13392 * io/fstatfs64.c: Likewise.
13393 * io/fstatvfs.c: Likewise.
13394 * io/fstatvfs64.c: Likewise.
13395 * io/futimens.c: Likewise.
13396 * io/fxstat.c: Likewise.
13397 * io/fxstat64.c: Likewise.
13398 * io/fxstatat.c: Likewise.
13399 * io/fxstatat64.c: Likewise.
13400 * io/getcwd.c: Likewise.
13401 * io/isatty.c: Likewise.
13402 * io/lchmod.c: Likewise.
13403 * io/lchown.c: Likewise.
13404 * io/link.c: Likewise.
13405 * io/linkat.c: Likewise.
13406 * io/lseek.c: Likewise.
13407 * io/lseek64.c: Likewise.
13408 * io/lxstat64.c: Likewise.
13409 * io/mkdir.c: Likewise.
13410 * io/mkdirat.c: Likewise.
13411 * io/mkfifo.c: Likewise.
13412 * io/mkfifoat.c: Likewise.
13413 * io/open.c: Likewise.
13414 * io/open64.c: Likewise.
13415 * io/openat.c: Likewise.
13416 * io/openat64.c: Likewise.
13417 * io/pipe.c: Likewise.
13418 * io/pipe2.c: Likewise.
13419 * io/poll.c: Likewise.
13420 * io/posix_fadvise.c: Likewise.
13421 * io/posix_fadvise64.c: Likewise.
13422 * io/posix_fallocate.c: Likewise.
13423 * io/posix_fallocate64.c: Likewise.
13424 * io/read.c: Likewise.
13425 * io/readlink.c: Likewise.
13426 * io/readlinkat.c: Likewise.
13427 * io/rmdir.c: Likewise.
13428 * io/sendfile.c: Likewise.
13429 * io/sendfile64.c: Likewise.
13430 * io/statfs.c: Likewise.
13431 * io/statfs64.c: Likewise.
13432 * io/statvfs.c: Likewise.
13433 * io/statvfs64.c: Likewise.
13434 * io/symlink.c: Likewise.
13435 * io/symlinkat.c: Likewise.
13436 * io/ttyname.c: Likewise.
13437 * io/ttyname_r.c: Likewise.
13438 * io/umask.c: Likewise.
13439 * io/unlink.c: Likewise.
13440 * io/unlinkat.c: Likewise.
13441 * io/utime.c: Likewise.
13442 * io/utimensat.c: Likewise.
13443 * io/write.c: Likewise.
13444 * io/xmknod.c: Likewise.
13445 * io/xmknodat.c: Likewise.
13446 * io/xstat.c: Likewise.
13447 * io/xstat64.c: Likewise.
13448 * login/getpt.c: Likewise.
13449 * login/grantpt.c: Likewise.
13450 * login/unlockpt.c: Likewise.
13451 * math/e_acoshl.c: Likewise.
13452 * math/e_acosl.c: Likewise.
13453 * math/e_asinl.c: Likewise.
13454 * math/e_atan2l.c: Likewise.
13455 * math/e_atanhl.c: Likewise.
13456 * math/e_coshl.c: Likewise.
13457 * math/e_expl.c: Likewise.
13458 * math/e_fmodl.c: Likewise.
13459 * math/e_gammal_r.c: Likewise.
13460 * math/e_hypotl.c: Likewise.
13461 * math/e_j0l.c: Likewise.
13462 * math/e_j1l.c: Likewise.
13463 * math/e_jnl.c: Likewise.
13464 * math/e_lgammal_r.c: Likewise.
13465 * math/e_log10l.c: Likewise.
13466 * math/e_log2l.c: Likewise.
13467 * math/e_logl.c: Likewise.
13468 * math/e_powl.c: Likewise.
13469 * math/e_rem_pio2l.c: Likewise.
13470 * math/e_sinhl.c: Likewise.
13471 * math/e_sqrtl.c: Likewise.
13472 * math/fclrexcpt.c: Likewise.
13473 * math/fedisblxcpt.c: Likewise.
13474 * math/feenablxcpt.c: Likewise.
13475 * math/fegetenv.c: Likewise.
13476 * math/fegetexcept.c: Likewise.
13477 * math/fegetround.c: Likewise.
13478 * math/feholdexcpt.c: Likewise.
13479 * math/fesetenv.c: Likewise.
13480 * math/fesetround.c: Likewise.
13481 * math/feupdateenv.c: Likewise.
13482 * math/fgetexcptflg.c: Likewise.
13483 * math/fraiseexcpt.c: Likewise.
13484 * math/fsetexcptflg.c: Likewise.
13485 * math/ftestexcept.c: Likewise.
13486 * math/k_cosl.c: Likewise.
13487 * math/k_rem_pio2l.c: Likewise.
13488 * math/k_sinl.c: Likewise.
13489 * math/k_tanl.c: Likewise.
13490 * math/s_asinhl.c: Likewise.
13491 * math/s_atanl.c: Likewise.
13492 * math/s_cbrtl.c: Likewise.
13493 * math/s_erfl.c: Likewise.
13494 * math/s_expm1l.c: Likewise.
13495 * math/s_log1pl.c: Likewise.
13496 * math/s_tanhl.c: Likewise.
13497 * misc/acct.c: Likewise.
13498 * misc/brk.c: Likewise.
13499 * misc/chflags.c: Likewise.
13500 * misc/chroot.c: Likewise.
13501 * misc/fchflags.c: Likewise.
13502 * misc/fgetxattr.c: Likewise.
13503 * misc/flistxattr.c: Likewise.
13504 * misc/fremovexattr.c: Likewise.
13505 * misc/fsetxattr.c: Likewise.
13506 * misc/fsync.c: Likewise.
13507 * misc/ftruncate.c: Likewise.
13508 * misc/futimes.c: Likewise.
13509 * misc/futimesat.c: Likewise.
13510 * misc/getdomain.c: Likewise.
13511 * misc/getdtsz.c: Likewise.
13512 * misc/gethostid.c: Likewise.
13513 * misc/gethostname.c: Likewise.
13514 * misc/getloadavg.c: Likewise.
13515 * misc/getpagesize.c: Likewise.
13516 * misc/getsysstats.c: Likewise.
13517 * misc/getxattr.c: Likewise.
13518 * misc/gtty.c: Likewise.
13519 * misc/ioctl.c: Likewise.
13520 * misc/lgetxattr.c: Likewise.
13521 * misc/listxattr.c: Likewise.
13522 * misc/llistxattr.c: Likewise.
13523 * misc/lremovexattr.c: Likewise.
13524 * misc/lsetxattr.c: Likewise.
13525 * misc/lutimes.c: Likewise.
13526 * misc/madvise.c: Likewise.
13527 * misc/mincore.c: Likewise.
13528 * misc/mlock.c: Likewise.
13529 * misc/mlockall.c: Likewise.
13530 * misc/mmap.c: Likewise.
13531 * misc/mprotect.c: Likewise.
13532 * misc/msync.c: Likewise.
13533 * misc/munlock.c: Likewise.
13534 * misc/munlockall.c: Likewise.
13535 * misc/munmap.c: Likewise.
13536 * misc/preadv.c: Likewise.
13537 * misc/preadv64.c: Likewise.
13538 * misc/ptrace.c: Likewise.
13539 * misc/pwritev.c: Likewise.
13540 * misc/pwritev64.c: Likewise.
13541 * misc/readv.c: Likewise.
13542 * misc/reboot.c: Likewise.
13543 * misc/remap_file_pages.c: Likewise.
13544 * misc/removexattr.c: Likewise.
13545 * misc/revoke.c: Likewise.
13546 * misc/select.c: Likewise.
13547 * misc/setdomain.c: Likewise.
13548 * misc/setegid.c: Likewise.
13549 * misc/seteuid.c: Likewise.
13550 * misc/sethostid.c: Likewise.
13551 * misc/sethostname.c: Likewise.
13552 * misc/setregid.c: Likewise.
13553 * misc/setreuid.c: Likewise.
13554 * misc/setxattr.c: Likewise.
13555 * misc/sstk.c: Likewise.
13556 * misc/stty.c: Likewise.
13557 * misc/swapoff.c: Likewise.
13558 * misc/swapon.c: Likewise.
13559 * misc/sync.c: Likewise.
13560 * misc/syncfs.c: Likewise.
13561 * misc/syscall.c: Likewise.
13562 * misc/truncate.c: Likewise.
13563 * misc/ualarm.c: Likewise.
13564 * misc/usleep.c: Likewise.
13565 * misc/ustat.c: Likewise.
13566 * misc/utimes.c: Likewise.
13567 * misc/vhangup.c: Likewise.
13568 * misc/writev.c: Likewise.
13569 * posix/_exit.c: Likewise.
13570 * posix/alarm.c: Likewise.
13571 * posix/execve.c: Likewise.
13572 * posix/fexecve.c: Likewise.
13573 * posix/fork.c: Likewise.
13574 * posix/fpathconf.c: Likewise.
13575 * posix/getaddrinfo.c: Likewise.
13576 * posix/getegid.c: Likewise.
13577 * posix/geteuid.c: Likewise.
13578 * posix/getgid.c: Likewise.
13579 * posix/getgroups.c: Likewise.
13580 * posix/getlogin.c: Likewise.
13581 * posix/getlogin_r.c: Likewise.
13582 * posix/getpgid.c: Likewise.
13583 * posix/getpid.c: Likewise.
13584 * posix/getppid.c: Likewise.
13585 * posix/getresgid.c: Likewise.
13586 * posix/getresuid.c: Likewise.
13587 * posix/getsid.c: Likewise.
13588 * posix/getuid.c: Likewise.
13589 * posix/glob64.c: Likewise.
13590 * posix/nanosleep.c: Likewise.
13591 * posix/pathconf.c: Likewise.
13592 * posix/pause.c: Likewise.
13593 * posix/posix_madvise.c: Likewise.
13594 * posix/pread.c: Likewise.
13595 * posix/pread64.c: Likewise.
13596 * posix/pwrite.c: Likewise.
13597 * posix/pwrite64.c: Likewise.
13598 * posix/sched_getaffinity.c: Likewise.
13599 * posix/sched_getp.c: Likewise.
13600 * posix/sched_gets.c: Likewise.
13601 * posix/sched_primax.c: Likewise.
13602 * posix/sched_primin.c: Likewise.
13603 * posix/sched_rr_gi.c: Likewise.
13604 * posix/sched_setaffinity.c: Likewise.
13605 * posix/sched_setp.c: Likewise.
13606 * posix/sched_sets.c: Likewise.
13607 * posix/sched_yield.c: Likewise.
13608 * posix/setgid.c: Likewise.
13609 * posix/setlogin.c: Likewise.
13610 * posix/setpgid.c: Likewise.
13611 * posix/setresgid.c: Likewise.
13612 * posix/setresuid.c: Likewise.
13613 * posix/setsid.c: Likewise.
13614 * posix/setuid.c: Likewise.
13615 * posix/sleep.c: Likewise.
13616 * posix/spawni.c: Likewise.
13617 * posix/sysconf.c: Likewise.
13618 * posix/times.c: Likewise.
13619 * posix/wait.c: Likewise.
13620 * posix/wait3.c: Likewise.
13621 * posix/wait4.c: Likewise.
13622 * posix/waitpid.c: Likewise.
13623 * resolv/gai_sigqueue.c: Likewise.
13624 * resource/getpriority.c: Likewise.
13625 * resource/getrlimit.c: Likewise.
13626 * resource/getrusage.c: Likewise.
13627 * resource/nice.c: Likewise.
13628 * resource/setpriority.c: Likewise.
13629 * resource/setrlimit.c: Likewise.
13630 * resource/ulimit.c: Likewise.
13631 * rt/aio_cancel.c: Likewise.
13632 * rt/aio_fsync.c: Likewise.
13633 * rt/aio_read.c: Likewise.
13634 * rt/aio_sigqueue.c: Likewise.
13635 * rt/aio_suspend.c: Likewise.
13636 * rt/aio_write.c: Likewise.
13637 * rt/clock_getres.c: Likewise.
13638 * rt/clock_gettime.c: Likewise.
13639 * rt/clock_nanosleep.c: Likewise.
13640 * rt/clock_settime.c: Likewise.
13641 * rt/lio_listio.c: Likewise.
13642 * rt/mq_close.c: Likewise.
13643 * rt/mq_getattr.c: Likewise.
13644 * rt/mq_notify.c: Likewise.
13645 * rt/mq_open.c: Likewise.
13646 * rt/mq_receive.c: Likewise.
13647 * rt/mq_send.c: Likewise.
13648 * rt/mq_setattr.c: Likewise.
13649 * rt/mq_timedreceive.c: Likewise.
13650 * rt/mq_timedsend.c: Likewise.
13651 * rt/mq_unlink.c: Likewise.
13652 * rt/shm_open.c: Likewise.
13653 * rt/shm_unlink.c: Likewise.
13654 * rt/timer_create.c: Likewise.
13655 * rt/timer_delete.c: Likewise.
13656 * rt/timer_getoverr.c: Likewise.
13657 * rt/timer_gettime.c: Likewise.
13658 * rt/timer_settime.c: Likewise.
13659 * setjmp/__longjmp.c: Likewise.
13660 * setjmp/setjmp.c: Likewise.
13661 * signal/kill.c: Likewise.
13662 * signal/killpg.c: Likewise.
13663 * signal/raise.c: Likewise.
13664 * signal/sigaction.c: Likewise.
13665 * signal/sigaltstack.c: Likewise.
13666 * signal/sigblock.c: Likewise.
13667 * signal/sigignore.c: Likewise.
13668 * signal/sigintr.c: Likewise.
13669 * signal/signal.c: Likewise.
13670 * signal/sigpause.c: Likewise.
13671 * signal/sigpending.c: Likewise.
13672 * signal/sigqueue.c: Likewise.
13673 * signal/sigreturn.c: Likewise.
13674 * signal/sigset.c: Likewise.
13675 * signal/sigsetmask.c: Likewise.
13676 * signal/sigstack.c: Likewise.
13677 * signal/sigsuspend.c: Likewise.
13678 * signal/sigtimedwait.c: Likewise.
13679 * signal/sigvec.c: Likewise.
13680 * signal/sigwait.c: Likewise.
13681 * signal/sigwaitinfo.c: Likewise.
13682 * signal/sysv_signal.c: Likewise.
13683 * socket/accept.c: Likewise.
13684 * socket/accept4.c: Likewise.
13685 * socket/bind.c: Likewise.
13686 * socket/connect.c: Likewise.
13687 * socket/getpeername.c: Likewise.
13688 * socket/getsockname.c: Likewise.
13689 * socket/getsockopt.c: Likewise.
13690 * socket/isfdtype.c: Likewise.
13691 * socket/listen.c: Likewise.
13692 * socket/recv.c: Likewise.
13693 * socket/recvfrom.c: Likewise.
13694 * socket/recvmsg.c: Likewise.
13695 * socket/send.c: Likewise.
13696 * socket/sendmsg.c: Likewise.
13697 * socket/sendto.c: Likewise.
13698 * socket/setsockopt.c: Likewise.
13699 * socket/shutdown.c: Likewise.
13700 * socket/sockatmark.c: Likewise.
13701 * socket/socket.c: Likewise.
13702 * socket/socketpair.c: Likewise.
13703 * stdio-common/ctermid.c: Likewise.
13704 * stdio-common/cuserid.c: Likewise.
13705 * stdio-common/remove.c: Likewise.
13706 * stdio-common/rename.c: Likewise.
13707 * stdio-common/renameat.c: Likewise.
13708 * stdio-common/tempname.c: Likewise.
13709 * stdlib/getcontext.c: Likewise.
13710 * stdlib/makecontext.c: Likewise.
13711 * stdlib/setcontext.c: Likewise.
13712 * stdlib/swapcontext.c: Likewise.
13713 * stdlib/system.c: Likewise.
13714 * streams/fattach.c: Likewise.
13715 * streams/fdetach.c: Likewise.
13716 * streams/getmsg.c: Likewise.
13717 * streams/getpmsg.c: Likewise.
13718 * streams/putmsg.c: Likewise.
13719 * streams/putpmsg.c: Likewise.
13720 * sysdeps/unix/bsd/getpt.c: Likewise.
13721 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
13722 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
13723 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
13724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
13725 Likewise.
13726 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
13727 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
13728 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
13729 * sysvipc/msgctl.c: Likewise.
13730 * sysvipc/msgget.c: Likewise.
13731 * sysvipc/msgrcv.c: Likewise.
13732 * sysvipc/msgsnd.c: Likewise.
13733 * sysvipc/semctl.c: Likewise.
13734 * sysvipc/semget.c: Likewise.
13735 * sysvipc/semop.c: Likewise.
13736 * sysvipc/semtimedop.c: Likewise.
13737 * sysvipc/shmat.c: Likewise.
13738 * sysvipc/shmctl.c: Likewise.
13739 * sysvipc/shmdt.c: Likewise.
13740 * sysvipc/shmget.c: Likewise.
13741 * termios/tcdrain.c: Likewise.
13742 * termios/tcflow.c: Likewise.
13743 * termios/tcflush.c: Likewise.
13744 * termios/tcgetattr.c: Likewise.
13745 * termios/tcgetpgrp.c: Likewise.
13746 * termios/tcsendbrk.c: Likewise.
13747 * termios/tcsetattr.c: Likewise.
13748 * termios/tcsetpgrp.c: Likewise.
13749 * time/adjtime.c: Likewise.
13750 * time/clock.c: Likewise.
13751 * time/getitimer.c: Likewise.
13752 * time/gettimeofday.c: Likewise.
13753 * time/setitimer.c: Likewise.
13754 * time/settimeofday.c: Likewise.
13755 * time/stime.c: Likewise.
13756 * time/time.c: Likewise.
13757
137582012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 13759
a20492cf
PT
13760 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
13761 /usr/old/bin.
13762
72e182e3
PT
13763 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
13764 instead of spaces.
13765 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
13766
fbeafede
JM
137672012-11-03 Joseph Myers <joseph@codesourcery.com>
13768
5b5b04d6
JM
13769 [BZ #14796]
13770 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
13771 FE_TONEAREST before applying Dekker multiplication and Knuth
13772 addition. Clear inexact exceptions and check for exact zero
13773 results afterwards.
13774 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13775 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13776 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13777 * math/libm-test.inc (fma_test): Add more tests.
13778 (fma_test_towardzero): Likewise.
13779 (fma_test_downward): Likewise.
13780 (fma_test_upward): Likewise.
13781 * sysdeps/generic/math_private.h (default_libc_fesetround): New
13782 function.
13783 (libc_fesetround): New macro.
13784 (libc_fesetroundf): Likewise.
13785 (libc_fesetroundl): Likewise.
13786 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
13787 function.
13788 (libc_fesetround_387): Likewise.
13789 (libc_fesetroundf): New macro.
13790 (libc_fesetround): Likewise.
13791 (libc_fesetroundl): Likewise.
13792 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
13793 function.
13794 (libc_fesetroundf): New macro.
13795 (libc_fesetround): Likewise.
13796 (libc_fesetroundl): Likewise.
13797 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
13798 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
13799 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
13800 libm_hidden_ver.
13801 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
13802 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
13803 libm_hidden_def.
13804 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
13805 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
13806 libm_hidden_ver.
13807 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
13808 libm_hidden_def.
13809
fbeafede
JM
13810 [BZ #3439]
13811 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
13812 integer constant usable in #if and use that to give value to enum
13813 constant.
13814 (FE_DIVBYZERO): Likewise.
13815 (FE_UNDERFLOW): Likewise.
13816 (FE_OVERFLOW): Likewise.
13817 (FE_INVALID): Likewise.
13818 (FE_INVALID_SNAN): Likewise.
13819 (FE_INVALID_ISI): Likewise.
13820 (FE_INVALID_IDI): Likewise.
13821 (FE_INVALID_ZDZ): Likewise.
13822 (FE_INVALID_IMZ): Likewise.
13823 (FE_INVALID_COMPARE): Likewise.
13824 (FE_INVALID_SOFTWARE): Likewise.
13825 (FE_INVALID_SQRT): Likewise.
13826 (FE_INVALID_INTEGER_CONVERSION): Likewise.
13827 (FE_TONEAREST): Likewise.
13828 (FE_TOWARDZERO): Likewise.
13829 (FE_UPWARD): Likewise.
13830 (FE_DOWNWARD): Likewise.
13831 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
13832 (FE_DIVBYZERO): Likewise.
13833 (FE_OVERFLOW): Likewise.
13834 (FE_UNDERFLOW): Likewise.
13835 (FE_INEXACT): Likewise.
13836 (FE_TONEAREST): Likewise.
13837 (FE_DOWNWARD): Likewise.
13838 (FE_UPWARD): Likewise.
13839 (FE_TOWARDZERO): Likewise.
13840 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
13841 (FE_UNDERFLOW): Likewise.
13842 (FE_OVERFLOW): Likewise.
13843 (FE_DIVBYZERO): Likewise.
13844 (FE_INVALID): Likewise.
13845 (FE_TONEAREST): Likewise.
13846 (FE_TOWARDZERO): Likewise.
13847 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
13848 (FE_OVERFLOW): Likewise.
13849 (FE_UNDERFLOW): Likewise.
13850 (FE_DIVBYZERO): Likewise.
13851 (FE_INEXACT): Likewise.
13852 (FE_TONEAREST): Likewise.
13853 (FE_TOWARDZERO): Likewise.
13854 (FE_UPWARD): Likewise.
13855 (FE_DOWNWARD): Likewise.
13856 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
13857 (FE_DIVBYZERO): Likewise.
13858 (FE_OVERFLOW): Likewise.
13859 (FE_UNDERFLOW): Likewise.
13860 (FE_INEXACT): Likewise.
13861 (FE_TONEAREST): Likewise.
13862 (FE_DOWNWARD): Likewise.
13863 (FE_UPWARD): Likewise.
13864 (FE_TOWARDZERO): Likewise.
13865
105ca950
CM
138662012-11-02 Chris Metcalf <cmetcalf@tilera.com>
13867
13868 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
13869
a542b389
AS
138702012-11-03 Andreas Schwab <schwab@linux-m68k.org>
13871
13872 * scripts/cross-test-ssh.sh (command): Use newlines to separate
13873 commands. Quote $PWD.
13874 (blacklist_exports): Don't use remove_newlines. Replace "declare
13875 -x" by "export".
13876 (remove_newlines): Remove.
13877
f62c8abc
L
138782012-11-02 H.J. Lu <hongjiu.lu@intel.com>
13879
13880 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
13881 * stdlib/stdlib.h (atof): Moved to ...
13882 * include/bits/stdlib-float.h: Here. New file.
13883 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
13884 * stdlib/bits/stdlib-float.h: New file.
13885 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
13886 -mno-sse -mno-mmx.
13887 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
13888 <xmmintrin.h>.
13889
0155d5b2
JM
138902012-11-02 Joseph Myers <joseph@codesourcery.com>
13891
a68d0680
JM
13892 * conform/conformtest.pl (@headers): Add fenv.h.
13893 * conform/data/fenv.h-data: New file.
13894 * include/fenv.h [_ISOMAC]: Disable all contents of file except
13895 include of <math/fenv.h>.
13896
caf7f573
JM
13897 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
13898 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
13899 && !UNIX98]. Enables tests for XOPEN2K8.
13900 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
13901 POSIX2008]: Likewise.
13902
6c073ad6
JM
13903 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
13904 (struct rusage): Do not expect type or its members.
13905
0155d5b2
JM
13906 [BZ #3439]
13907 * math/math.h (FP_NAN): Define macro to integer constant usable in
13908 #if and use that to give value to enum constant.
13909 (FP_INFINITE): Likewise.
13910 (FP_ZERO): Likewise.
13911 (FP_SUBNORMAL): Likewise.
13912 (FP_NORMAL): Likewise.
13913
b5dcacb4
AS
139142012-11-02 Andreas Schwab <schwab@linux-m68k.org>
13915
13916 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
13917 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
13918 arguments.
13919
f7934be8
RM
139202012-11-02 Roland McGrath <roland@hack.frob.com>
13921
13922 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
13923 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
13924 autoconf-time if not.
13925 * configure.in: Remove AC_PREREQ.
13926
d7d08bde
TMQMF
139272012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13928
13929 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
13930 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
13931 of the internal implementation.
13932
dcdae19a
JM
139332012-11-02 Joseph Myers <joseph@codesourcery.com>
13934
13935 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
13936 except include of <misc/sys/syslog.h>.
13937
d6cffd3e
AS
139382012-11-01 Andreas Schwab <schwab@linux-m68k.org>
13939
13940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
13941 function returns with a NULL context exit with zero.
13942
b3563932
TMQMF
139432012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13944
13945 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
13946
b288a93d
L
139472012-11-01 H.J. Lu <hongjiu.lu@intel.com>
13948
13949 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
13950 (run_program_cmd): This.
13951 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
13952 (tst_langinfo): New variable. Use it.
13953
a2421a68
SAS
139542012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
13955
13956 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
13957 floating point opcodes.
13958
6f796e1b
TS
139592012-11-01 Thomas Schwinge <thomas@codesourcery.com>
13960
7402596b
TS
13961 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
13962 variable.
13963
d0d4f868
TS
13964 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
13965
6f796e1b
TS
13966 * sysdeps/mach/hurd/powerpc: Remove directory.
13967 * sysdeps/mach/powerpc: Likewise.
13968
4da224a2
AS
139692012-11-01 Andreas Schwab <schwab@linux-m68k.org>
13970
13971 * scripts/check-local-headers.sh: Ignore c++ headers.
13972
341dd673
TS
139732012-11-01 Thomas Schwinge <thomas@codesourcery.com>
13974
13975 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
13976 __libc_cleanup_region_start argument.
13977
473611b2
JM
139782012-11-01 Joseph Myers <joseph@codesourcery.com>
13979
13980 [BZ #14784]
13981 [BZ #14785]
13982 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
13983 x * y using scaling, not as x * y + z.
13984 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13985 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13986 * math/libm-test.inc (fma_test): Add more tests.
13987 (fma_test_towardzero): Likewise.
13988 (fma_test_downward): Likewise.
13989 (fma_test_upward): Likewise.
13990
4078da3d
TS
139912012-11-01 Thomas Schwinge <thomas@codesourcery.com>
13992
13993 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
13994
903252aa
JM
139952012-10-31 Joseph Myers <joseph@codesourcery.com>
13996
13997 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
13998 New variable.
13999
cbc818d0
TS
140002012-10-31 Thomas Schwinge <thomas@codesourcery.com>
14001
14002 * rt/tst-shm.c (worker): Correct checking for mmap failure.
14003
5a03cb1e
AS
140042012-10-31 Andreas Schwab <schwab@linux-m68k.org>
14005
14006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14007 Fix sort order.
14008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14009 Likewise.
14010
90aff2ff
TMQMF
140112012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14012
14013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14014 Fix the order of the list for glibc 2.17.
14015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14016 Likewise.
14017
1818fcb7
AS
140182012-10-31 Andreas Schwab <schwab@linux-m68k.org>
14019
14020 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14021
ef82f4da
JM
140222012-10-31 Joseph Myers <joseph@codesourcery.com>
14023
16a0e2ec
JM
14024 [BZ #14610]
14025 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
14026 for low part of x being zero before using __atanl (y).
14027 * math/libm-test.inc (atan2_test): Add another test.
14028
0eb69512
JM
14029 * manual/install.texi (Configuring and compiling): Document
14030 general use of test-wrapper and test-wrapper-env.
14031 * INSTALL: Regenerated.
14032
ef82f4da
JM
14033 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
14034 (__fma): Do not extract and scale down low bits on after-rounding
14035 systems when result rounded to normal precision would have normal
14036 exponent.
14037 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
14038 (__fmal): Do not extract and scale down low bits on after-rounding
14039 systems when result rounded to normal precision would have normal
14040 exponent.
14041 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
14042 (__fmal): Do not extract and scale down low bits on after-rounding
14043 systems when result rounded to normal precision would have normal
14044 exponent.
14045 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
14046 macro.
14047 (fma_test): Add more tests.
14048 (fma_test_towardzero): Likewise.
14049 (fma_test_downward): Likewise.
14050 (fma_test_upward): Likewise.
14051
954ef0d9
L
140522012-10-30 H.J. Lu <hongjiu.lu@intel.com>
14053
14054 * sysdeps/i386/tininess.h: Renamed to ...
14055 * sysdeps/x86/tininess.h: This.
14056 * sysdeps/x86_64/tininess.h: Removed.
14057
df61ffb2
JM
140582012-10-30 Joseph Myers <joseph@codesourcery.com>
14059
14060 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
14061 input. Use $(build-program-cmd).
14062 ($(objpfx)tst-array1-static.out): Likewise.
14063 ($(objpfx)tst-array2.out): Likewise.
14064 ($(objpfx)tst-array3.out): Likewise.
14065 ($(objpfx)tst-array4.out): Likewise.
14066 ($(objpfx)tst-array5.out): Likewise.
14067 ($(objpfx)tst-array5-static.out): Likewise.
14068
01767843
CM
140692012-10-30 Chris Metcalf <cmetcalf@tilera.com>
14070
47cc1490
CM
14071 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
14072 if defined.
14073
01767843
CM
14074 * nss/nsswitch.h (nss_interface_function): Provide new
14075 macro for use with NSS functions.
14076 * grp/initgroups.c: Use new macro.
14077 * nss/getXXbyYY.c: Likewise.
14078 * nss/getXXbyYY_r.c: Likewise.
14079 * nss/getXXent.c: Likewise.
14080 * nss/getXXent_r.c: Likewise.
14081 * sysdeps/posix/getaddrinfo.c: Likewise.
14082
8321aa97
AJ
140832012-10-30 Andreas Jaeger <aj@suse.de>
14084
14085 * po/ru.po: Update Russion translation from translation project.
14086
2a27fd6d
JM
140872012-10-30 Joseph Myers <joseph@codesourcery.com>
14088
8627a232
JM
14089 [BZ #14152]
14090 [BZ #14783]
14091 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
14092 result and shift together with sticky bit instead of replicating
14093 round-to-nearest rounding.
14094 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14095 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14096 * math/libm-test.inc (fma_test): Add more tests. Do not permit
14097 missing underflow exceptions.
14098 (fma_test_towardzero): Add more tests.
14099 (fma_test_downward): Likewise.
14100 (fma_test_upward): Likewise.
14101
2a27fd6d
JM
14102 [BZ #14047]
14103 * sysdeps/generic/tininess.h: New file.
14104 * sysdeps/i386/tininess.h: Likewise.
14105 * sysdeps/sh/tininess.h: Likewise.
14106 * sysdeps/x86_64/tininess.h: Likewise.
14107 * stdlib/tst-strtod-underflow.c: Likewise.
14108 * stdlib/tst-tininess.c: Likewise.
14109 * stdlib/strtod_l.c: Include <tininess.h>.
14110 (round_and_return): Do not set errno for exact underflow cases.
14111 Force an underflow exception when setting errno for underflow.
14112 Determine underflow based on rounding to normal precision if
14113 TININESS_AFTER_ROUNDING.
14114 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
14115 ERANGE for exact underflow cases.
14116 * stdlib/Makefile (tests): Add tst-tininess and
14117 tst-strtod-underflow.
14118 ($(objpfx)tst-tininess): Use $(link-libm).
14119 ($(objpfx)tst-strtod-underflow): Likewise.
14120
e7170363
AJ
141212012-10-30 Andreas Jaeger <aj@suse.de>
14122
e5088dc6
AJ
14123 [BZ#14767]
14124 * elf/Makefile (tests): Remove conditional for have-initfini-array
14125 since this is now always required and the variable does not exist
14126 anymore.
14127 (tests-static): Likewise.
14128 (modules-names): Likewise.
14129
e7170363 14130 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
14131
14132 * elf/tst-array1.c (fini_array): Make writeable so that it can be
14133 merged with constructor/destructor.
14134 (init_array): Likewise.
14135 * elf/tst-array2dep.c (fini_array): Likewise.
14136 (init_array): Likewise.
14137
60457d8a
MF
141382012-10-29 Mike Frysinger <vapier@gentoo.org>
14139
14140 * manual/message.texi: Delete @cartouche tags.
14141
8bece752
PT
141422012-10-29 Pino Toscano <toscano.pino@tiscali.it>
14143
94ce799f
PT
14144 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
14145 EOPNOTSUPP.
14146 * sysdeps/mach/hurd/fsync.c: Likewise.
14147
8bece752
PT
14148 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
14149 [_POSIX_REALTIME_SIGNALS]: Change condition to
14150 [_POSIX_REALTIME_SIGNALS > 0].
14151
86ebe6b1
AJ
141522012-10-27 Andreas Jaeger <aj@suse.de>
14153
14154 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
14155 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
14156 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
14157 [__WORDSIZE != 64]: Likewise.
14158
54399c08
L
141592012-10-26 H.J. Lu <hongjiu.lu@intel.com>
14160
14161 * iconvdata/tst-table.sh: Remove ${SHELL}.
14162 * iconvdata/tst-tables.sh: Likewise.
14163
e2211bed
DM
141642012-10-25 David S. Miller <davem@davemloft.net>
14165
14166 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14167 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
14168 of strtoull.
14169
f303f97c
DM
14170 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
14171 ifunc-impl-list.c
14172 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14173 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
14174 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
14175 file.
14176
1e9d84cd
RM
141772012-10-25 Roland McGrath <roland@hack.frob.com>
14178
14179 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14180 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
14181 __getdirentries.
14182
df381762
JM
141832012-10-25 Joseph Myers <joseph@codesourcery.com>
14184 Jim Blandy <jimb@codesourcery.com>
14185
14186 * scripts/cross-test-ssh.sh: New file.
14187 * manual/install.texi (Configuring and compiling): Document use of
14188 cross-test-ssh.sh.
14189 * INSTALL: Regenerated.
14190
bff64913
PT
141912012-10-25 Pino Toscano <toscano.pino@tiscali.it>
14192
14193 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
14194 EOPNOTSUPP.
14195
25fe8932
JM
141962012-10-25 Joseph Myers <joseph@codesourcery.com>
14197
14198 * Makeconfig (run-program-prefix): Fix comment.
14199
cc1290d0
JM
142002012-10-24 Joseph Myers <joseph@codesourcery.com>
14201 Jim Blandy <jimb@codesourcery.com>
14202
14203 * Makeconfig (test-wrapper): New variable,
14204 (test-wrapper-env): Likewise.
14205 [$(cross-compiling) = yes && $(test-wrapper) != ""]
14206 (run-built-tests): Define to yes.
14207 (run-program-prefix): Use $(test-wrapper).
14208 (built-program-cmd): Likewise.
14209 * Rules (make-test-out): Use $(test-wrapper-env) and
14210 $(host-built-program-cmd).
14211 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
14212 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
14213 tst-pathopt.sh.
14214 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
14215 $(test-wrapper-env) to tst-rtld-load-self.sh.
14216 ($(objpfx)order2.out): Use $(test-wrapper).
14217 ($(objpfx)tst-initorder.out): Likewise.
14218 ($(objpfx)tst-initorder2.out): Likewise.
14219 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
14220 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
14221 (test_wrapper_env): New variable. Use it to run ld.so.
14222 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
14223 Use it to run ld.so.
14224 (test_wrapper_env): Likewise.
14225 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
14226 $(test-wrapper) to run-iconv-test.sh.
14227 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
14228 (ICONV): Use $test_wrapper.
14229 * posix/Makefile ($(objpfx)globtest.out): Pass
14230 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
14231 globtest.sh, not $(run-program-prefix).
14232 * posix/globtest.sh (run_via_rtld_prefix): New variable.
14233 (test_wrapper): Likewise.
14234 (test_wrapper_env): Likewise. Use it to run globtest with HOME
14235 set together with run_via_rtld_prefix.
14236 (run_program_prefix): Define in terms of test_wrapper and
14237 run_via_rtld_prefix.
14238
6e6249d0
RM
142392012-10-24 Roland McGrath <roland@hack.frob.com>
14240
14241 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
14242 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
14243 Targets removed.
14244
14245 [BZ #14743]
14246 * include/time.h: Remove librt_hidden_proto (clock_gettime).
14247 Declare __clock_getres, __clock_gettime, __clock_settime,
14248 __clock_nanosleep, and __clock_getcpuclockid.
14249 * rt/clock_gettime.c: Define __clock_gettime as an alias.
14250 Remove librt_hidden_def (clock_gettime).
14251 * sysdeps/unix/clock_gettime.c: Likewise.
14252 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
14253 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
14254 * rt/clock_getres.c: Define __clock_getres as an alias.
14255 * sysdeps/posix/clock_getres.c: Likewise.
14256 * rt/clock_settime.c: Define __clock_settime as an alias.
14257 * sysdeps/unix/clock_settime.c: Likewise.
14258 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
14259 * sysdeps/unix/clock_nanosleep.c: Likewise.
14260 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
14261 * rt/clock-compat.c: New file.
14262 * rt/Makefile (librt-routines): Add clock-compat and move
14263 $(clock-routines) to ...
14264 (routines): ... here, new variable.
14265 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
14266 Don't add get_clockfreq here.
14267 * rt/Versions (libc: GLIBC_2.17): New version set.
14268 Add clock_* symbols here.
14269 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
14270 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
14271 (GLIBC_2.17): Add clock_* symbols.
14272 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
14273 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
14274 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
14275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14276 Likewise.
14277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14278 Likewise.
14279 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
14280 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
14281 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
14282 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
14283 * NEWS: Mention the move.
14284
14285 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
14286 Use __open, __read, __close rather than their public counterparts.
14287 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14288 (__get_clockfreq_via_cpuinfo): Likewise.
14289 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
14290 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
14291
14292 * config.h.in (HAVE_IFUNC): New #undef.
14293 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
14294 was successful.
14295 * configure: Regenerated.
14296
0cae3f4b
MF
142972012-10-24 Mike Frysinger <vapier@gentoo.org>
14298
14299 * configure.in: Move READELF check to start of file.
14300 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
14301 libc_cv_asm_gnu_indirect_function in the process.
14302 * configure: Regenerated.
14303
8175a253
MF
143042012-10-24 Mike Frysinger <vapier@gentoo.org>
14305
14306 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
14307 send the output to /dev/null.
14308 (libc_cv_cc_with_libunwind): Likewise.
14309 (libc_cv_as_noexecstack): Likewise.
14310 * configure: Regenerate.
14311
0708a7d1
JM
143122012-10-24 Joseph Myers <joseph@codesourcery.com>
14313
10b40d85
JM
14314 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
14315
0708a7d1
JM
14316 * posix/globtest.sh (TMPDIR): Do not set.
14317 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
14318 (testout): Likewise.
14319
9fddec1a
AJ
143202012-10-24 Andreas Jaeger <aj@suse.de>
14321
3a8db22f
AJ
14322 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
14323 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
14324 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
14325 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
14326 posix_fadvise64, posix_fallocate64.
14327
9fddec1a
AJ
14328 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
14329 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
14330 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
14331 Likewise.
14332 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
14333 Likewise.
14334 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
14335
14336 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
14337 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
14338 <bits/fcntl-linux.h>.
14339 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
14340
14341 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
14342 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
14343 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
14344 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
14345 [__WORDSIZE != 64]: Likewise.
14346
ebfd1bbd
JM
143472012-10-23 Joseph Myers <joseph@codesourcery.com>
14348
03ac099f
JM
14349 * Makeconfig (run-built-tests): New variable.
14350 * Rules [$(cross-compiling) = yes]: Change condition to
14351 [$(run-built-tests) = no].
14352 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
14353 to [$(run-built-tests) = yes].
14354 * elf/Makefile [$(cross-compiling) = no]: Likewise
14355 * grp/Makefile [$(cross-compiling) = no]: Likewise.
14356 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
14357 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
14358 * intl/Makefile [$(cross-compiling) = no]: Likewise.
14359 * io/Makefile [$(cross-compiling) = no]: Likewise.
14360 * libio/Makefile [$(cross-compiling) = no]: Likewise.
14361 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
14362 * misc/Makefile [$(cross-compiling) = no]: Likewise.
14363 * posix/Makefile [$(cross-compiling) = no]: Likewise.
14364 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
14365 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
14366 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
14367 * string/Makefile [$(cross-compiling) = no]: Likewise.
14368
ebfd1bbd
JM
14369 * posix/Makefile ($(objpfx)globtest.out): Pass
14370 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
14371 $(rtld-installed-name).
14372 * posix/globtest.sh (elf_objpfx): Remove variable.
14373 (rtld_installed_name): Likewise.
14374 (library_path): Likewise.
14375 (run_program_prefix): New variable. Use for running globtest
14376 binary.
14377
166bca24
JB
143782012-10-23 Jim Blandy <jimb@codesourcery.com>
14379 Joseph Myers <joseph@codesourcery.com>
14380
14381 * Makeconfig (host-built-program-cmd): New variable.
14382 * elf/Makefile (tst-stackguard1-ARGS): Use
14383 $(host-built-program-cmd).
14384 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
14385 (tst-spawn-ARGS): Likewise.
14386 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
14387
88866099
JM
143882012-10-23 Joseph Myers <joseph@codesourcery.com>
14389 Jim Blandy <jimb@codesourcery.com>
14390
14391 * Makeconfig (run-via-rtld-prefix): New variable.
14392 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
14393 (built-program-cmd): Likewise.
14394
b4b4c296
AJ
143952012-10-22 Andreas Jaeger <aj@suse.de>
14396
14397 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
14398 __O_RSYNC if it exists, otherwise to O_SYNC.
14399
6fb54a22
JB
144002012-10-22 Jim Blandy <jimb@codesourcery.com>
14401 Joseph Myers <joseph@codesourcery.com>
14402
14403 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
14404 /dev/null.
14405 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
14406 from /dev/null
14407 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
14408 /dev/null.
14409
481b90b9
AJ
144102012-10-22 Andreas Jaeger <aj@suse.de>
14411
2a0e2669
AJ
14412 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
14413 Define always.
14414 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
14415
76e38f9a
AJ
14416 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14417 bits/fcntl-linux.h.
14418
7cd37b43
AJ
14419 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
14420 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
14421
481b90b9
AJ
14422 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
14423 to __O_LARGEFILE.
14424 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
14425 to __O_LARGEFILE.
14426
aba75984
JB
144272012-10-21 Jim Blandy <jimb@codesourcery.com>
14428 Joseph Myers <joseph@codesourcery.com>
14429
14430 * config.make.in (NM): New variable.
14431
88d4247f
AJ
144322012-10-21 Andreas Jaeger <aj@suse.de>
14433
14434 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
14435 definitions and declarations that are provided by
14436 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
14437
f2eed205
L
144382012-10-20 H.J. Lu <hongjiu.lu@intel.com>
14439
14440 [BZ #14683]
14441 * elf/Makefile (tests-static): Add tst-leaks1-static.
14442 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
14443 ($(objpfx)tst-leaks1-static): New rule.
14444 ($(objpfx)tst-leaks1-static-mem): Likewise.
14445 (tst-leaks1-static-ENV): New macro.
14446 * elf/dl-open.c (dl_open_worker): Check the main application
14447 only if SHARED is defined.
14448 * elf/tst-leaks1-static.c: New file.
14449
335e6931
AJ
144502012-10-20 Andreas Jaeger <aj@suse.de>
14451
14452 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
14453 generic values for Linux.
14454 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
14455 and declarations that are provided by <bits/fcntl-linux.h> and
14456 include <bits/fcntl-linux.h>.
14457 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14458 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14459
ac5c94d3
RM
144602012-10-20 Roland McGrath <roland@hack.frob.com>
14461
14462 * io/fcntl.h: Move include of <bits/types.h> to the top and
14463 include it unconditionally.
14464
de54b33a
L
144652012-10-20 H.J. Lu <hongjiu.lu@intel.com>
14466
228cfb01
L
14467 * wcsmbs/Makefile (tests-ifunc): New variable.
14468 (tests): Add $(tests-ifunc).
14469 * wcsmbs/test-wcschr-ifunc.c: New file.
14470 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
14471 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
14472 * wcsmbs/test-wcslen-ifunc.c: Likewise.
14473 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
14474 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
14475
69f07e5f
L
14476 * string/Makefile (tests-ifunc): New variable.
14477 (tests): Add $(tests-ifunc).
14478 * string/test-memccpy.c (TEST_NAME): New macro.
14479 * string/test-memchr.c (TEST_NAME): Likewise.
14480 * string/test-memcmp.c (TEST_NAME): Likewise.
14481 * string/test-memcpy.c (TEST_NAME): Likewise.
14482 * string/test-memmem.c (TEST_NAME): Likewise.
14483 * string/test-memmove.c (TEST_NAME): Likewise.
14484 * string/test-memset.c (TEST_NAME): Likewise.
14485 * string/test-rawmemchr.c (TEST_NAME): Likewise.
14486 * string/test-stpcpy.c (TEST_NAME): Likewise.
14487 * string/test-stpncpy.c (TEST_NAME): Likewise.
14488 * string/test-strcasecmp.c (TEST_NAME): Likewise.
14489 * string/test-strcasestr.c (TEST_NAME): Likewise.
14490 * string/test-strcat.c (TEST_NAME): Likewise.
14491 * string/test-strchr.c (TEST_NAME): Likewise.
14492 * string/test-strcmp.c(TEST_NAME): Likewise.
14493 * string/test-strcpy.c (TEST_NAME): Likewise.
14494 * string/test-strcspn.c (TEST_NAME): Likewise.
14495 * string/test-strlen.c (TEST_NAME): Likewise.
14496 * string/test-strncasecmp.c (TEST_NAME): Likewise.
14497 * string/test-strncmp.c (TEST_NAME): Likewise.
14498 * string/test-strncpy.c (TEST_NAME): Likewise.
14499 * string/test-strnlen.c (TEST_NAME): Likewise.
14500 * string/test-strpbrk.c (TEST_NAME): Likewise.
14501 * string/test-strrchr.c (TEST_NAME): Likewise.
14502 * string/test-strspn.c (TEST_NAME): Likewise.
14503 * string/test-strstr.c (TEST_NAME): Likewise.
14504 * string/test-bcopy-ifunc.c: New file.
14505 * string/test-bzero-ifunc.c: Likewise.
14506 * string/test-memccpy-ifunc.c: Likewise.
14507 * string/test-memchr-ifunc.c: Likewise.
14508 * string/test-memcmp-ifunc.c: Likewise.
14509 * string/test-memcpy-ifunc.c: Likewise.
14510 * string/test-memmem-ifunc.c: Likewise.
14511 * string/test-memmove-ifunc.c: Likewise.
14512 * string/test-mempcpy-ifunc.c: Likewise.
14513 * string/test-memset-ifunc.c: Likewise.
14514 * string/test-rawmemchr-ifunc.c: Likewise.
14515 * string/test-stpcpy-ifunc.c: Likewise.
14516 * string/test-stpncpy-ifunc.c: Likewise.
14517 * string/test-strcasecmp-ifunc.c: Likewise.
14518 * string/test-strcasestr-ifunc.c: Likewise.
14519 * string/test-strcat-ifunc.c: Likewise.
14520 * string/test-strchr-ifunc.c: Likewise.
14521 * string/test-strchrnul-ifunc.c: Likewise.
14522 * string/test-strcmp-ifunc.c: Likewise.
14523 * string/test-strcpy-ifunc.c: Likewise.
14524 * string/test-strcspn-ifunc.c: Likewise.
14525 * string/test-strlen-ifunc.c: Likewise.
14526 * string/test-strncasecmp-ifunc.c: Likewise.
14527 * string/test-strncat-ifunc.c: Likewise.
14528 * string/test-strncmp-ifunc.c: Likewise.
14529 * string/test-strncpy-ifunc.c: Likewise.
14530 * string/test-strnlen-ifunc.c: Likewise.
14531 * string/test-strpbrk-ifunc.c: Likewise.
14532 * string/test-strrchr-ifunc.c: Likewise.
14533 * string/test-strspn-ifunc.c: Likewise.
14534 * string/test-strstr-ifunc.c: Likewise.
14535
de54b33a
L
14536 * debug/Makefile (tests-ifunc): New variable.
14537 (tests): Add $(tests-ifunc).
14538 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
14539 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
14540 * debug/test-stpcpy_chk-ifunc.c: New file.
14541 * debug/test-strcpy_chk-ifunc.c: Likewise.
14542
88481c16
SP
145432012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14544
14545 [BZ #13601]
14546 * elf/dl-load.c (open_verify): Retry read if the entire ELF
14547 header is not read in.
14548
135948bd
JM
145492012-10-19 Joseph Myers <joseph@codesourcery.com>
14550
89f1c388
JM
14551 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
14552 script to $(SHELL) as $<. Pass $(common-objpfx) to script
14553 directly. Pass built executable to script as
14554 $(built-program-cmd).
14555 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
14556 $testprogram without using LD_LIBRARY_PATH and $ldso.
14557
e40a0d21
JM
14558 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
14559 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
14560 $(rtld-installed-name).
14561 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
14562 (rtld_installed_name): Likewise.
14563 (library_path): Likewise.
14564 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
14565 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
14566 $(run-program-prefix) to tst-tables.sh.
14567 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
14568 it to run tst-table-from and tst-table-to.
14569 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
14570 Pass it to tst-table.sh.
14571 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
14572 $(run-program-prefix) to tst-gettext.sh.
14573 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
14574 tst-translit.sh.
14575 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
14576 tst-gettext2.sh.
14577 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
14578 to run tst-gettext.
14579 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
14580 to run tst-gettext2.
14581 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
14582 to run tst-translit.
14583 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
14584 $(run-program-prefix) to tst-mtrace.sh.
14585 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
14586 to run tst-mtrace.
14587 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
14588 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
14589 $(rtld-installed-name).
14590 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
14591 (rtld_installed_name): Likewise.
14592 (run_program_prefix): New variable. Use it to run wordexp-test.
14593
728e272a
JM
14594 * Makeconfig (ARCH): Remove all definitions.
14595 (machine): Likewise.
14596 [ARCH]: Remove conditional code.
14597 [!objdir]: Give error.
14598 [!objdir] (objpfx): Remove.
14599 [!objdir] (common-objpfx): Likewise.
14600 [!objdir] (common-objdir): Likewise.
14601 * configure.in (config_makefile): Remove. Hardcode Makefile in
14602 AC_CONFIG_FILES call.
14603 * configure: Regenerated.
14604
d528cdcf
JM
14605 [BZ #13888]
14606 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
14607 or TMPDIR.
14608 (testout): Likewise.
14609
135948bd
JM
14610 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
14611 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
14612 $(rtld-installed-name).
14613 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
14614 (rtld_installed_name): Likwise.
14615 (runit): Remove function.
14616 (run_getconf): New variable, Use it for running getconf binary.
14617
38c78296
L
146182012-10-18 H.J. Lu <hongjiu.lu@intel.com>
14619
14620 [BZ #14716]
14621 * string/test-memmem.c (check_result): New function.
14622 (do_one_test): Use it.
14623 (check1): New function.
14624 (test_main): Use it.
14625
d077f65f
MT
146262012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
14627
14628 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
14629
ced52c71
JM
146302012-10-18 Joseph Myers <joseph@codesourcery.com>
14631
14632 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
14633 (_G_LSEEK64): Likewise.
14634 (_G_MMAP64): Likewise.
14635 (_G_FSTAT64): Likewise.
14636 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
14637 (_G_LSEEK64): Likewise.
14638 (_G_MMAP64): Likewise.
14639 (_G_FSTAT64): Likewise.
14640 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
14641 unconditional. Call __mmap64 directly.
14642 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
14643 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
14644 __lseek64 directly.
14645 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
14646 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
14647 __mmap64 directly.
14648 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
14649 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
14650 __lseek64 directly.
14651 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
14652 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
14653 __lseek64 directly.
14654 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
14655 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
14656 __lseek64 directly.
14657 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
14658 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
14659 __fxstat64 directly.
14660 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
14661 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
14662 unconditional.
14663 (freopen64) [!_G_OPEN64]: Remove conditional code.
14664 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
14665 unconditional.
14666 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
14667 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
14668 unconditional.
14669 (ftello64) [!_G_LSEEK64]: Remove conditional code.
14670 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
14671 unconditional.
14672 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
14673 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
14674 unconditional.
14675 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
14676 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
14677 unconditional.
14678 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
14679 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
14680 unconditional.
14681 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
14682 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
14683 unconditional.
14684 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
14685
b741de23
SP
146862012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14687
14688 [BZ #12140]
14689 * manual/memory.texi (Malloc Tunable Parameters): Add note
14690 about free list pointers overwriting some perturb bytes.
14691 Wording suggested by Roland McGrath.
14692
f9b9d9c9
JM
146932012-10-17 Joseph Myers <joseph@codesourcery.com>
14694
14695 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
14696 (lgamma_test): Likewise.
14697 (tgamma_test): Likewise.
14698
172a631a
FW
146992012-10-16 Florian Weimer <fweimer@redhat.com>
14700
14701 [BZ #14700]
14702 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
14703 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
14704
e9f37252
MK
147052012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
14706
14707 * NEWS: Mention BZ #14716.
14708 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
14709 when removing AVAILABLE1_USES_J macro.
14710
d394eb74
L
147112012-10-12 H.J. Lu <hongjiu.lu@intel.com>
14712
14713 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
14714 (__bswap_64): __uint64_t for unsigned 64-bit int.
14715
ca38dc17
AS
147162012-10-12 Andreas Schwab <schwab@linux-m68k.org>
14717
14718 * include/string.h (memmem): Declare libc hidden alias.
14719 * string/memmem.c (memmem): Define libc hidden alias.
14720 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
14721 __read, __close instead of open, read, close.
14722
9a387d1f
L
147232012-10-11 H.J. Lu <hongjiu.lu@intel.com>
14724
ac49ecaf
L
14725 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
14726 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
14727 global and hidden.
14728 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
14729 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
14730 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
14731 Likewise.
14732 (__rawmemchr_sse2): Likewise.
14733 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
14734 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
14735 (__strchr_sse2): Likewise.
14736 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
14737 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
14738 (__strcasecmp_sse2): Likewise.
14739 (__strncasecmp_sse2): Likewise.
14740 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
14741 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
14742 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
14743 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
14744 (__strrchr_sse2): Likewise.
14745 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
14746 ifunc-impl-list.c.
14747 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
14748 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
14749 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
14750 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
14751 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
14752 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
14753 * sysdeps/x86_64/multiarch/memset.S: Likewise.
14754 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14755 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
14756 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
14757 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
14758 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
14759 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
14760 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
14761 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
14762 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
14763 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
14764 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
14765 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
14766 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
14767 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
14768 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
14769 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
14770 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
14771 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
14772 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14773 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
14774 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
14775 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
14776 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
14777
b090e8ea
L
14778 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
14779 global and hidden.
14780 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
14781 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
14782 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
14783 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
14784 Likewise.
14785 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
14786 Likewise.
14787 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
14788 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
14789 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
14790 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
14791 ifunc-impl-list.c.
14792 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
14793 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
14794 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
14795 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
14796 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
14797 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
14798 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
14799 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
14800 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
14801 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
14802 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
14803 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
14804 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
14805 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
14806 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
14807 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14808 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
14809 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
14810 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
14811 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
14812 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14813 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
14814 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
14815 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
14816 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14817 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
14818 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
14819 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
14820 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
14821 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
14822 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
14823 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
14824 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
14825 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
14826 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
14827 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
14828 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
14829 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
14830 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
14831 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
14832 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
14833
11dd4af6
L
14834 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
14835 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
14836 * include/ifunc-impl-list.h: New file.
14837 * misc/ifunc-impl-list.c: Likewise.
14838 * misc/Makefile (routines): Add ifunc-impl-list.
14839 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
14840 * string/test-string.h: Include <ifunc-impl-list.h>.
14841 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
14842 impl_array): New variables.
14843 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
14844 are defined.
14845 (test_init): Call __libc_ifunc_impl_list to initialize
14846 func_list if TEST_IFUNC and TEST_NAME are defined.
14847
9a387d1f
L
14848 * string/Makefile (strop-tests): Add bcopy and bzero.
14849 * string/test-bcopy.c: New file.
14850 * string/test-bzero.c: Likewise.
14851 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
14852 defined.
14853 * string/test-memset.c: Support bzero test if TEST_BZERO is
14854 defined.
14855 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
14856 __libc_memmove.
14857 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
14858 __libc_memset.
14859 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
14860 of memset.
14861
472371b9
JM
148622012-10-10 Joseph Myers <joseph@codesourcery.com>
14863
1e4a9536
JM
14864 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
14865 * configure: Regenerated.
14866
d173d12e
JM
14867 * Makeconfig (+link-static-before-libc): Don't include
14868 $(link-static-libc).
14869
472371b9
JM
14870 * libio/libio.h (_IO_pos_t): Remove.
14871
89a3ad0b
AO
148722012-10-10 Alexandre Oliva <aoliva@redhat.com>
14873
14874 * NEWS: Add note about FIPS mode. Wording suggested by Roland
14875 McGrath.
14876
e7451425
AO
148772012-10-10 Alexandre Oliva <aoliva@redhat.com>
14878
14879 * crypt/crypt-entry.c: Include fips-private.h.
14880 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
14881 * crypt/md5c-test.c (main): Tolerate disabled MD5.
14882 * sysdeps/unix/sysv/linux/fips-private.h: New file.
14883 * sysdeps/generic/fips-private.h: New file, dummy fallback.
14884
4ba74a35
AO
148852012-10-10 Alexandre Oliva <aoliva@redhat.com>
14886
14887 * crypt/crypt-private.h: Include stdbool.h.
14888 (_ufc_setup_salt_r): Return bool.
14889 * crypt/crypt-entry.c: Include errno.h.
14890 (__crypt_r): Return NULL with EINVAL for bad salt.
14891 * crypt/crypt_util.c (bad_for_salt): New.
14892 (_ufc_setup_salt_r): Check that salt is long enough and within
14893 the specified alphabet.
14894 * crypt/badsalttest.c: New file.
14895 * crypt/Makefile (tests): Add it.
14896 ($(objpfx)badsalttest): New.
14897
f96f1242
MK
148982012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
14899
14900 * NEWS: Add entry for BZ #14602.
14901
0e8e0c1c
JM
149022012-10-09 Joseph Myers <joseph@codesourcery.com>
14903
14904 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
14905 type-generic.
14906 * math/libm-test.inc: Update comment listing what functions and
14907 macros are tested.
14908 (isgreater_test): New function.
14909 (isgreaterequal_test): Likewise.
14910 (isless_test): Likewise.
14911 (islessequal_test): Likewise.
14912 (islessgreater_test): Likewise.
14913 (isunordered_test): Likewise.
14914 (main): Call the new functions.
14915
273edc5e
RM
149162012-10-09 Roland McGrath <roland@hack.frob.com>
14917
b8493de0
RM
14918 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
14919 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
14920 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
14921 * sysdeps/i386/configure: Regenerated.
14922 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
14923 * sysdeps/mach/configure: Regenerated.
14924 * sysdeps/mach/hurd/configure: Regenerated.
14925 * sysdeps/powerpc/configure: Regenerated.
14926 * sysdeps/powerpc/powerpc32/configure: Regenerated.
14927 * sysdeps/powerpc/powerpc64/configure: Regenerated.
14928 * sysdeps/s390/s390-32/configure: Regenerated.
14929 * sysdeps/s390/s390-64/configure: Regenerated.
14930 * sysdeps/sh/configure: Regenerated.
14931 * sysdeps/sparc/configure: Regenerated.
14932 * sysdeps/unix/sysv/linux/configure: Regenerated.
14933 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
14934 * sysdeps/x86_64/configure: Regenerated.
14935
273edc5e
RM
14936 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
14937 defined. Don't check if MAP is NULL.
14938
c8450f70
JM
149392012-10-09 Joseph Myers <joseph@codesourcery.com>
14940
14941 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
14942 (_G_stat64): Likewise.
14943 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
14944 (_G_stat64): Likewise.
14945 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
14946 instead of struct _G_stat64.
14947 * libio/fileops.c (mmap_remap_check): Likewise.
14948 (decide_maybe_mmap): Likewise.
14949 (_IO_new_file_seekoff): Likewise.
14950 (_IO_file_stat): Likewise.
14951 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
14952 _G_off64_t.
14953 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
14954 instead of struct _G_stat64.
14955 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
14956
57e605ba
MK
149572012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
14958
14959 [BZ #14602]
14960 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14961 Replace with ...
14962 (CHECK_EOL): New macro.
14963 (two_way_short_needle): Check beginning of haystack for EOL. Use
14964 CHECK_EOL.
14965 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14966 Replace with CHECK_EOL.
14967 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14968 Replace with CHECK_EOL.
14969
ef1bb361
JM
149702012-10-08 Joseph Myers <joseph@codesourcery.com>
14971
14972 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
14973 type-generic.
14974 * math/libm-test.inc: Update comment listing what functions and
14975 macros are tested.
14976 (finite_test): New function.
14977 (isinf_test): Likewise.
14978 (isnan_test): Likewise.
14979 (fpclassify_test): Test subnormal input.
14980 (isfinite_test): Likewise.
14981 (isnormal_test): Likewise.
14982 (main): Call the new functions.
14983
55f11534
JN
149842012-10-08 Jonathan Nieder <jrnieder@gmail.com>
14985
14986 [BZ #14660]
14987 * Makerules (%.dynsym): Force C locale when running
14988 $(OBJDUMP) --dynamic-syms.
14989
1ab29350
AS
149902012-10-08 Andreas Schwab <schwab@linux-m68k.org>
14991
14992 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
14993 <stdint.h>.
14994
f1ecb7ef
DM
149952012-10-06 David S. Miller <davem@davemloft.net>
14996
14997 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
14998 upper 32-bits of the length value in %o2 since we use branch-on-register
14999 tests which consider the entire 64-bit register.
15000
5d41d91a
L
150012012-10-06 H.J. Lu <hongjiu.lu@intel.com>
15002
15003 * string/test-strstr.c (check2): Add a test for page boundary.
15004
3baddb72
DM
150052012-10-05 David S. Miller <davem@davemloft.net>
15006
15007 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
15008 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
15009 file.
15010 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
15011 sysdep_routines.
15012 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
15013 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
15014 and bzero when HWCAP_SPARC_CRYPTO is present.
15015
9cee5585
L
150162012-10-05 H.J. Lu <hongjiu.lu@intel.com>
15017
d7e0dab9
L
15018 [BZ #14602]
15019 * string/test-strstr.c (check2): New function.
15020 (test_main): Call check2.
15021
03759f47
L
15022 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
15023 and bug-strchr1.
15024 * string/bug-strcasestr1.c (do_test): Moved to ...
15025 * string/test-strcasestr.c (check1): Here. New function.
15026 (do_one_test): Break out result checking code into ...
15027 (check_result): This. New function.
15028 (do_one_test): Call check_result.
15029 (test_main): Call check1.
15030 * string/bug-strchr1.c (do_test): Moved to ...
15031 * string/test-strchr.c (check1): Here. New function.
15032 (do_one_test): Break out result checking code into ...
15033 (check_result): This. New function.
15034 (do_one_test): Call check_result.
15035 (test_main): Call check1.
15036 * string/bug-strstr1.c (main): Moved to ...
046f153e 15037 * string/test-strstr.c (check1): Here. New function.
03759f47
L
15038 (do_one_test): Break out result checking code into ...
15039 (check_result): This. New function.
15040 (do_one_test): Call check_result.
15041 (test_main): Call check1.
15042 * string/bug-strcasestr1.c: Removed.
15043 * string/bug-strchr1.c: Likewise.
15044 * string/bug-strstr1.c: Likewise.
15045
53cea63e
L
15046 * elf/Makefile (dl-routines): Add hwcaps.
15047 * elf/dl-support.c (_dl_important_hwcaps): Removed.
15048 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
15049 (_dl_important_hwcaps): Moved to ...
15050 * elf/dl-hwcaps.c: Here. New file.
15051 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
15052
9cee5585 15053 [BZ #14557]
bb859b06
L
15054 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
15055 if IS_IN_rtld isn't defined.
15056
9cee5585
L
15057 * elf/dl-support.c (_dl_sysinfo_map): New.
15058 Include "get-dynamic-info.h" and "setup-vdso.h".
15059 (_dl_non_dynamic_init): Call setup_vdso.
15060 * elf/dynamic-link.h: Don't include <assert.h>.
15061 (elf_get_dynamic_info): Moved to ...
15062 * elf/get-dynamic-info.h: Here. New file.
15063 * elf/dynamic-link.h: Include "get-dynamic-info.h".
15064 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
15065 * elf/setup-vdso.h: Here. New file.
15066 * elf/rtld.c: Include "setup-vdso.h".
15067 (dl_main): Call setup_vdso.
15068
23c31b76
JM
150692012-10-05 Joseph Myers <joseph@codesourcery.com>
15070
28234b07
JM
15071 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
15072 creal in comment listing functions tested. List finite, isinf,
15073 isnan, isless, islessequal, isgreater, isgreaterequal,
15074 islessgreater, isunordered, lgamma_r and pow10 as functions and
15075 macros not tested. Mention which functions not tested are aliases
15076 for other functions. Fix typo. Note that signs of NaNs are not
15077 tested.
15078
23c31b76
JM
15079 * scripts/config.guess: Update from config.git.
15080 * scripts/config.sub: Likewise.
15081
9043e228
RM
150822012-10-04 Roland McGrath <roland@hack.frob.com>
15083
15084 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
15085 * misc/madvise.c (madvise): Renamed to __madvise.
15086 Make madvise a weak alias.
15087 * include/sys/mman.h: Declare __madvise.
15088 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
15089 * sysdeps/unix/syscalls.list
15090 (madvise): Make __madvise the strong name, and madvise a weak alias.
15091 * sysdeps/unix/sysv/linux/syscalls.list
15092 (madvise, mmap): Remove redundant entries.
15093 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
15094 * malloc/malloc.c (mtrim): Likewise.
15095 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
15096
f57f8055
RM
150972012-10-03 Roland McGrath <roland@hack.frob.com>
15098
15099 * sysdeps/mach/hurd/dl-cache.c: File removed.
15100 * config.h.in (USE_LDCONFIG): New #undef.
15101 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
15102 * configure: Regenerated.
15103 * elf/Makefile (dl-routines): Add dl-cache only under
15104 [$(use-ldconfig) = yes].
15105 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
15106 cache on [USE_LDCONFIG].
15107 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
15108 [USE_LDCONFIG].
15109 * elf/rtld.c (dl_main): Likewise.
15110
5bb0c10a
PT
151112012-10-03 Pino Toscano <toscano.pino@tiscali.it>
15112
15113 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
15114 _SC_LEVEL4_CACHE_LINESIZE.
15115
010188c6
RM
151162012-10-03 Roland McGrath <roland@hack.frob.com>
15117
15118 * sysdeps/unix/bsd/confstr.h: File removed.
15119
b6c5ec07
AO
151202012-10-02 Alexandre Oliva <aoliva@redhat.com>
15121
15122 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
15123 sys/sdt-config.h.
15124
408223d4
RM
151252012-10-02 Roland McGrath <roland@hack.frob.com>
15126
15127 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
15128 Make 'mapoff' field ElfW(Off) rather than off_t.
15129
bb9510dc
DL
151302012-10-02 Dmitry V. Levin <ldv@altlinux.org>
15131
fc997c6e
DL
15132 * nscd/Makefile: Remove nscd-cflags and all its users.
15133 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
15134 (CFLAGS-nonlib): Add compiler flags for nscd modules.
15135
bb9510dc
DL
15136 [BZ #10631]
15137 * malloc.c (malloc_printerr): Clarify error message.
15138
05699367
L
151392012-10-02 H.J. Lu <hongjiu.lu@intel.com>
15140
15141 [BZ #14648]
15142 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15143 Set bit_FMA_Usable if FMA is supported.
15144 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
15145 macro.
15146 (bit_FMA4_Usable): Updated.
15147 (index_FMA_Usable): New macro.
15148 (CPUID_FMA): Likewise
15149 (HAS_FMA): Defined with bit_FMA_Usable.
15150
51367701
RM
151512012-10-01 Roland McGrath <roland@hack.frob.com>
15152
15153 * bits/types.h (__swblk_t): Type removed.
15154 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
15155 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
15156 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15157 (__SWBLK_T_TYPE): Likewise.
15158 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15159 (__SWBLK_T_TYPE): Likewise.
15160 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15161 (__SWBLK_T_TYPE): Likewise.
15162 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
15163 (__SWBLK_T_TYPE): Likewise.
15164
4d57bf63 151652012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 15166 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
15167
15168 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
15169 (xdr_mapname): Use YPMAXMAP as maxsize.
15170 (xdr_peername): Use YPMAXPEER as maxsize.
15171 (xdr_keydat): Use YPAXRECORD as maxsize.
15172 (xdr_valdat): Use YPMAXRECORD as maxsize.
15173
93c65d43
RM
151742012-10-01 Roland McGrath <roland@hack.frob.com>
15175
497a03d6
RM
15176 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
15177
93c65d43
RM
15178 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
15179 * csu/init-first.c: ... here.
15180 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
15181 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
15182 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
15183 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
15184 * sysdeps/i386/init-first.c: File removed.
15185 * sysdeps/sh/init-first.c: File removed.
15186
bec749fd
JM
151872012-10-01 Joseph Myers <joseph@codesourcery.com>
15188
15189 [BZ #14645]
15190 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
15191 if x * y might underflow to zero and z is zero.
15192 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15193 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15194 * math/libm-test.inc (min_subnorm_value): New variable.
15195 (fma_test): Add more tests.
15196 (fma_test_towardzero): Likewise.
15197 (fma_test_downward): Likewise
15198 (fma_test_upward): Likewise.
15199 (initialize): Set min_subnorm_value.
15200
8ec5b013
JM
152012012-09-29 Joseph Myers <joseph@codesourcery.com>
15202
15203 [BZ #14638]
15204 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
15205 0 + 0.
15206 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
15207 mode for addition resulting in exact zero.
15208 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
15209 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
15210 exact 0 + 0.
15211 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15212 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15213 * math/libm-test.inc (fma_test): Add more tests.
15214 (fma_test_towardzero): New function.
15215 (fma_test_downward): Likewise.
15216 (fma_test_upward): Likewise.
15217 (main): Call the new functions.
15218
b1fa802e
DM
152192012-09-28 David S. Miller <davem@davemloft.net>
15220
15221 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
15222
d3b9fd9e
RM
152232012-09-28 Roland McGrath <roland@hack.frob.com>
15224
ea4d37b3
RM
15225 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
15226 instead of SIGALRM.
15227
ac51c949
RM
15228 * sysdeps/gnu/_G_config.h: Moved to ...
15229 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
15230 * sysdeps/mach/hurd/_G_config.h: Moved to ...
15231 * sysdeps/generic/_G_config.h: ... here.
15232
28c195f7
RM
15233 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
15234
848917f9
RM
15235 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
15236
6bacf05b
RM
15237 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
15238 Conditionalize target on [libnss_test1.so-version].
15239
91363dbb
RM
15240 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
15241
cc87f7d8
RM
15242 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
15243 (elfobjdir): Move out of conditionals.
15244
b1c608fe
RM
15245 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
15246 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
15247 (__nss_lookup_function): Conditionalize label remove_from_tree on
15248 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 15249
1d9a6d96
DM
152502012-09-28 David S. Miller <davem@davemloft.net>
15251
15252 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
15253 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
15254 file.
15255 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
15256 sysdep_routines.
15257 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
15258 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
15259 when HWCAP_SPARC_CRYPTO is present.
15260
72581615
PT
152612012-09-28 Pino Toscano <toscano.pino@tiscali.it>
15262
15263 * io/tst-mknodat.c: Create a FIFO instead of a socket.
15264
715a900c
JL
152652012-09-28 Andreas Schwab <schwab@linux-m68k.org>
15266
15267 [BZ #6530]
15268 * stdio-common/vfprintf.c (process_string_arg): Revert
15269 2000-07-22 change.
15270
152712011-09-28 Jonathan Nieder <jrnieder@gmail.com>
15272
15273 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
15274 for testcase.
15275 * stdio-common/tst-sprintf.c: Include <locale.h>
15276 (main): Test sprintf's handling of incomplete multibyte
15277 characters.
15278
9bac1d86
L
152792012-09-28 H.J. Lu <hongjiu.lu@intel.com>
15280
15281 * elf/dl-runtime.c (VERSYMIDX): Removed.
15282 * elf/dl-version.c (VERSYMIDX): Likewise.
15283 * elf/do-rel.h (VERSYMIDX): Likewise.
15284 (VALIDX): Likewise.
15285 * elf/dynamic-link.h (VERSYMIDX): Likewise.
15286 * elf/rtld.c (VALIDX): Likewise.
15287 (ADDRIDX): Likewise.
9bac1d86
L
15288 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
15289 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
15290 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
15291 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
15292 (VALIDX): Likewise.
15293 (ADDRIDX): Likewise.
9bac1d86 15294
b31606c0
PT
152952012-09-28 Pino Toscano <toscano.pino@tiscali.it>
15296
15297 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
15298
11541177
JL
152992012-09-28 Dmitry V. Levin <ldv@altlinux.org>
15300
15301 [BZ #11438]
15302 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
15303 to global scope.
15304 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
15305 addresses are in the same scope as 192.0.2/24.
15306 * posix/gai.conf: Document new scope table defaults.
15307
adb26fae
SP
153082012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15309
15310 [BZ #5298]
15311 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
15312 for ftell. Compute offsets from write pointers instead.
15313 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
15314
4573c6b0
SP
153152012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15316
15317 [BZ #14543]
15318 * libio/Makefile (tests): New test case tst-fseek.
15319 * libio/tst-fseek.c: New test case to verify that fseek/ftell
15320 combination works in wide mode.
15321 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
15322 state when the external buffer state changes.
15323
aa9bbfe6
DM
153242012-09-27 David S. Miller <davem@davemloft.net>
15325
15326 [BZ #14376]
15327 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
15328 pass reloc->r_addend in as the 'high' argument to
15329 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
15330
784421e7
DM
15331 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15332
c39bc8b8
PT
153332012-09-28 Pino Toscano <toscano.pino@tiscali.it>
15334
15335 * rt/tst-aio2.c: Include <pthread.h>.
15336 * rt/tst-aio3.c: Likewise.
15337
1ccc2399
SE
153382012-09-27 Steve Ellcey <sellcey@mips.com>
15339
15340 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
15341
31ed4153
L
153422012-09-27 H.J. Lu <hongjiu.lu@intel.com>
15343
25f5f885
L
15344 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
15345 contents on [SHARED].
31ed4153 15346
b7bfe116
MP
153472012-09-26 Marek Polacek <polacek@redhat.com>
15348
15349 [BZ #14530]
15350 [BZ #13741]
15351 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
15352 for C++ and GCC <4.3 as well as for non GCC compilers.
15353
43c4edba
MT
153542012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
15355
15356 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15357
6a1bf82f
RM
153582012-09-25 Roland McGrath <roland@hack.frob.com>
15359
15360 * Makefile.in (all, install): Declare with .PHONY.
15361 Reported by Michael Hope <michael.hope@linaro.org>.
15362
8ad11b9a
TMQMF
153632012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15364
15365 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
15366 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
15367 system header.
15368 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
15369 Likewise.
15370 (sydep_routines): Add the new and the internal functions.
15371 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
15372 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
15373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
15374 (GLIBC_2.17): Add the new function.
15375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
15376 (GLIBC_2.17): Likewise.
15377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
15378 (GLIBC_2.17): Likewise.
15379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
15380 (GLIBC_2.17): Likewise.
15381 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
15382
7e2fca8d
AM
153832012-09-25 Alan Modra <amodra@gmail.com>
15384
15385 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
15386 Add release barrier before setting once_control to say
15387 initialisation is done. Add hints on lwarx. Use macro in
15388 place of isync.
15389 (clear_once_control): Add release barrier.
15390
b87c4b24
JM
153912012-09-25 Joseph Myers <joseph@codesourcery.com>
15392
d032e0d2
JM
15393 [BZ #13629]
15394 * math/s_clog.c (__clog): Handle more values close to |z| = 1
15395 specially.
15396 * math/s_clog10.c (__clog10): Likewise.
15397 * math/s_clog10f.c (__clog10f): Likewise.
15398 * math/s_clog10l.c (__clog10l): Likewise.
15399 * math/s_clogf.c (__clogf): Likewise.
15400 * math/s_clogl.c (__clogl): Likewise.
15401 * math/Makefile (libm-calls): Add x2y2m1.
15402 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
15403 (__x2y2m1): Likewise.
15404 (__x2y2m1l): Likewise.
15405 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
15406 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
15407 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
15408 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
15409 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
15410 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
15411 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
15412 * sysdeps/i386/fpu/libm-test-ulps: Update.
15413 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15414
b87c4b24
JM
15415 [BZ #14621]
15416 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
15417 int as type of variable DEPTH.
15418 (glob): Use size_t instead of int as type of variables NEWCOUNT
15419 and OLD_PATHC.
15420
6d3bf199
LD
154212012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15422
22bf5c17
LD
15423 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
15424 Add s_sincosf-sse2.
15425 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
15426 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
15427 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
15428 macros for using routine as __sincosf_ia32.
15429 Use macro for function declaration and weak_alias.
15430 * sysdeps/i386/fpu/libm-test-ulps: Update.
15431
15432 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
15433 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15434
15435 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
15436 subnormal argument.
15437 * math/s_cexpf.c (__cexpf): Likewise.
15438 * math/s_csinf.c (__csinf): Likewise.
15439 * math/s_csinhf.c (__csinhf): Likewise.
15440 * math/s_ctanf.c (__ctanf): Likewise.
15441 * math/s_ctanhf.c (__ctanhf): Likewise.
15442 * math/s_ccosh.c (__ccoshf): Likewise.
15443 * math/s_cexp.c (__cexpl): Likewise.
15444 * math/s_csin.c (__csin): Likewise.
15445 * math/s_csinh.c (__csinh): Likewise.
15446 * math/s_ctan.c (__ctan): Likewise.
15447 * math/s_ctanh.c (ctanh): Likewise.
15448 * math/s_ccoshl.c (__ccoshl): Likewise.
15449 * math/s_cexpl.c (__cexpl): Likewise.
15450 * math/s_csinl.c (__csinl): Likewise.
15451 * math/s_csinhl.c (__csinhl): Likewise.
15452 * math/s_ctanl.c (__ctanl): Likewise.
15453 * math/s_ctanhl.c (__ctanhl): Likewise.
15454
203e5603
JM
154552012-09-25 Joseph Myers <joseph@codesourcery.com>
15456
15457 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
15458 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
15459 (_IO_off_t): Define to __off_t, not _G_off_t.
15460 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
15461 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
15462 (_IO_wint_t): Define to wint_t, not _G_wint_t.
15463 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
15464 type of __dummy and __dummy2 fields.
15465 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
15466 (_G_ssize_t): Likewise.
15467 (_G_off_t): Likewise.
15468 (_G_pid_t): Likewise.
15469 (_G_uid_t): Likewise.
15470 (_G_wchar_t): Likewise.
15471 (_G_wint_t): Likewise.
15472 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
15473 (_G_ssize_t): Likewise.
15474 (_G_off_t): Likewise.
15475 (_G_pid_t): Likewise.
15476 (_G_uid_t): Likewise.
15477 (_G_wchar_t): Likewise.
15478 (_G_wint_t): Likewise.
15479 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
15480 (_G_ssize_t): Likewise.
15481 (_G_off_t): Likewise.
15482 (_G_pid_t): Likewise.
15483 (_G_uid_t): Likewise.
15484 (_G_wchar_t): Likewise.
15485 (_G_wint_t): Likewise.
15486
9fab36eb
SP
154872012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15488
15489 * malloc/arena.c: Include malloc-sysdep.h.
15490 (shrink_heap): Use check_may_shrink_heap to decide if madvise
15491 is sufficient to shrink the heap or an unmap is needed.
15492 * sysdeps/generic/malloc-sysdep.h: New file. Define
15493 new function check_may_shrink_heap.
15494 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
15495 new function check_may_shrink_heap.
15496
2b4f00d1
SP
154972012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15498
15499 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
15500 comments.
15501
9a9028b1
DL
155022012-09-24 Dmitry V. Levin <ldv@altlinux.org>
15503
57c69bef
DL
15504 * catgets/test-gencat.sh: Add "set -e".
15505 * elf/tst-pathopt.sh: Likewise.
15506 * grp/tst_fgetgrent.sh: Likewise.
15507 * iconvdata/run-iconv-test.sh: Likewise.
15508 * intl/tst-gettext.sh: Likewise.
15509 * intl/tst-gettext2.sh: Likewise.
15510 * intl/tst-gettext4.sh: Likewise.
15511 * intl/tst-gettext6.sh: Likewise.
15512 * intl/tst-translit.sh: Likewise.
15513 * io/ftwtest-sh: Likewise.
15514 * libio/test-freopen.sh: Likewise.
15515 * malloc/tst-mtrace.sh: Likewise.
15516 * posix/globtest.sh: Likewise.
15517 * posix/tst-getconf.sh: Likewise.
15518 * posix/wordexp-tst.sh: Likewise.
15519 * stdio-common/tst-printf.sh: Likewise.
15520 * stdio-common/tst-unbputc.sh: Likewise.
15521 * stdlib/tst-fmtmsg.sh: Likewise.
15522 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
15523 * catgets/Makefile: Do not specify -e option when running
15524 testsuite shell scripts.
15525 * elf/Makefile: Likewise.
15526 * grp/Makefile: Likewise.
15527 * iconvdata/Makefile: Likewise.
15528 * intl/Makefile: Likewise.
15529 * io/Makefile: Likewise.
15530 * libio/Makefile: Likewise.
15531 * malloc/Makefile: Likewise.
15532 * posix/Makefile: Likewise.
15533 * stdio-common/Makefile: Likewise.
15534 * stdlib/Makefile: Likewise.
15535 * sysdeps/x86_64/Makefile: Likewise.
15536
9a9028b1
DL
15537 * io/ftwtest-sh: Add copyright header.
15538 * posix/globtest.sh: Likewise.
15539 * posix/tst-getconf.sh: Likewise.
15540 * posix/wordexp-tst.sh: Likewise.
15541 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
15542
ced6f16e
L
155432012-09-24 H.J. Lu <hongjiu.lu@intel.com>
15544
94b32c39
L
15545 [BZ #13679]
15546 * Makeconfig (+link): Defined as $(+link-static) if
15547 $(build-shared) isn't yes.
15548 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
15549 isn't yes.
15550 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
15551
189e935b
L
15552 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
15553
ced6f16e
L
15554 [BZ #14562]
15555 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
15556 new chunk size with MALLOC_ALIGN_MASK.
15557
a9f8e53a
JM
155582012-09-24 Joseph Myers <joseph@codesourcery.com>
15559
15560 [BZ #5044]
15561 * stdio-common/printf_fphex.c: Include <stdbool.h> and
15562 <rounding-mode.h>.
15563 (__printf_fphex): Determine rounding using get_rounding_mode and
15564 round_away.
15565 * stdio-common/tst-printf-round.c (struct hex_test): New
15566 structure.
15567 (hex_tests): New variable.
15568 (test_hex_in_one_mode): New function.
15569 (do_test): Also run tests for hex float output.
15570
43153109
JM
155712012-09-21 Joseph Myers <joseph@codesourcery.com>
15572
15573 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
15574 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
15575 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
15576 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
15577 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
15578 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
15579 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
15580 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
15581
8a26625d
JM
155822012-09-20 Joseph Myers <joseph@codesourcery.com>
15583
15584 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
15585 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
15586 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
15587 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
15588
f3fd569c
DL
155892012-09-19 Dmitry V. Levin <ldv@altlinux.org>
15590
15591 [BZ #14579]
15592 * elf/rtld.c (dl_main): Limit the check for self loading to normal
15593 mode only.
15594 * elf/tst-rtld-load-self.sh: New test.
15595 * elf/Makefile: Run it.
15596
63bbedd4
JM
155972012-09-18 Joseph Myers <joseph@codesourcery.com>
15598
15599 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
15600 (tst-writev-ENV): Remove.
15601 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
15602
626f8b6a
CM
156032012-09-17 Chris Metcalf <cmetcalf@tilera.com>
15604
15605 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
15606
b7aaa4d6
JM
156072012-09-17 Joseph Myers <joseph@codesourcery.com>
15608
15609 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
15610 unconditional.
15611 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
15612 Likewise.
15613 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
15614 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
15615 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
15616 Likewise.
15617
65513990
L
156182012-09-14 H.J. Lu <hongjiu.lu@intel.com>
15619
15620 [BZ #14587]
15621 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
15622 * config.make.in (have-cpp-asm-debuginfo): Removed.
15623 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
15624 * configure: Regenerated.
15625
784761be
JM
156262012-09-14 Joseph Myers <joseph@codesourcery.com>
15627
15628 [BZ #5044]
15629 * stdio-common/printf_fp.c: Include <stdbool.h> and
15630 <rounding-mode.h>.
15631 (___printf_fp): Determine rounding using get_rounding_mode and
15632 round_away.
15633 * stdio-common/tst-printf-round.c: New file.
15634 * stdio-common/Makefile (tests): Add tst-printf-round.
15635 (link-libm): New variable.
15636 ($(objpfx)tst-printf-round): Depend in $(link-libm).
15637
9503345f
L
156382012-09-13 H.J. Lu <hongjiu.lu@intel.com>
15639
15640 [BZ #14576]
15641 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
15642 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
15643 Likewise.
15644 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
15645 Likewise.
15646
ad35fc00
JM
156472012-09-13 Joseph Myers <joseph@codesourcery.com>
15648
15649 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
15650 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15651 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15652 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15653
6c9b0f68
JM
156542012-09-12 Joseph Myers <joseph@codesourcery.com>
15655
15656 [BZ #14518]
15657 * include/rounding-mode.h: New file.
15658 * sysdeps/generic/get-rounding-mode.h: Likewise.
15659 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
15660 * stdlib/strtod_l.c: Include <rounding-mode.h>.
15661 (MAX_VALUE): New macro.
15662 (MIN_VALUE): Likewise.
15663 (overflow_value): New function.
15664 (underflow_value): Likewise.
15665 (round_and_return): Use overflow_value and underflow_value to
15666 determine return values in overflow and underflow cases. Use
15667 round_away to determine rounding depending on rounding mode.
15668 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
15669 determine return values in overflow and underflow cases.
15670 * stdlib/tst-strtod-round.c: Include <fenv.h>.
15671 (struct test_results): New structure.
15672 (struct test): Use struct test_results to store expected results
15673 for all rounding modes.
15674 (TEST): Include expected results for all rounding modes.
15675 (test_in_one_mode): New function.
15676 (do_test): Use test_in_one_mode to compute and check results.
15677 Check results for all rounding modes.
15678 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
15679 $(link-libm).
15680
19fcedd5
AM
156812012-12-09 Allan McRae <allan@archlinux.org>
15682
1e9d84cd 15683 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 15684
8bbfd2f1
JM
156852012-09-11 Joseph Myers <joseph@codesourcery.com>
15686
15687 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
15688 (_G_int32_t): Likewise.
15689 (_G_uint16_t): Likewise.
15690 (_G_uint32_t): Likewise.
15691 (_G_HAVE_BOOL): Likewise.
15692 (_G_HAVE_ATEXIT): Likewise.
15693 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
15694 (_G_HAVE_IO_FILE_OPEN): Likewise.
15695 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
15696 (_G_int32_t): Likewise.
15697 (_G_uint16_t): Likewise.
15698 (_G_uint32_t): Likewise.
15699 (_G_HAVE_BOOL): Likewise.
15700 (_G_HAVE_ATEXIT): Likewise.
15701 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
15702 (_G_HAVE_IO_FILE_OPEN): Likewise.
15703 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
15704 (_G_int32_t): Likewise.
15705 (_G_uint16_t): Likewise.
15706 (_G_uint32_t): Likewise.
15707 (_G_HAVE_BOOL): Likewise.
15708 (_G_HAVE_ATEXIT): Likewise.
15709 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
15710 (_G_HAVE_IO_FILE_OPEN): Likewise.
15711
b1dc5912
L
157122012-09-11 H.J. Lu <hongjiu.lu@intel.com>
15713
15714 * csu/libc-tls.c: Update copyright years.
15715
0e886ef9
JM
157162012-09-10 Joseph Myers <joseph@codesourcery.com>
15717
28361c5e
JM
15718 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
15719 [!_G_USING_THUNKS]: Remove conditional code.
15720 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
15721 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
15722
0e886ef9
JM
15723 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
15724 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
15725 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15726 (_G_VTABLE_LABEL_PREFIX): Likewise.
15727 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15728 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15729 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15730 (_G_VTABLE_LABEL_PREFIX): Likewise.
15731 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
15732 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15733 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15734 (_G_VTABLE_LABEL_PREFIX): Likewise.
15735 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
15736
bcba7aa2
L
157372012-09-10 H.J. Lu <hongjiu.lu@intel.com>
15738
15739 * libio/Makefile: Include ../Makeconfig before tests.
15740 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
15741 only if $(build-shared) is yes.
15742
06585ee8
L
15743 * iconv/gconv_db.c: Update copyright years.
15744
80ccd52c
LD
157452012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15746
15747 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
15748 unwind info if defined PIC. Fix special cases description.
15749 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
15750
15751 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
15752 DP_HI_MASK entry.
15753 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
15754
691bc9c1
L
157552012-09-07 H.J. Lu <hongjiu.lu@intel.com>
15756
3d9b46b3
L
15757 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
15758
de2139a9
L
15759 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
15760 is NULL.
15761
5ca78dd0
L
15762 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
15763 (LDLIBS-tst-chk4): This.
15764 (LDFLAGS-tst-chk5): Renamed to ...
15765 (LDLIBS-tst-chk5): This.
15766 (LDFLAGS-tst-chk6): Renamed to ...
15767 (LDLIBS-tst-chk6): This.
15768 (LDFLAGS-tst-lfschk4): Renamed to ...
15769 (LDLIBS-tst-lfschk4): This.
15770 (LDFLAGS-tst-lfschk5): Renamed to ...
15771 (LDLIBS-tst-lfschk5): This.
15772 (LDFLAGS-tst-lfschk6): Renamed to ...
15773 (LDLIBS-tst-lfschk6): This.
15774
691bc9c1
L
15775 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
15776 on $(common-objpfx)soversions.mk.
15777
65cafb1c
JM
157782012-09-07 Joseph Myers <joseph@codesourcery.com>
15779
15780 [BZ #10014]
15781 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
15782 example host name.
15783
c78ab094
SP
157842012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
15785
15786 * malloc/arena.c (arena_get_retry): New function that gets
15787 another arena for the caller to try its request on.
15788 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
15789 current arena cannot fulfill the request.
15790 (__libc_memalign): Likewise.
15791 (__libc_memalign): Likewise.
15792 (__libc_pvalloc): Likewise.
15793 (__libc_calloc): Likewise.
15794
01f49f59
JT
157952012-09-05 John Tobey <john.tobey@gmail.com>
15796
15797 [BZ #13542]
15798 * manual/arith.texi (Operations on Complex): Fix description
15799 of carg branch cut.
15800
4c23fed5
JM
158012012-09-06 Joseph Myers <joseph@codesourcery.com>
15802
1d3c8572
JM
15803 [BZ #10014]
15804 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
15805 host name.
15806
4c23fed5
JM
15807 [BZ #10038]
15808 * manual/memory.texi (Memory): Make order of menu items match
15809 order of sections.
15810
04570aaa
L
158112012-09-06 H.J. Lu <hongjiu.lu@intel.com>
15812
15813 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
15814 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
15815 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
15816
b80af2f4
L
158172012-09-06 H.J. Lu <hongjiu.lu@intel.com>
15818
15819 * csu/libc-tls.c (static_dtv): Renamed to ...
15820 (_dl_static_dtv): This. Make it global.
15821 (_dl_initial_dtv): Removed.
15822 (__libc_setup_tls): Updated.
15823 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
15824 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
15825 DL_INITIAL_DTV.
15826
2abe9f15
PM
158272012-09-06 Petr Machata <pmachata@redhat.com>
15828
15829 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
15830 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
15831 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
15832 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
15833
0948c3af
L
158342012-09-06 H.J. Lu <hongjiu.lu@intel.com>
15835
15836 [BZ #14545]
15837 * csu/libc-tls.c (_dl_initial_dtv): New variable.
15838 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
15839 freeing dtv[-1].
15840
a5055ad1
L
158412012-09-06 H.J. Lu <hongjiu.lu@intel.com>
15842
15843 [BZ #14544]
15844 * Makeconfig (link-static-before-libc): Replace $(+prector)
15845 with $(+prectorT).
15846 (link-static-after-libc): Replace $(+postctor) with
15847 $(+postctorT).
15848 (link-bounded): Replace $(+prector)/$(+postctor) with
15849 $(+prectorT)/$(+postctorT).
15850 (+prectorT): New macro.
15851 (+postctorT): Likewise.
15852
ed8c2ecd
JM
158532012-09-06 Joseph Myers <joseph@codesourcery.com>
15854
15855 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
15856 (round_str): Handle values above the maximum for IBM long double
15857 as inexact.
15858 * stdlib/tst-strtod-round.c (tests): Regenerated.
15859
14c996c8
AK
158602012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15861
15862 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
15863 assembler flag.
15864 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
15865 zarch_nohighgprs around the zarch optimized routines.
15866 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
15867 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
15868 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
15869 for zarch.
15870
430d6ce6
DM
158712012-09-05 David S. Miller <davem@davemloft.net>
15872
15873 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15874
ff04dda4
DM
15875 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
15876 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
15877 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
15878 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
15879 entries.
15880
24d4e01b
AO
158812012-09-05 Alexandre Oliva <aoliva@redhat.com>
15882
15883 * malloc/arena.c: Fold copyright years.
15884 * malloc/mcheck.c, malloc/memusage.c: Likewise.
15885
61d58174
AO
158862012-09-05 Alexandre Oliva <aoliva@redhat.com>
15887
15888 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
15889
20196a5e
AO
158902012-09-05 Alexandre Oliva <aoliva@redhat.com>
15891
15892 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
15893
5c447383
AO
158942012-09-05 Alexandre Oliva <aoliva@redhat.com>
15895
15896 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
15897 change internal state upon failure.
15898
fad64255
AO
158992012-09-05 Alexandre Oliva <aoliva@redhat.com>
15900
15901 * malloc/mcheck.c (mcheck_check_all): Fix typo.
15902 * malloc/memusage.c (mmap): Likewise.
15903 (mmap64, mremap): Likewise. Adjust name in comment.
15904
1ffb8c90
SP
159052012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15906
15907 * libio/fileops.c: Fix typos in comments.
15908 * libio/oldfileops.c: Likewise.
15909 * libio/wfileops.c: Likewise.
15910
6ef9cc37
SP
159112012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15912
15913 [BZ #1349]
15914 * malloc/Makefile (tests): Add tst-malloc-usable test case.
15915 (tst-malloc-usable-ENV): Set environment for test case.
15916 * malloc/hooks.c (malloc_check_get_size): New function to get
15917 requested size.
15918 * malloc/malloc.c (musable): Use malloc_check_get_size.
15919 * malloc/tst-malloc-usable.c: New test case.
15920
4d038ae3
AS
159212012-09-05 Andreas Schwab <schwab@linux-m68k.org>
15922
15923 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
15924
c4e85184
AM
159252012-09-05 Allan McRae <allan@archlinux.org>
15926
b9dafc56 15927 [BZ #13966]
c4e85184
AM
15928 * configure.in (CXX_SYSINCLUDES): Use compiler output to
15929 determine header location.
15930 * configure: Regenerated.
15931
e1343020
AS
159322012-09-05 Andreas Schwab <schwab@linux-m68k.org>
15933
15934 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
15935 float format.
15936 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
15937 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
15938 format.
e1343020
AS
15939 (test): Regenerate.
15940
0a9f1987
DM
159412012-09-04 David S. Miller <davem@davemloft.net>
15942
15943 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
15944 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
15945 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
15946
29237804
FW
159472012-09-04 Florian Weimer <fweimer@redhat.com>
15948
15949 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
15950 failures.
15951
edb3cb88
FW
15952 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
15953
60160d83
JM
159542012-09-04 Joseph Myers <joseph@codesourcery.com>
15955
15956 [BZ #9914]
15957 * libio/iogetdelim.c: Include <limits.h>.
15958 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
15959 + len + 1 would overflow.
15960
bcd6c8dc
AJ
159612012-09-03 Andreas Jaeger <aj@suse.de>
15962
15963 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15964 * sysdeps/i386/fpu/libm-test-ulps: Update.
15965
4ffffbd2
LD
159662012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15967
15968 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
15969 Add s_sinf-sse2, s_conf-sse2.
15970
15971 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
15972 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
15973 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
15974 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
15975
15976 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
15977 for using routine as __sinf_ia32.
15978 Use macro for function declaration and weak_alias.
15979 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
15980 for using routine as __cosf_ia32.
15981 Use macro for function declaration and weak_alias.
15982
15983 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
15984 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
15985
15986 * sysdeps/x86_64/fpu/s_sinf.S: New file.
15987 * sysdeps/x86_64/fpu/s_cosf.S: New file.
15988 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15989
15990 * math/libm-test.inc (cos_test): Add more test cases.
15991 (sin_test): Likewise.
15992 (sincos_test): Likewise.
15993
511fa286
AK
159942012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15995
15996 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
15997 (IFUNC_RESOLVE): Make pointers to the specialized implementations
15998 hidden.
15999 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
16000
5f30cfec
L
160012012-09-02 H.J. Lu <hongjiu.lu@intel.com>
16002
16003 [BZ #14538]
16004 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
16005 first element of the GOT.
16006 (elf_machine_load_address): Return the difference between
16007 the runtime address of _DYNAMIC and elf_machine_dynamic ().
16008
0786794f
AM
160092012-09-01 Allan McRae <allan@archlinux.org>
16010
5f30cfec
L
16011 [BZ #13412]
16012 * configure.in (AWK): Require gawk version 3.0 or later.
16013 * configure: Regenerated.
0786794f 16014
26889eac
JM
160152012-09-01 Joseph Myers <joseph@codesourcery.com>
16016
16017 * sysdeps/unix/sysv/linux/kernel-features.h
16018 (__ASSUME_POSIX_CPU_TIMERS): Remove.
16019 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16020 [__NR_clock_getres]: Make code unconditional.
16021 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
16022 (clock_getcpuclockid): Remove code left unreachable by removal of
16023 conditionals.
16024 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
16025 code unconditional.
16026 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
16027 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16028 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
16029 Make code unconditional.
16030 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
16031 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16032 * sysdeps/unix/sysv/linux/clock_settime.c
16033 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
16034 conditional code.
16035 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
16036 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16037
d22e28b0
L
160382012-08-29 H.J. Lu <hongjiu.lu@intel.com>
16039
16040 [BZ #14476]
16041 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
16042 scripts/test-installation.pl.
16043
16044 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
16045 and $ld_so_version if it is set.
16046
050af9c4
SP
160472012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16048
16049 [BZ #14516]
16050 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
16051 failure if reading from procfs failed.
16052 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
16053
ad845c0b
JM
160542012-08-27 Joseph Myers <joseph@codesourcery.com>
16055
16056 * sysdeps/unix/sysv/linux/kernel-features.h
16057 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
16058 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
16059 Remove conditional code.
16060 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16061 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
16062 Remove conditional code.
16063 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16064 * sysdeps/unix/sysv/linux/i386/fxstat.c
16065 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16066 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16067 * sysdeps/unix/sysv/linux/i386/fxstatat.c
16068 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16069 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16070 * sysdeps/unix/sysv/linux/i386/lxstat.c
16071 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16072 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16073 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
16074 Remove conditional code.
16075 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16076 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
16077 Remove conditional code.
16078 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16079 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
16080 <kernel-features.h>.
16081 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
16082 Remove.
16083 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
16084 Remove conditional code.
16085 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16086 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
16087 Remove conditional.
16088
5dbf56af
MF
160892012-08-27 Mike Frysinger <vapier@gentoo.org>
16090
16091 [BZ #5400]
16092 * NEWS: Add fixed bug number.
16093
d6e70f43
JM
160942012-08-27 Joseph Myers <joseph@codesourcery.com>
16095
7efb4737
JM
16096 [BZ #14519]
16097 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
16098 underflowing exponent in case of negative sign.
16099 * stdlib/tst-strtod-round-data: Add more tests.
16100 * stdlib/tst-strtod-round.c (tests): Regenerated.
16101
af92131a
JM
16102 [BZ #3479]
16103 * stdlib/strtod_l.c (NDIG): Remove.
16104 (HEXNDIG): Likewise.
16105 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
16106 smallest representable value.
16107 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
16108 lie within an exact representation of 1/2 ulp of the result.
16109 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
16110 unconditionally.
16111 (TENS_P9_IDX): Define unconditionally.
16112 (TENS_P9_SIZE): Likewise.
16113 (TENS_P10_IDX): Likewise.
16114 (TENS_P10_SIZE): Likewise.
16115 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
16116 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
16117 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
16118 entries for 10^2^13 and 10^2^14.
16119 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
16120 (TENS_P13_IDX): Define.
16121 (TENS_P13_SIZE): Likewise.
16122 (TENS_P14_IDX): Likewise.
16123 (TENS_P14_SIZE): Likewise.
16124 (_fpioconst_pow10): Change array size to
16125 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
16126 unconditional.
16127 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
16128 1024]: Add entries for 10^2^13 and 10^2^14.
16129 [LAST_POW10 > _LAST_POW10]: Remove #error.
16130 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
16131 (_fpioconst_pow10): Change array size to
16132 FPIOCONST_POW10_ARRAY_SIZE.
16133 * stdlib/gen-fpioconst.c: New file.
16134 * stdlib/gen-tst-strtod-round.c: Likewise.
16135 * stdlib/tst-strtod-round-data: Likewise.
16136 * stdlib/tst-strtod-round.c: Likewise.
16137 * stdlib/Makefile (tests): Add tst-strtod-round.
16138
d6e70f43
JM
16139 [BZ #14459]
16140 * stdlib/strtod_l.c: Include <stdint.h>.
16141 (NDEBUG): Do not define.
16142 (round_and_return): Change EXPONENT parameter to type intmax_t.
16143 Rearrange calculations to avoid internal overflow possibilities.
16144 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
16145 Rearrange calculations to avoid internal overflow possibilities.
16146 Assert that number fits inside MPNSIZE limbs.
16147 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
16148 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
16149 calculations and add assertions to avoid internal overflow
16150 possibilities. Add casts to avoid signed/unsigned operations.
16151 * stdlib/tst-strtod-overflow.c: New file.
16152 * stdlib/Makefile (tests): Add tst-strtod-overflow.
16153
1f529f7d
MP
161542012-08-25 Marek Polacek <polacek@redhat.com>
16155
16156 * time/time.h: Fix some typos in comments.
16157
59a629f1
RM
161582012-08-23 Roland McGrath <roland@hack.frob.com>
16159
16160 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
16161 * posix/tst-rfc3484-2.c: Likewise.
16162 * posix/tst-rfc3484-3.c: Likewise.
16163
d3bafbc9
SM
161642012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
16165
16166 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
16167 (EF_ARM_ABI_FLOAT_HARD): Likewise.
16168
4efcc022
JM
161692012-08-23 Joseph Myers <joseph@codesourcery.com>
16170
16171 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
16172 #include of fxstatat64.c.
16173
3cc3ef96
RM
161742012-08-22 Roland McGrath <roland@hack.frob.com>
16175
f04e2132
RM
16176 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
16177 * shadow/getspent_r.c: Likewise.
16178 * shadow/getspnam.c: Likewise.
16179 * shadow/getspnam_r.c: Likewise.
16180 * gshadow/getsgent.c: Likewise.
16181 * gshadow/getsgent_r.c: Likewise.
16182 * gshadow/getsgnam.c: Likewise.
16183 * gshadow/getsgnam_r.c: Likewise.
16184 * inet/getnetbyad.c: Likewise.
16185 * inet/getnetbyad_r.c: Likewise.
16186 * inet/getnetbynm.c: Likewise.
16187 * inet/getnetbynm_r.c: Likewise.
16188 * inet/getnetent.c: Likewise.
16189 * inet/getnetent_r.c: Likewise.
16190 * inet/getproto.c: Likewise.
16191 * inet/getproto_r.c: Likewise.
16192 * inet/getprtent.c: Likewise.
16193 * inet/getprtent_r.c: Likewise.
16194 * inet/getprtname.c: Likewise.
16195 * inet/getprtname_r.c: Likewise.
16196 * inet/getrpcbyname.c: Likewise.
16197 * inet/getrpcbyname_r.c: Likewise.
16198 * inet/getrpcbynumber.c: Likewise.
16199 * inet/getrpcbynumber_r.c: Likewise.
16200 * inet/getrpcent.c: Likewise.
16201 * inet/getrpcent_r.c: Likewise.
16202 * inet/getaliasent.c: Likewise.
16203 * inet/getaliasent_r.c: Likewise.
16204 * inet/getaliasname.c: Likewise.
16205 * inet/getaliasname_r.c: Likewise.
16206 * nscd/getgrgid_r.c: Likewise.
16207 * nscd/getgrnam_r.c: Likewise.
16208 * nscd/gethstbyad_r.c: Likewise.
16209 * nscd/gethstbynm3_r.c: Likewise.
16210 * nscd/getpwnam_r.c: Likewise.
16211 * nscd/getpwuid_r.c: Likewise.
16212 * nscd/getsrvbynm_r.c: Likewise.
16213 * nscd/getsrvbypt_r.c: Likewise.
16214 * nscd/gai.c: Likewise.
16215
c53d909c
RM
16216 * configure.in (build_nscd): New substituted variable, set
16217 by --disable-build-nscd and defaults to $use_nscd.
16218 * configure: Regenerated.
16219 * config.make.in (build-nscd): New substituted variable.
16220 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
16221 Change conditional to require [$(build-nscd) = yes] as well.
16222 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
16223
3cc3ef96
RM
16224 [BZ# 13696]
16225 * configure.in (use_nscd): New substituted variable, set by
16226 --disable-nscd. If enabled, define USE_NSCD.
16227 * configure: Regenerated.
16228 * config.h.in: Add USE_NSCD.
16229 * config.make.in (use-nscd): New substituted variable.
16230 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
16231 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
16232 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
16233 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
16234 (CFLAGS-getgrnam_r.c): Likewise.
16235 (CFLAGS-initgroups.c): Likewise.
16236 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
16237 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
16238 Variables removed.
16239 * inet/getnetgrent_r.c
16240 (nscd_setnetgrent): New function, broken out of ...
16241 (setnetgrent): ... here. Call it.
16242 (innetgr): Conditionalize nscd bits on [USE_NSCD].
16243 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
16244 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
16245 * nscd/Makefile (routines, aux): Move definitions after include of
16246 Makeconfig. Conditionalize on [$(use-nscd) != no].
16247 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
16248 Conditionalize on [USE_NSCD].
16249 (is_nscd, nscd_init_cb): Likewise.
16250 (nss_load_library): Conditionalize init callback on [USE_NSCD].
16251 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
16252 * nss/nss_db/db-init.c: Likewise.
16253 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
16254 [USE_NSCD].
16255 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
16256 (make_request): Use it.
16257 (cache_valid_p): New function.
16258 (__check_pf): Use it.
16259 * NEWS: Add item for --disable-nscd.
16260
07e51550
DL
162612012-08-22 Dmitry V. Levin <ldv@altlinux.org>
16262
16263 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
16264 to support sed >= 4.2.1-20-ga9bf076.
16265 * configure: Regenerated.
16266
35a5b08b
RM
162672012-08-22 Roland McGrath <roland@hack.frob.com>
16268
16269 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
16270 Conditionalize whole body on [IREL].
16271
8479f23a
JL
162722012-08-22 Jeff Law <law@redhat.com>
16273
16274 [BZ #14505]
16275 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
16276 if the family is PF_UNSPEC.
16277
48da0b21
MF
162782012-08-22 Mike Frysinger <vapier@gentoo.org>
16279
16280 * Makerules (lib-version): Rename from V.
16281 (install-lib-nosubdir): Change V to lib-version.
16282
15d0da8c
WS
162832012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
16284
16285 [BZ #14252]
16286 * powerpc32/power6/wcschr.c: New file.
16287 * powerpc32/power6/wcscpy.c: New file.
16288 * powerpc32/power6/wcsrchr.c: New file.
16289 * powerpc64/power6/wcschr.c: New file.
16290 * powerpc64/power6/wcscpy.c: New file.
16291 * powerpc64/power6/wcsrchr.c: New file.
16292
bcca0895
MK
162932012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
16294
16295 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
16296 (two_way_short_needle): Use it.
5a4aaa33
RM
16297 * string/strstr.c (AVAILABLE1_USES_J): Define.
16298 * string/strcasestr.c: Likewise.
99677e57
MK
16299
16300 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
16301 array references.
16302 * string/strcasestr.c (TOLOWER): Make side-effect safe.
16303
400726de
MK
16304 [BZ #11607]
16305 * NEWS: Add an entry.
16306 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
16307 define their defaults.
16308 (two_way_short_needle): Detect end-of-string on-the-fly.
16309 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
16310 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
16311 * string/bug-strcasestr1.c: New test.
16312 * string/Makefile: Run it.
16313
20a71f2c
MK
163142012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
16315
16316 [BZ #11607]
16317 * string/str-two-way.h (two_way_short_needle): Optimize matching of
16318 the first character.
16319
21ad0558
RM
163202012-08-21 Roland McGrath <roland@hack.frob.com>
16321
16322 * csu/elf-init.c (__libc_csu_irel): Function removed.
16323 * csu/libc-start.c (apply_irel): New function.
16324 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
16325
0e1d9911
JM
163262012-08-21 Joseph Myers <joseph@codesourcery.com>
16327
16328 * sysdeps/unix/sysv/linux/kernel-features.h
16329 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
16330 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
16331 <kernel-features.h>.
16332 [__NR_fadvise64_64]: Make code unconditional.
16333 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
16334 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
16335 !__NR_fadvise64_64)]: Likewise.
16336 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
16337 !__NR_fadvise64_64))]: Likewise.
16338 [__NR_fadvise64]: Make code unconditional.
16339 [!__NR_fadvise64]: Remove conditional code.
16340 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
16341 <kernel-features.h>.
16342 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16343 unconditional.
16344 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16345 conditional code.
16346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
16347 not include <kernel-features.h>.
16348 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16349 unconditional.
16350 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16351 conditional code.
16352 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
16353 include <kernel-features.h>.
16354 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16355 unconditional.
16356 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16357 conditional code.
16358
14a50c9d
WS
163592012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
16360
16361 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
16362 slight instruction rearrangements per scrollpipe analysis.
16363 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
16364
c0f4faf0
RM
163652012-08-20 Roland McGrath <roland@hack.frob.com>
16366
696da859
RM
16367 * manual/syslog.texi (syslog; vsyslog, closelog):
16368 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
16369 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
16370
c0f4faf0
RM
16371 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
16372 DSOCAPS to match condition on defining it.
16373
348363b2
JM
163742012-08-20 Joseph Myers <joseph@codesourcery.com>
16375
a35cbf28
JM
16376 * sysdeps/unix/sysv/linux/kernel-features.h
16377 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
16378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
16379 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16380 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
16382 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16383 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
16385 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16386 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16387
445f7ecd
JM
16388 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
16389 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
16390
348363b2
JM
16391 * sysdeps/unix/sysv/linux/kernel-features.h
16392 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
16393 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
16394 unconditional.
16395 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16396 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
16397 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
16398 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16399 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
16400 Make code unconditional.
16401 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16402 (__mmap64) [!__NR_mmap2]: Likewise.
16403 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
16404 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
16405 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16406 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
16407 [__NR_mmap2]: Make code unconditional.
16408 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16409 (__mmap64) [!__NR_mmap2]: Likewise.
16410
bc5bc0e5
AK
164112012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16412
16413 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
16414
88d506de
AJ
164152012-08-18 Andreas Jaeger <aj@suse.de>
16416
16417 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
16418
493387d2
MF
164192012-08-18 Mike Frysinger <vapier@gentoo.org>
16420
16421 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
16422 * include/unistd.h (__have_sock_cloexec): Likewise.
16423 (__have_pipe2): Likewise.
16424 (__have_dup3): Likewise.
16425
a277af22
MF
164262012-08-18 Mike Frysinger <vapier@gentoo.org>
16427
16428 [BZ #9685]
16429 * include/unistd.h (__have_pipe2): Change define into an extern int.
16430 (__have_dup3): Likewise.
16431 * socket/have_sock_cloexec.c: Include fcntl.h.
16432 (__have_pipe2): New variable.
16433 (__have_dup3): Likewise.
16434
fdab8fd3
MF
164352012-08-17 Mike Frysinger <vapier@gentoo.org>
16436
16437 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
16438
31035e80
MP
164392012-08-17 Marek Polacek <polacek@redhat.com>
16440
16441 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
16442 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
16443
3bd9e993
RM
164442012-08-17 Roland McGrath <roland@hack.frob.com>
16445
c91c505f
RM
16446 * configure.in: Add AC_SUBST for sysheaders.
16447 * configure: Regenerated.
16448 * config.make.in (sysheaders): New substituted variable.
16449
7c6f9d53
RM
16450 * sysdeps/unix/mkfifo.c: Moved ...
16451 * sysdeps/posix/mkfifo.c: ... here.
16452 * sysdeps/unix/mkfifoat.c: Moved ...
16453 * sysdeps/posix/mkfifoat.c: ... here.
16454
16455 * sysdeps/unix/utime.c: Moved ...
16456 * sysdeps/posix/utime.c: ... here.
16457
16458 * sysdeps/unix/time.c: Moved ...
16459 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
16460 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
16461 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
16462
16463 * sysdeps/unix/nice.c: Moved ...
16464 * sysdeps/posix/nice.c: ... here.
16465
16466 * sysdeps/unix/alarm.c: Moved ...
16467 * sysdeps/posix/alarm.c: ... here.
16468
3bd9e993
RM
16469 * intl/Makefile ($(codeset_mo)): Depend on the input file.
16470
d1f09384
JL
164712012-08-17 Jeff Law <law@redhat.com>
16472
16473 * intl/Makefile (codeset_mo): New variable.
16474 ($(codeset_mo)): New target.
16475 (tst-codeset.out): Depend on that. Remove explicit rule.
16476 (tst-gettext3.out, tst-gettext5.out): Likewise.
16477 (LOCPATH-ENV, tst-codeset-ENV): New variables.
16478 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
16479 * intl/tst-codeset.sh: Remove.
16480 * intl/tst-gettext3.sh: Likewise.
16481 * intl/tst-gettext5.sh: Likewise.
16482
2ae1ae5c
RM
164832012-08-17 Roland McGrath <roland@hack.frob.com>
16484
c31fdb83
RM
16485 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
16486 * sysdeps/unix/syscalls.list: ... here.
16487
a0844057
RM
16488 * sysdeps/posix/getaddrinfo.c
16489 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
16490 (gaiconf_init, gaiconf_reload): Use them.
16491 [!_STATBUF_ST_NSEC]
16492 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
16493 Define using time_t rather than struct timespec.
16494
750c1f2a
RM
16495 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
16496 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
16497 Macros removed.
16498 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
16499 [!NO_THREADS].
16500 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
16501 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
16502 Likewise.
16503
2ae1ae5c
RM
16504 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
16505 __libc_cleanup_push argument.
16506
e66a42f5
RM
16507 * bits/param.h: New file.
16508 * misc/sys/param.h: New file.
16509 * include/sys/param.h: New file.
16510 * misc/Makefile (headers): Add bits/param.h.
16511 * sysdeps/generic/sys/param.h: File removed.
16512 * sysdeps/unix/sysv/linux/bits/param.h: New file.
16513 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
16514 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 16515 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 16516
b7c08a66
RM
16517 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
16518 last change.
16519
b2e1c562
RM
16520 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
16521 [_IO_MTSAFE_IO].
16522 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
16523 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
16524 New macros.
16525
c75ccd4c
RM
16526 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
16527 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
16528 rather than -D_IO_MTSAFE_IO conditionally.
16529 * stdio-common/Makefile (CPPFLAGS): Likewise.
16530 * wcsmbs/Makefile (CPPFLAGS): Likewise.
16531 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
16532 Use $(libio-mtsafe).
16533 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
16534 of -D_IO_MTSAFE_IO.
16535 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
16536 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
16537 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
16538 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
16539 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
16540 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
16541 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
16542 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
16543 (CFLAGS-fread_u_chk.c): Likewise.
16544 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
16545 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
16546 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
16547 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
16548 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
16549 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
16550 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
16551 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
16552 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
16553
16554 * libio/Makefile: Test [$(libc-reentrant) = yes]
16555 instead of [$(filter %REENTRANT, $(defines)) nonempty].
16556
16557 * Makeconfig
16558 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
16559 * sysdeps/pthread/configure: File removed.
16560 * sysdeps/pthread/Makeconfig: New file.
16561 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
16562 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
16563
d9195db8
GB
165642012-08-16 Gary Benson <gbenson@redhat.com>
16565
16566 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
16567 unmapping the first object in a namespace.
16568
86466cd9
RM
165692012-08-16 Roland McGrath <roland@hack.frob.com>
16570
16571 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
16572 (__internal_setnetgrent): ... this. Add internal_function to
16573 definition. Add libc_hidden_def.
16574 (setnetgrent): Update caller.
16575 (internal_endnetgrent): Renamed to ...
16576 (__internal_endnetgrent): ... this. Add internal_function to
16577 definition. Add libc_hidden_def.
16578 (endnetgrent): Update caller.
16579 (internal_getnetgrent_r): Renamed to ...
16580 (__internal_getnetgrent_r): ... this. Add internal_function to
16581 definition. Add libc_hidden_def.
16582 (__getnetgrent_r): Update caller.
16583 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
16584
c3c8283c
JM
165852012-08-16 Joseph Myers <joseph@codesourcery.com>
16586
16587 * stdlib/longlong.h: Update from GCC.
16588
db1ee0a8
RM
165892012-08-16 Roland McGrath <roland@hack.frob.com>
16590
16591 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
16592 on _QL, which is set by umul_ppmm but never used.
16593 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
16594 variables, which are set by GMP macros but never used.
16595 * stdio-common/_itowa.c (_itowa): Likewise.
16596 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
16597 * stdlib/mod_1.c (mpn_mod_1): Likewise.
16598
30f69637
CD
165992012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
16600
16601 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
16602 struct La_sh_regs is not constant.
16603 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
16604 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
16605 and struct La_sparc64_regs are not constant.
16606
93a78ac4
JM
166072012-08-16 Joseph Myers <joseph@codesourcery.com>
16608
16609 * sysdeps/unix/sysv/linux/kernel-features.h
16610 (__ASSUME_POSIX_TIMERS): Remove.
16611 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16612 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16613 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
16614 Make code unconditional.
16615 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16616 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
16617 Make code unconditional.
16618 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16619 * sysdeps/unix/sysv/linux/clock_nanosleep.c
16620 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
16621 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16622 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
16623 Make code unconditional.
16624 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16625 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
16626 (__libc_missing_posix_timers): Remove.
16627
dd924cd7
RM
166282012-08-15 Roland McGrath <roland@hack.frob.com>
16629
4b4f2771
RM
16630 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
16631 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
16632
601c888b
RM
16633 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
16634
176790a7
RM
16635 * elf/dl-sym.c: Include <stdlib.h>.
16636
329bc018
RM
16637 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
16638 constants, which avoids warnings in 32-bit builds.
16639
e04e272d
RM
16640 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
16641 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
16642
952bf94a
RM
16643 * misc/lseek.c: File moved to ...
16644 * io/lseek.c: ... here.
16645
7c99b50a
RM
16646 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
16647
dd924cd7
RM
16648 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
16649 shifting LEN more than 31 bits at once.
16650
b3f479a8
LD
166512012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16652
16653 [BZ #14195]
8c4ae0d4
RM
16654 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
16655 segmentation fault for a case of two empty input strings.
b3f479a8
LD
16656 * string/test-strncasecmp.c (check1): Renamed to...
16657 (bz12205): ...this.
16658 (bz14195): Add new testcase for two empty input strings and N > 0.
16659 (test_main): Call new testcase, adapt for renamed function.
16660
9c55864e
AJ
166612012-08-15 Andreas Jaeger <aj@suse.de>
16662
16663 [BZ #14090]
16664 * crypt/md5test2.c: New test, based on test supplied by Serge
16665 Belyshev <belyshev@depni.sinp.msu.ru>.
16666 * crypt/Makefile (xtests): Add md5test-giant..
16667 * crypt/Makefile ($(objpfx)md5test-giant): Add.
16668
02dcb6c5
PE
166692012-08-15 Paul Eggert <eggert@cs.ucla.edu>
16670
16671 [BZ #14090]
16672 * crypt/md5.c (md5_process_block): Don't assume the buffer
16673 length is less than 2**32.
16674 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
16675 length is less than 2**64.
16676
a3f95dcc
RM
166772012-08-15 Roland McGrath <roland@hack.frob.com>
16678
be75d758
RM
16679 * string/str-two-way.h: Include <sys/param.h>.
16680 (MAX): Macro removed.
16681
7312ca90
RM
16682 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
16683 Move #define and #undef of memmove to just before and after
16684 including <string.h>.
16685
9a0a5486
RM
16686 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
16687 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
16688 and after including <string.h>. Move declarations of
16689 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
16690 to before #include "string/memmove.c".
16691
67cc348d
RM
16692 * include/dirent.h: Declare __getdirentries.
16693
a3f95dcc
RM
16694 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
16695 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
16696
ca98e171
MF
166972012-08-14 Mike Frysinger <vapier@gentoo.org>
16698
16699 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
16700 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
16701 * sysdeps/i386/configure: Regenerated.
16702 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
16703 STABS_CURRENT_FILE, and STABS_FUN.
16704 (END): Remove call to STABS_FUN_END.
16705 (STABS_CURRENT_FILE1): Delete.
16706 (STABS_CURRENT_FILE): Likewise.
16707 (STABS_FUN): Likewise.
16708 (STABS_FUN_END): Likewise.
16709 (STABS_FUN2): Likewise.
16710 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
16711 * sysdeps/x86_64/configure: Regenerated.
16712
5908bf46
RM
167132012-08-14 Roland McGrath <roland@hack.frob.com>
16714
16715 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 16716 * elf/dl-lookup.c: Likewise.
5908bf46 16717
f2c05b9e
JM
167182012-08-14 Joseph Myers <joseph@codesourcery.com>
16719
16720 * sysdeps/unix/sysv/linux/kernel-features.h
16721 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
16722 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
16723 unconditionally.
16724 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
16725 unconditionally.
16726 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
16727 condition on __ASSUME_CLONE_THREAD_FLAGS.
16728
e11f5155
AJ
167292012-08-14 Andreas Jaeger <aj@suse.de>
16730
16731 * sysdeps/i386/fpu/libm-test-ulps: Update.
16732
51a9ba86
MK
167332012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
16734
2fdd4f78
AJ
16735 * include/atomic.h (atomic_exchange_and_add): Split into ...
16736 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
16737 New atomic macros.
51a9ba86 16738
ba6cba9e
MT
167392012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
16740
16741 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16742
42443a47
JL
167432012-08-13 Jeff Law <law@redhat.com>
16744
16745 * manual/stdio.texi (snprintf): Clarify handling of the trailing
16746 null byte in the output string.
16747
121dce05
JM
167482012-08-10 Joseph Myers <joseph@codesourcery.com>
16749
16750 * sysdeps/unix/sysv/linux/kernel-features.h
16751 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
16752 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
16753 (__ASSUME_ARG_MAX_STACK_BASED): Define.
16754 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
16755 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
16756 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
16757 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
16758
bf51f568
JL
167592012-08-09 Jeff Law <law@redhat.com>
16760
16761 [BZ #13939]
16762 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
16763 When avoid_arena is set, don't retry in the that arena. Pick the
16764 next one, whatever it might be.
16765 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
16766 (arena_lock): Pass in new parameter to arena_get2.
16767 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
16768 arena_get2.
16769 (__libc_malloc): Unify retrying after main arena failure with
16770 __libc_memalign version.
16771 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
16772
f85fa270
L
167732012-08-09 H.J. Lu <hongjiu.lu@intel.com>
16774
16775 [BZ #14166]
16776 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
16777 to __redirect_strstr.
16778 (__strstr_sse42): Use typeof __redirect_strstr.
16779 (__strstr_ia32): Likewise.
16780 (__libc_strstr): New prototype.
16781 (strstr): Renamed to ...
16782 (__libc_strstr): This.
16783 (strstr): New strong alias of __libc_strstr.
16784 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
16785 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
16786 __redirect_time.
16787 Include <time.h>.
16788 (__libc_time): New prototype.
16789 (time_ifunc): Replace time with __libc_time.
16790 (time): New strong alias and hidden definition of __libc_time.
16791 (__GI_time): Remove strong alias.
16792 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
16793 Include <stddef.h>.
16794 (memmove): Redefined to __redirect_memmove.
16795 (__memmove_sse2): Use typeof __redirect_memmove.
16796 (__memmove_ssse3): Likewise.
16797 (__memmove_ssse3_back): Likewise.
16798 (__libc_memmove): New prototype.
16799 (memmove): Renamed to ...
16800 (__libc_memmove): This.
16801 (memmove): New strong alias of __libc_memmove.
16802
33b4a91e
MS
168032012-08-08 Mark Salter <msalter@redhat.com>
16804
16805 * elf/elf.h
16806 (R_MN10300_TLS_GD): Define.
16807 (R_MN10300_TLS_LD): Likewise.
16808 (R_MN10300_TLS_LDO): Likewise.
16809 (R_MN10300_TLS_GOTIE): Likewise.
16810 (R_MN10300_TLS_IE): Likewise.
16811 (R_MN10300_TLS_LE): Likewise.
16812 (R_MN10300_TLS_DTPMOD): Likewise.
16813 (R_MN10300_TLS_DTPOFF): Likewise.
16814 (R_MN10300_TLS_TPOFF): Likewise.
16815 (R_MN10300_SYM_DIFF): Likewise.
16816 (R_MN10300_ALIGN): Likewise.
16817 (R_MN10300_NUM): Update.
16818
b36137f1
JM
168192012-08-08 Joseph Myers <joseph@codesourcery.com>
16820
16821 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
16822 Remove.
16823
cdd915fd
RM
168242012-08-08 Roland McGrath <roland@hack.frob.com>
16825
a2433aac
RM
16826 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
16827
cdd915fd
RM
16828 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
16829 sysdeps/unix -> sysdeps/posix move.
16830 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
16831
bf9b740a
AM
168322012-08-07 Allan McRae <allan@archlinux.org>
16833
16834 [BZ #14303]
16835 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
16836 (SUNOS_CPP): Likewise.
16837 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
16838 not found.
16839 (open_input): Call CPP using execvp.
16840
93df14ee
JM
168412012-08-07 Joseph Myers <joseph@codesourcery.com>
16842
16843 * sysdeps/unix/sysv/linux/kernel-features.h
16844 (__ASSUME_PROT_GROWSUPDOWN): Remove.
16845 (__ASSUME_NO_CLONE_DETACHED): Likewise.
16846 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
16847 (__ASSUME_WAITID_SYSCALL): Likewise.
16848 * sysdeps/unix/sysv/linux/dl-execstack.c
16849 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
16850 code unconditional.
16851 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
16852 conditional code.
16853 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
16854 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
16855 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
16856 code.
16857 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
16858 unconditional.
16859 [__ASSUME_WAITID_SYSCALL]: Likewise.
16860 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
16861
d34689de
RM
168622012-08-07 Roland McGrath <roland@hack.frob.com>
16863
a281decc
RM
16864 * sysdeps/unix/closedir.c: Renamed to ...
16865 * sysdeps/posix/closedir.c: ... here.
16866 * sysdeps/unix/dirfd.c: Renamed to ...
16867 * sysdeps/posix/dirfd.c: ... here.
16868 * sysdeps/unix/dirstream.h: Renamed to ...
16869 * sysdeps/posix/dirstream.h: ... here.
16870 * sysdeps/unix/fdopendir.c: Renamed to ...
16871 * sysdeps/posix/fdopendir.c: ... here.
16872 * sysdeps/unix/opendir.c: Renamed to ...
16873 * sysdeps/posix/opendir.c: ... here.
16874 * sysdeps/unix/readdir.c: Renamed to ...
16875 * sysdeps/posix/readdir.c: ... here.
16876 * sysdeps/unix/readdir_r.c: Renamed to ...
16877 * sysdeps/posix/readdir_r.c: ... here.
16878 * sysdeps/unix/rewinddir.c: Renamed to ...
16879 * sysdeps/posix/rewinddir.c: ... here.
16880 * sysdeps/unix/seekdir.c: Renamed to ...
16881 * sysdeps/posix/seekdir.c: ... here.
16882 * sysdeps/unix/telldir.c: Renamed to ...
16883 * sysdeps/posix/telldir.c: ... here.
16884 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
16885 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
16886 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
16887 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
16888
22895b47
RM
16889 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
16890 * bits/fcntl.h: ... here.
16891
707a53b6
RM
16892 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
16893 not 0.
16894 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
16895 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
16896 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
16897 (struct flock): Move l_start, l_len to the beginning.
16898 Use __pid_t for l_pid.
16899 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
16900 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
16901 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
16902 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
16903 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
16904 [__USE_LARGEFILE64] (struct flock64): New type.
16905 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
16906
f0bd3e25
RM
16907 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
16908 * bits/dirent.h: ... here.
16909
d34689de
RM
16910 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
16911 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
16912
6dad2c06
JM
169132012-08-07 Joseph Myers <joseph@codesourcery.com>
16914
16915 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16916 Change from 2.6.0 to 2.6.16.
16917 * sysdeps/unix/sysv/linux/configure: Regenerated.
16918 * sysdeps/unix/sysv/linux/kernel-features.h
16919 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
16920 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
16921 version.
16922 (__ASSUME_UTIMES): Likewise.
16923 (__ASSUME_CLONE_STOPPED): Remove.
16924 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
16925 architectures, not kernel version.
16926 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
16927 (__ASSUME_NO_CLONE_DETACHED): Likewise.
16928 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
16929 (__ASSUME_WAITID_SYSCALL): Likewise.
16930 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
16931 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
16932 * README: State 2.6.16 as minimum Linux kernel version. Do not
16933 refer to older versions.
16934
03af9520
RM
169352012-08-06 Roland McGrath <roland@hack.frob.com>
16936
8e49df1d
RM
16937 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
16938 Define alphasort64 as an alias.
16939 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
16940 Define versionsort64 as an alias.
16941 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
16942 Define scandir64 as an alias.
16943 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
16944 Define scandirat64 as an alias.
16945 * dirent/alphasort64.c (alphasort64):
16946 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
16947 * dirent/versionsort64.c: Likewise.
16948 * dirent/scandir64.c: Likewise.
16949 * dirent/scandirat64.c: Likewise.
16950 * sysdeps/wordsize-64/alphasort.c: File removed.
16951 * sysdeps/wordsize-64/alphasort64.c: File removed.
16952 * sysdeps/wordsize-64/scandir.c: File removed.
16953 * sysdeps/wordsize-64/scandir64.c: File removed.
16954 * sysdeps/wordsize-64/scandirat.c: File removed.
16955 * sysdeps/wordsize-64/scandirat64.c: File removed.
16956 * sysdeps/wordsize-64/versionsort.c: File removed.
16957 * sysdeps/wordsize-64/versionsort64.c: File removed.
16958 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
16959 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
16960 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
16961 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
16962 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
16963 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
16964 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
16965 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
16966
16967 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
16968 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
16969 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
16970 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16971 [defined __arch64__ || defined __sparcv9]
16972 (__INO_T_MATCHES_INO64_T): New macro.
16973 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
16974 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
16975 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
16976 * sysdeps/unix/sysv/linux/bits/dirent.h
16977 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
16978 (_DIRENT_MATCHES_DIRENT64): New macro.
16979
03af9520
RM
16980 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
16981 Define lockf64 as an alias.
16982 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
16983 Define fseeko64 as an alias.
16984 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
16985 Define ftello64 as an alias.
16986 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
16987 Define _IO_fgetpos64 and fgetpos64 as aliases.
16988 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
16989 Define _IO_fsetpos64 and fsetpos64 as aliases.
16990 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
16991 Conditionalize body on this.
16992 * libio/fseeko64.c: Likewise.
16993 * libio/ftello64.c: Likewise.
16994 * libio/iofgetpos64.c: Likewise.
16995 * libio/iofsetpos64.c: Likewise.
16996 * sysdeps/wordsize-64/lockf.c: File removed.
16997 * sysdeps/wordsize-64/lockf64.c: File removed.
16998 * sysdeps/wordsize-64/fseeko.c: File removed.
16999 * sysdeps/wordsize-64/fseeko64.c: File removed.
17000 * sysdeps/wordsize-64/ftello.c: File removed.
17001 * sysdeps/wordsize-64/ftello64.c: File removed.
17002 * sysdeps/wordsize-64/iofgetpos.c: File removed.
17003 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
17004 * sysdeps/wordsize-64/iofsetpos.c: File removed.
17005 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
17006 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
17007 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
17008 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
17009 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
17010 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
17011 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
17012 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
17013 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
17014 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
17015 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
17016
17017 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
17018 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
17019 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
17020 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17021 [defined __arch64__ || defined __sparcv9]
17022 (__OFF_T_MATCHES_OFF64_T): New macro.
17023 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
17024 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
17025 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17026 (__OFF_T_MATCHES_OFF64_T): New macro.
17027
c5757acd
L
170282012-08-06 H.J. Lu <hongjiu.lu@intel.com>
17029
17030 * stdlib/secure-getenv.c (__secure_getenv): Replace
17031 GLIBC_2_16 with GLIBC_2_17.
17032
3a31811e
L
170332012-08-06 H.J. Lu <hongjiu.lu@intel.com>
17034
17035 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
17036 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
17037
faa2bccb
DM
170382012-08-03 David S. Miller <davem@davemloft.net>
17039
17040 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17041
85fe1997
JM
170422012-08-03 Joseph Myers <joseph@codesourcery.com>
17043
17044 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
17045 Remove.
17046 (__ASSUME_CORRECT_SI_PID): Likewise.
17047 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
17048 (__ASSUME_TMPFS_NAME): Likewise.
17049 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
17050 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
17051 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
17052 (HAVE_AUX_SECURE): Make definition unconditional.
17053 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
17054 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
17055
4f75b7a0
RM
170562012-08-03 Roland McGrath <roland@hack.frob.com>
17057
17058 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
17059 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
17060 * sysdeps/mach/hurd/eloop-threshold.h: New file.
17061 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
17062 __eloop_threshold instead of SYMLOOP_MAX.
17063
17064 * sysdeps/generic/eloop-threshold.h: New file.
17065 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
17066 of MAXSYMLINKS.
17067 * elf/chroot_canon.c (chroot_canon): Likewise.
17068
7aab07e4
JM
170692012-08-03 Joseph Myers <joseph@codesourcery.com>
17070
17071 [BZ #13717]
17072 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17073 Change to 2.6.0 everywhere.
17074 * sysdeps/unix/sysv/linux/configure: Regenerated.
17075 * sysdeps/unix/sysv/linux/kernel-features.h
17076 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
17077 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
17078 kernel versions.
17079 (__ASSUME_POSIX_TIMERS): Define unconditionally.
17080 (__ASSUME_FUTEX_REQUEUE): Remove.
17081 (__ASSUME_STATFS64): Define unconditionally.
17082 (__ASSUME_AT_SECURE): Likewise.
17083 (__ASSUME_CORRECT_SI_PID): Likewise.
17084 (__ASSUME_TGKILL): Define without depending on kernel version for
17085 i386.
17086 (__ASSUME_UTIMES): Likewise.
17087 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
17088 kernel version.
17089 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
17090 (__ASSUME_TMPFS_NAME): Likewise.
17091 * README: Update reference to Linux kernel versions.
17092
b67e9372
MP
170932012-08-02 Marek Polacek <polacek@redhat.com>
17094
1f529f7d 17095 [BZ# 14150]
b67e9372
MP
17096 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
17097 libc_cv_asm_type_prefix with %.
17098 * configure: Regenerated.
d2441631
RM
17099 * include/libc-symbols.h: Remove comment about
17100 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
17101 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
17102 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
17103 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
17104 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
17105 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
17106 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
17107 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
17108 * elf/tst-unique2mod1.c: Likewise.
17109 * elf/tst-unique1mod2.c: Likewise.
17110 * elf/tst-unique1mod1.c: Likewise.
17111 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
17112 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
17113 Replace ASM_TYPE_DIRECTIVE with .type.
17114 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17115 * sysdeps/i386/sysdep.h: Likewise.
17116 * sysdeps/x86_64/sysdep.h: Likewise.
17117 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
17118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
17119 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 17120 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
17121 * sysdeps/powerpc/powerpc32/sysdep.h:
17122 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
17123 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
17124 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17125 * sysdeps/i386/fpu/e_powf.S: Likewise.
17126 * sysdeps/i386/fpu/e_expl.S: Likewise.
17127 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
17128 * sysdeps/i386/fpu/e_acosh.S: Likewise.
17129 * sysdeps/i386/fpu/e_pow.S: Likewise.
17130 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
17131 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
17132 * sysdeps/i386/fpu/s_expm1.S: Likewise.
17133 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
17134 * sysdeps/i386/fpu/e_log2.S: Likewise.
17135 * sysdeps/i386/fpu/e_log2l.S: Likewise.
17136 * sysdeps/i386/fpu/e_scalb.S: Likewise.
17137 * sysdeps/i386/fpu/e_powl.S: Likewise.
17138 * sysdeps/i386/fpu/e_log10f.S: Likewise.
17139 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
17140 * sysdeps/i386/fpu/e_logl.S: Likewise.
17141 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
17142 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
17143 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
17144 * sysdeps/i386/fpu/e_log2f.S: Likewise.
17145 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
17146 * sysdeps/i386/fpu/e_log.S: Likewise.
17147 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
17148 * sysdeps/i386/fpu/e_logf.S: Likewise.
17149 * sysdeps/i386/fpu/e_log10l.S: Likewise.
17150 * sysdeps/i386/fpu/e_atanh.S: Likewise.
17151 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
17152 * sysdeps/i386/fpu/e_log10.S: Likewise.
17153 * sysdeps/i386/fpu/s_frexp.S: Likewise.
17154 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
17155 * sysdeps/i386/fpu/s_asinh.S: Likewise.
17156 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
17157 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
17158 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
17159 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
17160 * sysdeps/i386/i686/strtok.S: Likewise.
17161 * sysdeps/i386/i386-mcount.S: Likewise.
17162 * sysdeps/i386/strtok.S: Likewise.
17163 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
17164 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
17165 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17166 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
17167 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
17168 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
17169 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
17170 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
17171 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
17172 * sysdeps/x86_64/_mcount.S: Likewise.
17173 * sysdeps/x86_64/strtok.S: Likewise.
17174 * sysdeps/sh/_mcount.S: Likewise.
17175
2747bf9a
RM
171762012-08-01 Roland McGrath <roland@hack.frob.com>
17177
17178 * libio/iofopen.c: Include <fcntl.h>.
17179 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
17180 (_IO_fopen64, fopen64): Define as aliases.
17181 * libio/iofopen64.c: Include <fcntl.h>.
17182 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
17183 Conditionalize body on this.
17184 * sysdeps/wordsize-64/iofopen.c: File removed.
17185 * sysdeps/wordsize-64/iofopen64.c: File removed.
17186
3fb791b8
MP
171872012-08-01 Marek Polacek <polacek@redhat.com>
17188
17189 * libc/Makeconfig: Use elf in place of binfmt-subdir.
17190 Use dlfcn directly instead of a variable.
17191 (binfmt-subdir): Do not define.
17192 (dlfcn): Likewise.
17193
a9f1039f
JM
171942012-08-01 Joseph Myers <joseph@codesourcery.com>
17195
23bddc06
JM
17196 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
17197 Remove all definitions.
17198 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
17199 <kernel-features.h>.
17200 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
17201 (miss_F_GETOWN_EX): Remove all definitions.
17202 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
17203 macro definition.
17204 [!__ASSUME_FCNTL64]: Remove conditional code.
17205 [__ASSUME_FCNTL64]: Make code unconditional.
17206 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
17207 <kernel-features.h>.
17208 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
17209 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
17210 (lockf64) [__NR_fcntl64]: Make code unconditional.
17211 (lockf64) [__ASSUME_FCNTL64]: Likewise.
17212
a9f1039f
JM
17213 * sysdeps/unix/sysv/linux/kernel-features.h
17214 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
17215 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
17216 Make code unconditional.
17217 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17218 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
17220 [__NR_vfork]: Make code unconditional.
17221 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17222 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
17224 [__NR_vfork]: Make code unconditional.
17225 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17226 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17227
09c0ee5f
RM
172282012-08-01 Roland McGrath <roland@hack.frob.com>
17229
48aec5b9
RM
17230 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
17231 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
17232
cd97c966
RM
17233 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17234 Define mkstemp64 as an alias.
3f55550c
RM
17235 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17236 Define mkstemps64 as an alias.
cd97c966
RM
17237 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17238 Define mkostemp64 as an alias.
b8625cfc
RM
17239 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17240 Define mkostemps64 as an alias.
cd97c966
RM
17241 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
17242 Conditionalize body on this.
17243 * misc/mkostemp64.c: Likewise.
b8625cfc 17244 * misc/mkostemps64.c: Likewise.
3f55550c 17245 * misc/mkstemps64.c: Likewise.
cd97c966
RM
17246 * sysdeps/wordsize-64/mkstemp64.c: File removed.
17247 * sysdeps/wordsize-64/mkostemp64.c: File removed.
17248 * sysdeps/wordsize-64/mkostemp.c: File removed.
17249 * sysdeps/wordsize-64/mkstemp.c: File removed.
17250 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
17251 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
17252 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
17253 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
17254
09c0ee5f
RM
17255 [BZ #14138]
17256 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
17257 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
17258 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
17259 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
17260
17261 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
17262 compat_symbol macros from <shlib-compat.h> rather than the underlying
17263 default_symbol_version and symbol_version macros, so that DEFAULT
17264 lines in shlib-versions are respected.
17265 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
17266
7e66ee51
FW
172672012-08-01 Florian Weimer <fweimer@redhat.com>
17268
17269 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
17270 Declare with warn_unused_result.
17271 (setgid, setregid, setegid, setresgid): Likewise.
17272 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
17273 Likewise.
17274 * WUR-REPORT: Remove set*id functions.
17275
d2a54255
PT
172762012-07-31 Pino Toscano <toscano.pino@tiscali.it>
17277
17278 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
17279
7ecdb005
RM
172802012-07-31 Roland McGrath <roland@hack.frob.com>
17281
b4180a5e 17282 [BZ #10191]
789bd351
RM
17283 * include/sys/socket.h (__libc_accept, __libc_accept4):
17284 Add attribute_hidden.
17285 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
17286
40ce302d
RM
17287 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
17288 use of PTR_MANGLE.
17289 * inet/getnetgrent_r.c (setup): Likewise.
17290
7ecdb005
RM
17291 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
17292
e2eabb2c
DM
172932012-07-31 David S. Miller <davem@davemloft.net>
17294
17295 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17296
d0419dbf
JM
172972012-07-31 Joseph Myers <joseph@codesourcery.com>
17298
17299 [BZ #13629]
17300 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
17301 value between 1.0 and 2.0 and smaller part has absolute value less
17302 than 1.0.
17303 * math/s_clog10.c (__clog10): Likewise.
17304 * math/s_clog10f.c (__clog10f): Likewise.
17305 * math/s_clog10l.c (__clog10l): Likewise.
17306 * math/s_clogf.c (__clogf): Likewise.
17307 * math/s_clogl.c (__clogl): Likewise.
17308 * math/libm-test.inc (clog_test): Add more tests.
17309 (clog10_test): Likewise.
17310 * sysdeps/i386/fpu/libm-test-ulps: Update.
17311 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17312
2bc13872
FW
173132012-07-31 Florian Weimer <fweimer@redhat.com>
17314
17315 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
17316 Exit with zero in case no suitable GID is found, and write a
17317 message to standard error.
17318
bea9b193
RM
173192012-07-30 Roland McGrath <roland@hack.frob.com>
17320
17321 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
17322 rather than to 1.
17323 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
17324 (MAXPATHLEN): Removed.
17325 (NOGROUP, NODEV): New macros.
17326 (setbit, clrbit, isset, isclr): New macros.
17327 (howmany, roundup, powerof2): New macros.
17328 (DEV_BSIZE): New macro.
17329
17330 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
17331 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
17332
17333 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
17334 definition on [!__NO_LONG_DOUBLE_MATH].
17335
17336 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
17337 PTR_MANGLE and PTR_DEMANGLE.
17338
17339 * socket/accept4.c (accept4): Rename to __libc_accept4.
17340 Define accept4 as a weak alias.
17341
17342 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
17343 on [_DIRENT_HAVE_D_TYPE].
17344 * io/ftw.c (ftw_dir): Likewise.
17345
17346 * io/xmknod.c (__xmknod): Don't check PATH for being null.
17347
17348 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
17349
17350 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
17351 Use the BSD numbers rather than the arbitrary ones we had.
17352 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
17353 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
17354 (SIGXCPU, SIGXFSZ): New macros.
17355 (_NSIG): Now 32.
17356
17357 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
17358 initializer on [_LIBC_REENTRANT].
17359
17360 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
17361 definitions inside [_POSIX_MAPPED_FILES].
17362
17363 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
17364
17365 * dirent/opendir.c: Include <fcntl.h>.
17366
17367 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
17368 (__libc_getspecific): Likewise.
17369 (__libc_key_create): Likewise.
17370
17371 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
17372 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
17373 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
17374 (tmpfile64): Define as alias.
17375 * sysdeps/wordsize-64/tmpfile.c: File removed.
17376 * sysdeps/wordsize-64/tmpfile64.c: File removed.
17377 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
17378 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
17379
17380 * stdio-common/vfscanf.c: Include <stdbool.h>.
17381 * nss/makedb.c: Likewise.
17382 * stdio-common/_i18n_number.h: Likewise.
17383 * argp/argp-help.c: Likewise.
17384 * posix/wordexp.c: Likewise.
17385 * sysdeps/posix/spawni.c: Likewise.
17386 * nss/nss_files/files-initgroups.c: Likewise.
17387 * stdio-common/reg-modifier.c: Include <stdlib.h>.
17388 * nss/nss_files/files-initgroups.c: Likewise.
17389 * nss/nss_db/db-netgrp.c: Likewise.
17390 * nss/nss_db/db-initgroups.c: Likewise.
17391 * io/fchmodat.c: Include <sys/stat.h>.
17392
17393 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
17394 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
17395
17396 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
17397 [HAVE_MMAP].
17398
17399 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
17400 Add multiple inclusion protection.
17401
e5abc686
DM
174022012-07-27 David S. Miller <davem@davemloft.net>
17403
17404 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17405
815e6fa3
GB
174062012-07-27 Gary Benson <gbenson@redhat.com>
17407
17408 [BZ #14298]
17409 * elf/rtld.c: Include <stap-probe.h>.
17410 (dl_main): Added static probes "init_start" and "init_complete".
17411 * elf/dl-load.c: Include <stap-probe.h>.
17412 (lose): Take new parameter "nsid".
17413 Added static probe "map_failed".
17414 (_dl_map_object_from_fd): Pass namespace id to lose.
17415 Added static probe "map_start".
17416 (open_verify): Pass namespace id to lose.
17417 * elf/dl-open.c: Include <stap-probe.h>.
17418 (dl_open_worker) Added static probes "map_complete", "reloc_start"
17419 and "reloc_complete".
17420 * elf/dl-close.c: Include <stap-probe.h>.
17421 (_dl_close_worker): Added static probes "unmap_start" and
17422 "unmap_complete".
17423 * elf/rtld-debugger-interface.txt: New file documenting the above.
17424
9f98c16c
RM
174252012-07-26 Roland McGrath <roland@hack.frob.com>
17426
17427 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
17428 rather than a string variable.
17429 * sunrpc/rpc_main.c (h_output): Likewise.
17430 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
17431
f3c22df3
PT
174322012-07-26 Pino Toscano <toscano.pino@tiscali.it>
17433
17434 * inet/check_native.c: New file.
17435
3129cfc6
JM
174362012-07-26 Joseph Myers <joseph@codesourcery.com>
17437
da865e95
JM
17438 [BZ #13629]
17439 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
17440 if larger part has absolute value 1.0.
17441 * math/s_clog10.c (__clog10): Likewise.
17442 * math/s_clog10f.c (__clog10f): Likewise.
17443 * math/s_clog10l.c (__clog10l): Likewise.
17444 * math/s_clogf.c (__clogf): Likewise.
17445 * math/s_clogl.c (__clogl): Likewise.
17446 * math/libm-test.inc (clog_test): Add more tests.
17447 (clog10_test): Likewise.
17448 * sysdeps/i386/fpu/libm-test-ulps: Update.
17449 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17450
3129cfc6
JM
17451 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
17452 (pltexit): Likewise.
17453 (La_regs): Likewise.
17454 (La_retval): Likewise.
17455 (int_retval): Likewise.
17456 Update #error for removed macros to refer only to definitions in
17457 tst-audit.h.
17458 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
17459 macro.
17460 (pltexit): Likewise.
17461 (La_regs): Likewise.
17462 (La_retval): Likewise.
17463 (int_retval): Likewise.
17464 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
17465 macro.
17466 (pltexit): Likewise.
17467 (La_regs): Likewise.
17468 (La_retval): Likewise.
17469 (int_retval): Likewise.
17470 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
17471 macro.
17472 (pltexit): Likewise.
17473 (La_regs): Likewise.
17474 (La_retval): Likewise.
17475 (int_retval): Likewise.
17476 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
17477 macro.
17478 (pltexit): Likewise.
17479 (La_regs): Likewise.
17480 (La_retval): Likewise.
17481 (int_retval): Likewise.
17482 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
17483 macro.
17484 (pltexit): Likewise.
17485 (La_regs): Likewise.
17486 (La_retval): Likewise.
17487 (int_retval): Likewise.
17488 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
17489 macro.
17490 (pltexit): Likewise.
17491 (La_regs): Likewise.
17492 (La_retval): Likewise.
17493 (int_retval): Likewise.
17494 * sysdeps/generic/tst-audit.h: Update comment to refer only to
17495 macro definitions in tst-audit.h.
17496 * sysdeps/i386/tst-audit.h: New file.
17497 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
17498 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
17499 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
17500 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
17501 * sysdeps/sh/tst-audit.h: Likewise.
17502 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
17503 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
17504 * sysdeps/x86_64/tst-audit.h: Likewise.
17505
bfc07087
AJ
175062012-07-26 Andreas Jaeger <aj@suse.de>
17507
b1b2aaf8
AJ
17508 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
17509 ptrace.
17510
17511 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
17512 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
17513 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
17514 PTRACE_O_MASK.
17515 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
17516 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
17517 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
17518
bfc07087
AJ
17519 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
17520 value.
17521
17522 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
17523 _sigsys.
17524 (si_call_addr, si_syscall, si_arch): Define new macro.
17525 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
17526 _sigsys.
17527 (si_call_addr, si_syscall, si_arch): Define new marcro.
17528 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
17529 _sigsys.
17530 (si_call_addr, si_syscall, si_arch): Define new macro.
17531 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
17532 _sigsys.
17533 (si_call_addr, si_syscall, si_arch): Define new macro.
17534
89b4b02f
JM
175352012-07-25 Joseph Myers <joseph@codesourcery.com>
17536
17537 [BZ #13717]
17538 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17539 Change to 2.4.21 where previously 2.4.1.
17540 * sysdeps/unix/sysv/linux/configure: Regenerated.
17541 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
17542 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
17543 Linux kernel version.
17544 (__ASSUME_STD_AUXV): Remove.
17545 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
17546 kernel version.
17547 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
17548 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
17549 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
17550 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
17551 (__ASSUME_NETLINK_SUPPORT): Likewise.
17552 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
17553 (__no_netlink_support): Remove conditional definition.
17554 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
17555 Remove.
17556 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
17557 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
17558 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
17559 (if_nameindex_ioctl): Remove.
17560 (if_nameindex_netlink): Do not handle __no_netlink_support.
17561 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
17562 code.
17563 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
17564 Remove conditional code.
17565 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
17566 code.
17567 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
17568 unconditional.
17569 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
17570 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
17571 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
17572 Remove.
17573 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
17574 [!__ASSUME_STD_AUXV]: Remove conditional code.
17575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
17576 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
17577 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
17578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
17579 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
17580 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
17581 code.
17582 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
17583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17584 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
17585 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
17586 conditional code.
17587 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
17588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
17589 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
17590 code.
17591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17592 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
17593 conditional code.
17594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
17595 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17596 code unconditional.
17597 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17598 conditional code.
17599 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17600 unconditional.
17601 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17602 conditional code.
17603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17604 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17605 unconditional.
17606 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17607 conditional code.
17608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
17609 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17610 code unconditional.
17611 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17612 conditional code.
17613 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17614 unconditional.
17615 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17616 conditional code.
17617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
17618 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17619 code unconditional.
17620 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17621 conditional code.
17622 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17623 unconditional.
17624 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17625 conditional code.
17626
842a39cd
AS
176272012-07-25 Andreas Schwab <schwab@linux-m68k.org>
17628
17629 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
17630 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
17631 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
17632 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
17633 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
17634 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
17635 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
17636 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
17637 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
17638 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
17639 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
17640 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
17641 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
17642 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
17643 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
17644 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
17645 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
17646 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
17647 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
17648 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
17649 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
17650 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
17651 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
17652
84b3fd84
FW
176532012-07-25 Florian Weimer <fweimer@redhat.com>
17654
17655 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
17656 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
17657 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
17658 Introduce __libc_secure_getenv.
0c7936d5
FW
17659 * stdlib/Versions (2.17): Add secure_getenv
17660 (GLIBC_PRIVATE): Add __libc_secure_getenv.
17661 * stdlib/secure-getenv.c: Rename __secure_getenv to
17662 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
17663 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
17664 * stdlib/tst-secure-getenv.c: New.
17665 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
17666 * manual/startup.texi (Environment Access): Document
17667 secure_getenv.
84b3fd84
FW
17668 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
17669 __libc_secure_getenv.
17670 * inet/ruserpass.c (ruserpass): Likewise.
17671 * malloc/mtrace.c (mtrace): Likewise.
17672 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 17673 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
17674 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
17675 * sysdeps/posix/tempname.c: Likewise. Evaluate
17676 HAVE_SECURE_GETENV.
17677 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 17678 __secure_getenv to __libc_secure_getenv.
84b3fd84 17679 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
17680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17681 Likewise.
17682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17683 Likewise.
17684 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
17685 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
17686 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17687 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
17688 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
17689 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17690 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 17691
56e49b71
JM
176922012-07-25 Joseph Myers <joseph@codesourcery.com>
17693
17694 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
17695 (struct La_i86_retval): Likewise.
17696 (struct La_x86_64_regs): Likewise.
17697 (struct La_x86_64_retval): Likewise.
17698 (struct La_x32_regs): Likewise.
17699 (struct La_x32_retval): Likewise.
17700 (struct La_ppc32_regs): Likewise.
17701 (struct La_ppc32_retval): Likewise.
17702 (struct La_ppc64_regs): Likewise.
17703 (struct La_ppc64_retval): Likewise.
17704 (struct La_sh_regs): Likewise.
17705 (struct La_sh_retval): Likewise.
17706 (struct La_s390_32_regs): Likewise.
17707 (struct La_s390_32_retval): Likewise.
17708 (struct La_s390_64_regs): Likewise.
17709 (struct La_s390_64_retval): Likewise.
17710 (struct La_sparc32_regs): Likewise.
17711 (struct La_sparc32_retval): Likewise.
17712 (struct La_sparc64_regs): Likewise.
17713 (struct La_sparc64_retval): Likewise.
17714 (struct audit_ifaces): Remove architecture-specific pltenter and
17715 pltexit members.
17716 * sysdeps/i386/ldsodefs.h: New file.
17717 * sysdeps/powerpc/ldsodefs.h: Likewise.
17718 * sysdeps/s390/ldsodefs.h: Likewise.
17719 * sysdeps/sh/ldsodefs.h: Likewise.
17720 * sysdeps/sparc/ldsodefs.h: Likewise.
17721 * sysdeps/x86_64/ldsodefs.h: Likewise.
17722
354691b7
MP
177232012-07-25 Marek Polacek <polacek@redhat.com>
17724
17725 [BZ #6808]
17726 * math/libm-test.inc (yn_test): Add another test.
17727 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
17728 to ERANGE when the result is +-Inf.
17729 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
17730 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
17731 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
17732 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
17733
bf9e2071
JM
177342012-07-24 Joseph Myers <joseph@codesourcery.com>
17735
17736 * conform/data/time.h-data (NULL): Use macro-constant. Require
17737 equal to 0.
17738 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
17739 clock_t.
17740 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
17741
57633811
TS
177422012-07-23 Thomas Schwinge <thomas@codesourcery.com>
17743
17744 * configure.in <sysdeps resolving>: Correct printing
17745 Implies_before.
17746 * configure: Regenerate.
17747
c23c33b0
TS
177482012-07-22 Thomas Schwinge <thomas@codesourcery.com>
17749
17750 * math/w_ilogb.c: Include <limits.h>.
17751 * math/w_ilogbl.c: Likewise.
17752
b5982523
JM
177532012-07-20 Joseph Myers <joseph@codesourcery.com>
17754
17755 * manual/lang.texi (__va_copy): Document primarily as ISO C99
17756 va_copy. Document allowing for unavailable va_copy only as
17757 pre-C99 compatibility.
17758 * manual/string.texi (Copying and Concatenation): Use va_copy
17759 instead of __va_copy in concat example.
17760
ac4ea442
PT
177612012-07-20 Pino Toscano <toscano.pino@tiscali.it>
17762
17763 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
17764 (__sendto): Use create_address_port. Initialize APORT and deallocate
17765 it if not null.
17766
f98eafbd
PT
17767 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
17768 with O_NOLINK passed to __file_name_lookup.
17769
898c7aab
PT
17770 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
17771 with O_NOLINK passed to __file_name_lookup.
17772
0ced335a
PT
17773 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
17774 negative N or less than NGIDS.
17775
b3404dbd
PT
17776 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
17777 type to string_t. Set ERANGE as errno and return it if NAME is not big
17778 enough. Use memcpy instead of strncpy.
17779
0f48659e
JM
177802012-07-20 Joseph Myers <joseph@codesourcery.com>
17781
17782 * elf/Makefile (check-data): Remove.
17783 (localplt.data): New vpath directive.
17784 ($(objpfx)check-localplt.out): Use localplt.data from vpath
17785 instead of $(check-data).
17786 * scripts/data/localplt-generic.data: Move to ...
17787 * sysdeps/generic/localplt.data: ... here.
17788 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
17789 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
17790 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
17791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
17792 ... here.
17793 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
17794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
17795 ... here.
17796 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
17797 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
17798 ... here.
17799 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
17800 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
17801 ... here.
17802 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
17803 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
17804 ... here.
17805 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
17806 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
17807 ... here.
17808
d37cbdaa
AZ
178092012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17810
17811 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
17812 PPC32 and PPC64 files.
17813 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
17814 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
17815
46f85fc2
AK
178162012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17817
17818 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
17819 __makecontext_ret to ...
17820 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
17821 ... here and call exit if uc_link is NULL. New file.
17822 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
17823 __makecontext_ret.S.
17824 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
17825 __makecontext_ret to ...
17826 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
17827 ... here and call exit if uc_link is NULL. New file.
17828 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
17829 __makecontext_ret.S.
17830
08f43f9b
AK
178312012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17832
17833 * elf/elf.h (R_390_IRELATIVE): New definition.
17834 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
17835 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
17836 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
17837 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
17838 (elf_machine_lazy_rel): Likewise.
17839 * sysdeps/s390/dl-irel.h: New file.
17840 * sysdeps/s390/s390-64/memcpy.S: New asm code.
17841 * sysdeps/s390/s390-64/memset.S: New asm code.
17842 * sysdeps/s390/s390-64/memcmp.S: New asm code.
17843 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
17844 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
17845 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
17846 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
17847 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
17848 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
17849 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
17850 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
17851 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
17852 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
17853 * sysdeps/s390/s390-32/memcpy.S: New asm code.
17854 * sysdeps/s390/s390-32/memset.S: New asm code.
17855 * sysdeps/s390/s390-32/memcmp.S: New asm code.
17856
3b05db33
MP
178572012-07-17 Marek Polacek <polacek@redhat.com>
17858
17859 [BZ #14349]
17860 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
17861 * sysdeps/s390/s390-64/configure.in: Likewise.
17862 * sysdeps/sparc/configure.in: Likewise.
17863 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
17864 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
17865 * sysdeps/i386/configure.in: Likewise.
17866 * sysdeps/x86_64/configure.in: Likewise.
17867 * sysdeps/sh/configure.in: Likewise.
17868 * sysdeps/s390/s390-32/configure: Regenerated.
17869 * sysdeps/s390/s390-64/configure: Likewise.
17870 * sysdeps/x86_64/configure: Likewise.
17871 * sysdeps/sh/configure: Likewise.
17872 * sysdeps/powerpc/powerpc64/configure: Likewise.
17873 * sysdeps/powerpc/powerpc32/configure: Likewise.
17874 * sysdeps/sparc/configure: Likwise.
17875 * sysdeps/i386/configure: Likewise.
17876
a66877c6
MP
17877 * elf/dl-open.c: Comment fixes.
17878
cfc82fd8
JM
178792012-07-17 Joseph Myers <joseph@codesourcery.com>
17880
bd29910a
JM
17881 * Makefile [CXX] (check-data): Remove.
17882 [CXX] (c++-types.data): New vpath directive.
17883 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
17884 vpath. Do not allow for C++ type data being missing.
17885 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
17886 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
17887 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
17888 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
17889 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
17890 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
17891 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
17892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
17893 ... here.
17894 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
17895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
17896 ... here.
17897 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
17898 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
17899 ... here.
17900 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
17901 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
17902 ... here.
17903 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
17904 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
17905 ... here.
17906 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
17907 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
17908 ... here.
17909 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
17910 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
17911 ... here.
17912 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
17913 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
17914
cfc82fd8
JM
17915 * elf/tls-macros.h (TLS_LE): Move architecture-specific
17916 definitions to architecture-specific files.
17917 (TLS_IE): Likewise.
17918 (TLS_LD): Likewise.
17919 (TLS_GD): Likewise.
17920 * sysdeps/i386/tls-macros.h: New file.
17921 * sysdeps/powerpc/tls-macros.h: Likewise.
17922 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
17923 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
17924 * sysdeps/sh/tls-macros.h: Likewise.
17925 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
17926 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
17927 * sysdeps/x86_64/tls-macros.h: Likewise.
17928
f7db3170
TS
179292012-07-17 Thomas Schwinge <thomas@codesourcery.com>
17930
07cbfc23
TS
17931 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
17932 zero value for regular exit case.
17933
f7db3170
TS
17934 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
17935 (__start_context): Preserve zero value for regular exit case.
17936
dc97c227
TS
179372012-07-17 Thomas Schwinge <thomas@codesourcery.com>
17938 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17939
17940 * manual/setjmp.texi (setcontext): Clarify normal process
17941 termination when uc_link is the null pointer.
17942 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
17943 exit call.
17944
d0cd7d02
AS
179452012-07-16 Andreas Schwab <schwab@linux-m68k.org>
17946
17947 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
17948 preprocessor. Test for each exception mask separately.
17949
dd318934
AJ
179502012-07-16 Andreas Jaeger <aj@suse.de>
17951
17952 * po/ru.po: Update from translation team.
17953
8048311a
JM
179542012-07-15 Joseph Myers <joseph@codesourcery.com>
17955
17956 * conform/data/string.h-data (NULL): Use macro-constant. Require
17957 equal to 0.
17958 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
17959 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
17960 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
17961 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
17962 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17963
b637d46e
AJ
179642012-07-13 Andreas Jaeger <aj@suse.de>
17965
17966 * po/fr.po: Update from translation team.
17967
541428fe
MP
179682012-07-12 Marek Polacek <polacek@redhat.com>
17969
17970 [BZ #14173]
17971 * math/libm-test.inc (yn_test): Add test for BZ #14173.
17972 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
17973 loop condition.
17974
ec332e94
JM
179752012-07-12 Joseph Myers <joseph@codesourcery.com>
17976
17977 [BZ #13717]
17978 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17979 Change to 2.4.1 where previously 2.4.0.
17980 * sysdeps/unix/sysv/linux/configure: Regenerated.
17981 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
17982 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
17983 version.
17984 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
17985 (__ASSUME_AT_CLKTCK): Remove.
17986 (__ASSUME_AT_PAGESIZE): Likewise.
17987 (__ASSUME_AT_XID): Likewise.
17988 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
17989 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
17990 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
17991 unconditionally.
17992 (HAVE_AUX_PAGESIZE): Likewise.
17993 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
17994 [__ASSUME_AT_CLKTCK]: Make code unconditional.
17995 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
17996
7b6e99be
JB
179972012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
17998
17999 [BZ #14307]
18000 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
18001 the temporary buffer used to invoke __gethostbyname2_r,
18002 __gethostbyaddr_r and gethostbyname4_r to make room for struct
18003 host_data / struct gaih_addrtuple.
18004 * resolv/nss_dns/dns-host.c (global scope): Move definition of
18005 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
18006 header file nss/nsswitch.h.
18007 * nss/nsswitch.h (global scope): Add definition of implementation
18008 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
18009 resolv/nss_dns/dns-host.c).
18010
608404eb
AJ
180112012-07-11 Andreas Jaeger <aj@suse.de>
18012
18013 * po/fr.po: Update from translation team.
18014
71220aca
AJ
18015 * po/sv.po: Update from translation team
18016 * po/fr.po: Another update from translation team.
18017
28cfe843
AZ
180182012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18019
18020 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
18021 for subnormals or multiply small sinh result by itself.
18022 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18023 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18024
6b90f981
DM
180252012-07-11 David S. Miller <davem@davemloft.net>
18026
18027 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18028
c6825772
AS
180292012-07-10 Andreas Schwab <schwab@linux-m68k.org>
18030
18031 [BZ #14347]
18032 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
18033 (INTERNAL_MARK): Shift it here.
18034
7b8e0d49
MP
180352012-07-10 Marek Polacek <polacek@redhat.com>
18036
18037 [BZ #14151]
18038 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
18039 libc_cv_asm_global_directive with .globl.
18040 * configure: Regenerated.
18041 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
18042 with .globl.
18043 * sysdeps/i386/configure: Regenerated.
18044 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
18045 with .globl.
18046 * sysdeps/x86_64/configure: Regenerated.
18047 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
18048 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
18049 * elf/tst-unique2mod2.c: Likewise.
18050 * elf/tst-unique2mod1.c: Likewise.
18051 * elf/tst-unique1mod2.c: Likewise.
18052 * elf/tst-unique1mod1.c: Likewise.
18053 * sysdeps/s390/s390-32/sysdep.h: Likewise.
18054 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
18055 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18056 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
18057 * sysdeps/mach/sysdep.h: Likewise.
18058 * sysdeps/i386/sysdep.h: Likewise.
18059 * sysdeps/i386/i386-mcount.S: Likewise.
18060 * sysdeps/x86_64/_mcount.S: Likewise.
18061 * sysdeps/x86_64/sysdep.h: Likewise.
18062 * sysdeps/sh/_mcount.S: Likewise.
18063 * sysdeps/sh/sysdep.h: Likewise.
18064 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
18065 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
18066 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
18067 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
18068 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
18069 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
18070 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
18071 * locale/localeinfo.h: Likewise.
18072 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
18073 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
18074
6c55cda3
RM
180752012-07-09 Roland McGrath <roland@hack.frob.com>
18076
18077 [BZ #14336]
18078 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
18079 system".
18080 * manual/message.texi (The Uniforum approach): Likewise.
18081 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
18082 (glibc iconv Implementation): Likewise.
18083
638a572e
JM
180842012-07-09 Joseph Myers <joseph@codesourcery.com>
18085
18086 [BZ #14337]
18087 * math/s_clog.c (__clog): Avoid scaling a value down where that
18088 could result in underflow.
18089 * math/s_clog10.c (__clog10): Likewise.
18090 * math/s_clog10f.c (__clog10f): Likewise.
18091 * math/s_clog10l.c (__clog10l): Likewise.
18092 * math/s_clogf.c (__clogf): Likewise.
18093 * math/s_clogl.c (__clogl): Likewise.
18094 * math/libm-test.inc (clog_test): Add more tests.
18095 (clog10_test): Likewise.
18096 * sysdeps/i386/fpu/libm-test-ulps: Update.
18097 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18098
261f4859
AS
180992012-07-06 Andreas Schwab <schwab@linux-m68k.org>
18100
0abaf3e4
AS
18101 [BZ #14283]
18102 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
18103 by 7 not 8 to examine high bit of fractional part.
18104
261f4859
AS
18105 [BZ #14042]
18106 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
18107 for call to __mcount_internal.
18108 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
18109 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
18110 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
18111
f17ac40d
JM
181122012-07-06 Joseph Myers <joseph@codesourcery.com>
18113
9ad63c23
JM
18114 [BZ #14154]
18115 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
18116 approximation for values within 0x1p-13f of an odd multiple of
18117 pi/4.
18118 * math/libm-test.inc (tan_test): Do not allow spurious underflow
18119 exception. Add more tests.
18120 * sysdeps/i386/fpu/libm-test-ulps: Update.
18121
f17ac40d
JM
18122 [BZ #6778]
18123 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
18124 inputs and return -1 for them. Do not check for +Inf in case not
18125 reachable for +Inf.
18126 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
18127 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
18128 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
18129 and return -1 for them. Do not check for +Inf in case not
18130 reachable for +Inf.
18131 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
18132 define.
18133 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
18134 and return -1 for them. Do not check for +Inf in case not
18135 reachable for +Inf.
18136 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
18137 spurious underflow.
18138 * sysdeps/i386/fpu/libm-test-ulps: Update.
18139 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18140
fb21f89b
MF
181412012-07-06 Mike Frysinger <vapier@gentoo.org>
18142
18143 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
18144
cdfe2c5e
JM
181452012-07-05 Joseph Myers <joseph@codesourcery.com>
18146
18147 [BZ #14157]
18148 [BZ #14331]
18149 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
18150 could result in spurious underflow. Scale down values above
18151 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
18152 * math/s_csqrtf.c (__csqrtf): Likewise.
18153 * math/s_csqrtl.c (__csqrtl): Likewise.
18154 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
18155 spurious underflow.
18156 * sysdeps/i386/fpu/libm-test-ulps: Update.
18157 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18158
70d35b67
AS
181592012-07-04 Andreas Schwab <schwab@linux-m68k.org>
18160
704bc459
AS
18161 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
18162 xopen-msg.sed.
18163 * catgets/xopen-msg.awk: New file.
18164 * catgets/xopen-msg.sed: Removed.
18165
70d35b67
AS
18166 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
18167 po2text.sed.
18168 * intl/po2test.awk: New file.
18169 * intl/po2test.sed: Removed.
18170
ca61cf32
JM
181712012-07-04 Joseph Myers <joseph@codesourcery.com>
18172
18173 [BZ #14328]
18174 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
18175 or multiply small sinh result by itself.
18176 * math/s_ctanf.c (__ctanf): Likewise.
18177 * math/s_ctanh.c (__ctanh): Likewise.
18178 * math/s_ctanhf.c (__ctanhf): Likewise.
18179 * math/s_ctanhl.c (__ctanhl): Likewise.
18180 * math/s_ctanl.c (__ctanl): Likewise.
18181 * math/libm-test.inc (ctan_test_tonearest): New function.
18182 (ctan_test_towardzero): Likewise.
18183 (ctan_test_downward): Likewise.
18184 (ctan_test_upward): Likewise.
18185 (ctanh_test_tonearest): Likewise.
18186 (ctanh_test_towardzero): Likewise.
18187 (ctanh_test_downward): Likewise.
18188 (ctanh_test_upward): Likewise.
18189 (main): Call these new functions.
18190 * sysdeps/i386/fpu/libm-test-ulps: Update.
18191 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18192
ca48a46a
MF
181932012-07-03 Mike Frysinger <vapier@gentoo.org>
18194
18195 * .gitignore: Delete /ports entry.
18196
9d63d37d
AJ
181972012-07-03 Andreas Jaeger <aj@suse.de>
18198
18199 * po/bg.po: Update from translation team.
18200 * po/cs.po: Likewise.
18201 * po/de.po: Likewise.
18202 * po/hr.po: Likewise.
18203 * po/nl.pl: Likewise.
18204 * po/pl.po: Likewise.
18205 * po/vi.po: Likewise.
18206
370ca3d2
JM
182072012-07-03 Joseph Myers <joseph@codesourcery.com>
18208
95f5a9a8
JM
18209 * Makeconfig [!+link] (+link-before-libc): New variable.
18210 [!+link] (+link-after-libc): Likewise.
18211 [!+link] (+link-tests): Likewise.
18212 [!+link] (+link): Define in terms of $(+link-before-libc) and
18213 $(+link-after-libc).
18214 [!+link-static] (+link-static-before-libc): New variable.
18215 [!+link-static] (+link-static-after-libc): Likewise.
18216 [!+link-static] (+link-static-tests): Likewise.
18217 [!+link-static] (+link-static): Define in terms of
18218 $(+link-static-before-libc) and $(+link-static-after-libc).
18219 [build-shared] (link-libc-before-gnulib): New variable.
18220 [build-shared] (link-libc-tests): Likewise.
18221 [build-shared] (link-libc): Define in terms of
18222 $(link-libc-before-gnulib).
18223 [!build-shared] (link-libc-tests): New variable.
18224 (link-libc-static-tests): New variable.
18225 [!gnulib] (gnulib-arch): New variable.
18226 [!gnulib] (gnulib-tests): Likewise.
18227 [!gnulib] (static-gnulib-arch): Likewise.
18228 [!gnulib] (static-gnulib-tests): Likewise.
18229 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
18230 Define with "=" instead of ":=".
18231 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
18232 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
18233 * Rules (binaries-all-notests): New variable.
18234 (binaries-all-tests): Likewise.
18235 (binaries-static-notests): Likewise.
18236 (binaries-static-tests): Likewise.
18237 (binaries-all): Define using $(binaries-all-notests) and
18238 $(binaries-all-tests).
18239 (binaries-static): Define using $(binaries-static-notests) and
18240 $(binaries-static-tests).
18241 (binaries-shared-tests): New variable.
18242 (binaries-shared-notests): Likewise.
18243 (binaries-shared): Remove variable.
18244 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
18245 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
18246 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
18247 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
18248 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
18249 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
18250 * elf/Makefile (sln-modules): New variable.
18251 (extra-objs): Add $(sln-modules:=.o).
18252 (ldconfig-modules): Add static-stubs.
18253 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
18254 * elf/static-stubs.c: New file.
18255
7a845b2c
JM
18256 [BZ #14283]
18257 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
18258 by 7 not 8 to examine high bit of fractional part. Use volatile
18259 variables when splitting into final array of floats if
18260 __FLT_EVAL_METHOD__ != 0.
18261 * math/libm-test.inc (cos_test): Add another test.
18262 (sin_test): Likewise.
18263 * sysdeps/i386/fpu/libm-test-ulps: Update.
18264
e2283f38
JM
18265 [BZ #14273]
18266 * math/libm-test.inc (cosh_test): Add more tests.
18267
370ca3d2
JM
18268 * version.h (RELEASE): Set to "development".
18269 (VERSION): Set to "2.16.90".
18270
ee9247c3
CD
182712012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
18272
18273 * NEWS: Update copyright. Remove last-updated date.
18274 Mention math library bug fixes and timezone data changes.
18275 * README: Mention GNU/Hurd, x32, and HPPA support status.
18276
4648c381
TS
182772012-06-28 Thomas Schwinge <thomas@codesourcery.com>
18278
18279 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
18280
aac78a43
AJ
182812012-06-27 Andreas Jaeger <aj@suse.de>
18282
18283 * manual/contrib.texi (Contributors): Add Samuel Thibault.
18284
ed3dbfad
AJ
182852012-06-25 Andreas Jaeger <aj@suse.de>
18286
18287 * sysdeps/s390/fpu/libm-test-ulps: Update.
18288
4d0ee855
AS
182892012-06-23 Andreas Schwab <schwab@linux-m68k.org>
18290 Thomas Schwinge <thomas@codesourcery.com>
18291
18292 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
18293 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
18294 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
18295 fanotify_mark.
18296
af1bce34
TS
182972012-06-23 Thomas Schwinge <thomas@codesourcery.com>
18298
a9fa33ba
TS
18299 * sysdeps/mach/start.c: Remove file.
18300 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
18301 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
18302 * sysdeps/sh/init-first.c: Likewise.
18303
58f902b8
TS
18304 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
18305 registers for frame unwinding purposes, add CFI directives.
18306 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
18307 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
18308 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
18309 Likewise.
18310
1518f58b
TS
18311 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
18312 __fortify_fail returning.
18313 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
18314
db9b5059
TS
18315 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
18316 sysdeps/sh/____longjmp_chk.S.
18317 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
18318 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
18319 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
18320 (gen-as-const-headers): Append sigaltstack-offsets.sym.
18321
967705fe
TS
18322 * sysdeps/sh/abort-instr.h: New file.
18323 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
18324 process in case exit returns.
18325
a9def8c4
TS
18326 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
18327 initialize the GOT register before use.
18328
2a649725
TS
18329 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
18330 calculation of ARGC > 4.
18331
af1bce34
TS
18332 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
18333 meaningful names to some local labels.
18334
d230f50a
KK
183352012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
18336 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18337
18338 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
18339 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
18340 (__arch_compare_and_exchange_val_16_acq): Likewise.
18341 (__arch_compare_and_exchange_val_32_acq): Likewise.
18342 (atomic_exchange_and_add): Fix gUSA sequence.
18343 (atomic_add): Likewise.
18344 (atomic_add_negative): Likewise.
18345 (atomic_add_zero): Likewise.
18346 (atomic_bit_test_set): Likewise.
18347
0479b305
AS
183482012-06-22 Andreas Schwab <schwab@redhat.com>
18349
18350 [BZ #13579]
18351 * include/link.h (struct link_map): Add l_free_initfini.
18352 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
18353 l_initfini.
18354 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
18355 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
18356 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
18357 set.
18358
0e3933b9
CD
183592012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
18360
18361 * configure.in: Use AC_LANG_SOURCE.
18362 * configure: Regenerate.
18363
4248b1b1
RM
183642012-06-22 Roland McGrath <roland@hack.frob.com>
18365
18366 * configure.in (libc_cv_localstatedir): New substituted variable.
18367 * configure: Regenerated.
18368 * config.make.in (localstatedir): New variable, substituted from
18369 libc_cv_localstatedir.
18370 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
18371 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
18372 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
18373 * sysdeps/gnu/configure: Regenerated.
18374
006dd861
JL
183752012-06-21 Jeff Law <law@redhat.com>
18376
18377 [BZ #14277]
18378 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
18379 free. Simplify list management for _LIBC case.
18380
79662d42
JM
183812012-06-21 Joseph Myers <joseph@codesourcery.com>
18382
b7abb4bf
JM
18383 [BZ #14273]
18384 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
18385 Clear sign bit of 64-bit integer value before comparing against
18386 overflow value.
18387
79662d42
JM
18388 * sysdeps/mach/configure: Regenerated.
18389
1f150908
L
183902012-06-21 H.J. Lu <hongjiu.lu@intel.com>
18391
18392 [BZ #14278]
18393 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
18394
28363bbf
JL
183952012-06-21 Jeff Law <law@redhat.com>
18396
18397 [BZ #13882]
18398 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
18399 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 18400 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
18401 * elf/dl-open.c (dl_open_worker): Likewise.
18402
09615db4
CD
184032012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
18404
18405 * scripts/list-sources.sh: Scan PORTS for translations.
18406 * po/libc.pot: Regenerated.
18407
2174c6dd
AJ
184082012-06-21 Andreas Jaeger <aj@suse.de>
18409
18410 [BZ #12194]
18411 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
18412 warning.
18413 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
18414 * bits/byteswap-16.h (__bswap_16): Likewise.
18415 * bits/byteswap.h (__bswap_constant_16): Likewise.
18416
3ee947b1
L
184172012-06-18 H.J. Lu <hongjiu.lu@intel.com>
18418
18419 [BZ #14117]
a2f34833
L
18420 * sysdeps/i386/fpu_control.h: Removed.
18421 * sysdeps/x86_64/fpu_control.h: Moved to ...
18422 * sysdeps/x86/fpu_control.h: Here.
18423
3ee947b1
L
18424 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
18425 (_FPU_SETCW): Likewise.
18426
ed1825f8
L
184272012-06-15 H.J. Lu <hongjiu.lu@intel.com>
18428
25f1282a
L
18429 [BZ #14117]
18430 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
18431 * sysdeps/x86/fpu/bits/mathinline.h: This.
18432 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
18433
ed1825f8
L
18434 [BZ #14050]
18435 [BZ #14117]
18436 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
18437 functions if __x86_64__ is defined.
18438
36d54b74
CLT
184392012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
18440
18441 * string/endian.h: Add !__ASSEMBLER__ condition for including
18442 conversion interfaces.
18443
10285c21
JM
184442012-06-15 Joseph Myers <joseph@codesourcery.com>
18445
18446 [BZ #14241]
18447 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
18448 of ABS(x) in calculating zero to negative powers other than odd
18449 integers.
18450 * math/libm-test.inc (pow_test): Add more tests.
18451
06c5abbd
AJ
184522012-06-15 Andreas Jaeger <aj@suse.de>
18453
18454 * manual/contrib.texi (Contributors): Update entry of Liubov
18455 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
18456 Machado Filho.
18457
a3aeac40
CH
184582012-06-15 Cyril Hrubis <metan@ucw.cz>
18459
18460 * string/string.h: Add __wur to GNU version of strerror_r.
18461
49bdf4c1
L
184622012-06-14 H.J. Lu <hongjiu.lu@intel.com>
18463
18464 [BZ #14229]
18465 * string/Makefile (tests): Add tst-strtok_r.
18466 * string/tst-strtok_r.c: New file.
18467 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
18468 RAX_LP/RDX_LP on SAVE_PTR.
18469
834f9b8d
RM
184702012-06-14 Roland McGrath <roland@hack.frob.com>
18471
18472 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
18473
75fa1921
JM
184742012-06-14 Joseph Myers <joseph@codesourcery.com>
18475
18476 * libm_test.inc (csqrt_test): Allow more spurious underflow
18477 exceptions.
18478 (j0_test): Likewise.
18479 (j1_test): Likewise.
18480 (y0_test): Likewise.
18481 (y1_test): Likewise.
18482
771766df
CD
184832012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
18484
18485 * po/Makefile (libc.pot): Use UTF-8 charset.
18486
ceb9e56b
PP
184872012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
18488
18489 [BZ #14210]
18490 Suppress sign-conversion warning from FD_SET.
18491 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
18492 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
18493 not unsigned long int.
18494 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
18495
ddb28975
L
184962012-06-12 H.J. Lu <hongjiu.lu@intel.com>
18497
18498 [BZ #14050]
18499 [BZ #14117]
18500 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
18501 __extern_always_inline instead of __extern_inline.
18502 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
18503 (__signbit): Likewise.
18504 (__signbitl): Support C++ namespace.
18505 (lrintf): New inline function.
18506 (lrint): Likewise.
18507 (llrintf): Likewise.
18508 (llrint): Likewise.
18509 (fmaxf): Likewise.
18510 (fmax): Likewise.
18511 (fminf): Likewise.
18512 (fmin): Likewise.
18513 (rint): Likewise.
18514 (rintf): Likewise.
18515 (ceil): Likewise.
18516 (ceilf): Likewise.
18517 (floor): Likewise.
18518 (floorf): Likewise.
18519 (nearbyint): Likewise.
18520 (nearbyintf): Likewise.
18521
d7b4fb26
TS
185222012-06-12 Thomas Schwinge <thomas@codesourcery.com>
18523
18524 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
18525 non-default versions.
18526
eb55f5c2
RM
185272012-06-11 Roland McGrath <roland@hack.frob.com>
18528
18529 [BZ #14218]
18530 * manual/argp.texi (Argp): Reword argp_parse description slightly.
18531
366af02c
TS
185322012-06-09 Thomas Schwinge <thomas@codesourcery.com>
18533
99ff6e5c
TS
18534 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
18535 (FE_UPWARD, FE_DOWNWARD): Don't define.
18536 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
18537 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
18538
366af02c
TS
18539 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
18540 reading it.
18541 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
18542 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18543
793ea851
KK
185442012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18545
18546 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
18547 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
18548 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
18549 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
18550
a728a38f
L
185512012-06-06 H.J. Lu <hongjiu.lu@intel.com>
18552
18553 [BZ #14117]
c08010c7
L
18554 * sysdeps/i386/fpu/bits/fenv.h: Removed.
18555 * sysdeps/i386/fpu/Implies: New file.
18556 * sysdeps/x86_64/fpu/Implies: Likewise.
18557 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
18558 * sysdeps/x86/fpu/bits/fenv.h: This.
18559
a728a38f
L
18560 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
18561 __SSE_MATH__.
18562
6e230d11
SP
185632012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
18564
18565 [BZ #14134]
18566 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
18567 character 0xffff that matches the last element of the
18568 conversion table.
18569
1b671feb
AZ
185702012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18571
18572 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
18573 fmodl commit.
18574
6043738b
AZ
185752012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18576
18577 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
18578 values higher than 25.6283.
18579
34ae0b32
AZ
185802012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18581
18582 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
18583 subnormal exponent extraction and add some __builtin_expect.
18584 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
18585 Fix for subnormal mantissa calculation.
18586
1214ec8f
MF
185872012-06-04 Mike Frysinger <vapier@gentoo.org>
18588
18589 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
18590 cpu2 is -1 and errno is not ENOSYS.
18591
f3d1f93c
L
185922012-06-04 H.J. Lu <hongjiu.lu@intel.com>
18593
18594 [BZ #14117]
0e4a3cd7
L
18595 * sysdeps/i386/i486/bits/string.h: Renamed to ...
18596 * sysdeps/x86/bits/string.h: This.
18597 * sysdeps/x86_64/bits/string.h: Removed.
18598
6704c645
L
18599 * sysdeps/i386/i486/bits/string.h: Define inline functions only
18600 if not compiling for x86-64, but compiling for >= i486.
18601
48495318
L
18602 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
18603 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
18604
14adcbfc
L
18605 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
18606 New macro from Linux kernel 3.4.0.
18607 (FP_XSTATE_MAGIC2): Likewise.
18608 (FP_XSTATE_MAGIC2_SIZE): Likewise.
18609 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
18610 (struct _fpx_sw_bytes): New struct.
18611 (struct _xsave_hdr): Likewise.
18612 (struct _ymmh_state): Likewise.
18613 (struct _xstate): Likewise.
18614
68e408ab
L
18615 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
18616 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
18617 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
18618 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
18619 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
18620 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
18621
f3d1f93c
L
18622 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
18623 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
18624 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
18625 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
18626 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
18627 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
18628
d9dc34cd
TMQMF
186292012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18630
18631 [BZ #13743]
18632 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
18633 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
18634 (sysdep_headers): Include sys/platform/ppc.h.
18635 * sysdeps/powerpc/test-gettimebase.c: Test for
18636 __ppc_get_timebase() to catch future ISA opcode/insn changes.
18637 * manual/Makefile (appendices): Include platform.texi.
18638 * manual/contrib.texi (Contributors): Update @node pointers.
18639 * manual/maint.texi (Maintenance): Likewise.
18640 (Platform): New node.
18641 * manual/platform.texi: New file. Document the new features.
18642
4af3879c
SP
186432012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18644 Jakub Jelinek <jakub@redhat.com>
18645
18646 [BZ #14188]
18647 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
18648 where __builtin_expect is unavailable.
18649
2fd6ff13
DM
186502012-06-03 David S. Miller <davem@davemloft.net>
18651
18652 * stdlib/longlong.h: Updated from GCC.
18653
173f7220
AS
186542012-06-02 Andreas Schwab <schwab@linux-m68k.org>
18655
18656 [BZ #14042]
18657 * sysdeps/powerpc/powerpc32/mcount.c: New file.
18658 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
18659 __mcount_internal.
18660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
18661 (GLIBC_2.16): Likewise.
18662
f34a1c6f
L
186632012-06-01 H.J. Lu <hongjiu.lu@intel.com>
18664
18665 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
18666
88a4576f
JM
186672012-06-01 Joseph Myers <joseph@codesourcery.com>
18668
ea32bcdd
JM
18669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
18670 (default-abi): New variable.
18671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
18672 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
18673 variable.
18674 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
18675 Likewise.
18676 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
18677 Likewise.
18678 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
18679 Likewise.
18680
88a4576f
JM
18681 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
18682 definition. Document in comment.
18683
402fe938
DM
186842012-06-01 David S. Miller <davem@davemloft.net>
18685
18686 * stdlib/longlong.h: Updated from GCC.
18687
3553723f
L
186882012-06-01 H.J. Lu <hongjiu.lu@intel.com>
18689
18690 [BZ #14117]
3bd872c4
L
18691 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
18692 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
18693 sys/debugreg.h sys/io.h here.
18694 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
18695 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
18696 sys/io.h.
18697 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
18698 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
18699 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
18700 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
18701 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
18702 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
18703
3553723f
L
18704 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
18705 Define only if __x86_64__ is defined.
18706
4842e4fe
JM
187072012-06-01 Joseph Myers <joseph@codesourcery.com>
18708
c5bfe3d5
JM
18709 [BZ #14048]
18710 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
18711 Use int64_t for variable i.
18712 * math/libm-test.inc (fmod_test): Add more tests.
18713
4842e4fe
JM
18714 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
18715 z computation is not scheduled after fetestexcept.
18716 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
18717 Use math_force_eval instead of asm to ensure calculation scheduled
18718 before exception test.
18719 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
18720 Ensure a1 + u.d computation is not scheduled after fetestexcept.
18721
efb73488
AJ
187222012-06-01 Aurelien Jarno <aurelien@aurel32.net>
18723
18724 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
18725 computation is not scheduled after fetestexcept.
18726
29bcce7c
L
187272012-06-01 H.J. Lu <hongjiu.lu@intel.com>
18728
18729 [BZ #14117]
18730 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
18731 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
18732
73a68f94
AZ
187332012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18734
18735 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
18736 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
18737
67b6df78
L
187382012-05-31 H.J. Lu <hongjiu.lu@intel.com>
18739
edf2933a 18740 [BZ #14117]
ebc64a18
L
18741 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
18742 <bits/wordsize.h>.
18743 (__WCHAR_MIN): Support __WORDSIZE == 64.
18744 (__WCHAR_MAX): Likewise.
18745
edf2933a
L
18746 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
18747 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
18748
57c6cf40
L
18749 [BZ #14183]
18750 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
18751 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
18752
67b6df78 18753 [BZ #14117]
8eb6281e
L
18754 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
18755 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
18756
aac639f4
L
18757 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
18758 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
18759
67b6df78
L
18760 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
18761 Defined to 1 if __x86_64__ isn't defined.
18762 (_STAT_VER_LINUX_OLD): New.
18763 (st_atime): Remove duplicate.
18764 (st_mtime): Likewise.
18765 (st_ctime): Likewise.
18766
1c2cfe81
DM
187672012-05-31 David S. Miller <davem@davemloft.net>
18768
18769 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
18770 entries.
18771
5be8418c
AS
187722012-06-01 Andreas Schwab <schwab@linux-m68k.org>
18773
e7725326
AS
18774 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
18775 gen-libm-test.pl.
18776
5be8418c
AS
18777 [BZ #14132]
18778 * elf/dl-reloc.c: Include <_itoa.h>.
18779 (_dl_reloc_bad_type): Remove use of INTUSE.
18780 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
18781 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
18782 * stdio-common/psiginfo.c (psiginfo): Likewise.
18783 * stdio-common/psignal.c (psignal): Likewise.
18784 * string/strsignal.c (strsignal): Likewise.
18785 * include/signal.h (_sys_siglist): Declare hidden proto.
18786 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
18787 INTVARDEF with libc_hidden_data_def.
18788 * stdio-common/itoa-udigits.c: Likewise.
18789 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
18790 (_itoa_lower_digits_internal): Remove declaration.
18791 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
18792 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
18793 (_sys_sigabbrev_internal): Remove aliases.
18794 (_sys_siglist): Define hidden alias.
18795
507352f1
MT
187962012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
18797
18798 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18799 bits/sysctl.h.
18800
42bbb1c3
L
188012012-05-31 H.J. Lu <hongjiu.lu@intel.com>
18802
18803 [BZ #14117]
6bd784b6
L
18804 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
18805 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
18806
8bca20f0
L
18807 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
18808 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
18809 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
18810 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
18811 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
18812 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
18813
f9e890a9
L
18814 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
18815 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
18816 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
18817
471101a1
L
18818 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
18819 with __addr.
18820 (insw): Likewise.
18821 (insl): Likewise.
18822 (outsb): Likewise.
18823 (outsw): Likewise.
18824 (outsl): Likewise.
18825
6451c862
L
18826 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
18827 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
18828 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
18829
a254b8c9
L
18830 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
18831 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
18832 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
18833 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
18834 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
18835 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
18836
b8dfdd92
L
18837 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
18838 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
18839
578cd270
L
18840 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
18841 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
18842
de662f5f
L
18843 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
18844 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
18845 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
18846
25653439
L
18847 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
18848 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
18849 to ...
18850 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
18851
6bad24a0
L
18852 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
18853 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
18854 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
18855
42bbb1c3
L
18856 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
18857 for x86-64.
18858 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
18859
2d10d547
JM
188602012-05-31 Joseph Myers <joseph@codesourcery.com>
18861
18862 * math/math.h (M_El): Use two more decimal places.
18863 (M_LOG2El): Likewise.
18864 (M_LOG10El): Likewise.
18865 (M_LN2l): Likewise.
18866 (M_LN10l): Likewise.
18867 (M_PIl): Likewise.
18868 (M_PI_2l): Likewise.
18869 (M_PI_4l): Likewise.
18870 (M_1_PIl): Likewise.
18871 (M_2_PIl): Likewise.
18872 (M_2_SQRTPIl): Likewise.
18873 (M_SQRT2l): Likewise.
18874 (M_SQRT1_2l): Likewise.
18875
f230c29b
DM
188762012-05-31 David S. Miller <davem@davemloft.net>
18877
18878 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
18879 values between float registers.
18880 * sysdeps/sparc/sparc64/memset.S: Likewise.
18881 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
18882
fed806c3
MF
188832012-05-31 Mike Frysinger <vapier@gentoo.org>
18884
18885 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
18886 -D_FORTIFY_SOURCE=1.
18887 (CPPFLAGS-tst-longjmp_chk.c): Define.
18888 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
18889 (CPPFLAGS-tst-longjmp_chk2.c): Define.
18890 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
18891 CFLAGS-tst-wchar-h.c.
18892
30917259
MP
188932012-05-31 Marek Polacek <polacek@redhat.com>
18894
18895 [BZ #14132]
18896 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
18897 __endmntent_internal): Remove declaration.
18898 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
18899 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
18900 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
18901
1c58d5dc
DM
189022012-05-30 David S. Miller <davem@davemloft.net>
18903
18904 * sysdeps/sparc/sparc32/soft-fp/q_util.c
18905 (___Q_simulate_exceptions): Use real FP ops rather than writing
18906 into the %fsr.
18907 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
18908 Likewise.
18909
7dc00e0d
L
189102012-05-30 H.J. Lu <hongjiu.lu@intel.com>
18911
18912 [BZ #14117]
0bd53985
L
18913 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
18914 * sysdeps/x86/bits/xtitypes.h: This.
18915
3a257e66
L
18916 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
18917 * sysdeps/x86/bits/wordsize.h: This.
18918
62f62904
L
18919 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
18920 * sysdeps/x86/bits/huge_vall.h: This.
18921
404fe9d9
L
18922 * sysdeps/i386/bits/select.h: Removed.
18923 * sysdeps/x86_64/bits/select.h: Renamed to ...
18924 * sysdeps/x86/bits/select.h: This.
18925
d48d0446
L
18926 * sysdeps/i386/bits/setjmp.h: Removed.
18927 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
18928 * sysdeps/x86/bits/setjmp.h: This.
18929
7dc00e0d
L
18930 * sysdeps/i386/bits/mathdef.h: Removed.
18931 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
18932 * sysdeps/x86/bits/mathdef.h: This.
18933
03277f8f
AS
189342012-05-30 Andreas Schwab <schwab@linux-m68k.org>
18935
18936 [BZ #14132]
18937 * include/sys/socket.h (__connect_internal)
18938 (__libc_sa_len_internal): Remove declaration.
18939 (__connect, __libc_sa_len): Declare hidden_proto.
18940 (SA_LEN): Remove use of INTUSE.
18941 * socket/connect.c: Add libc_hidden_def.
18942 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
18943 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
18944 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
18945 alias.
18946 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
18947 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
18948 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
18949 of adding _internal alias.
18950
13764867
L
189512012-05-30 H.J. Lu <hongjiu.lu@intel.com>
18952
18953 [BZ #14117]
6bd97696
L
18954 * sysdeps/i386/bits/link.h: Removed.
18955 * sysdeps/i386/bits/linkmap.h: Likewise.
18956 * sysdeps/x86_64/bits/link.h: Renamed to ...
18957 * sysdeps/x86/bits/link.h: This.
18958 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
18959 * sysdeps/x86/bits/linkmap.h: This.
18960
f726f0bb
L
18961 * sysdeps/i386/bits/endian.h: Removed.
18962 * sysdeps/x86_64/bits/endian.h: Renamed to ...
18963 * sysdeps/x86/bits/endian.h: This.
18964
13764867
L
18965 * sysdeps/i386/bits/byteswap.h: Removed.
18966 * sysdeps/i386/bits/byteswap-16.h: Likewise.
18967 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
18968 * sysdeps/x86/bits/byteswap.h: This.
18969 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
18970 * sysdeps/x86/bits/byteswap-16.h: This.
18971 * sysdeps/i386/Implies: Add x86.
18972 * sysdeps/x86_64/Implies: Likewise.
18973
ae251b0b
DM
189742012-05-30 David S. Miller <davem@davemloft.net>
18975
18976 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
18977 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
18978 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
18979 (FP_TRAPPING_EXCEPTIONS): Define.
18980 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
18981 (FP_TRAPPING_EXCEPTIONS): Define.
18982 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
18983 subnormals only when inexact has been signalled or underflow
18984 exceptions are enabled.
18985 (_FP_PACK_CANONICAL): Likewise.
18986
d5c90867
L
189872012-05-30 H.J. Lu <hongjiu.lu@intel.com>
18988
18989 [BZ #14183]
18990 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
18991 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
18992
63f1549e
RH
189932012-05-30 Richard Henderson <rth@twiddle.net>
18994
8d8f2279
RH
18995 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
18996 with #ifndef NOT_IN_libc.
18997
63f1549e
RH
18998 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
18999 marked to avoid plt entry.
19000
0ab0291b
L
190012012-05-30 H.J. Lu <hongjiu.lu@intel.com>
19002
19003 [BZ #14112]
19004 * Makeconfig (default-abi): New macro.
19005 (abi-includes): Likewise.
19006 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
19007 $(abi-$(default-abi)-lib-soname) for soname if defined.
19008 ($(common-objpfx)gnu/lib-names.stmp): Generate from
19009 abi-variants.
19010 * Makefile (installed-stubs): Likewise.
19011 * include/stubs-biarch.h: Removed.
19012 * scripts/lib-names.awk: Only handle one library at a time.
19013 * scripts/soversions.awk: Remove WORDSIZE support.
19014 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
19015 entries.
19016 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
19017 Removed.
19018 (syscall-list-default-condition): Likewise.
19019 (syscall-list-default-condition): Likewise.
19020 (syscall-list-includes): Likewise.
19021 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
19022 syscall-list-* with abi-*. Handle undefined abi-variants.
19023 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
19024 * sysdeps/unix/sysv/linux/i386/Implies: New file.
19025 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
19026 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
19027 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
19028 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
19029 Removed.
19030 (syscall-list-32-options): Likewise.
19031 (syscall-list-32-condition): Likewise.
19032 (syscall-list-64-options): Likewise.
19033 (syscall-list-64-condition): Likewise.
19034 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
19035 macro.
19036 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
19037 Renamed to ...
19038 (abi-*): This.
19039 (abi-64-ld-soname): New macro.
19040 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
19041 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
19042 Renamed to ...
19043 (abi-*): This.
19044 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
19045 * sysdeps/x86_64/x32/shlib-versions: Likewise.
19046
4da0431d
JM
190472012-05-30 Joseph Myers <joseph@codesourcery.com>
19048
3a85279c
JM
19049 * sysdeps/unix/sysv/linux/kernel-features.h
19050 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
19051 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
19052 include <kernel-features.h>.
19053 [!__NR_ftruncate64]: Remove conditional code.
19054 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19055 [__NR_ftruncate64]: Make code unconditional.
19056 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19057 * sysdeps/unix/sysv/linux/truncate64.c: Do not
19058 include <kernel-features.h>.
19059 [!__NR_ftruncate64]: Remove conditional code.
19060 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19061 [__NR_ftruncate64]: Make code unconditional.
19062 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
19064 include <kernel-features.h>.
19065 [!__NR_ftruncate64]: Remove conditional code.
19066 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19067 [__NR_ftruncate64]: Make code unconditional.
19068 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
19070 include <kernel-features.h>.
19071 [!__NR_ftruncate64]: Remove conditional code.
19072 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19073 [__NR_ftruncate64]: Make code unconditional.
19074 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19075
4da0431d
JM
19076 * configure.in (libc_cv_fpie): Weaken to a compile test using
19077 LIBC_TRY_CC_OPTION.
19078 * configure: Regenerated.
19079
11ef492c
AK
190802012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19081
19082 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
19083 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
19084 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
19085 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19086 Refreshed.
19087 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
19088 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
19089 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
19090 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
19091 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
19092 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19093 Refreshed.
19094
d66ef399
DM
190952012-05-27 David S. Miller <davem@davemloft.net>
19096
19097 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
19098 (___Q_zero): New.
19099 (__Q_simulate_exceptions): Return void. Change to simulate
19100 exceptions by writing into the %fsr.
19101 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
19102 (__Qp_handle_exceptions): Likewise.
19103 (numbers): Delete.
19104 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
19105 __Qp_handle_exceptions.
19106 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
19107 __Qp_handle_exceptions.
19108 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
19109 as unused and give dummy FP_RND_NEAREST initializer.
19110 (FP_INHIBIT_RESULTS): Define.
19111 (___Q_simulate_exceptions): Update declaration.
19112 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
19113 formatting.
19114 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
19115 as unused and give dummy FP_RND_NEAREST initializer.
19116 (__Qp_handle_exceptions): Update declaration.
19117 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
19118 formatting.
19119
04fb54b5
TS
191202012-05-27 Thomas Schwinge <thomas@codesourcery.com>
19121
19122 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
19123 the temporary FPU control word.
19124 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
19125 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
19126 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
19127 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
19128 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
19129 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
19130 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
19131 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
19132 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
19133 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
19134 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
19135
3f99608f
KK
191362012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19137
19138 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
19139 fields.
19140
65a4de4e
CLT
191412012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
19142
19143 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
19144 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
19145 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
19146 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
19147 Likewise.
19148 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
19149 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
19150 Likewise.
19151
15749d40
UD
191522012-05-27 Ulrich Drepper <drepper@gmail.com>
19153
19154 * po/h.po: Update from translation team.
19155
25dbcb27
AS
191562012-05-26 Andreas Schwab <schwab@linux-m68k.org>
19157
3d3f8e55
AS
19158 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
19159
25dbcb27
AS
19160 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
19161 handling of denormals.
19162 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19163 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
19164 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
19165 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
19166 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19167 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
19168 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
19169 Likewise.
19170
7ad47a80 191712012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
19172
19173 [BZ #14152]
19174 * math/libm-test.inc (fma_test): Don't always expect underflow
19175 exception.
19176
9c6ea9fa
SP
191772012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19178
19179 [BZ #12416]
19180 * elf/tst-execstack.c: Include stackinfo.h.
19181 (do_test): Adjust test case to ensure that pthread_getattr_np
19182 behaviour remains the same after marking stack executable.
19183
a8239222
JM
191842012-05-25 Joseph Myers <joseph@codesourcery.com>
19185
19186 * sysdeps/unix/sysv/linux/kernel-features.h
19187 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
19188 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
19189 kernel-features.h.
19190 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
19191 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
19192 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
19193 kernel-features.h.
19194 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
19195 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
19196
918b5606
L
191972012-05-25 H.J. Lu <hongjiu.lu@intel.com>
19198
19199 * configure.in: Define the default includes to being none.
19200 * configure: Regenerated.
19201
3a097cc7
RM
192022012-05-25 Roland McGrath <roland@hack.frob.com>
19203
8422c9a5
RM
19204 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
19205 * sysdeps/x86_64/setjmp.S: Likewise.
19206 * sysdeps/i386/bsd-setjmp.S: Likewise.
19207 * sysdeps/i386/bsd-_setjmp.S: Likewise.
19208 * sysdeps/i386/setjmp.S: Likewise.
19209 * sysdeps/i386/__longjmp.S: Likewise.
19210 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
19211 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
19212
3a097cc7
RM
19213 * include/stap-probe.h: New file.
19214 * configure.in: Handle --enable-systemtap.
19215 * configure: Regenerated.
19216 * config.h.in (USE_STAP_PROBE): New #undef.
19217 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
19218 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
19219 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
19220
21708942
JM
192212012-05-25 Joseph Myers <joseph@codesourcery.com>
19222
19223 [BZ #13717]
19224 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
19225 to 2.4.0 where earlier.
19226 * sysdeps/unix/sysv/linux/configure: Regenerated.
19227 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
19228 <kernel-features.h>.
19229 [__ASSUME_32BITUIDS]: Make code unconditional.
19230 [!__ASSUME_32BITUIDS]: Remove conditional code.
19231 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
19232 <kernel-features.h>.
19233 [__ASSUME_32BITUIDS]: Make code unconditional.
19234 [!__ASSUME_32BITUIDS]: Remove conditional code.
19235 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
19236 [__ASSUME_32BITUIDS]: Make code unconditional.
19237 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
19238 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
19239 <kernel-features.h>.
19240 [__ASSUME_32BITUIDS]: Make code unconditional.
19241 [!__ASSUME_32BITUIDS]: Remove conditional code.
19242 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
19243 <kernel-features.h>.
19244 [__ASSUME_32BITUIDS]: Make code unconditional.
19245 [!__ASSUME_32BITUIDS]: Remove conditional code.
19246 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
19247 <kernel-features.h>.
19248 [__ASSUME_32BITUIDS]: Make code unconditional.
19249 [!__ASSUME_32BITUIDS]: Remove conditional code.
19250 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
19251 <kernel-features.h>.
19252 [__ASSUME_32BITUIDS]: Make code unconditional.
19253 [!__ASSUME_32BITUIDS]: Remove conditional code.
19254 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
19255 <kernel-features.h>.
19256 [__ASSUME_32BITUIDS]: Make code unconditional.
19257 [!__ASSUME_32BITUIDS]: Remove conditional code.
19258 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
19259 <kernel-features.h>.
19260 [__ASSUME_32BITUIDS]: Make code unconditional.
19261 [!__ASSUME_32BITUIDS]: Remove conditional code.
19262 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
19263 <kernel-features.h>.
19264 [__ASSUME_32BITUIDS]: Make code unconditional.
19265 [!__ASSUME_32BITUIDS]: Remove conditional code.
19266 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
19267 <kernel-features.h>.
19268 [__ASSUME_32BITUIDS]: Make code unconditional.
19269 [!__ASSUME_32BITUIDS]: Remove conditional code.
19270 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
19271 <kernel-features.h>.
19272 [__ASSUME_32BITUIDS]: Make code unconditional.
19273 [!__ASSUME_32BITUIDS]: Remove conditional code.
19274 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
19275 <kernel-features.h>.
19276 [__ASSUME_32BITUIDS]: Make code unconditional.
19277 [!__ASSUME_32BITUIDS]: Remove conditional code.
19278 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
19279 <kernel-features.h>.
19280 [__NR_setresgid] (__setresgid): Do not declare.
19281 [__ASSUME_32BITUIDS]: Make code unconditional.
19282 [!__ASSUME_32BITUIDS]: Remove conditional code.
19283 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
19284 <kernel-features.h>.
19285 [__NR_setresuid] (__setresuid): Do not declare.
19286 [__ASSUME_32BITUIDS]: Make code unconditional.
19287 [!__ASSUME_32BITUIDS]: Remove conditional code.
19288 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
19289 <kernel-features.h>.
19290 [__ASSUME_32BITUIDS]: Make code unconditional.
19291 [!__ASSUME_32BITUIDS]: Remove conditional code.
19292 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
19293 <kernel-features.h>.
19294 [__ASSUME_32BITUIDS]: Make code unconditional.
19295 [!__ASSUME_32BITUIDS]: Remove conditional code.
19296 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
19297 <kernel-features.h>.
19298 [__ASSUME_32BITUIDS]: Make code unconditional.
19299 [!__ASSUME_32BITUIDS]: Remove conditional code.
19300 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
19301 <kernel-features.h>.
19302 [__ASSUME_32BITUIDS]: Make code unconditional.
19303 [!__ASSUME_32BITUIDS]: Remove conditional code.
19304 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
19305 <kernel-features.h>.
19306 [__ASSUME_32BITUIDS]: Make code unconditional.
19307 [!__ASSUME_32BITUIDS]: Remove conditional code.
19308 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
19309 <kernel-features.h>.
19310 [__ASSUME_32BITUIDS]: Make code unconditional.
19311 [!__ASSUME_32BITUIDS]: Remove conditional code.
19312 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
19313 <kernel-features.h>.
19314 [__ASSUME_32BITUIDS]: Make code unconditional.
19315 [!__ASSUME_32BITUIDS]: Remove conditional code.
19316 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
19317 <kernel-features.h>.
19318 [__ASSUME_32BITUIDS]: Make code unconditional.
19319 [!__ASSUME_32BITUIDS]: Remove conditional code.
19320 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
19321 <kernel-features.h>.
19322 [__ASSUME_32BITUIDS]: Make code unconditional.
19323 [!__ASSUME_32BITUIDS]: Remove conditional code.
19324 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
19325 <kernel-features.h>.
19326 [__ASSUME_32BITUIDS]: Make code unconditional.
19327 [!__ASSUME_32BITUIDS]: Remove conditional code.
19328 * sysdeps/unix/sysv/linux/kernel-features.h
19329 (__ASSUME_SETRESUID_SYSCALL): Remove.
19330 (__ASSUME_SETRESGID_SYSCALL): Likewise.
19331 (__ASSUME_32BITUIDS): Likewise.
19332 (__ASSUME_LDT_WORKS): Likewise.
19333 (__ASSUME_O_DIRECTORY): Likewise.
19334 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
19335 architecture but not kernel version.
19336 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
19337 (__ASSUME_MMAP2_SYSCALL): Likewise.
19338 (__ASSUME_STAT64_SYSCALL): Likewise.
19339 (__ASSUME_IPC64): Likewise.
19340 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
19341 <kernel-features.h>.
19342 [__ASSUME_32BITUIDS]: Make code unconditional.
19343 [!__ASSUME_32BITUIDS]: Remove conditional code.
19344 * sysdeps/unix/sysv/linux/opendir.c: Do not include
19345 <kernel-features.h>.
19346 [__ASSUME_O_DIRECTORY]: Make code unconditional.
19347 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
19348 132096]: Remove conditional code.
19349 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
19350 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
19351 <kernel-features.h>.
19352 [__ASSUME_32BITUIDS]: Make code unconditional.
19353 [!__ASSUME_32BITUIDS]: Remove conditional code.
19354 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
19355 <kernel-features.h>.
19356 [__ASSUME_32BITUIDS]: Make code unconditional.
19357 [!__ASSUME_32BITUIDS]: Remove conditional code.
19358 * sysdeps/unix/sysv/linux/setegid.c: Do not include
19359 <kernel-features.h>.
19360 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
19361 unconditional.
19362 (__setresgid): Do not declare.
19363 [__ASSUME_32BITUIDS]: Make code unconditional.
19364 [!__ASSUME_32BITUIDS]: Remove conditional code.
19365 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
19366 <kernel-features.h>.
19367 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
19368 unconditional.
19369 (__setresuid): Do not declare.
19370 [__ASSUME_32BITUIDS]: Make code unconditional.
19371 [!__ASSUME_32BITUIDS]: Remove conditional code.
19372 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
19373 <kernel-features.h>.
19374 [__ASSUME_32BITUIDS]: Make code unconditional.
19375 [!__ASSUME_32BITUIDS]: Remove conditional code.
19376 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
19377 <kernel-features.h>.
19378 [__ASSUME_32BITUIDS]: Make code unconditional.
19379 [!__ASSUME_32BITUIDS]: Remove conditional code.
19380
a386f1cc
RH
193812012-05-25 Richard Henderson <rth@twiddle.net>
19382
19383 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
19384 dl_hwcap to ifunc resolver.
19385 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
19386 elf_ifunc_invoke.
19387 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
19388 dl_hwcap to ifunc resolver.
19389 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
19390
b6550497
JM
193912012-05-24 Joseph Myers <joseph@codesourcery.com>
19392
19393 [BZ #14153]
19394 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
19395 for |x| <= 2**-26, not 2**-57.
19396 * math/libm-test.inc (acos_test): Do not allow spurious underflow
19397 exception.
19398
b0bc23a1
JL
193992012-05-24 Jeff Law <law@redhat.com>
19400
19401 * stdio-common/Makefile (tests): Add bug25.
19402 * stdio-common/bug25.c: New test.
19403
347c92e9
L
194042012-05-24 H.J. Lu <hongjiu.lu@intel.com>
19405
19406 [BZ #13576]
19407 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
19408 multiple of MALLOC_ALIGNMENT in size.
19409 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
19410
6bcc8b3f
JM
194112012-05-24 Joseph Myers <joseph@codesourcery.com>
19412
19413 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
19414 Require >= 256.
19415 (FILENAME_MAX): Use macro-int-constant.
19416 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
19417 (_IOFBF): Use macro-int-constant.
19418 (_IOLBF): Likewise.
19419 (_IONBF): Likewise.
19420 (SEEK_CUR): Likewise.
19421 (SEEK_END): Likewise.
19422 (SEEK_SET): Likewise.
19423 (TMP_MAX): Likewise.
19424 (EOF): Use macro-int-constant. Require < 0.
19425 (NULL): Use macro-constant. Require == 0.
19426 (stdin): Require type to be FILE *.
19427 (stdout): Likewise.
19428 (stderr): Likewise.
19429 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
19430 macro-int-constant.
19431 (EXIT_SUCCESS): Likewise.
19432 (NULL): Use macro-constant. Require == 0.
19433 (RAND_MAX): Use macro-int-constant.
19434 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
19435 [C99-based standards] (strtof): Require function.
19436 [C99-based standards] (strtold): Likewise.
19437 [C99-based standards] (strtoll): Likewise.
19438 [C99-based standards] (strtoull): Likewise.
19439 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
19440 [ISO || ISO99 || ISO11] (limits.h): Likewise.
19441 [ISO || ISO99 || ISO11] (math.h): Likewise.
19442 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
19443 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
19444 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19445
d18ea0c5
AS
194462012-05-24 Andreas Schwab <schwab@linux-m68k.org>
19447
19448 [BZ #14132]
56d25bb8
AS
19449 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
19450 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
19451 * intl/dgettext.c (DCGETTEXT): Likewise.
19452 * intl/gettext.c (DCGETTEXT): Likewise.
19453 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
19454 * posix/regex_internal.h (gettext): Likewise.
19455 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
19456 Remove declaration.
19457 * include/argz.h (__argz_count_internal)
19458 (__argz_stringify_internal): Remove declaration.
19459 (__argz_count, __argz_stringify): Declare hidden proto.
19460 * intl/dcgettext.c: Remove use of INTDEF.
19461 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
19462 * string/argz-stringify.c: Likewise.
19463 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
19464 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
19465 Declare hidden proto.
d18ea0c5
AS
19466 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
19467 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
19468 Declare hidden proto.
19469 * include/stdio.h (__asprintf_internal): Don't declare.
19470 (__asprintf): Don't define as macro. Declare hidden proto.
19471 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
19472 (__fsetlocking): Declare hidden proto.
19473 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
19474 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
19475 hidden proto.
19476 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
19477 (_IO_setlinebuf): Remove use of INTUSE.
19478 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
19479 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
19480 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
19481 Remove declaration.
19482 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
19483 (_IO_do_flush): Remove use of INTUSE.
19484 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
19485 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
19486 (_IO_adjust_column, _IO_least_wmarker)
19487 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
19488 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
19489 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
19490 (_IO_default_doallocate, _IO_wdefault_doallocate)
19491 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
19492 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
19493 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
19494 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
19495 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
19496 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
19497 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
19498 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
19499 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
19500 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
19501 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
19502 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
19503 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
19504 proto.
19505 (_IO_flush_all_internal, _IO_adjust_column_internal)
19506 (_IO_default_uflow_internal, _IO_default_finish_internal)
19507 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
19508 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
19509 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
19510 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
19511 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
19512 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
19513 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
19514 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
19515 (_IO_file_close_internal, _IO_file_close_it_internal)
19516 (_IO_file_underflow_internal, _IO_file_overflow_internal)
19517 (_IO_file_init_internal, _IO_file_attach_internal)
19518 (_IO_file_fopen_internal, _IO_file_read_internal)
19519 (_IO_file_sync_internal, _IO_file_seek_internal)
19520 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
19521 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
19522 (_IO_str_underflow_internal, _IO_str_overflow_internal)
19523 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
19524 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
19525 (_IO_list_all_internal, _IO_link_in_internal)
19526 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
19527 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
19528 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
19529 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
19530 (_IO_do_write_internal, _IO_padn_internal)
19531 (_IO_getline_info_internal, _IO_getline_internal)
19532 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
19533 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
19534 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
19535 (_IO_vfscanf_internal, _IO_vfprintf_internal)
19536 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
19537 (_IO_init_internal, _IO_un_link_internal): Don't declare.
19538 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
19539 with libc_hidden_ver, remove use of INTUSE.
19540 * libio/genops.c: Likewise.
19541 * libio/freopen.c: Likewise.
19542 * libio/freopen64.c: Likewise.
19543 * libio/iofclose.c: Likewise.
19544 * libio/iofdopen.c: Likewise.
19545 * libio/iofflush.c: Likewise.
19546 * libio/iofflush_u.c: Likewise.
19547 * libio/iofgets.c: Likewise.
19548 * libio/iofgets_u.c: Likewise.
19549 * libio/iofopen.c: Likewise.
19550 * libio/iofopncook.c: Likewise.
19551 * libio/iofread.c: Likewise.
19552 * libio/iofread_u.c: Likewise.
19553 * libio/ioftell.c: Likewise.
19554 * libio/iofwrite.c: Likewise.
19555 * libio/iogetline.c: Likewise.
19556 * libio/iogets.c: Likewise.
19557 * libio/iogetwline.c: Likewise.
19558 * libio/iopadn.c: Likewise.
19559 * libio/iopopen.c: Likewise.
19560 * libio/ioseekoff.c: Likewise.
19561 * libio/ioseekpos.c: Likewise.
19562 * libio/iosetbuffer.c: Likewise.
19563 * libio/iosetvbuf.c: Likewise.
19564 * libio/ioungetc.c: Likewise.
19565 * libio/ioungetwc.c: Likewise.
19566 * libio/iovdprintf.c: Likewise.
19567 * libio/iovsprintf.c: Likewise.
19568 * libio/iovsscanf.c: Likewise.
19569 * libio/memstream.c: Likewise.
19570 * libio/obprintf.c: Likewise.
19571 * libio/oldfileops.c: Likewise.
19572 * libio/oldiofclose.c: Likewise.
19573 * libio/oldiofdopen.c: Likewise.
19574 * libio/oldiofopen.c: Likewise.
19575 * libio/oldiopopen.c: Likewise.
19576 * libio/oldstdfiles.c: Likewise.
19577 * libio/putc.c: Likewise.
19578 * libio/setbuf.c: Likewise.
19579 * libio/setlinebuf.c: Likewise.
19580 * libio/stdfiles.c: Likewise.
19581 * libio/strops.c: Likewise.
19582 * libio/vasprintf.c: Likewise.
19583 * libio/vscanf.c: Likewise.
19584 * libio/vsnprintf.c: Likewise.
19585 * libio/vswprintf.c: Likewise.
19586 * libio/wfiledoalloc.c: Likewise.
19587 * libio/wfileops.c: Likewise.
19588 * libio/wgenops.c: Likewise.
19589 * libio/wmemstream.c: Likewise.
19590 * libio/wstrops.c: Likewise.
19591 * libio/__fpurge.c: Likewise.
19592 * libio/__fsetlocking.c: Likewise.
19593 * assert/assert.c: Likewise.
19594 * debug/fgets_chk.c: Likewise.
19595 * debug/fgets_u_chk.c: Likewise.
19596 * debug/fread_chk.c: Likewise.
19597 * debug/fread_u_chk.c: Likewise.
19598 * debug/gets_chk.c: Likewise.
19599 * debug/obprintf_chk.c: Likewise.
19600 * debug/vasprintf_chk.c: Likewise.
19601 * debug/vdprintf_chk.c: Likewise.
19602 * debug/vsnprintf_chk.c: Likewise.
19603 * debug/vsprintf_chk.c: Likewise.
19604 * malloc/mtrace.c: Likewise.
19605 * misc/error.c: Likewise.
19606 * misc/syslog.c: Likewise.
19607 * stdio-common/asprintf.c: Likewise.
19608 * stdio-common/fxprintf.c: Likewise.
19609 * stdio-common/getw.c: Likewise.
19610 * stdio-common/isoc99_fscanf.c: Likewise.
19611 * stdio-common/isoc99_scanf.c: Likewise.
19612 * stdio-common/isoc99_vfscanf.c: Likewise.
19613 * stdio-common/isoc99_vscanf.c: Likewise.
19614 * stdio-common/isoc99_vsscanf.c: Likewise.
19615 * stdio-common/printf-prs.c: Likewise.
19616 * stdio-common/printf_fp.c: Likewise.
19617 * stdio-common/printf_fphex.c: Likewise.
19618 * stdio-common/printf_size.c: Likewise.
19619 * stdio-common/putw.c: Likewise.
19620 * stdio-common/scanf.c: Likewise.
19621 * stdio-common/sprintf.c: Likewise.
19622 * stdio-common/tmpfile.c: Likewise.
19623 * stdio-common/vfprintf.c: Likewise.
19624 * stdio-common/vfscanf.c: Likewise.
19625 * stdlib/strfmon_l.c: Likewise.
19626 * sunrpc/openchild.c: Likewise.
19627 * sunrpc/xdr_stdio.c: Likewise.
19628 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
19629 * sysdeps/mach/hurd/tmpfile.c: Likewise.
19630
d6c33fda
RM
196312012-05-24 Roland McGrath <roland@hack.frob.com>
19632
c1487492
RM
19633 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
19634
19635 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
19636 in the third column, to generate for the shared library an IFUNC
19637 that uses _dl_vdso_vsym.
19638 * Makerules (COMPILE.c, compile-stdin.c): New variables.
19639 * Makeconfig (object-suffixes-noshared): New variable.
19640
19641 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
19642 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
19643 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
19644 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
19645
d6c33fda
RM
19646 [BZ #14132]
19647 * include/sys/time.h (__gettimeofday): Remove macro.
19648 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
19649 * time/gettimeofday.c (__gettimeofday): Remove #undef.
19650 Remove INTDEF.
19651 (__gettimeofday): Add libc_hidden_def.
19652 (gettimeofday): Add libc_hidden_weak.
19653 * sysdeps/mach/gettimeofday.c: Likewise.
19654 * sysdeps/posix/gettimeofday.c: Likewise.
19655 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
19656 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
19657 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
19658 (__gettimeofday_internal): Remove strong_alias.
19659 (__gettimeofday): Add libc_hidden_def.
19660 (gettimeofday): Add libc_hidden_weak.
19661 * sysdeps/unix/syscalls.list (gettimeofday):
19662 Remove __gettimeofday_internal alias.
19663
b5a2bbe6
L
196642012-05-24 Daniel Jacobowitz <drow@false.org>
19665 H.J. Lu <hongjiu.lu@intel.com>
19666
19667 [BZ #12495]
19668 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
19669 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
19670 (largebin_index_32_big): New.
19671 (largebin_index): Use it for 16-byte alignment.
19672 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
19673 correction with front_misalign.
19674
cfba4fda
L
196752012-05-24 H.J. Lu <hongjiu.lu@intel.com>
19676
7f907421
L
19677 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
19678 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
19679 Likewise.
19680 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
19681 Likewise.
19682 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
19683 Likewise.
19684 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
19685 Likewise.
19686 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
19687 Likewise.
19688 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
19689 Likewise.
19690 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
19691 Likewise.
19692 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
19693 Likewise.
19694 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
19695 Likewise.
19696 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
19697 Likewise.
19698 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
19699 Likewise.
19700 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
19701 Likewise.
19702
cfba4fda
L
19703 * scripts/data/c++-types-x32-linux-gnu.data: New file.
19704 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
19705
80bad0cc
JM
197062012-05-24 Joseph Myers <joseph@codesourcery.com>
19707
7a25eb06
JM
19708 [BZ #10846]
19709 [BZ #14036]
19710 * math/libm-test.inc (exp_test): Add test from bug 14036.
19711 (pow_test): Add test from bug 10846.
19712
795405f9
JM
19713 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
19714 and other flags.
19715 (special_function): Do not include flags in test name.
19716 (parse_args): Likewise.
19717 * sysdeps/i386/fpu/libm-test-ulps: Update.
19718 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19719 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19720 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19721 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19722
80bad0cc
JM
19723 * math/gen-libm-test.pl (%beautify): Add entries for underflow
19724 exceptions.
19725 * math/libm-test.inc ("Philosophy"): Update comment about
19726 exception testing.
19727 (UNDERFLOW_EXCEPTION): New macro.
19728 (UNDERFLOW_EXCEPTION_OK): Likewise.
19729 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
19730 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
19731 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
19732 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
19733 (INVALID_EXCEPTION_OK): Update value.
19734 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
19735 (OVERFLOW_EXCEPTION_OK): Likewise.
19736 (IGNORE_ZERO_INF_SIGN): Likewise.
19737 (test_exceptions): Handle underflow exceptions.
19738 (acos_test): Update for underflow exception expectations.
19739 (cexp_test): Likewise.
19740 (clog_test): Likewise.
19741 (clog10_test): Likewise.
19742 (csqrt_test): Likewise.
19743 (ctan_test): Likewise.
19744 (ctanh_test): Likewise.
19745 (exp_test): Likewise.
19746 (exp10_test): Likewise.
19747 (exp2_test): Likewise.
19748 (expm1_test): Likewise.
19749 (fma_test): Likewise.
19750 (j0_test): Likewise.
19751 (jn_test): Likewise.
19752 (nexttoward_test): Likewise.
19753 (pow_test): Likewise.
19754 (scalbn_test): Likewise.
19755 (scalbln_test): Likewise.
19756 (tan_test): Likewise.
19757 (y1_test): Likewise.
19758 * sysdeps/i386/fpu/libm-test-ulps: Update.
19759 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19760
9e0e3d0b
DM
197612012-05-23 David S. Miller <davem@davemloft.net>
19762
19763 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
19764 (__libc_sigaction): Remove unused local variables.
19765
ccd0a08f
L
197662012-05-23 H.J. Lu <hongjiu.lu@intel.com>
19767
19768 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
19769
62bdf9a6
PE
197702012-05-23 Paul Eggert <eggert@cs.ucla.edu>
19771
f8591f80
PE
19772 mktime: avoid signed integer overflow
19773 * time/mktime.c (__mktime_internal): Do not mishandle the case
19774 where diff == INT_MIN.
19775
94c7d826
PE
19776 mktime: simplify computation of average
19777 * time/mktime.c (ranged_convert): Use new time_t_avg function
19778 instead of rolling our own (probably-slower) code.
19779
ce73d683
PE
19780 mktime: do not assume signed right shift propagates sign bit
19781 * time/mktime.c (isdst_differ): New static function.
19782 (__mktime_internal): No need to normalize tm_isdst now.
19783 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
19784 tm_isdst values.
19785
72a22e59
PE
19786 mktime: merge another wrapv change from gnulib
19787 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
19788 from some compilers.
19789
68605433
PE
19790 mktime: remove incorrect attempt at unusual arithmetics
19791 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
19792 The code didn't really work on such machines anyway.
19793 (TYPE_MINIMUM): Assume two's complement.
19794 (twos_complement_arithmetic): Verify that long_int and time_t
19795 are two's complement (or unsigned, in the latter case).
19796
03cf7fe3
PE
19797 mktime: check signed shifts on long_int and time_t, too
19798 * time/mktime.c (SHR): Check that shifts work as desired
19799 on the types long_int and time_t too, as SHR is used on
19800 such types.
19801
f04dfbc2
PE
19802 mktime: do not assume 'long' is wide enough
19803 * time/mktime.c (verify): Move decl up.
19804 (long_int): New type.
19805 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
19806 to remove assumption in the code that 'long' is wide enough to
19807 store year values. This assumption is not true on x32 and on
19808 some non-glibc platforms.
19809
62bdf9a6
PE
19810 mktime: merge wrapv change from gnulib
19811 * time/mktime.c (WRAPV): New macro.
19812 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
19813 (guess_time_tm, __mktime_internal): Do not assume that signed
19814 integer overflow wraps around; modern compilers generate code
19815 where this assumption is no longer valid.
19816
5e292e4f
L
198172012-05-23 H.J. Lu <hongjiu.lu@intel.com>
19818
19819 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
19820 Replace "jmp L(pseudo_end)" with "ret".
19821 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
19822 Likewise.
19823
8caf8c87
AJ
198242012-05-23 Andreas Jaeger <aj@suse.de>
19825
19826 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
19827 * sysdeps/unix/sysv/linux/poll.c: Remove file.
19828
1a09dc56
AJ
198292012-05-23 Andreas Jaeger <aj@suse.de>
19830 Maximilian Attems <max@stro.at>
19831
19832 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
19833 New macros.
19834
1c87aba0
L
198352012-05-23 H.J. Lu <hongjiu.lu@intel.com>
19836
19837 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
19838 code so that pseudo_end is just ret and the stack pointer is
19839 correct also for static library in error case.
19840
40e45bd5
JM
198412012-05-23 Joseph Myers <joseph@codesourcery.com>
19842
c2670533
JM
19843 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
19844 move to syscalls.list.
19845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
19846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
19847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
19848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
19849
40e45bd5
JM
19850 * manual/install.texi (Running make install): Do not mention Linux
19851 kernel version for which pt_chown is not needed.
19852 (Linux): Do not mention problems with nscd with 2.0 kernels.
19853 * INSTALL: Regenerated.
19854
be08eda5
AJ
198552012-05-23 Andreas Jaeger <aj@suse.de>
19856
19857 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
19858 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
19859 macro.
19860 * sysdeps/unix/sysv/linux/s390/bits/mman.h
19861 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19862 * sysdeps/unix/sysv/linux/sh/bits/mman.h
19863 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19864 * sysdeps/unix/sysv/linux/i386/bits/mman.h
19865 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19866 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
19867 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19868 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
19869 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19870 * sysdeps/unix/sysv/linux/bits/in.h
19871 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
19872
a6a056bb
RM
198732012-05-22 Roland McGrath <roland@hack.frob.com>
19874
19875 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
19876 (PREPARE_VERSION): Just use assert instead, it will be elided
19877 under [NDEBUG] anyway.
19878
c9009328
L
198792012-05-22 H.J. Lu <hongjiu.lu@intel.com>
19880
19881 * sysdeps/unix/sysv/linux/Makefile: Include
19882 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 19883 (sysdep_routines): Remove sysctl.
c9009328
L
19884 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
19885 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
19886 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
19887 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
19888 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
19889
73338355
AJ
198902012-05-22 Andreas Jaeger <aj@suse.de>
19891
19892 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
19893 that pseudo_end is just ret and the stack pointer is correct also
19894 for static library in error case.
19895
d44638b0
PP
198962012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
19897
19898 [BZ #14122]
19899 * nss/nsswitch.c (defconfig_entries): New variable.
19900 (__nss_database_lookup): Don't leak defconfig entries.
19901 (nss_parse_service_list): Don't leak on error paths.
19902 (free_database_entries): New function.
19903 (free_defconfig): New function.
19904 (free_mem): Move common code to free_database_entries.
19905
31a39bd8
L
199062012-05-22 H.J. Lu <hongjiu.lu@intel.com>
19907
da0331a8
L
19908 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
19909 Add arch_prctl.
19910 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
19911
31a39bd8
L
19912 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
19913 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
19914 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
19915 New macro.
19916 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
19917 (INTERNAL_SYSCALL_TYPES): Likewise.
19918 (LOAD_ARGS_TYPES_[1-6]): Likewise.
19919 (LOAD_REGS_TYPES_[1-6]): Likewise.
19920 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
19921 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
19922
45470df3
AZ
199232012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19924
19925 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
19926 copysignl for GLIBC_2_0.
19927 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
19928 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
19929 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
19930 logbl for GLIBC_2_0.
19931 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
19932 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
19933
98a61bcb
L
199342012-05-22 H.J. Lu <hongjiu.lu@intel.com>
19935
a4f6e481
L
19936 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
19937 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
19938
f63d5db6
L
19939 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
19940 Use "neg %eax".
19941
98a61bcb
L
19942 * time/mktime.c: Update copyright years.
19943
95770f14
PE
199442012-05-22 Paul Eggert <eggert@cs.ucla.edu>
19945
6226efbd
PE
19946 mktime: merge comment-quoting-style change from gnulib
19947 * time/mktime.c: Quote 'like this' in comments.
19948 The GNU coding standards suggest that we no longer quote `like this',
19949 as "`" and "'" are typically rendered asymmetrically nowadays.
19950 The typical gnulib style is to quote 'like this' when quoting
19951 code, and "like this" when quoting English.
19952
b99e4f78
PE
19953 * time/mktime.c (compile-command): Add "-I.".
19954
643e01e6
PE
19955 mktime: merge mktime-internal.h change from gnulib
19956 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
19957
2554247d
PE
19958 mktime: merge time_r change from gnulib
19959 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
19960
826dd0ab
PE
19961 mktime: merge DEBUG change from gnulib
19962 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
19963 case system <time.h> has a #define.
19964
bd83aabe
PE
19965 mktime: merge <sys/types.h> change from gnulib
19966 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
19967 since <time.t> is now guaranteed to define time_t.
19968
95770f14
PE
19969 mktime: merge HAVE_CONFIG_H change from gnulib
19970 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
19971
5e1a27a9
L
199722012-05-22 H.J. Lu <hongjiu.lu@intel.com>
19973
0e44a77e
L
19974 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
19975 Use "neg %eax".
19976
5e1a27a9
L
19977 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
19978 __rlim_t cast.
19979 (struct rusage): Use anonymous union to pad each field to
19980 __syscall_slong_t.
19981
46259bec
DM
199822012-05-21 David S. Miller <davem@davemloft.net>
19983
19984 * Makefules (o-iterator): Remove .s cases.
19985 (compile-command.s): Delete.
19986 (COMPILE.s): Delete.
19987 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
19988
59f0c22e
JM
199892012-05-21 Joseph Myers <joseph@codesourcery.com>
19990
19991 * configure.in (libc_cv_predef_stack_protector): Only consider
19992 "foobar" and "__stack_chk_fail" lines in libc_undefs.
19993 * configure: Regenerated.
19994
20c07380
L
199952012-05-21 H.J. Lu <hongjiu.lu@intel.com>
19996
bbb3154b
L
19997 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
19998 New macro. Use R*LP on int and pointer.
19999 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
20000 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
20001 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
20002 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
20003
20c07380
L
20004 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
20005 [__WORDSIZE_TIME64_COMPAT32] instead of
20006 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
20007 (struct utmp): Likewise.
20008 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
20009 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
20010 Renamed to ...
20011 (__WORDSIZE_TIME64_COMPAT32): This.
20012 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
20013 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
20014 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
20015 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
20016 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
20017 (__WORDSIZE_TIME64_COMPAT32): New macro.
20018
d8d1017e
AJ
200192012-05-21 Andreas Jaeger <aj@suse.de>
20020
20021 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
20022 only if [SHARED]. Add prototype for __wcschr_ia32.
20023
6c7fb145
RM
200242012-05-21 Roland McGrath <roland@hack.frob.com>
20025
20026 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
20027 of %rbp unmolested in the jmp_buf while mangling the low bits.
20028 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
20029 unmolested high bits of %rbp while demangling the low bits.
20030 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
20031
66274218
AJ
200322012-05-21 Andreas Jaeger <aj@suse.de>
20033
07c58f8f
AJ
20034 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
20035 * sunrpc/svc_simple.c: Use it for registerrpc.
20036 * sunrpc/xcrypt.c: Use it for passwd2des.
20037
66274218
AJ
20038 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
20039
61f65140
L
200402012-05-21 H.J. Lu <hongjiu.lu@intel.com>
20041
20042 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
20043 Don't define if [__SYSCALL_WORDSIZE != 32].
20044 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
20045 New macro.
20046
5fefb436
AJ
200472012-05-21 Bruno Haible <bruno@clisp.org>
20048 Andreas Jaeger <aj@suse.de>
20049
20050 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
20051 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
20052 inptr and inend for must_buffer_ch.
20053 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
20054 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
20055 * stdio-common/Makefile (tests): Remove bug15.
20056 (bug15-ENV): Remove macro.
20057 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
20058 anymore.
20059
d8e272ab
AJ
200602012-05-19 Andreas Jaeger <aj@suse.de>
20061 Roland McGrath <roland@hack.frob.com>
20062
20063 * manual/contrib.texi: Completely rewritten. It contains now an
20064 alphabetical list of contributors and their contributions.
20065
4a56a162
RH
200662012-05-21 Richard Henderson <rth@twiddle.net>
20067
20068 * misc/getauxval.c (__getauxval): Use unsigned long int.
20069 * misc/sys/auxv.h: Include <sys/cdefs.h>.
20070 (getauxval): Use unsigned long int.
20071
d024d23c
L
200722012-05-21 H.J. Lu <hongjiu.lu@intel.com>
20073
20074 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
20075
cbc00a03
RM
200762012-05-21 Roland McGrath <roland@hack.frob.com>
20077
20078 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
20079 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
20080 __alignof__ (long double).
20081
478143fa
AZ
200822012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20083
20084 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20085
c7683a6d
RH
200862012-05-20 Richard Henderson <rth@twiddle.net>
20087
20088 * misc/getauxval.c: New file.
20089 * misc/sys/auxv.h: New file.
20090 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
20091 (routines): Add getauxval.
20092 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
20093 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
20094 * elf/dl-sysdep.c (_dl_auxv): Remove.
20095 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
20096 * elf/dl-support.c (_dl_auxv): New variable.
20097 (_dl_aux_init): Initialize it.
20098 * manual/startup.texi (Auxiliary Vector): New node.
20099 * sysdeps/generic/bits/hwcap.h: New file.
20100 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
20101 * sysdeps/powerpc/sysdep.h: ... here. Include it.
20102 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
20103 * sysdeps/sparc/sysdep.h: ... here. Include it.
20104 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
20105 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
20106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20107 Update.
c7683a6d
RH
20108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
20109 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
20110 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
20111 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
20112 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
20113 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
20114 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
20115 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
20116
a6f1845d
AZ
201172012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20118
20119 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20120
cbcbe830
DM
201212012-05-19 David S. Miller <davem@davemloft.net>
20122
20123 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20124
e0b16cc2
JM
201252012-05-19 Joseph Myers <joseph@codesourcery.com>
20126
20127 [BZ #14123]
20128 * math/s_ccosh.c: Include <float.h>
20129 (__ccosh): Avoid internal overflow calculating sinh and cosh
20130 values before multiplying by sin and cos values.
20131 * math/s_ccoshf.c: Likewise.
20132 * math/s_ccoshl.c: Likewise.
20133 * math/s_csin.c: Likewise.
20134 * math/s_csinf.c: Likewise.
20135 * math/s_csinl.c: Likewise.
20136 * math/s_csinh.c: Likewise.
20137 * math/s_csinhf.c: Likewise.
20138 * math/s_csinhl.c: Likewise.
20139 * math/libm-test.inc (ccos_test): Add more tests.
20140 (ccosh_test): Likewise.
20141 (csin_test): Likewise.
20142 (csinh_test): Likewise.
20143 * sysdeps/i386/fpu/libm-test-ulps: Update.
20144 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20145
6ad13e08
L
201462012-05-19 H.J. Lu <hongjiu.lu@intel.com>
20147
f66f0ce8
L
20148 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
20149 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
20150
6ad13e08
L
20151 * sysdeps/x86_64/x32/_itoa.h: Add comment.
20152
b1d072a7
JM
201532012-05-19 Joseph Myers <joseph@codesourcery.com>
20154
20155 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
20156 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
20157 * sysdeps/powerpc/soft-fp/Versions: Likewise.
20158 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
20159 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
20160 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
20161 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
20162 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
20163 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
20164 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
20165 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
20166 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
20167 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
20168 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
20169 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
20170 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
20171 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
20172 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
20173 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
20174 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
20175 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
20176 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
20177 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
20178 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
20179 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
20180 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
20181 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
20182 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
20183 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
20184 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
20185 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
20186
9eae47cb
AJ
201872012-05-18 Andreas Jaeger <aj@suse.de>
20188
20189 * csu/.gitignore: Delete.
20190
bb07f69f
L
201912012-05-18 H.J. Lu <hongjiu.lu@intel.com>
20192
20193 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
20194 (timex): Use __syscall_slong_t.
20195
e6bdb741
AJ
201962012-05-18 Andreas Jaeger <aj@suse.de>
20197 Carlos O'Donell <carlos_odonell@mentor.com>
20198
20199 * manual/install.texi (Configuring and compiling): Update
20200 description about files modified in the source directory.
d6c33fda 20201 * INSTALL: Regenerated.
e6bdb741 20202
1b74487e
L
202032012-05-18 H.J. Lu <hongjiu.lu@intel.com>
20204
20205 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
20206 value. Use "or" to set return value to -1.
20207 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
20208 negate return value.
20209
a88b64b9
TMQMF
202102012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20211
20212 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
20213 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
20214 failure if the compiler has Graphite support disabled.
20215 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
20216 Likewise.
20217 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
20218 CFLAGS-memmove.c): Likewise.
20219 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
20220 Likewise.
20221
3707636e
L
202222012-05-18 H.J. Lu <hongjiu.lu@intel.com>
20223
610b8622
L
20224 * sysdeps/x86_64/x32/_itoa.h: New file.
20225
7cd195df
L
20226 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
20227 getdents system call only if kernel and user dirents have the
20228 same d_ino and d_off.
20229
94b07d20
L
20230 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
20231 LLONG_MAX != LONG_MAX.
20232 (_itoa_word): Use _ITOA_WORD_TYPE on value.
20233 (_fitoa_word): Likewise.
20234
18298070
L
20235 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
20236 years.
20237 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
20238 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
20239 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
20240
553c7ea4
L
20241 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
20242 include <bits/wordsize.h>. Check __x86_64__ instead of
20243 __WORDSIZE.
20244 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
20245 if __x86_64__ is defined. Use anonymous union on fpstate.
20246
3707636e
L
20247 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
20248 anonymous union.
20249
b53ef01a
AS
202502012-05-18 Andreas Schwab <schwab@linux-m68k.org>
20251
37fb1dc0
AS
20252 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
20253 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
20254 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
20255 Refer to _rtld_local_ro instead of _rtld_global_ro.
20256 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
20257 Likewise.
20258 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
20259 Likewise.
20260 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
20261 Likewise.
20262 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
20263 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
20264 of _rtld_global, and rtld_progname instead of _dl_argv[0].
20265
b53ef01a
AS
20266 * sysdeps/powerpc/powerpc32/dl-machine.c
20267 (__elf_machine_runtime_setup) [PROF]: Don't reference
20268 _dl_prof_resolve.
20269
7a185db2
AJ
202702012-05-18 Andreas Jaeger <aj@suse.de>
20271
20272 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
20273 function only available for GCCs before 3.4 since GCC 3.4
20274 introduced a builtin.
20275 (lrint): Likewise.
20276 (llrintf): Likewise.
20277 (llrint): Likewise.
20278 (fmaxf): Likewise.
20279 (fmax): Likewise.
20280 (fminf): Likewise.
20281 (fmin): Likewise.
20282 (rint): Likewise.
20283 (rintf): Likewise.
20284 (nearbyint): Likewise.
20285 (nearbyintf): Likewise.
20286 (ceil): Likewise.
20287 (ceilf): Likewise.
20288 (floor): Likewise.
20289 (floorf): Likewise.
20290
3e5aef87
L
202912012-05-17 H.J. Lu <hongjiu.lu@intel.com>
20292
428bd707
L
20293 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
20294 on both fields and cast pointer to __syscall_ulong_t.
20295
3e5aef87
L
20296 * bits/types.h (__fsword_t): New type.
20297 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
20298 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
20299 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20300 (__FSWORD_T_TYPE): Likewise.
20301 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20302 (__FSWORD_T_TYPE): Likewise.
20303 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20304 (__FSWORD_T_TYPE): Likewise.
20305 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
20306 (__FSWORD_T_TYPE): Likewise.
20307 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
20308 __SWORD_TYPE with __fsword_t.
20309 (statfs64): Likewise.
20310
1ba7c3dc
DM
203112012-05-17 David S. Miller <davem@davemloft.net>
20312
20313 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
20314
59910343
AJ
203152012-05-17 Andreas Jaeger <aj@suse.de>
20316
20317 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
20318 warning.
20319
2e4c1e9e
L
203202012-05-17 H.J. Lu <hongjiu.lu@intel.com>
20321
20322 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
20323
de7f5ce7
AJ
203242012-05-17 Andreas Jaeger <aj@suse.de>
20325
20326 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
20327 when it is used.
20328
286abc3d
CM
203292012-05-17 Chris Metcalf <cmetcalf@tilera.com>
20330
20331 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
20332
477cc68e
L
203332012-05-17 H.J. Lu <hongjiu.lu@intel.com>
20334
20335 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
20336 * sysdeps/x86_64/tst-mallocalign1.c: New file.
20337
1a0994f5
CD
203382012-05-17 Andreas Jaeger <aj@suse.de>
20339 Carlos O'Donell <carlos_odonell@mentor.com>
20340
20341 [BZ #14059]
20342 * sysdeps/x86_64/multiarch/init-arch.h
20343 (bit_YMM_Usable): Rename to...
20344 (bit_AVX_Usable): ... this.
20345 (bit_FMA4_Usable): New macro.
20346 (bit_XMM_state): New macro.
20347 (bit_YMM_state): New macro.
20348 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
20349 [__ASSEMBLER__] (index_AVX_Usable): ... this.
20350 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
20351 (CPUID_OSXSAVE): New macro.
20352 (CPUID_AVX): New macro.
20353 (CPUID_FMA4): New macro.
20354 (index_YMM_Usable): Rename to...
20355 (index_AVX_Usable): ... this.
20356 (HAS_AVX): Use HAS_ARCH_FEATURE.
20357 (HAS_FMA4): Likewise.
20358 (HAS_YMM_USABLE): Remove.
20359 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20360 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
20361 are present.
20362 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
20363 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
20364 * sysdeps/x86_64/multiarch/Makefile: Likewise.
20365 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
20366 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
20367
0af797de
CM
203682012-05-17 Chris Metcalf <cmetcalf@tilera.com>
20369
20370 * math/libm-test.c: Support platforms without multiple rounding modes.
20371 * math/bug-nextafter.c: Support platforms without FP exceptions.
20372 * math/bug-nexttoward.c: Likewise.
20373 * math/test-fenv.c: Likewise.
20374 * math/test-misc.c: Likewise.
20375 * stdlib/bug-getcontext.c: Likewise.
20376
e39745ff
AJ
203772012-05-17 Andreas Jaeger <aj@suse.de>
20378
20379 * manual/examples/search.c (critter_cmp): Change signature to
20380 avoid warnings.
20381 * manual/string.texi (Collation Functions): Likewise.
20382
48970aba
L
203832012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20384
20385 * bits/types.h: Fold copyright years.
20386 * bits/typesizes.h: Likewise.
20387 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
20388 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
20389 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
20390 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
20391 * time/time.h: Likewise.
20392
bedee953
PP
203932012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
20394
20395 [BZ #208]
20396 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
20397 in instead of returning them. Return void.
20398 (__libc_mallinfo): Accumulate over all arenas.
20399 (__malloc_stats): Adjust for change in int_mallinfo interface.
20400
61653dfb
RM
204012012-05-16 Roland McGrath <roland@hack.frob.com>
20402
30b99d79
RM
20403 [BZ #10375]
20404 * configure.in (NM): Add AC_CHECK_TOOL for it.
20405 (libc_extra_cflags): New substituted variable.
20406 Check for -fstack-protector being used implicitly.
20407 * configure: Regenerated.
20408 * config.make.in (config-extra-cflags): New variable,
20409 gets @libc_extra_cflags@.
20410 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
20411
61653dfb
RM
20412 [BZ #10375]
20413 * configure.in: Check for _FORTIFY_SOURCE being predefined.
20414 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
20415 * configure: Regenerated.
20416 * config.make.in (CPPUNDEFS): New substituted variable.
20417 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
20418 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
20419 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
20420
661768bb
L
204212012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20422
20423 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
20424 (mq_attr): Use __syscall_slong_t.
20425
d4261567
L
204262012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20427
20428 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
20429 Check __x86_64__ instead of __WORDSIZE.
20430 (_STAT_VER_LINUX): Likewise.
20431 (stat): Check __x86_64__ instead of __WORDSIZE. Use
20432 __syscall_ulong_t and __syscall_slong_t.
20433 (stat64): Likewise.
20434
cf3ff365
L
204352012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20436
20437 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
20438
76cf3e4d
L
204392012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20440
20441 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
20442
a637753a
L
204432012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20444
20445 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
20446 __syscall_ulong_t.
20447
d5e05119
L
20448 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
20449 include <bits/wordsize.h>. Check __x86_64__ instead of
20450 __WORDSIZE.
20451 (greg_t): Use "__extension__ long long int" if __x86_64__ is
20452 defined.
20453 (mcontext_t): Replace "unsigned long" with "unsigned long long".
20454
f62ee380
L
20455 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
20456 include <bits/wordsize.h>. Check __x86_64__ instead of
20457 __WORDSIZE.
20458 (user_regs_struct): Use "__extension__ unsigned long long"
20459 instead of "unsigned long" if __x86_64__ is defined.
20460 (user): Likewise. Pad after pointer field if __ILP32__ is
20461 defined.
20462
4e124ced
JM
204632012-05-16 Joseph Myers <joseph@codesourcery.com>
20464
6a3951a0
JM
20465 * configure.in (makeinfo): Require version 4.5 or later. Allow
20466 versions 5 to 9.
20467 * configure: Regenerated.
20468 * manual/install.texi (texinfo): Increase version requirement to
20469 4.5 or later.
20470 * INSTALL: Regenerated.
20471
4e124ced
JM
20472 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
20473
953ca31a
L
204742012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20475
20476 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
20477
617aca05
L
20478 * sysdeps/x86_64/x32/ffs.c: New file.
20479
5762f7ae
L
20480 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
20481 __syscall_ulong_t.
20482 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
20483 defined. Use __syscall_ulong_t.
20484 (shminfo): Use __syscall_ulong_t.
20485 (shm_info): Likewise.
20486
a26b6856
L
20487 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
20488 __syscall_ulong_t.
20489
cb2b9ef7
L
20490 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
20491 <bits/wordsize.h>.
20492 (msgqnum_t): Use __syscall_ulong_t.
20493 (msglen_t): Likewise.
20494 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
20495 __syscall_ulong_t.
20496
34683bb0
L
20497 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
20498 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
20499
84a68786
L
20500 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
20501
48baa5f1
L
20502 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
20503 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
20504
180be88b
L
20505 * sysvipc/sys/msg.h (msgbuf): Replace long int with
20506 __syscall_slong_t.
20507
5e90c8ad
L
20508 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
20509 include <bits/wordsize.h>. Check __x86_64__ instead of
20510 __WORDSIZE.
20511
23dfb58b
L
20512 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
20513 "unsigned long long int" if __x86_64__ is defined.
20514 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
20515
ce5d54b0
L
20516 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
20517 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
20518 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
20519
13dc9eac
L
20520 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
20521 <stdint.h>.
20522 (GET_PC): Cast to uintptr_t first.
20523 (GET_FRAME): Likewise.
20524 (GET_STACK): Likewise.
20525
a7895d15
L
20526 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
20527 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
20528 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
20529 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
20530 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
20531 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
20532 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
20533 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
20534 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
20535 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
20536 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
20537 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
20538 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
20539 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
20540 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
20541 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
20542 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
20543 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
20544 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
20545 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
20546 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
20547 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
20548 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
20549 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
20550 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
20551 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
20552 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
20553 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
20554 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
20555
656416c9
AS
205562012-05-16 Andreas Schwab <schwab@linux-m68k.org>
20557
5bd66283
AS
20558 * Makerules (+depfiles): Also collect depfiles from .oS in
20559 $(extra-objs).
20560 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
20561 .oS, $(libnldbl-routines)).
20562
656416c9
AS
20563 * Makerules (native-compile-mkdep-flags): Define.
20564 * sunrpc/Makefile (extra-objs): Add $(addprefix
20565 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
20566 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
20567 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
20568 calling $(make-target-directory).
20569
a46f2169
L
205702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20571
20572 * bits/types.h (__snseconds_t): Removed.
20573 * time/time.h (struct timespec): Replace __snseconds_t with
20574 __syscall_slong_t.
20575 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
20576 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
20577 Likewise.
20578 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20579 (__SNSECONDS_T_TYPE): Likewise.
20580 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20581 (__SNSECONDS_T_TYPE): Likewise.
20582 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20583 (__SNSECONDS_T_TYPE): Likewise.
20584
6af6528b
L
205852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20586
20587 * sysdeps/mach/hurd/bits/typesizes.h
20588 (__SYSCALL_SLONG_TYPE): New macro.
20589 (__SYSCALL_ULONG_TYPE): Likewise.
20590
de986b56
L
205912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20592
20593 * bits/types.h (__syscall_slong_t): New type.
20594 (__syscall_ulong_t): Likewise.
20595
20596 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
20597 (__SYSCALL_ULONG_TYPE): Likewise.
20598 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20599 (__SYSCALL_SLONG_TYPE): Likewise.
20600 (__SYSCALL_ULONG_TYPE): Likewise.
20601 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20602 (__SYSCALL_SLONG_TYPE): Likewise.
20603 (__SYSCALL_ULONG_TYPE): Likewise.
20604 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20605 (__SYSCALL_SLONG_TYPE): Likewise.
20606 (__SYSCALL_ULONG_TYPE): Likewise.
20607
85736dc7
L
206082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20609
20610 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
20611 Add sigaltstack-offsets.sym.
20612 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
20613 <sigaltstack-offsets.h>.
20614 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
20615 longjmp_msg pointer.
20616 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
20617 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
20618 signal stack.
20619 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
20620
cc03b296
JM
206212012-05-15 Joseph Myers <joseph@codesourcery.com>
20622
a9538892
JM
20623 * elf/stackguard-macros.h: Remove file.
20624 * sysdeps/generic/stackguard-macros.h: New file.
20625 * sysdeps/i386/stackguard-macros.h: Likewise.
20626 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
20627 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
20628 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
20629 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
20630 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
20631 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
20632 * sysdeps/x86_64/stackguard-macros.h: Likewise.
20633 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
20634 <elf/stackguard-macros.h>.
20635
cc03b296
JM
20636 [BZ #14109]
20637 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
20638 __aligned__ in attribute.
20639 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
20640 (gregset_t): Likewise.
20641
93171016
L
206422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20643
20644 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
20645 * sysdeps/x86_64/64/Implies-after: Here. New file.
20646 * sysdeps/x86_64/x32/Implies-after: New file.
20647
d86813a0
L
206482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20649
20650 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
20651 and access return value for _dl_profile_fixup. Use R10_LP to
20652 load frame size.
20653
2953ec75
L
206542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20655
20656 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
20657
3b550e9e
L
206582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20659
20660 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
20661 * sysdeps/x86_64/x32/sysdep.h: New file.
20662
eda41706
L
206632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20664
20665 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
20666 * sysdeps/x86_64/setjmp.S: Likewise.
20667
9ea01d93
AZ
206682012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20669
20670 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
20671 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
20672 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
20673 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
20674 remove unused global constant.
20675
02a91938
CM
206762012-05-15 Chris Metcalf <cmetcalf@tilera.com>
20677
20678 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
20679 include of <not-cancel.h>.
20680
6540185f
RM
206812012-05-15 Roland McGrath <roland@hack.frob.com>
20682
20683 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
20684
509072a0
AJ
206852012-05-15 Jeff Law <law@redhat.com>
20686 Andreas Jaeger <aj@suse.de>
20687
20688 [BZ #13594]
20689 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
20690 out from...
20691 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
20692 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
20693 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
20694 code changing __hst_map_handle.map.
20695
ba75122d
RM
206962012-05-15 Roland McGrath <roland@hack.frob.com>
20697
20698 * configure.in (sysnames): Look for Implies-before and Implies-after
20699 files.
20700 * configure: Regenerated.
20701
890d8bd8
L
207022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20703
20704 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
20705 8-byte data alignment with LP_SIZE alignment.
20706
f6ee6623
L
207072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20708
20709 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
20710 into R10_LP.
20711
ea2626f6
L
207122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20713
20714 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
20715
085f715e
L
207162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20717
20718 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
20719 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
20720 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
20721 Likewise.
20722 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
20723
be8498fc
L
207242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20725
20726 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
20727 (stackinfo_sub_sp): Likewise.
20728
70bc83b9
L
207292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20730
20731 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
20732 RAX_LP.
20733
9bc0b730
L
207342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20735
20736 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
20737 into R*_LP.
20738
6d2850e7
L
207392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20740
20741 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
20742 sizes into R*_LP.
20743
3cb84561
L
207442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20745
20746 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
20747
54e2ed81
L
207482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20749
20750 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
20751 into R11_LP and load __x86_64_shared_cache_size_half into
20752 R8_LP.
20753
8a17f349
L
207542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20755
20756 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
20757 R8_LP.
20758
777b1eea
AZ
207592012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20760
20761 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
20762 logb for POWER7.
20763 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
20764 logbf for POWER7.
20765 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
20766 logbl for POWER7.
20767 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
20768 powerpc32/power7/fpu/s_logb.c via #include.
20769 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
20770 powerpc32/power7/fpu/s_logbf.c via #include.
20771 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
20772 powerpc32/power7/fpu/s_logbl.c via #include.
20773
d20d4ac2
JM
207742012-05-15 Joseph Myers <joseph@codesourcery.com>
20775
20776 * README.libm: Remove file.
20777
6cdef1ab
L
207782012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20779
20780 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
20781 count for x32. Use R*_LP and omit operand-size suffix.
20782
0b254d8f
L
207832012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20784
20785 * shlib-versions: Move x86_64-.*-linux.* entries to ...
20786 * sysdeps/x86_64/64/shlib-versions: Here. New file.
20787 * sysdeps/x86_64/x32/shlib-versions: New file.
20788
ceb809dc
RM
207892012-05-14 Roland McGrath <roland@hack.frob.com>
20790
20791 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
20792 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
20793 Use _dl_fatal_printf instead.
20794
37f1abd4
JM
207952012-05-14 Joseph Myers <joseph@codesourcery.com>
20796
20797 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
20798 set if not set by the user. Do not allow for being unset.
20799 * sysdeps/unix/sysv/linux/configure: Regenerated.
20800
11de3a33
L
208012012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20802
20803 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
20804 the `q' suffix from lea and replace .quad with ASM_ADDR.
20805
e02f153a
L
208062012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20807
20808 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
20809 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
20810 instead of $17.
20811 (PTR_DEMANGLE): Likewise.
20812
520ae0fd
L
208132012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20814
20815 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
20816 (LP_OP): Likewise.
20817 (ASM_ADDR): Likewise.
20818 (RAX_LP): Likewise.
20819 (RBP_LP): Likewise.
20820 (RBX_LP): Likewise.
20821 (RCX_LP): Likewise.
20822 (RDI_LP): Likewise.
20823 (RSI_LP): Likewise.
20824 (RSP_LP): Likewise.
20825 (R8_LP): Likewise.
20826 (R9_LP): Likewise.
20827 (R10_LP): Likewise.
20828 (R10_LP): Likewise.
20829 (R11_LP): Likewise.
20830 (R12_LP): Likewise.
20831 (R13_LP): Likewise.
20832 (R14_LP): Likewise.
20833 (R15_LP): Likewise.
20834
b985be81
L
208352012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20836
20837 * sysdeps/x86_64/x32/dl-machine.h: New file.
20838
6a4888ff
AJ
208392012-05-14 Andreas Jaeger <aj@suse.de>
20840
20841 * manual/Makefile (subdir): Remove export of subdir.
20842 (all): Remove target.
20843 (.PHONY): Remove all from list.
20844 (mkinstalldirs): Remove.
20845 (.PHONY): Remove installdirs from list.
20846 ($(inst_infodir)/libc.info): Use make-target-directory.
20847 (installdirs): Remove.
20848 (subdir_%): Remove.
20849 (glibc-targets): Remove.
20850 (lib): Remove.
20851 (stubs): Remove.
20852 ($(objpfx)stubs ../po/manual.pot): Remove.
20853 ($(objpfx)stamp%): Remove.
20854 (make-target-directory): Remove.
20855 (subdir_install): Remove.
20856 (routines): Remove.
20857 (aux): Remove.
20858 (sources): Remove.
20859 (objects): Remove.
20860 (headers): Remove.
20861
20862 [BZ #13750]
20863 * manual/.gitignore: Remove, it's not needed anymore.
20864 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
20865 all files in it.
20866 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
20867 directory.
20868 (texis): Renamed to $(objpfx)texis.
20869 (texis-path): New, contains path to generated files.
20870 (chapters.%): Use texis-path for complete path, add extra argument
20871 libc-texinfo.sh.
20872 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
20873 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
20874 (summary,texi, stamp-summary): Use complete path of
20875 files. Generate files in build dir.
20876 (dir-add.texi): Build in build dir.
20877 (libm-err.texi,stamp-libm-err): Likewise.
20878 (version.texi, stamp-version): Likewise.
20879 (.%c.texi): Likewise.
20880 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
20881 (mostlyclean): Remove target.
20882 (realclean): Remove target.
20883 (generated): Add new variable with contents from mostlyclean and
20884 realclean, remove entries duplicated in common-mostlyclean, add
20885 stamp-libm-err and stamp-version.
20886 (generated-dirs): Add libc directory.
20887 ($(inst_infodir)/libc.info): Install files from build dir.
20888
20889 * manual/install.texi (Configuring and compiling): Adjust since
20890 the info files are not part of the tar ball anymore.
20891
7ac77294
AJ
208922012-05-14 Andreas Jaeger <aj@suse.de>
20893
20894 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
20895 variable.
20896
ffb7875d
JM
208972012-05-14 Joseph Myers <joseph@codesourcery.com>
20898
20899 [BZ #13717]
20900 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
20901 to 2.2.0 where earlier.
20902 * sysdeps/unix/sysv/linux/configure: Regenerated.
20903 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
20904 Remove conditional code.
20905 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
20906 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
20907 Remove conditional code.
20908 [!__NR_lchown]: Likewise.
20909 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20910 [__NR_lchown]: Likewise.
20911 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
20912 comment referencing __ASSUME_LCHOWN_SYSCALL.
20913 * sysdeps/unix/sysv/linux/i386/sigaction.c
20914 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20915 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20916 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
20917 Remove conditional code.
20918 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
20919 (__protocol_available): Remove #if 0 code.
20920 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
20921 conditional code.
20922 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
20923 * sysdeps/unix/sysv/linux/kernel-features.h
20924 (__ASSUME_GETCWD_SYSCALL): Don't define.
20925 (__ASSUME_REALTIME_SIGNALS): Likewise.
20926 (__ASSUME_PREAD_SYSCALL): Likewise.
20927 (__ASSUME_PWRITE_SYSCALL): Likewise.
20928 (__ASSUME_POLL_SYSCALL): Likewise.
20929 (__ASSUME_LCHOWN_SYSCALL): Likewise.
20930 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
20931 non-SPARC.
20932 (__ASSUME_SIOCGIFNAME): Don't define.
20933 (__ASSUME_MSG_NOSIGNAL): Likewise.
20934 (__ASSUME_SENDFILE): Define unconditionally.
20935 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
20936 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
20937 conditional code.
20938 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
20939 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
20940 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
20941 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20942 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
20943 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
20944 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
20946 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20947 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
20949 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20950 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
20952 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20953 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
20955 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20956 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
20958 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20959 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
20961 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20962 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
20964 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20965 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
20967 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20968 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20969 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
20970 Remove conditional code.
20971 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20972 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
20973 Remove conditional code.
20974 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20975 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
20976 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
20977 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
20978 Remove conditional code.
20979 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20980 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
20981 Remove conditional code.
20982 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20983 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
20984 Remove conditional code.
20985 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20986 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
20987 Remove conditional code.
20988 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20989 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
20990 Remove conditional code.
20991 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20992 * sysdeps/unix/sysv/linux/sh/pwrite64.c
20993 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20994 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20995 * sysdeps/unix/sysv/linux/sigaction.c
20996 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20997 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20998 * sysdeps/unix/sysv/linux/sigpending.c
20999 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21000 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21001 * sysdeps/unix/sysv/linux/sigprocmask.c
21002 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21003 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21004 * sysdeps/unix/sysv/linux/sigsuspend.c
21005 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21006 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21007 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
21008 (__libc_missing_rt_sigs): Remove.
21009 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
21010 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
21011 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
21012 Remove conditional code.
21013 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
21014 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
21015 return 1.
21016 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
21017 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
21018 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
21019 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
21020
1bfb7291
AJ
210212012-05-14 Andreas Jaeger <aj@suse.de>
21022
caae5a81
AJ
21023 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
21024 it's not used in glibc.
21025 (__coshm1): Likewise.
21026 (__acosh1p): Likewise.
21027 (__sgn): Likewise.
21028
1bfb7291
AJ
21029 * manual/string.texi (Copying and Concatenation): Add missing
21030 variable in concat example.
21031 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
21032
c044d724
L
210332012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21034
144c5467 21035 [BZ #14103]
c044d724
L
21036 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
21037 __builtin_clzl with __builtin_clzll.
21038
2523c62b
L
210392012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21040
21041 [BZ #14104]
21042 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
21043 libc_freeres_ptr.
21044
d7bb4c42
LD
210452012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21046
21047 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
21048 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
21049 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
21050 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
21051
9dc4e1fb
MF
210522012-05-14 Mike Frysinger <vapier@gentoo.org>
21053
21054 * NEWS: Update ia64 info.
21055
c7df0112
AS
210562012-05-12 Andreas Schwab <schwab@linux-m68k.org>
21057
21058 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
21059 used as bcopy.
21060
dc70356c
TS
210612012-05-12 Thomas Schwinge <thomas@codesourcery.com>
21062
21063 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
21064 * sysdeps/unix/syscalls.list (dup3): Likewise.
21065 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
21066 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
21067
9fb1a21f
L
210682012-05-11 H.J. Lu <hongjiu.lu@intel.com>
21069
21070 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
21071 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
21072
4822a2a5
L
210732012-05-11 H.J. Lu <hongjiu.lu@intel.com>
21074
21075 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
21076 thread pointer.
21077 (TLS_IE): Use mov/add instead of movq/addq to load thread
21078 pointer.
21079 (TLS_GD_PREFIX): New.
21080 (TLS_GD): Use it.
21081
842b81d6
DM
210822012-05-11 David S. Miller <davem@davemloft.net>
21083
21084 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
21085 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
21086 (_FPU_SETCW): Likewise.
21087
1cf463cd
L
210882012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21089
21090 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
21091 is 32-byte aligned.
21092
60cc4a18
AS
210932012-05-11 Andreas Schwab <schwab@linux-m68k.org>
21094
21095 [BZ #11837]
21096 * iconvdata/gb18030.c: Update tables.
21097 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
21098 characters specially.
21099 (BODY for TO_LOOP): Add encoding of missing ranges.
21100
febb44a4
TS
211012012-05-11 Thomas Schwinge <thomas@codesourcery.com>
21102
21103 [BZ #13673]
21104 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
21105 * sysdeps/mach/hurd/dup3.c: Likewise.
21106 * sysdeps/mach/hurd/readlinkat.c: Likewise.
21107 * sysdeps/powerpc/memmove.c:: Likewise.
21108
0a10fb9e
L
211092012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21110
21111 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
21112 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
21113
df8a552f
L
211142012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21115
21116 * elf/elf.h (R_X86_64_RELATIVE64): New.
21117 (R_X86_64_NUM): Updated.
21118 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
21119 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
21120 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
21121 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
21122 tst-quad1pie tst-quad2pie
21123 (modules-names): Add tst-quadmod1 tst-quadmod2.
21124 ($(objpfx)tst-quad1): New dependency.
21125 ($(objpfx)tst-quad2): Likewise.
21126 ($(objpfx)tst-quad1pie): Likewise.
21127 ($(objpfx)tst-quad2pie): Likewise.
21128 * sysdeps/x86_64/tst-quad1.c: New file.
21129 * sysdeps/x86_64/tst-quad1pie.c: New file.
21130 * sysdeps/x86_64/tst-quad2.c: Likewise.
21131 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
21132 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
21133 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
21134 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
21135 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
21136
f34d6f84
ST
211372012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21138
f42d41d1
ST
21139 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
21140 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
21141 * streams/stropts.h (t_scalar_t): Define type.
21142
3c3571fc
ST
21143 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
21144 (_PATH_PRESERVE): Set to "/var/lib".
21145 (_PATH_RWHODIR): Set to "/var/spool/rwho".
21146
61f06bd3
ST
21147 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
21148 instead of int.
21149
918d4d71
ST
21150 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
21151 if __dir_mkfile succeeded.
21152
f34d6f84
ST
21153 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
21154 checking for _hurd_dtablesize. Unlock it right after having
21155 finished _hurd_dtable allocation.
21156
10589b4a
TS
211572012-05-10 Thomas Schwinge <thomas@schwinge.name>
21158
674cdbc7
TS
21159 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
21160 * sysdeps/mach/hurd/configure: Regenerated.
21161 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
21162 special-casing to...
21163 * sysdeps/gnu/configure.in: ... this new file.
21164 * sysdeps/unix/sysv/linux/configure: Regenerated.
21165 * sysdeps/gnu/configure: New generated file.
21166
8e41b99f
TS
21167 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
21168 for Linux: use nsec instead of usec, as well as:
21169 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
21170 members of type struct timespec.
21171 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
21172 New macros.
21173 (struct stat64): Likewise.
21174 (_STATBUF_ST_NSEC): New macro.
21175 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
21176
10589b4a
TS
21177 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
21178 __strtoul_internal rather than strtoul.
21179
63643c85
PT
211802012-05-10 Pino Toscano <toscano.pino@tiscali.it>
21181
21182 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
21183 and reject them.
21184
3faebe6a
ST
211852012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21186
21187 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
21188 which preserves existing values.
21189 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
21190
c6474b07
PT
211912012-05-10 Pino Toscano <toscano.pino@tiscali.it>
21192
21193 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
21194 TIMEOUT values. Return EINVAL for NFDS values either negative or
21195 greater than FD_SETSIZE.
21196
1043890b
ST
211972012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21198
21199 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
21200 allocated, call __vm_protect to finish enabling the existing space, and
21201 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
21202 allocate the remainder.
21203
37ed8b9b
PT
212042012-05-10 Pino Toscano <toscano.pino@tiscali.it>
21205
21206 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
21207 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
21208
db653660
ST
212092012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21210
37ed8b9b
PT
21211 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
21212 sysdeps/mach/hurd/readlink.c.
b29d4053 21213
db653660
ST
21214 * posix/tst-sysconf.c (posix_options): Only use
21215 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
21216 _POSIX_SYNCHRONIZED_IO when they are defined
21217 * sysdeps/mach/hurd/bits/posix_opt.h:
21218 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
21219 (_XOPEN_REALTIME): Undefine macro.
21220 (_XOPEN_REALTIME_THREADS): Undefine macro.
21221 (_XOPEN_SHM): Undefine macro.
21222 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
21223 macro to -1.
21224 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
21225 macro to -1.
21226 (_POSIX_ASYNC_IO): Undefine macro.
21227 (_POSIX_PRIORITIZED_IO): Undefine macro.
21228 (_POSIX_SPIN_LOCKS): Define macro to -1.
21229
ee16e894
ST
21230 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
21231 SA_NODEFER, SA_RESETHAND.
21232 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
21233 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
21234 F_DUPFD_CLOEXEC.
21235
6103ae3b
TS
212362012-05-10 Thomas Schwinge <thomas@schwinge.name>
21237
21238 * elf/Makefile (pldd-modules): Define unconditionally.
21239
80b4e5f3
TS
212402012-05-10 Thomas Schwinge <thomas@schwinge.name>
21241
21242 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
21243
edadcbd6
ST
212442012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21245
21246 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
21247 Return ENOENT when name is empty.
21248 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
21249
80694780
TS
212502012-05-10 Thomas Schwinge <thomas@schwinge.name>
21251
1792c087
TS
21252 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
21253
80694780
TS
21254 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
21255
6b645f0d
ST
212562012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21257
80694780
TS
21258 Fix mlock in all cases except non-readable pages.
21259 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
21260 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 21261
6b645f0d
ST
21262 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
21263 (__mkdir): When path is `/', just fail with EEXIST.
21264 * sysdeps/mach/hurd/mkdirat.c: Likewise.
21265
e468f8a3
TS
212662012-05-10 Thomas Schwinge <thomas@schwinge.name>
21267
21268 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
21269 <sys/uio.h> (for writev).
21270 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
21271 and <sys/param.h> (for MIN).
21272
a4186cff
PT
212732012-05-10 Pino Toscano <toscano.pino@tiscali.it>
21274
21275 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
21276 REQUESTED_TIME. Properly set the remaining time and return EINTR
21277 if interrupted.
21278
510bbf14
TS
212792012-05-10 Thomas Schwinge <thomas@schwinge.name>
21280
21281 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
21282 Depend on against $(link-rpcuserlibs).
21283
5d5722e8
ST
212842012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21285
a4186cff
PT
21286 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
21287 (__libc_stack_end): Do not use attribute_relro.
21288 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
21289 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 21290 to libthread-provided value.
a4186cff
PT
21291 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
21292 attribute_relro.
5d5722e8 21293
37233df9
TS
212942012-05-10 Thomas Schwinge <thomas@schwinge.name>
21295
be971a2b
TS
21296 [BZ #3748]
21297 * bits/libc-lock.h (__libc_once_get): New macro.
21298 * sysdeps/mach/bits/libc-lock.h: Likewise.
21299 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
21300 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
21301 instead of using implementation details.
21302
37233df9
TS
21303 * libio/fileops.c: Unconditionally include <kernel-features.h>.
21304 * libio/freopen.c: Likewise.
21305 * libio/freopen64.c: Likewise.
21306 * misc/syslog.c: Likewise.
21307 * nscd/connections.c: Likewise.
21308 * nscd/netgroupcache.c: Likewise.
21309 * sysdeps/posix/getcwd.c: Likewise.
21310
38de94a5
RM
213112012-05-10 Roland McGrath <roland@hack.frob.com>
21312
21313 * math/w_ilogbf.c: Add #include <limits.h>.
21314
67530489
ST
213152012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21316
a4186cff 21317 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
21318 path instead of returning without unlocking.
21319
67530489
ST
21320 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
21321 immediate-write ioctls.
21322 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
21323
5aa3a74a
TS
213242012-05-10 Thomas Schwinge <thomas@schwinge.name>
21325
18bad2ae
TS
21326 * sysdeps/mach/hurd/i386/init-first.c (init): Use
21327 __builtin_frame_address instead of making assumptions about the
21328 location of the return address relative to DATA. Force early load of
21329 the return address.
21330 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
21331 __builtin_frame_address.
21332
5aa3a74a
TS
21333 dup3 for GNU Hurd.
21334 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
21335 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
21336 implement dup3 and do some further code clean-ups.
21337 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
21338 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
21339
ecd0de9a
ST
213402012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21341
cd9fa985
ST
21342 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
21343
a4186cff
PT
21344 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
21345 HURD_CRITICAL_END around holding _hurd_dtable_lock.
21346 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
21347 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
21348 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
21349 d->port.lock.
802ca5a5 21350
a4186cff
PT
21351 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
21352 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
21353 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 21354
bcf55240
TS
213552012-05-10 Thomas Schwinge <thomas@schwinge.name>
21356
6960eb42
TS
21357 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
21358 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
21359 definitions.
21360
eb43375f
TS
21361 accept4 for GNU Hurd.
21362 * include/sys/socket.h (__libc_accept4): New prototype.
21363 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
21364 to implement __libc_accept4.
21365 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
21366 __libc_accept4.
21367 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
21368
bcf55240
TS
21369 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
21370 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
21371 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
21372 signal-defines.sym.
21373
6178c55b
ST
213742012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21375
a4186cff 21376 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 21377
6f080c2f
TS
213782012-05-10 Thomas Schwinge <thomas@schwinge.name>
21379
21380 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
21381 assertion on O_CLOEXEC flag.
21382 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
21383 * hurd/intern-fd.c: Likewise.
21384 * hurd/port2fd.c: Likewise.
21385
bcfe3a54
ST
213862012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21387
21388 [BZ #3906]
21389 * bits/in.h (IPV6_PKTINFO): Define new macro.
21390 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
21391
89c9aa49
AZ
213922012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21393
21394 [BZ #13954]
21395 [BZ #13955]
21396 [BZ #13956]
21397 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
21398 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
21399 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
21400 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
21401 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21402 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
21403 * math/libm-test.inc (logb_test) : Additional logb tests.
21404
021db4be
AJ
214052012-05-09 Andreas Schwab <schwab@linux-m68k.org>
21406 Andreas Jaeger <aj@suse.de>
21407
21408 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
21409 * configure: Regenerated.
21410 * config.h.in (LINK_OBSOLETE_RPC): New macro.
21411 * config.make.in (link-obsolete-rpc): New substituted variable.
21412 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
21413 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
21414 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
21415 (shared-only-routines): Don't set it under [link-obsolete-rpc],
21416 so that libc.a contains the symbols.
21417 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
21418 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
21419 * sunrpc/auth_none.c: Likewise.
21420 * sunrpc/auth_unix.c: Likewise.
21421 * sunrpc/authdes_prot.c: Likewise.
21422 * sunrpc/authuxprot.c: Likewise.
21423 * sunrpc/clnt_gen.c: Likewise.
21424 * sunrpc/clnt_perr.c: Likewise.
21425 * sunrpc/clnt_raw.c: Likewise.
21426 * sunrpc/clnt_simp.c: Likewise.
21427 * sunrpc/clnt_tcp.c: Likewise.
21428 * sunrpc/clnt_udp.c: Likewise.
21429 * sunrpc/clnt_unix.c: Likewise.
21430 * sunrpc/des_crypt.c: Likewise.
21431 * sunrpc/des_soft.c: Likewise.
21432 * sunrpc/get_myaddr.c: Likewise.
21433 * sunrpc/key_call.c: Likewise.
21434 * sunrpc/key_prot.c: Likewise.
21435 * sunrpc/netname.c: Likewise.
21436 * sunrpc/pm_getmaps.c: Likewise.
21437 * sunrpc/pm_getport.c: Likewise.
21438 * sunrpc/pmap_clnt.c: Likewise.
21439 * sunrpc/pmap_prot.c: Likewise.
21440 * sunrpc/pmap_prot2.c: Likewise.
21441 * sunrpc/pmap_rmt.c: Likewise.
21442 * sunrpc/publickey.c: Likewise.
21443 * sunrpc/rpc_cmsg.c: Likewise.
21444 * sunrpc/rpc_common.c: Likewise.
21445 * sunrpc/rpc_dtable.c: Likewise.
21446 * sunrpc/rpc_prot.c: Likewise.
21447 * sunrpc/rpc_thread.c: Likewise.
21448 * sunrpc/rtime.c: Likewise.
21449 * sunrpc/svc.c: Likewise.
21450 * sunrpc/svc_auth.c: Likewise.
21451 * sunrpc/svc_raw.c: Likewise.
21452 * sunrpc/svc_run.c: Likewise.
21453 * sunrpc/svc_tcp.c: Likewise.
21454 * sunrpc/svc_udp.c: Likewise.
21455 * sunrpc/svc_unix.c: Likewise.
21456 * sunrpc/svcauth_des.c: Likewise.
21457 * sunrpc/xcrypt.c: Likewise.
21458 * sunrpc/xdr.c: Likewise.
21459 * sunrpc/xdr_array.c: Likewise.
21460 * sunrpc/xdr_float.c: Likewise.
21461 * sunrpc/xdr_intXX_t.c: Likewise.
21462 * sunrpc/xdr_mem.c: Likewise.
21463 * sunrpc/xdr_rec.c: Likewise.
21464 * sunrpc/xdr_ref.c: Likewise.
21465 * sunrpc/xdr_sizeof.c: Likewise.
21466 * sunrpc/xdr_stdio.c: Likewise.
21467
b5c086a2
RM
214682012-05-10 Roland McGrath <roland@hack.frob.com>
21469
21470 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
21471 change. Update copyright years.
21472
6d74dd09
JM
214732012-05-10 Joseph Myers <joseph@codesourcery.com>
21474
21475 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
21476
28e72501
MK
214772012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
21478 Joseph Myers <joseph@codesourcery.com>
21479 Paul Pluzhnikov <ppluzhnikov@google.com>
21480
21481 [BZ #14012]
21482 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
21483 requiring rpcgen.
21484 [cross-compiling] (extra-libs): Likewise.
21485 [cross-compiling] (extra-libs-others): Likewise.
21486 [cross-compiling] (librpcsvc-routines): Likewise.
21487 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
21488 [cross-compiling] (omit-deps): Likewise.
21489 (sunrpc-CPPFLAGS): New variable.
21490 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
21491 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
21492 (cross-rpcgen-objs): New variable.
21493 (extra-objs): Append $(cross-rpcgen-objs).
21494 ($(cross-rpcgen-objs)): New rule.
21495 ($(objpfx)cross-rpcgen): Likewise.
21496 (rpcgen-cmd): Define to use $(built-program-file). Expand
21497 comment.
21498 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
21499 ($(objpfx)x%.stmp): Likewise.
21500 * sunrpc/proto.h [IS_IN_build] (_): Define.
21501 [IS_IN_build] (_libc_intl_domainname): Likewise.
21502
c8c59454
L
215032012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21504
21505 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
21506 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
21507 and R_X86_64_TPOFF64.
21508
6f27cd16
JM
215092012-05-10 Joseph Myers <joseph@codesourcery.com>
21510
21511 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
21512 sysdeps/unix/sysv/syscalls.list.
21513 (stime): Likewise.
21514 (utime): Likewise.
21515 * sysdeps/unix/sysv/syscalls.list: Remove file.
21516
02467e1c
PE
215172012-05-10 Paul Eggert <eggert@cs.ucla.edu>
21518
21519 [BZ #3440]
21520 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
21521 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
21522 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
21523 (__LC_IDENTIFICATION): Make these macros useful in #if
21524 expressions, as required by C99.
21525
da392631
AS
215262012-05-10 Andreas Schwab <schwab@linux-m68k.org>
21527
21528 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
21529 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
21530 after this.
21531
8115f29b
L
215322012-05-09 H.J. Lu <hongjiu.lu@intel.com>
21533
21534 * stdlib/longlong.h: Updated from GCC.
21535
bdd74070
AJ
215362012-05-09 Andreas Jaeger <aj@suse.de>
21537
edfe0dbe
AJ
21538 * nscd/nscd.c (run_modes): Make named enum, reorder so that
21539 default is first entry.
21540 (run_mode): Set type.
21541 (main): Remove informal message about syslog.
21542 (options): Fix typo.
21543
bcfe3a54
ST
21544 [BZ #14053]
21545 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 21546 to asm.
bcfe3a54
ST
21547 (lrint): Likewise.
21548 (llrintf): Likewise.
21549 (llrint): Likewise.
21550 (rint): Likewise.
21551 (rintf): Likewise.
21552 (nearbyint): Likewise.
21553 (nearbyintf): Likewise.
bdd74070 21554
91d8d69e
AJ
215552012-05-09 Andreas Jaeger <aj@suse.de>
21556 Pedro Alves <palves@redhat.com>
21557
21558 * nscd/nscd.c (run_mode): Use enum.
21559 (main): Cleanup coding style issue.
21560
bb90b80b
AJ
215612012-05-09 Alexandre Oliva <aoliva@redhat.com>
21562 Andreas Jaeger <aj@suse.de>
21563
bcfe3a54
ST
21564 * nscd/nscd.c (go_background): Replaced with...
21565 (run_mode): ... this.
bb90b80b 21566 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
21567 (options): Add -F --foreground.
21568 (main): Implement it.
21569 (parse_opt): Parse it.
bb90b80b 21570
1a4b75a1
AJ
215712012-05-09 Andreas Jaeger <aj@suse.de>
21572
21573 [BZ #14083]
21574 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
21575 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
21576 -Wconversion warning.
21577 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
21578 Likewise.
21579
b1cc2472
JM
215802012-05-09 Joseph Myers <joseph@codesourcery.com>
21581
21582 * conform/data/locale.h-data (NULL): Use macro-constant. Require
21583 == 0.
21584 (LC_ALL): Use macro-int-constant.
21585 (LC_COLLATE): Likewise.
21586 (LC_CTYPE): Likewise.
21587 (LC_MESSAGES): Likewise.
21588 (LC_MONETARY): Likewise.
21589 (LC_NUMERIC): Likewise.
21590 (LC_TIME): Likewise.
21591 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
21592 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
21593 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21594 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
21595 Specify type.
21596 [C99-based standards] (float_t): Expect type.
21597 [C99-based standards] (double_t): Expect type.
21598 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
21599 type.
21600 [C99-based standards] (HUGE_VALL): Likewise.
21601 [C99-based standards] (INFINITY): Likewise.
21602 [C99-based standards] (NAN): Likewise.
21603 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
21604 [C99-based standards] (FP_NAN): Likewise.
21605 [C99-based standards] (FP_NORMAL): Likewise.
21606 [C99-based standards] (FP_SUBNORMAL): Likewise.
21607 [C99-based standards] (FP_ZERO): Likewise.
21608 [C99-based standards] (FP_FAST_FMA): Use
21609 optional-macro-int-constant. Specify type. Require == 1.
21610 [C99-based standards] (FP_FAST_FMAF): Likewise.
21611 [C99-based standards] (FP_FAST_FMAL): Likewise.
21612 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
21613 [C99-based standards] (FP_ILOGBNAN): Likewise.
21614 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
21615 Specify type.
21616 [C99-based standards] (MATH_ERREXCEPT): Likewise.
21617 [C99-based standards] (math_errhandling): Specify type.
21618 [ISO99 || ISO11] (signgam): Do not allow.
21619 [non-C99-based standards] (copysignf): Do not allow.
21620 [non-C99-based standards] (exp2f): Likewise.
21621 [non-C99-based standards] (log2f): Likewise.
21622 [non-C99-based standards] (modff): Allow.
21623 [non-C99-based standards] (erff): Do not allow.
21624 [non-C99-based standards] (erfcf): Likewise.
21625 [non-C99-based standards] (gammaf): Likewise.
21626 [non-C99-based standards] (hypotf): Likewise.
21627 [non-C99-based standards] (j0f): Likewise.
21628 [non-C99-based standards] (j1f): Likewise.
21629 [non-C99-based standards] (jnf): Likewise.
21630 [non-C99-based standards] (lgammaf): Likewise.
21631 [non-C99-based standards] (tgammaf): Likewise.
21632 [non-C99-based standards] (y0f): Likewise.
21633 [non-C99-based standards] (y1f): Likewise.
21634 [non-C99-based standards] (ynf): Likewise.
21635 [non-C99-based standards] (isnanf): Likewise.
21636 [non-C99-based standards] (acoshf): Likewise.
21637 [non-C99-based standards] (asinhf): Likewise.
21638 [non-C99-based standards] (atanhf): Likewise.
21639 [non-C99-based standards] (cbrtf): Likewise.
21640 [non-C99-based standards] (expm1f): Likewise.
21641 [non-C99-based standards] (ilogbf): Likewise.
21642 [non-C99-based standards] (log1pf): Likewise.
21643 [non-C99-based standards] (logbf): Likewise.
21644 [non-C99-based standards] (nextafterf): Likewise.
21645 [non-C99-based standards] (remainderf): Likewise.
21646 [non-C99-based standards] (rintf): Likewise.
21647 [non-C99-based standards] (scalbf): Likewise.
21648 [non-C99-based standards] (copysignl): Likewise.
21649 [non-C99-based standards] (exp2l): Likewise.
21650 [non-C99-based standards] (log2l): Likewise.
21651 [non-C99-based standards] (modfl): Allow.
21652 [non-C99-based standards] (erfl): Do not allow.
21653 [non-C99-based standards] (erfcl): Likewise.
21654 [non-C99-based standards] (gammal): Likewise.
21655 [non-C99-based standards] (hypotl): Likewise.
21656 [non-C99-based standards] (j0l): Likewise.
21657 [non-C99-based standards] (j1l): Likewise.
21658 [non-C99-based standards] (jnl): Likewise.
21659 [non-C99-based standards] (lgammal): Likewise.
21660 [non-C99-based standards] (tgammal): Likewise.
21661 [non-C99-based standards] (y0l): Likewise.
21662 [non-C99-based standards] (y1l): Likewise.
21663 [non-C99-based standards] (ynl): Likewise.
21664 [non-C99-based standards] (isnanl): Likewise.
21665 [non-C99-based standards] (acoshl): Likewise.
21666 [non-C99-based standards] (asinhl): Likewise.
21667 [non-C99-based standards] (atanhl): Likewise.
21668 [non-C99-based standards] (cbrtl): Likewise.
21669 [non-C99-based standards] (expm1l): Likewise.
21670 [non-C99-based standards] (ilogbl): Likewise.
21671 [non-C99-based standards] (log1pl): Likewise.
21672 [non-C99-based standards] (logbl): Likewise.
21673 [non-C99-based standards] (nextafterl): Likewise.
21674 [non-C99-based standards] (remainderl): Likewise.
21675 [non-C99-based standards] (rintl): Likewise.
21676 [non-C99-based standards] (scalbl): Likewise.
21677 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21678 [non-C99-based standards] (FP_*): Do not allow.
21679 [C99-based standards] (FP_*): Change to
21680 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
21681 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
21682 allow.
21683 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
21684 (SIG_ERR): Likewise.
21685 [X/Open-based standards] (SIG_HOLD): Likewise.
21686 (SIG_IGN): Likewise.
21687 (SIGABRT): Use macro-int-constant. Specify type. Require
21688 positive value.
21689 (SIGFPE): Likewise.
21690 (SIGILL): Likewise.
21691 (SIGINT): Likewise.
21692 (SIGSEGV): Likewise.
21693 (SIGTER): Likewise.
21694 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
21695 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
21696 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
21697 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
21698 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
21699 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
21700 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
21701 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
21702 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
21703 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
21704 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
21705 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
21706 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
21707 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
21708 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
21709 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
21710 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
21711 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
21712 [X/Open-based standards] (SIGTRAP): Likewise.
21713 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
21714 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
21715 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
21716 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
21717 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
21718 allow.
21719
b9f1922d
IW
217202012-05-08 Ian Wienand <ianw@vmware.com>
21721
21722 [BZ #14080]
21723 * time/tzset.c (__tzset_parse_tz): Update default rules for
21724 daylight time changes in the Energy Policy Act of 2005.
21725
1db86e88
AJ
217262012-05-09 Andreas Jaeger <aj@suse.de>
21727
21728 [BZ #13983]
21729 * elf/ldconfig.c (parse_conf): Change string to make clear that
21730 ldconfig only issued a warning if ld.so.conf does not exist.
21731
dee4a4e3
DM
217322012-05-08 David S. Miller <davem@davemloft.net>
21733
ee0db190
DM
21734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
21735 movxtod instead of popping the value on the stack.
21736
dee4a4e3
DM
21737 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21738
6a43ec98
CD
217392012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
21740
21741 * config.h.in: Add HAVE_ARM_PCS_VFP.
21742
05c2c961
RMG
217432012-05-08 Roland Mc Grath <roland@hack.frob.com>
21744
bcfe3a54
ST
21745 [BZ #13979]
21746 * include/features.h: Warn if user requests __FORTIFY_SOURCE
21747 checking but the checks are disabled for any reason.
05c2c961 21748
4b30f61a
L
217492012-05-08 H.J. Lu <hongjiu.lu@intel.com>
21750
21751 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
21752 and ELF64_R_TYPE with ELFW(R_TYPE).
21753
eee2bc67
JM
217542012-05-08 Joseph Myers <joseph@codesourcery.com>
21755
7ea5391a
JM
21756 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
21757 (ulimit): Likewise.
21758
eee2bc67
JM
21759 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
21760 (settimeofday): Likewise.
21761
abb66a67
MF
217622012-05-08 Mike Frysinger <vapier@gentoo.org>
21763
21764 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
21765 a struct th_u2 inside the union, and move tu_block/tu_code into
21766 a new th_u3 union of tu_block/tu_code inside of that. Move
21767 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
21768 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
21769 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
21770 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
21771 (th_stuff): Change to th_u1.tu_stuff.
21772 (th_data): Define.
21773 (th_msg): Change to th_u1.th_u2.tu_data.
21774
7f18b530
DM
217752012-05-07 David S. Miller <davem@davemloft.net>
21776
05760585
DM
21777 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21778
7f18b530
DM
21779 [BZ #14074]
21780 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
21781 (SETUP_PIC_REG): Use it.
21782 (SETUP_PIC_REG_LEAF): Use it.
21783
495fd99f
JM
217842012-05-07 Joseph Myers <joseph@codesourcery.com>
21785
21786 [BZ #13885]
21787 [BZ #13923]
21788 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21789 USE_AS_EXPM1L.
21790 (EXPL_FINITE): Likewise.
21791 (FLDLOG): Likewise.
21792 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
21793 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
21794 e_expl.S.
21795 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21796 USE_AS_EXPM1L.
21797 (EXPL_FINITE): Likewise.
21798 (FLDLOG): Likewise.
21799 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
21800 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
21801 e_expl.S.
21802 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
21803 test of -max_value argument for long double.
21804 * sysdeps/i386/fpu/libm-test-ulps: Update.
21805 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21806
6693d694
DM
218072012-05-06 David S. Miller <davem@davemloft.net>
21808
21809 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
21810 quad soft-float symbols whose references which are compiler
21811 generated.
21812 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
21813
6c23e11c
JM
218142012-05-06 Joseph Myers <joseph@codesourcery.com>
21815
d8b82cad
JM
21816 [BZ #13884]
21817 [BZ #13914]
21818 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21819 USE_AS_EXP10L.
21820 (EXPL_FINITE): Likewise.
21821 (FLDLOG): Likewise.
21822 (c0): Likewise.
21823 (c1): Likewise.
21824 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
21825 Adjust comments for base varying.
21826 (__expl_finite): Change alias to EXPL_FINITE.
21827 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
21828 e_expl.S.
21829 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
21830 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
21831 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
21832 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
21833 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21834 USE_AS_EXP10L.
21835 (EXPL_FINITE): Likewise.
21836 (FLDLOG): Likewise.
21837 (c0): Likewise.
21838 (c1): Likewise.
21839 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
21840 Adjust comments for base varying.
21841 (__expl_finite): Change alias to EXPL_FINITE.
21842 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
21843 tests for bugs.
21844 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21845
6c23e11c
JM
21846 [BZ #14064]
21847 * math/libm-test.inc (check_float_internal): Correct ulp
21848 calculation for subnormal expected results.
21849
29ba805c
AJ
218502012-05-06 Andreas Jaeger <aj@suse.de>
21851
21852 * Makeconfig (+math-flags): New, set to -frounding-math.
21853 (+cflags): Add +math-flags so that all of glibc gets compiled with
21854 it.
21855
21856 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
21857
7b17aeda
JM
218582012-05-05 Joseph Myers <joseph@codesourcery.com>
21859
5779f134
JM
21860 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
21861 Disable one test.
21862
41498f4d
JM
21863 [BZ #13787]
21864 [BZ #13922]
21865 [BZ #14036]
21866 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
21867 (__ieee754_expl): Allow for and saturate large arguments.
21868 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
21869 (u_threshold): Likewise.
21870 (__exp): Call __ieee754_exp before checking for overflow and
21871 underflow.
21872 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
21873 (u_threshold): Likewise.
21874 (__expf): Call __ieee754_expf before checking for overflow and
21875 underflow.
21876 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
21877 (u_threshold): Likewise.
21878 (__expl): Call __ieee754_expl before checking for overflow and
21879 underflow.
21880 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
21881 (__ieee754_expl): Allow for and saturate large arguments.
21882 * math/libm-test.inc (exp_test): Add another test. Do not allow
21883 missing overflow exception on overflow.
21884 (expm1_test): Do not allow missing overflow exception on overflow.
21885
6698b8bf
JM
21886 * sysdeps/i386/fpu/e_expl.c: Move to ...
21887 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
21888 rather than using inline asm.
21889 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
21890 * sysdeps/x86_64/fpu/e_expl.S: Copy from
21891 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
21892
7b17aeda
JM
21893 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
21894 (nice): Likewise.
21895 (poll): Likewise.
21896 (signal): Likewise.
21897 (time): Likewise.
21898 (times): Likewise.
21899
f7c85819
JM
219002012-05-04 Joseph Myers <joseph@codesourcery.com>
21901
21902 * sysdeps/unix/syscalls.list (adjtime): Add entry from
21903 sysdeps/unix/common/syscalls.list.
21904 (fchmod): Likewise.
21905 (fchown): Likewise.
21906 (ftruncate): Likewise.
21907 (getrusage): Likewise.
21908 (gettimeofday): Likewise.
21909 (setpgid): Likewise.
21910 (setregid): Likewise.
21911 (setreuid): Likewise.
21912 (sigaction): Likewise.
21913 (truncate): Likewise.
21914 (vhangup): Likewise.
21915 * sysdeps/unix/common/syscalls.list: Remove file.
21916 * sysdeps/unix/bsd/Implies: Don't include unix/common.
21917 * sysdeps/unix/sysv/linux/Implies: Likewise.
21918
336270d0
L
219192012-05-04 H.J. Lu <hongjiu.lu@intel.com>
21920
21921 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
21922 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
21923 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
21924 Moved to ...
21925 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
21926 Here.
21927 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
21928 to ...
21929 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
21930 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
21931 to ...
21932 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
21933 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
21934 to ...
21935 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
21936 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
21937 to ...
21938 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
21939 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
21940 to ...
21941 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
21942 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
21943 to ...
21944 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
21945 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
21946 to ...
21947 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
21948 Here.
21949 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
21950 to ...
21951 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
21952 Here.
21953 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
21954 to ...
21955 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
21956 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
21957 Moved to ...
21958 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
21959 Here.
21960 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
21961 to ...
21962 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
21963
d128e450
JM
219642012-05-04 Joseph Myers <joseph@codesourcery.com>
21965
fa8ee516
JM
21966 * sysdeps/unix/common/bits/dirent.h: Remove file.
21967 * sysdeps/unix/common/bits/fcntl.h: Likewise.
21968
d128e450
JM
21969 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
21970 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
21971 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
21972 * sysdeps/unix/bsd/isatty.c: Likewise.
21973 * sysdeps/unix/bsd/tcdrain.c: Likewise.
21974 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
21975 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
21976
ff8faaf0 219772012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 21978
62881be4 21979 [BZ #13563]
31dc8730
AZ
21980 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
21981 long double comparison inaccuracies.
21982 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
21983 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21984
6fef930c
AS
219852012-05-04 Andreas Schwab <schwab@linux-m68k.org>
21986
21987 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
21988 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
21989
8f203e6c
JM
219902012-05-04 Joseph Myers <joseph@codesourcery.com>
21991
21992 [BZ #14049]
21993 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
21994 nonzero digits before rounding a hex value.
21995 * stdlib/tst-strtod.c (tests): Add another test.
21996
5197d9c2
AK
219972012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21998
21999 * sysdeps/s390/fpu/libm-test-ulps: Update.
22000
f0c1dedf
AJ
220012012-05-03 Andreas Jaeger <aj@suse.de>
22002
22003 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
22004 does not get optimized out.
22005 (malloc_opt_barrier): New.
22006
a65ef2ae 220072012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 22008 Roland McGrath <roland@hack.frob.com>
a65ef2ae 22009
2b942cb7 22010 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 22011 intermediate file deletion.
2b942cb7 22012 (generated): Add .symlist files.
a65ef2ae 22013
54b71e02
JM
220142012-05-03 Joseph Myers <joseph@codesourcery.com>
22015
22016 [BZ #13775]
22017 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
22018 Redirect under this condition.
22019 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
22020 [__USE_GNU] (__dprintf_chk): Not under this condition.
22021 [__USE_GNU] (__vdprintf_chk): Likewise.
22022 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
22023 under this condition.
22024 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
22025 [__USE_XOPEN2K8] (dprintf): Define under this condition.
22026 [__USE_XOPEN2K8] (vdprintf): Likewise.
22027 [__USE_GNU] (__dprintf_chk): Not under this condition.
22028 [__USE_GNU] (__vdprintf_chk): Likewise.
22029 [__USE_GNU] (dprintf): Likewise.
22030 [__USE_GNU] (vdprintf): Likewise.
22031
d3dfcc41
RM
220322012-05-03 Roland McGrath <roland@hack.frob.com>
22033
22034 * elf/Makefile (common-generated): Set this instead of generated for
22035 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
22036 $(all-built-dso)-derived lists.
22037
7ac30cc5
AJ
220382012-05-03 Andreas Jaeger <aj@suse.de>
22039
0c51e550
AJ
22040 * sysdeps/i386/fpu/libm-test-ulps: Update.
22041
7ac30cc5
AJ
22042 * FAQ: Removed.
22043 * FAQ.in: Likewise.
22044 * scripts/gen-FAQ.pl: Likewise.
22045 * manual/install.texi (Installation): Point to online location of
22046 FAQ.
22047 * Makefile (files-for-dist): Remove FAQ.
22048 (FAQ): Remove.
22049
d4c2917f
AM
220502012-05-02 Allan McRae <allan@archlinux.org>
22051
22052 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
22053 (LDFLAGS-reldepmod5.so): Likewise.
22054 (LDFLAGS-reldep6mod1.so): Likewise.
22055 (LDFLAGS-reldep6mod4.so): Likewise.
22056 (LDFLAGS-reldep8mod3.so): Likewise.
22057 (LDFLAGS-unload4mod1.so): Likewise.
22058 (LDFLAGS-unload4mod2.so): Likewise.
22059 (LDFLAGS-tst-initorder): Likewise.
22060 (LDFLAGS-tst-initordera2.so): Likewise.
22061 (LDFLAGS-tst-initordera3.so): Likewise.
22062 (LDFLAGS-tst-initordera4.so): Likewise.
22063 (LDFLAGS-tst-initorderb2.so): Likewise.
22064 (LDFLAGS-noload): Likewise.
22065 (LDFLAGS-next): Likewise.
22066 (LDFLAGS-order2mod1.so): Likewise.
22067 (LDFLAGS-order2mod2.so): Likewise.
22068 (LDFLAGS-tst-initorder2): Likewise.
22069 (LDFLAGS-tst-initorder2a.so): Likewise.
22070 (LDFLAGS-tst-initorder2b.so): Likewise.
22071 (LDFLAGS-tst-initorder2c.so): Likewise.
22072 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
22073
d77f993f
DM
220742012-05-02 David S. Miller <davem@davemloft.net>
22075
22076 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22077
171a70b4
PP
220782012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
22079
22080 [BZ #14055]
22081 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
22082
0be196ad
AJ
220832012-05-02 Andreas Jaeger <aj@suse.de>
22084
22085 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
22086 since we manipulate rounding mode.
22087 (CPPFLAGS-test-idouble.c): Likewise.
22088 (CPPFLAGS-test-ifloat.c): Likewise.
22089 (CFLAGS-test-ldouble.c): Likewise.
22090 (CFLAGS-test-double.c): Likewise.
22091 (CFLAGS-test-float.c): Likewise.
22092 (CFLAGS-test-misc.c): Likewise.
22093 (CFLAGS-test-test-fenv.c): Likewise.
22094
4f9d04aa
AZ
220952012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22096
2b942cb7
RM
22097 [BZ #2550]
22098 [BZ #2570]
22099 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
22100 comparisons to determine direction to adjust input.
4f9d04aa 22101
82a79e7d
RM
221022012-05-01 Roland McGrath <roland@hack.frob.com>
22103
f5a01ca9
RM
22104 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
22105 output to the target.
22106
90fe4186
RM
22107 * scripts/localplt.awk: New file.
22108 * elf/Makefile ($(objpfx)check-localplt): Target removed.
22109 (check-localplt-CFLAGS): Variable removed.
22110 ($(all-built-dso:=.jmprel)): New static pattern rule.
22111 (generated): Add those targets.
22112 (localplt-built-dso): New variable.
22113 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
22114
22115 * elf/check-localplt.c: File removed.
22116
82397ed6
RM
22117 * scripts/check-execstack.awk: New file.
22118 * elf/Makefile ($(objpfx)check-execstack): Target removed.
22119 (check-execstack-CFLAGS): Variable removed.
22120 ($(objpfx)check-execstack.h): Target removed.
22121 ($(objpfx)execstack-default): New target.
22122 (generated): Add that instead of check-execstack.h.
22123 ($(all-built-dso:=.phdr)): New static pattern rule.
22124 (generated): Add those targets.
22125 * elf/check-execstack.c: File removed.
22126
82a79e7d
RM
22127 * scripts/check-textrel.awk: New file.
22128 * elf/Makefile ($(objpfx)check-textrel): Target removed.
22129 (check-textrel-CFLAGS): Variable removed.
22130 (all-built-dso): Use := to define.o
22131 ($(all-built-dso:=.dyn)): New static pattern rule.
22132 (generated): Add those targets.
22133 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
22134 * config.make.in (READELF): New substituted variable.
22135 * elf/check-textrel.c: File removed.
22136
62fde54f 221372012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 22138
615605c9
JM
22139 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
22140 allow.
22141 * conform/data/ctype.h-data [C99-based standards] (isblank):
22142 Expect function.
22143 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
22144 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
22145 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22146 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
22147 Specify type. Require positive value.
22148 (EILSEQ): Likewise.
22149 (ERANGE): Likewise.
22150 [ISO || POSIX] (EILSEQ): Do not expect.
22151 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
22152 Specify type. Require positive value.
22153 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
22154 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
22155 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
22156 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
22157 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
22158 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
22159 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
22160 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
22161 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
22162 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
22163 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
22164 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
22165 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
22166 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
22167 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
22168 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
22169 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
22170 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
22171 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
22172 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
22173 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
22174 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
22175 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
22176 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
22177 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
22178 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
22179 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
22180 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
22181 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
22182 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
22183 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
22184 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
22185 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
22186 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
22187 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
22188 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
22189 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
22190 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
22191 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
22192 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
22193 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
22194 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
22195 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
22196 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
22197 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
22198 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
22199 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
22200 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
22201 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
22202 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
22203 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
22204 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
22205 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
22206 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
22207 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
22208 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
22209 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
22210 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
22211 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
22212 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
22213 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
22214 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
22215 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
22216 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
22217 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
22218 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
22219 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
22220 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
22221 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
22222 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
22223 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
22224 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
22225 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
22226 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
22227 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
22228 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
22229 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
22230 Require >= 2.
22231 (FLT_ROUNDS): Expect as macro, not constant.
22232 (FLT_MANT_DIG): Use macro-int-constant.
22233 (DBL_MANT_DIG): Likewise.
22234 (LDBL_MANT_DIG): Likewise.
22235 (FLT_DIG): Likewise.
22236 (DBL_DIG): Likewise.
22237 (LDBL_DIG): Likewise.
22238 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
22239 (DBL_MIN_EXP): Likewise.
22240 (LDBL_MIN_EXP): Likewise.
22241 (FLT_MAX_EXP): Use macro-int-constant.
22242 (DBL_MAX_EXP): Likewise.
22243 (LDBL_MAX_EXP): Likewise.
22244 (FLT_MAX_10_EXP): Likewise.
22245 (DBL_MAX_10_EXP): Likewise.
22246 (LDBL_MAX_10_EXP): Likewise.
22247 (FLT_MAX): Use macro-constant.
22248 (DBL_MAX): Likewise.
22249 (LDBL_MAX): Likewise.
22250 (FLT_EPSILON): Use macro-constant. Give upper bound.
22251 (DBL_EPSILON): Likewise.
22252 (LDBL_EPSILON): Likewise.
22253 (FLT_MIN): Likewise.
22254 (DBL_MIN): Likewise.
22255 (LDBL_MIN): Likewise.
22256 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
22257 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
22258 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
22259 [ISO11] (FLT_HAS_SUBNORM): Likewise.
22260 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
22261 [ISO11] (DBL_DECIMAL_DIG): Likewise.
22262 [ISO11] (FLT_DECIMAL_DIG): Likewise.
22263 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
22264 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
22265 [ISO11] (FLT_TRUE_MIN): Likewise.
22266 [ISO11] (LDBL_TRUE_MIN): Likewise.
22267 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22268 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
22269 (SCHAR_MIN): Use macro-int-constant. Specify type.
22270 (SCHAR_MAX): Likewise.
22271 (UCHAR_MAX): Likewise.
22272 (CHAR_MIN): Likewise.
22273 (CHAR_MAX): Likewise.
22274 (MB_LEN_MAX): Use macro-int-constant.
22275 (SHRT_MIN): Use macro-int-constant. Specify type.
22276 (SHRT_MAX): Likewise.
22277 (USHRT_MAX): Likewise.
22278 (INT_MAX): Likewise.
22279 (INT_MIN): Use macro-int-constant. Specify type. Make upper
22280 bound negative.
22281 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
22282 bound with "U".
22283 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
22284 bound with "L".
22285 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
22286 bound negative. Suffix upper bound with "L".
22287 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
22288 bound with "UL".
22289 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
22290 Specify type.
22291 [C99-based standards] (LLONG_MAX): Likewise.
22292 [C99-based standards] (ULLONG_MAX): Likewise.
22293 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
22294 == 0.
22295 [ISO11] (max_align_t): Require type.
22296 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22297
c9140a62
JM
22298 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
22299 from $CFLAGS, without defining away __attribute__ calls.
22300 (checknamespace): Use $CFLAGS_namespace.
22301
9af0bf29
JM
22302 * conform/conformtest.pl (@keywords): Only include C99 keywords
22303 for standards based on C99 or C11.
22304
343222a2
JM
22305 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
22306 Disable tests.
22307 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
22308 UNIX98]: Likewise.
22309
661f8cf0
JM
22310 * conform/conformtest.pl: Handle "macro-int-constant" and test for
22311 usability of symbols in #if.
22312
ee74b9cb
JM
22313 * conform/conformtest.pl: If macro or constant types start
22314 "promoted:", expect the symbol to be of the following type
22315 promoted by the integer promotions.
62fde54f 22316
aafc49b3
JM
22317 * conform/conformtest.pl: Parse all "constant" and "macro" lines
22318 in one place. Also handle "macro-constant".
22319
fefdf574
JM
22320 * conform/conformtest.pl: Only accept expected macro values with
22321 "==". Parse all "macro" lines in one place.
22322 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
22323
f2d922fe
JM
22324 * conform/conformtest.pl: Handle braced types on "constant" lines
22325 instead of handling "typed-constant".
22326 * conform/data/signal.h-data: Use "constant" instead of
22327 "typed-constant".
22328
d22956c9
JM
22329 * conform/conformtest.pl: Handle "optional-" at start of lines in
22330 one place rather than duplicating several cases. Handle each
22331 format of "macro" line with initial "optional-".
22332
028e2e38
JM
22333 * conform/conformtest.pl: Only accept expected constant or
22334 optional-constant values with "==". Parse all "constant" lines in
22335 one place. Parse all "optional-constant" lines in one place.
22336 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
22337 * conform/data/fmtmsg.h-data: Likewise.
22338 * conform/data/netinet/in.h-data: Likewise.
22339 * conform/data/tar.h-data: Likewise.
22340 * conform/data/limits.h-data: Use "==" form on "constant" and
22341 "optional-constant" lines.
22342
1b8f2850
JM
22343 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
22344 Use -std=c99 for XOPEN2K.
22345 (@knownproblems): Remove.
22346 (newtoken): Don't check %isknown.
22347
a05a144b
JM
22348 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
22349 Do not expect macro.
22350 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
22351 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
22352 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
22353 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
22354 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
22355 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
22356 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
22357 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
22358 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
22359 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
22360 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
22361 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
22362 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
22363 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
22364 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
22365 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
22366 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
22367 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
22368 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
22369 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
22370 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
22371 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
22372 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
22373 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
22374 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
22375 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
22376 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
22377 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
22378 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
22379 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
22380 [XPG3] (acosh): Likewise.
22381 [XPG3] (asinh): Likewise.
22382 [XPG3] (atanh): Likewise.
22383 [XPG3] (cbrt): Likewise.
22384 [XPG3] (expm1): Likewise.
22385 [XPG3] (ilogb): Likewise.
22386 [XPG3] (log1p): Likewise.
22387 [XPG3] (logb): Likewise.
22388 [XPG3] (nextafter): Likewise.
22389 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
22390 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
22391 [XPG3] (remainder): Likewise.
22392 [XPG3] (rint): Likewise.
22393 [XPG3 || XPG4 || UNIX98] (round): Likewise.
22394 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
22395 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
22396 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
22397 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
22398 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
22399 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
22400 [UNIX98 || XOPEN2K] (scalb): Expect.
22401 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
22402 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
22403 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
22404 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
22405 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
22406 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
22407 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
22408 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
22409 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
22410 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
22411 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
22412 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
22413 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
22414 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
22415 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
22416 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
22417 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
22418 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
22419 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
22420 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
22421 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
22422 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
22423 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
22424 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
22425 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
22426 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
22427 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
22428 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
22429 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
22430 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
22431 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
22432 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
22433 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
22434 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
22435 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
22436 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
22437 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
22438 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
22439 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
22440 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
22441 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
22442 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
22443 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
22444 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
22445 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
22446 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
22447 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
22448 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
22449 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
22450 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
22451 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
22452 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
22453 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
22454 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
22455 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
22456 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
22457 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
22458 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
22459 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
22460 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
22461 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
22462 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
22463 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
22464 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
22465 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
22466 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
22467 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
22468 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
22469 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
22470 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
22471 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
22472 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
22473 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
22474 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
22475 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
22476 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
22477 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
22478 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
22479 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
22480 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
22481 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
22482 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
22483 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
22484 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
22485 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
22486 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
22487 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
22488 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
22489 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
22490 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
22491 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
22492 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
22493 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
22494 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
22495 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
22496 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
22497 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
22498 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
22499 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
22500 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
22501 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
22502 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
22503 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
22504 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
22505 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
22506 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
22507 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
22508 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
22509 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
22510 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
22511 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
22512 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
22513 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
22514 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
22515 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
22516 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
22517 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
22518 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
22519 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
22520 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
22521 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
22522 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
22523 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
22524 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
22525 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
22526 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
22527 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
22528 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
22529 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
22530 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
22531 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
22532 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
22533 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
22534 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
22535 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
22536 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
22537 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
22538
73c5ebe3
JM
22539 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
22540 _XOPEN_SOURCE_EXTENDED for XPG4.
22541
39c33b6c
JM
22542 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
22543
62fde54f
JM
22544 * Makeconfig (localtime): Remove variable.
22545 (inst_localtime-file): Likewise.
22546
0741d64c
AS
225472012-05-01 Andreas Schwab <schwab@linux-m68k.org>
22548
22549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
22550 Update.
22551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22552 Update.
22553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
22554 Update.
22555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
22556 Update.
22557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
22558 Update.
22559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
22560 Update.
22561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22562 Update.
22563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
22564 Update.
22565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22566 Update.
22567
7cb029ee
JM
225682012-05-01 Joseph Myers <joseph@codesourcery.com>
22569
22570 [BZ #2550]
22571 [BZ #2570]
22572 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
22573 comparisons to determine direction to adjust input.
22574 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
22575 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
22576 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
22577 Likewise.
22578 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
22579 Likewise.
22580 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
22581 Likewise.
22582 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
22583 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
22584 Likewise.
22585 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
22586 Likewise.
22587 * math/libm-test.inc (nexttoward_test): Add more tests.
22588
412bd966
AS
225892012-05-01 Andreas Schwab <schwab@linux-m68k.org>
22590
22591 [BZ #14040]
22592 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
22593 in version GLIBC_2.1, not GLIBC_2.0.
22594 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
22595 Likewise.
22596
9568c0c2
JM
225972012-04-30 Joseph Myers <joseph@codesourcery.com>
22598
adfbc8ac
JM
22599 [BZ #13942]
22600 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
22601 (1 - x) * (1 + x).
22602 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
22603 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
22604 * math/libm-test.inc (acos_test): Add more tests.
22605 (asin_test): Likewise.
22606 * sysdeps/i386/fpu/libm-test-ulps: Update.
22607 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22608
5ba3cc69
JM
22609 [BZ #14034]
22610 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
22611 of square root.
22612 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
22613 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
22614 * math/libm-test.inc (acos_test_tonearest): New function.
22615 (acos_test_towardzero): Likewise.
22616 (acos_test_downward): Likewise.
22617 (acos_test_upward): Likewise.
22618 (asin_test_tonearest): Likewise.
22619 (asin_test_towardzero): Likewise.
22620 (asin_test_downward): Likewise.
22621 (asin_test_upward): Likewise.
22622 (main): Call the new functions.
22623 * sysdeps/i386/fpu/libm-test-ulps: Update.
22624 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22625
9568c0c2
JM
22626 [BZ #13884]
22627 [BZ #13924]
22628 * math/e_exp10.c: Include <float.h>.
22629 (__ieee754_exp10): Handle underflow here rather than multiplying
22630 large negative argument by M_LN10.
22631 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
22632 of __ieee754_expf.
22633 * math/e_exp10l.c: Include <float.h>.
22634 (__ieee754_exp10l): Handle underflow here rather than multiplying
22635 large negative argument by M_LN10l.
22636 * math/libm-test.inc (exp10_test): Add another test. Do not allow
22637 spurious overflow exception on underflow.
22638
5ac3ea17
MP
226392012-04-29 Marek Polacek <polacek@redhat.com>
22640
22641 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
22642 (__fortify_function): New macro.
22643 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
22644 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
22645 __extern_always_inline.
22646 * libio/bits/stdio2.h: Likewise.
22647 * libio/bits/stdio.h: Likewise.
22648 * string/string.h: Likewise.
22649 * string/bits/string3.h: Likewise.
22650 * include/stdio.h: Likewise.
22651 * stdlib/bits/stdlib.h: Likewise.
22652 * stdlib/stdlib.h: Likewise.
22653 * rt/bits/mqueue2.h: Likewise.
22654 * rt/mqueue.h: Likewise.
22655 * posix/bits/unistd.h: Likewise.
22656 * posix/unistd.h: Likewise.
22657 * io/bits/poll2.h: Likewise.
22658 * io/bits/fcntl2.h: Likewise.
22659 * io/fcntl.h: Likewise.
22660 * io/sys/poll.h: Likewise.
22661 * misc/bits/syslog.h: Likewise.
22662 * misc/bits/syslog-ldbl.h: Likewise.
22663 * misc/sys/syslog.h: Likewise.
22664 * socket/bits/socket2.h: Likewise.
22665 * socket/sys/socket.h: Likewise.
22666 * debug/tst-chk1.c: Likewise.
22667 * wcsmbs/bits/wchar2.h: Likewise.
22668 * wcsmbs/bits/wchar-ldbl.h: Likewise.
22669 * wcsmbs/wchar.h: Likewise.
22670
ecf0ebfb
AJ
226712012-04-29 Andreas Jaeger <aj@suse.de>
22672
22673 * Makerules (tests): Remove enable-check-abi protection.
22674 (check-abi-warn): Remove.
22675 (check-abi-%): Remove check-abi-warn usage.
22676
22677 * configure.in: Remove check-abi configure option.
22678 * configure: Regenerated.
22679 * config.make.in (enable-check-abi): Remove.
22680
6d5c57fa
AS
226812012-04-28 Andreas Schwab <schwab@linux-m68k.org>
22682
24c5d07e 22683 [BZ #14033]
ded5180a
AS
22684 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
22685 double functions to double *_finite functions.
22686
7e0d315d
AS
22687 [BZ #13941]
22688 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
22689 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
22690 LDBL_MIN_EXP.
22691 * stdio-common/Makefile (tests): Add tst-sprintf3.
22692 * stdio-common/tst-sprintf3.c: New file.
22693
6d5c57fa
AS
22694 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
22695 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
22696
0749ff8b
JM
226972012-04-28 Joseph Myers <joseph@codesourcery.com>
22698
22699 * conform/conformtest.pl: Remove duplicate typed-constant
22700 handling.
22701
8dbd5d7b
DM
227022012-04-28 David S. Miller <davem@davemloft.net>
22703
22704 * Makerules (%.abilist): Add vpath on sysdep_dirs.
22705 (check-abi-%): Remove AWK script prerequisite and explicit
22706 abilist directory.
22707 (check-abi): Rewrite to just diff the symlist with the abilist.
22708 (config-tls, config-abi-config): Delete, no longer used.
22709 (update-abi-%): Remove AWK script and explicit abilist directory.
22710 (update-abi): Rewrite to simply compare and conditionally copy the
22711 symlist and the sysdep abilist file. Remove update-abi-config
22712 checks.
22713 * abilist/ld.abilist: Remove.
22714 * abilist/libBrokenLocale.abilist: Remove.
22715 * abilist/libanl.abilist: Remove.
22716 * abilist/libcrypt.abilist: Remove.
22717 * abilist/libdl.abilist: Remove.
22718 * abilist/librt.abilist: Remove.
22719 * abilist/libthread_db.abilist: Remove.
22720 * abilist/libutil.abilist: Remove.
22721 * scripts/extract-abilist.awk: Remove.
22722 * scripts/merge-abilist.awk: Remove.
22723 * sysdeps/generic/libcidn.abilist: New file.
22724 * sysdeps/generic/libnss_compat.abilist: New file.
22725 * sysdeps/generic/libnss_db.abilist: New file.
22726 * sysdeps/generic/libnss_dns.abilist: New file.
22727 * sysdeps/generic/libnss_files.abilist: New file.
22728 * sysdeps/generic/libnss_hesiod.abilist: New file.
22729 * sysdeps/generic/libnss_nis.abilist: New file.
22730 * sysdeps/generic/libnss_nisplus.abilist: New file.
22731 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
22732 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
22733 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
22734 file.
22735 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
22736 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
22737 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
22738 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
22739 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
22740 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
22741 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
22742 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
22743 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
22744 file.
22745 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
22746 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
22747 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
22748 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
22749 file.
22750 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
22751 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
22752 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
22753 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
22754 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
22755 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
22756 file.
22757 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
22758 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
22759 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
22760 file.
22761 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
22762 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
22763 New file.
22764 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
22765 New file.
22766 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
22767 New file.
22768 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
22769 New file.
22770 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
22771 New file.
22772 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
22773 New file.
22774 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
22775 New file.
22776 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
22777 New file.
22778 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
22779 New file.
22780 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
22781 New file.
22782 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
22783 New file.
22784 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
22785 New file.
22786 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
22787 New file.
22788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
22789 file.
22790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
22791 New file.
22792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
22793 New file.
22794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
22795 file.
22796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
22797 New file.
22798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
22799 New file.
22800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
22801 file.
22802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
22803 New file.
22804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22805 New file.
22806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
22807 New file.
22808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
22809 New file.
22810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
22811 New file.
22812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
22813 New file.
22814 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
22815 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
22816 file.
22817 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
22818 New file.
22819 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
22820 file.
22821 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
22822 file.
22823 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
22824 file.
22825 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
22826 file.
22827 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
22828 file.
22829 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22830 New file.
22831 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
22832 file.
22833 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
22834 file.
22835 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
22836 New file.
22837 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
22838 file.
22839 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
22840 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
22841 file.
22842 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
22843 New file.
22844 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
22845 file.
22846 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
22847 file.
22848 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
22849 file.
22850 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
22851 file.
22852 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
22853 file.
22854 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22855 New file.
22856 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
22857 file.
22858 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
22859 file.
22860 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
22861 New file.
22862 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
22863 file.
22864 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
22865 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
22866 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
22867 file.
22868 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
22869 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
22870 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
22871 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
22872 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
22873 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
22874 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
22875 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
22876 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
22877 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
22878 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
22879 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
22880 file.
22881 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
22882 New file.
22883 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
22884 file.
22885 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
22886 file.
22887 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
22888 file.
22889 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
22890 file.
22891 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
22892 file.
22893 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
22894 New file.
22895 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
22896 New file.
22897 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
22898 file.
22899 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
22900 New file.
22901 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
22902 file.
22903 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
22904 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
22905 file.
22906 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
22907 New file.
22908 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
22909 file.
22910 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
22911 file.
22912 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
22913 file.
22914 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
22915 file.
22916 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
22917 file.
22918 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
22919 New file.
22920 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
22921 New file.
22922 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
22923 file.
22924 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
22925 New file.
22926 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
22927 file.
22928
41d73a1b
JM
229292012-04-28 Joseph Myers <joseph@codesourcery.com>
22930
22931 * conform/conformtest.pl: Fix typo in handling typed-constant from
22932 allow-header.
22933
28aeeda4
JM
229342012-04-27 Joseph Myers <joseph@codesourcery.com>
22935
adae8f5e
JM
22936 * README: Cut down references to pre-2.6 Linux kernels and
22937 Linuxthreads. Update lists of configurations in libc and ports
22938 and sort alphabetically. Say "or newer" with Linux kernel version
22939 requirements.
22940
28aeeda4
JM
22941 * config.h.in [IS_IN_build]: Allow compiling without optimization.
22942
a462cb63
RA
229432012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22944
22945 [BZ #887]
22946 * math/libm-test.inc (logb_test_downward): New test to expose
22947 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
22948 rounding mode.
22949
6ad3493e
JM
229502012-04-27 Joseph Myers <joseph@codesourcery.com>
22951
22952 [BZ #14027]
22953 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
22954 to be done.
22955 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
22956 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
22957
2ce4f015
JM
229582012-04-26 Joseph Myers <joseph@codesourcery.com>
22959
5aeb141a
JM
22960 * sysdeps/unix/i386/brk.S: Remove file.
22961 * sysdeps/unix/i386/dl-brk.S: Likewise.
22962 * sysdeps/unix/i386/pipe.S: Likewise.
22963 * sysdeps/unix/i386/sigreturn.S: Likewise.
22964 * sysdeps/unix/i386/syscall.S: Likewise.
22965 * sysdeps/unix/i386/vfork.S: Likewise.
22966 * sysdeps/unix/i386/wait.S: Likewise.
22967
7143acae
JM
22968 * sysdeps/unix/common/tcsendbrk.c: Move to ...
22969 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
22970
2ce4f015
JM
22971 * configure.in (arm*-none*): Do not allow without
22972 --enable-hacker-mode.
22973 (netbsd*): Remove case setting base_os.
22974 (386bsd*): Likewise.
22975 (freebsd*): Likewise.
22976 (bsdi*): Likewise.
22977 (osf*): Likewise.
22978 (sunos*): Likewise.
22979 (ultrix*): Likewise.
22980 (newsos*): Likewise.
22981 (dynix*): Likewise.
22982 (*bsd*): Likewise.
22983 (sysv*): Likewise.
22984 (isc*): Likewise.
22985 (esix*): Likewise.
22986 (sco*): Likewise.
22987 (minix*): Likewise.
22988 (irix4*): Likewise.
22989 (irix6*): Likewise.
22990 (solaris[2-9]*): Likewise.
22991 (none): Likewise.
22992 * configure: Regenerated.
22993
0ac229c8
AZ
229942012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22995
22996 [BZ #11521]
22997 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
22998 overflow or cancellation in calculating denominator.
22999 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
23000 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
23001 down expression to avoid unexpected rounding in newer GCCs.
23002 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
23003
33f244f4
DM
230042012-04-26 David S. Miller <davem@davemloft.net>
23005
23006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
23007 long-double compat symbols.
23008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
23009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
23010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
23011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
23012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
23013 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
23014 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
23015 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
23016 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
23017 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
23018 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
23019 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
23020 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
23021
cfa1f3e8
DM
230222012-04-25 David S. Miller <davem@davemloft.net>
23023
23024 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
23025 HWCAP_* values only after the memory barriers have been defined.
23026 (atomic_full_barrier): Define.
23027 (atomic_read_barrier): Define.
23028 (atomic_write_barrier): Define.
23029
6e236b92
SP
230302012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23031
23032 * shlib-versions: Add libgcc_s version information.
23033 * sysdeps/generic/libgcc_s.h: Remove.
23034 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
23035 libgcc_s.h.
23036 * sysdeps/gnu/unwind-resume.c: Likewise.
23037 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
23038
aab39a09
DM
230392012-04-25 David S. Miller <davem@davemloft.net>
23040
23041 * sysdeps/unix/sparc/brk.S: Delete.
23042 * sysdeps/unix/sparc/dl-brk.S: Delete.
23043 * sysdeps/unix/sparc/pipe.S: Delete.
23044 * sysdeps/unix/sparc/sysdep.S: Delete.
23045 * sysdeps/unix/sparc/sysdep.h: Delete.
23046 * sysdeps/unix/sparc/vfork.S: Delete.
23047 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
23048 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
23049 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
23050 ret_ERRVAL, r0, r1, MOVE): Define.
23051 (JUMPTARGET): Remove.
23052 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
23053 sysdeps/unix/sparc/sysdep.h
23054 (ENTRY, END): Remove.
23055 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23056
a3cc4f48
JM
230572012-04-25 Joseph Myers <joseph@codesourcery.com>
23058
2ed8cda2
JM
23059 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
23060 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
23061 -DIS_IN_build.
23062
35d76d59
JM
23063 * timezone/README: Update upstream location and email address for
23064 tzcode and tzdata.
23065 * timezone/zdump.c: Update from tzcode 2012b.
23066 * timezone/zic.c: Likewise.
23067
a3cc4f48
JM
23068 * configure.in (libc_cv_as_needed): Remove test.
23069 * configure: Regenerated.
23070 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
23071 conditional definition.
23072 [$(have-as-needed) != yes] (no-as-needed): Likewise.
23073 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
23074 * config.make.in (have-as-needed): Remove variable.
23075
ceab42c3
SP
230762012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23077 Paul Pluzhnikov <ppluzhnikov@google.com>
23078
23079 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
23080 strings correctly.
23081
3ce2865f
CLT
230822012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
23083
23084 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
23085 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
23086 * sysdeps/sh/strlen.S: Likewise.
23087
f37e0d68
JM
230882012-04-24 Joseph Myers <joseph@codesourcery.com>
23089
ae186e9a
JM
23090 * sysdeps/unix/fork.S: Remove file.
23091 * sysdeps/unix/i386/fork.S: Likewise.
23092 * sysdeps/unix/sparc/fork.S: Likewise.
23093
b96914af
JM
23094 * sysdeps/unix/system.c: Remove file.
23095 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
23096
f37e0d68
JM
23097 * sysdeps/unix/getegid.S: Remove file.
23098 * sysdeps/unix/geteuid.S: Likewise.
23099
87ef29ca
RM
231002012-04-24 Roland McGrath <roland@hack.frob.com>
23101
83bcd236
RM
23102 * scripts/check-localplt.awk: New file.
23103 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
23104 of diff.
23105 * scripts/data/localplt-generic.data: Add a comment.
23106
87ef29ca
RM
23107 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
23108 NODE when __dir_mkfile failed.
23109 * sysdeps/mach/hurd/symlinkat.c: Likewise.
23110 Reported by Ludovic Courtès <ludo@gnu.org>.
23111
e5a6e567
AJ
231122012-04-24 Andreas Jaeger <aj@suse.de>
23113
23114 * Makerules (common-clean): Also remove gen-as-const-headers
23115 files.
23116
c1820385
JM
231172012-04-24 Joseph Myers <joseph@codesourcery.com>
23118
23119 * Makerules (native-compile): Do not change working directory for
23120 build. Use $(OUTPUT_OPTION) in command.
23121 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
23122
94e02fc4
AZ
231232012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23124
23125 [BZ #13886]
23126 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
23127 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
23128 * math/libm-test.inc (floor_test): Add more tests.
23129 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
23130
3a533ca3
JM
231312012-04-24 Joseph Myers <joseph@codesourcery.com>
23132
940ab4b3
JM
23133 * sysdeps/unix/getdents.c: Remove file.
23134 * sysdeps/unix/sysv/getdents.c: Likewise.
23135 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
23136
90e037bd
JM
23137 * sysdeps/unix/syscalls.list (madvise): Add syscall from
23138 sysdeps/unix/mman/syscalls.list.
23139 (mmap): Likewise.
23140 (mprotect): Likewise.
23141 (msync): Likewise.
23142 (munmap): Likewise.
23143 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
23144 * sysdeps/unix/mman/syscalls.list: Remove.
23145 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
23146
3a533ca3
JM
23147 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
23148 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
23149 * configure: Regenerated.
23150 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
23151 $(libgcc_s_suffix).
23152 * config.make.in (libgcc_s_suffix): Remove variable.
23153
1ad743de
JM
231542012-04-23 Joseph Myers <joseph@codesourcery.com>
23155
4ad451e2
JM
23156 * sysdeps/unix/sysv/gethostname.c: Move to ...
23157 * sysdeps/posix/gethostname.c: ... here.
23158
5e37ce39
JM
23159 * sysdeps/unix/execve.S: Remove file.
23160
1ad743de
JM
23161 * sysdeps/unix/_exit.S: Remove file.
23162
4e681b5b
AJ
231632012-04-23 Andreas Jaeger <aj@suse.de>
23164
23165 [BZ #13739]
23166 * manual/Makefile: Remove make dist support, there's no
23167 need for a stand-alone documentation tar ball.
23168 (TEXI2DVI): Define always, it's not in Makeconfig.
23169 (dist): Removed.
23170 (tar-it): Removed.
23171 (edition): Removed.
23172 (glibc-doc-$(edition).tar): Removed
23173 (%.Z): Removed.
23174 (%.gz): Removed.
23175 (%.uu): Removed.
23176 (ETAGS): Remove, it's in Makeconfig.
23177 (move-if-change): Remove, it's in Makeconfig.
23178
38686a03 231792012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
23180
23181 [BZ #13970]
23182 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
23183 (strtod, strtof, strtold, strtol, strtoul, strtoq)
23184 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
23185 (strtod_l, strtof_l, strtold_l): Remove __wur.
23186 It is not necessarily an error to ignore strtol's return value.
23187 One can reliably look at the stored endptr to decide whether
23188 the number had valid syntax.
23189
7c0616fa
AJ
231902012-04-21 Andreas Jaeger <aj@suse.de>
23191
803cb6b7 23192 [BZ #13739]
7c0616fa
AJ
23193 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
23194
b0fe253f
JM
231952012-04-21 Joseph Myers <joseph@codesourcery.com>
23196
23197 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
23198 * sysdeps/unix/sysv/Versions: Remove file.
23199
8280f22d
MT
232002012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
23201
23202 [BZ #13927]
23203 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23204
75ce411f 232052012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
23206
23207 [BZ #7064]
23208 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
23209 version from __vm86.
23210
097d59fa
JM
232112012-04-20 Joseph Myers <joseph@codesourcery.com>
23212
a90f3bcb
JM
23213 * sysdeps/unix/common/lxstat.c: Remove file.
23214 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
23215
edc7ea78
JM
23216 * sysdeps/unix/sysv/Makefile: Remove file.
23217
cb78c221
JM
23218 * sysdeps/unix/sysv/direct.h: Remove file.
23219
efa6a45f
JM
23220 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
23221 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
23222 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
23223 * sysdeps/unix/sysv/bits/signum.h: Likewise.
23224 * sysdeps/unix/sysv/bits/stat.h: Likewise.
23225 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
23226 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
23227
9c9f2d0c
JM
23228 * sysdeps/unix/sysv/setrlimit.c: Remove file.
23229
4541c83b
JM
23230 * sysdeps/unix/xmknod.c: Remove file.
23231 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
23232
f5d153a0
JM
23233 * sysdeps/unix/sysv/settimeofday.c: Remove file.
23234
aa746595
JM
23235 * sysdeps/unix/sysv/i386/time.S: Remove file.
23236
cce5905e
JM
23237 * sysdeps/unix/fxstat.c: Remove file.
23238 * sysdeps/unix/xstat.c: Likewise.
23239 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
23240
37fa3841
JM
23241 * sysdeps/unix/sysv/sigaction.c: Remove file.
23242
ff1962a3
JM
23243 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
23244 (sysdep_headers): Remove variable.
23245 [termio.h not in sysdep_headers] (generated): Likewise.
23246 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
23247 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
23248 * sysdeps/unix/sysv/tcdrain.c: Likewise.
23249 * sysdeps/unix/sysv/tcflow.c: Likewise.
23250 * sysdeps/unix/sysv/tcflush.c: Likewise.
23251 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
23252 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
23253 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
23254 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
23255 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
23256
e7740d31
JM
23257 * sysdeps/unix/siglist.c: Remove file.
23258
ee06f18b
JM
23259 * sysdeps/unix/getppid.S: Remove file.
23260
097d59fa
JM
23261 * sysdeps/unix/mkdir.c: Remove file.
23262 * sysdeps/unix/rmdir.c: Likewise.
23263
ff3d51ec
AS
232642012-04-19 Andreas Schwab <schwab@linux-m68k.org>
23265
23266 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
23267 ERR_MAX value.
23268 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
23269 errlist-compat value.
23270
50f81fd7
DM
232712012-04-18 David S. Miller <davem@davemloft.net>
23272
23273 * sysdeps/generic/memcopy.h (reg_char): Delete.
23274 * debug/strcat_chk.c: Use char, not reg_char.
23275 * debug/strcpy_chk.c: Likewise.
23276 * debug/strncat_chk.c: Likewise.
23277 * debug/strncpy_chk.c: Likewise.
23278 * string/memchr.c: Likewise.
23279 * string/memrchr.c: Likewise.
23280 * string/rawmemchr.c: Likewise.
23281 * string/strcat.c: Likewise.
23282 * string/strchr.c: Likewise.
23283 * string/strchrnul.c: Likewise.
23284 * string/strcmp.c: Likewise.
23285 * string/strcpy.c: Likewise.
23286 * string/strncat.c: Likewise.
23287 * string/strncmp.c: Likewise.
23288 * string/strncpy.c: Likewise.
23289
8ff41c46
WS
232902012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
23291
23292 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
23293 __builtin_memcopy is called when src and dest ranges are known to not
23294 overlap.
23295
6b652f46
WS
232962012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
23297
23298 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
23299 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
23300 fwd_align_merge macro call.
23301 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
23302 bwd_align_merge macro call.
23303 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
23304
b282631e
WS
233052012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
23306
23307 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
23308 bwd_align_merge macros.
23309 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
23310 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
23311 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
23312
95aa737c
DM
233132012-04-18 David S. Miller <davem@davemloft.net>
23314
23315 * sysdeps/sparc/sparc64/memcopy.h: Delete.
23316
7a99a614
AJ
233172012-04-18 Andreas Jaeger <aj@suse.de>
23318
23319 [BZ# 6794]
23320 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
23321 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
23322 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23323
23324 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
23325 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
23326 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23327
23328 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
23329 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
23330 Adjust for changed ldbl-128 files.
23331
23332 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
23333 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
23334 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23335
e5270c23
DM
233362012-04-17 David S. Miller <davem@davemloft.net>
23337
23338 * sysdeps/sparc/sparc32/memcopy.h: Delete.
23339
fb5e92c9
AS
233402012-04-17 Andreas Schwab <schwab@linux-m68k.org>
23341
23342 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
23343 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
23344 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
23345 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
23346 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
23347 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
23348
76da7265
AZ
233492012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23350
23351 [BZ #6794]
23352 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
23353 * math/libm-test.inc: Add ilogb errno and exception tests.
23354 * math/w_ilogb.c: New file: ilogb wrapper.
23355 * math/w_ilogbf.c: New file: ilogbf wrapper.
23356 * math/w_ilogbl.c: New file: ilogbl wrapper.
23357 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
23358 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
23359 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
23360 exception being thrown with 0.0 as argument.
23361 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
23362 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
23363 exception being thrown with 0.0 as argument.
23364 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
23365 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
23366 exception being thrown with 0.0 as argument.
23367 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
23368 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
23369 exception being thrown with 0.0 as argument.
23370 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
23371 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 23372 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
23373 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
23374 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
23375 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
23376 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
23377 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
23378 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
23379
0396e69d
PB
233802012-04-17 Petr Baudis <pasky@ucw.cz>
23381
23382 * include/sys/uio.h: Change __vector to __iovec to avoid clash
23383 with altivec.
23384
750b5926
MP
233852012-04-16 Marek Polacek <polacek@redhat.com>
23386
23387 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
23388
751728a1
MP
233892012-04-16 Marek Polacek <polacek@redhat.com>
23390
23391 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
23392 operands of fdivp instruction.
23393
34a27407
L
233942012-04-13 H.J. Lu <hongjiu.lu@intel.com>
23395
23396 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
23397 * elf/tst-auditmod3b.c: Likewise.
23398 * elf/tst-auditmod4b.c: Likewise.
23399 * elf/tst-auditmod5b.c: Likewise.
23400 * elf/tst-auditmod6b.c: Likewise.
23401 * elf/tst-auditmod6c.c: Likewise.
23402 * elf/tst-auditmod7b.c: Likewise.
23403 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
23404 * sysdeps/x86_64/preconfigure.in: Likewise.
23405 * sysdeps/x86_64/preconfigure: Regenerated.
23406
7e73e17d
L
234072012-04-13 H.J. Lu <hongjiu.lu@intel.com>
23408
23409 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
23410 __ILP32__.
23411
c7a6ab72
AB
234122012-04-13 Antoine Balestrat <merkil33@gmail.com>
23413
23414 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23415 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
23416
a9e8e0e0
CL
234172012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
23418
23419 [BZ #13973]
23420 * locale/iso-639.def: Fix gl language name. Spotted by
23421 Yaron Shahrabani.
23422
ec98af7d
RM
234232012-04-12 Roland McGrath <roland@hack.frob.com>
23424
23425 [BZ #2074]
23426 * libio/libio.h (__io_write_fn): Update comment.
23427
247c3ede
PB
234282012-04-12 Petr Baudis <pasky@ucw.cz>
23429
23430 [BZ #2074]
23431 * stdio.texi (Hook Functions): The user provided writer function
23432 is not allowed to return -1.
23433
55939d6d
DM
234342012-04-11 David S. Miller <davem@davemloft.net>
23435
23436 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23437
90020f5a
MF
234382012-04-11 Mike Frysinger <vapier@gentoo.org>
23439
23440 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
23441 Add a leading slash to rtkaio.
23442
288f9098
JM
234432012-04-11 Jim Meyering <meyering@redhat.com>
23444
90020f5a
MF
23445 [BZ #11959]
23446 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
23447 It is not necessarily an error to ignore fwrite's return
23448 value. One can reliably use ferror to test for errors after
23449 the fact.
288f9098 23450
4be2b570
L
234512012-04-10 H.J. Lu <hongjiu.lu@intel.com>
23452
23453 * bits/types.h (__snseconds_t): New type.
23454 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
23455
23456 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
23457 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23458 (__SNSECONDS_T_TYPE): Likewise.
23459 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23460 (__SNSECONDS_T_TYPE): Likewise.
23461 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23462 (__SNSECONDS_T_TYPE): Likewise.
23463
288f9098 234642012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
23465
23466 [BZ #2636]
23467 * manual/time.texi (Processor Time): Return type of times is
23468 elapsed real time since an arbitrary point in the past.
23469 (CPU Time): Move CLK_TCK from here...
23470 (Processor Time): ...to here. Correct description.
23471 * manual/conf.texi (Constants for Sysconf): Correct description of
23472 _SC_CLK_TCK.
23473
d7dd4413
DM
234742012-04-10 David S. Miller <davem@davemloft.net>
23475
23476 [BZ #13967]
23477 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
23478 where the is a gap between DT_REL(A) and DT_JMPREL.
23479
b46068fc
L
234802012-04-10 H.J. Lu <hongjiu.lu@intel.com>
23481
23482 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
23483 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
23484 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
23485
73d65cc3
SP
234862012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23487
23488 * elf/dl-support.c (_dl_inhibit_cache): New variable.
23489 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
23490 (dl_main): Handle --inhibit-cache.
23491 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
23492 _dl_inhibit_cache.
23493 * elf/dl-load.c (_dl_map_object): Use it.
23494 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
23495
bcc8d661
JM
234962012-04-09 Joseph Myers <joseph@codesourcery.com>
23497
8f9a2fae
JM
23498 [BZ #13872]
23499 * sysdeps/i386/fpu/e_powl.S (p78): New object.
23500 (__ieee754_powl): Saturate large exponents rather than testing for
23501 overflow of y*log2(x).
23502 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23503 * math/libm-test.inc (pow_test): Do not permit spurious overflow
23504 exceptions.
23505
bcc8d661
JM
23506 [BZ #11521]
23507 * math/s_ctan.c: Include <float.h>.
23508 (__ctan): Avoid internal overflow or cancellation in calculating
23509 denominator.
23510 * math/s_ctanf.c: Likewise.
23511 * math/s_ctanl.c: Likewise.
23512 * math/s_ctanh.c: Likewise.
23513 * math/s_ctanhf.c: Likewise.
23514 * math/s_ctanhl.c: Likewise.
23515 * math/libm-test.inc (ctan_test): Add more tests.
23516 (ctanh_test): Likewise.
23517 * sysdeps/i386/fpu/libm-test-ulps: Update.
23518 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23519
823fbbb4
AJ
235202012-04-09 Andreas Jaeger <aj@suse.de>
23521
03879793
AJ
23522 [BZ #6894]
23523 * manual/filesys.texi (Directory Entries): Mention that d_namlen
23524 is an optional BSD extension.
23525
823fbbb4
AJ
23526 [BZ #10254]
23527 * manual/stdio.texi (Opening Streams): Document additional fopen
23528 parameters.
23529
8de131cb
RM
235302012-04-09 Roland McGrath <roland@hack.frob.com>
23531
23532 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
23533 %eax without telling the compiler.
23534
c0ed9d7d
CD
235352012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
23536
23537 [BZ # 13963]
23538 * manual/install.texi: Use sourceware.org.
23539
c483f6b4
JM
235402012-04-09 Joseph Myers <joseph@codesourcery.com>
23541
d7dd9453
JM
23542 [BZ #13873]
23543 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
23544 (__ieee754_pow): Generate overflow and underflow using huge*huge
23545 and tiny*tiny rather than just returning constant infinity or zero
23546 for large exponents.
23547 * math/libm-test.inc (pow_test): Require overflow exceptions for
23548 applicable cases of large exponents.
23549
c483f6b4
JM
23550 [BZ #706]
23551 * sysdeps/i386/fpu/e_pow.S (p10): New object.
23552 (__ieee754_pow): Use iterative multiplication algorithm only for
23553 integer exponents with absolute value below 1024. Check for odd
23554 integer exponents when using algorithm for real exponents.
23555 * math/libm-test.inc (pow_test): Add more tests.
23556 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23557
d2de7579
JM
235582012-04-08 Joseph Myers <joseph@codesourcery.com>
23559
23560 [BZ #13705]
23561 * math/libm-test.inc (exp_test): Do not allow overflow exception
23562 on underflow test.
23563
f77f1232
AJ
235642012-04-08 Aurelien Jarno <aurelien@aurel32.net>
23565
23566 [BZ #13705]
23567 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
23568 instead of __kernel_standard_f.
23569
3884932b
MF
235702012-04-08 Mike Frysinger <vapier@gentoo.org>
23571
23572 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
23573 * sysdeps/x86_64/memset_chk.S: Likewise.
23574
54472e9c
AJ
235752012-04-08 Andreas Jaeger <aj@suse.de>
23576
6ab0fbfc
AJ
23577 [BZ #10153]
23578 * manual/startup.texi (Environment Access): Describe return value
23579 for putenv and setenv.
23580
61efba8c
AJ
23581 [BZ #6895]
23582 * manual/filesys.texi (Directory Entries): Add description for
23583 DT_LNK.
23584
95c3f29a
AJ
23585 [BZ #6890]
23586 * manual/filesys.texi (Directory Entries): Clarify that it's file
23587 system not operating system in the description of DT_UNKNOWN.
23588
54472e9c
AJ
23589 [BZ #6578]
23590 * manual/syslog.texi (closelog): Fix reference, it's openlog.
23591
624254b1
SC
235922012-04-08 Stephen Compall <s11@member.fsf.org>
23593
23594 [BZ #6649]
23595 * manual/llio.texi (Opening and Closing Files): Add cross
23596 reference to explain mode argument.
23597
1e4920e0
MF
235982012-04-07 Mike Frysinger <vapier@gentoo.org>
23599
23600 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
23601 * sysdeps/x86_64/memset_chk.S: Likewise.
23602
5ed848f3
DM
236032012-04-07 David S. Miller <davem@davemloft.net>
23604
23605 * elf/elf.h (R_SPARC_WDISP10): Define.
23606 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
23607 R_SPARC_SIZE32.
23608 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
23609 R_SPARC_SIZE64 and R_SPARC_H34.
23610
96154cd8
CD
236112012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
23612
23613 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
23614 conditions and remove no longer applicable assertion.
23615
9904dc47
L
236162012-04-06 H.J. Lu <hongjiu.lu@intel.com>
23617
23618 * bits/byteswap.h: Include <features.h>.
23619 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
23620 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
23621
f8887d0a
L
236222012-04-06 H.J. Lu <hongjiu.lu@intel.com>
23623
23624 * bits/byteswap.h (__bswap_16): Removed.
23625 Include <bits/byteswap-16.h> to get __bswap_16.
23626 * sysdeps/i386/bits/byteswap.h: Likewise.
23627 * sysdeps/s390/bits/byteswap.h: Likewise.
23628 * sysdeps/x86_64/bits/byteswap.h: Likewise.
23629 * bits/byteswap-16.h: New file.
23630 * sysdeps/i386/bits/byteswap-16.h: Likewise.
23631 * sysdeps/s390/bits/byteswap-16.h: Likewise.
23632 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
23633 * string/Makefile (headers): Add bits/byteswap-16.h.
23634
62470f60
PP
236352012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
23636
23637 [BZ #13895]
23638 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
23639 extra indirection.
23640 * nss/Makefile (tests-static, tests): Add tst-nss-static.
23641 * nss/tst-nss-static.c: New.
23642
4dad7bab
RM
236432012-04-06 Robert Millan <rmh@gnu.org>
23644
23645 [BZ #6486]
23646 * manual/llio.texi (File Position Primitive): lseek
23647 refers to WHENCE when it really means OFFSET.
23648
e9142a17
AJ
236492012-04-06 Andreas Jaeger <aj@suse.de>
23650
2c040eff
AJ
23651 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
23652 strncmp declarations.
23653
e9142a17
AJ
23654 * abilist/libc.abilist: Add __poll and __ppoll.
23655
ff9f1c5f
DM
236562012-04-05 David S. Miller <davem@davemloft.net>
23657
dcd2ae90
DM
23658 * scripts/check-local-headers.sh: Accept a host triplet in the
23659 path matched by the exclude regexp.
23660
993eb054
DM
23661 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
23662 definition.
23663 * sysdeps/powerpc/powerpc32/dl-machine.h
23664 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
23665 * sysdeps/s390/s390-32/dl-machine.h
23666 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23667 * sysdeps/sparc/sparc32/dl-machine.h
23668 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23669 * sysdeps/sparc/sparc64/dl-machine.h
23670 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23671
ff9f1c5f
DM
23672 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
23673 lazy binding.
48e2e132 23674 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
23675 undefined symbol errors.
23676
48e2e132 23677 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
23678 DT_NEEDED entries.
23679
e80d6f94
MM
236802012-04-05 Michael Matz <matz@suse.de>
23681
23682 [BZ #13592]
23683 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
23684
349fa79f
AJ
236852012-04-05 Andreas Jaeger <aj@suse.de>
23686
23687 [BZ #13908]
23688 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
23689 comment.
23690
f402708f
KK
236912012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23692
23693 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
23694 which ROUND is no valid rounding mode.
23695
2ecccfc9
KK
236962012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23697
23698 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
23699 read again.
23700 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
23701
8a53f50f
KK
237022012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23703
23704 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
23705 an exception using FPU order intentionally.
23706
237072012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23708
23709 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
23710 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
23711 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
23712 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
23713
d653abb7
SJ
237142012-04-05 Simon Josefsson <simon@josefsson.org>
23715
23716 [BZ #12340]
23717 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
23718 EINVAL when BUFLEN is too smal.
23719
c3b1bf7d
TS
237202012-04-05 Thomas Schwinge <thomas@codesourcery.com>
23721
23722 [BZ #13553]
23723 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
23724 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
23725
b1aa60f3
AJ
237262012-04-03 Andreas Jaeger <aj@suse.de>
23727
c3b1bf7d 23728 [BZ #13938]
67f60a26
AJ
23729 * manual/setjmp.texi (System V contexts): Fix sentence.
23730
b1aa60f3
AJ
23731 [BZ #13926]
23732 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
23733 New macro for this case.
23734 [!__GNUC__] (__bswap_64): New inline function for this case.
23735 * sysdeps/x86_64/bits/byteswap.h: Likewise.
23736 * bits/byteswap.h: Likewise.
23737 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
23738 ull, guard with __GLIBC_HAVE_LONG_LONG.
23739
23740 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
23741 __GLIBC_HAVE_LONG_LONG.
23742
23743 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
23744 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
23745
39c59c35
TMQMF
237462012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23747
23748 [BZ #13691]
23749 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
23750 inptr and inend, rather than using last_ch.
23751
135ffda8
DM
237522012-04-02 David S. Miller <davem@davemloft.net>
23753
23754 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
23755 * stdio-common/printf-parse.h (read_int): Change return type to
23756 'int', return -1 on INT_MAX overflow.
23757 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
23758 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
23759 overflows INT_MAX. Check for overflow of in-format-string precision
23760 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
23761 SIZE_MAX not INT_MAX for integer overflow test.
23762 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
23763 skip the construct in the format string but do not record anything.
23764 * stdio-common/bug22.c: Adjust to test both width/prevision
23765 INT_MAX overflow as well as total length INT_MAX overflow. Check
23766 explicitly for proper errno values.
23767
228c019e
TS
237682012-04-02 Thomas Schwinge <thomas@codesourcery.com>
23769
302cadd3
TS
23770 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
23771 CHAR_MAX.
23772 * string/test-strcmp.c [! WIDE]: Likewise.
23773 * time/tst-mktime2.c: Likewise for INT_MAX.
23774 * string/test-string.h: #include <sys/param.h> for MIN.
23775
228c019e
TS
23776 * csu/init-first.c (__libc_init_first): Call __ctype_init.
23777 * sysdeps/i386/init-first.c (init): Likewise.
23778 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
23779 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
23780 * sysdeps/sh/init-first.c (init): Likewise.
23781
cfa633f5
UD
237822012-04-01 Ulrich Drepper <drepper@gmail.com>
23783
23784 * po/ru.po: Update from translation team.
d1635ef8 23785 * po/vi.po: Likewise.
cfa633f5 23786
6cd0a5ea
SP
237872012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
23788
23789 * resolv/nss_dns/dns-host.c: Merge copyright years.
23790
4b43400f
LD
237912012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23792
23793 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
23794 Optimize memcpy with prefetch if
23795 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
23796 src, dst pointers have unequal 16 byte alignments.
23797
48c41d04
SP
237982012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23799
23800 [BZ #13928]
23801 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
23802 from a CNAME entry and return the minimum ttl for the query.
23803 (gaih_getanswer_slice): Likewise.
23804
b8dc394d
JL
238052012-03-30 Jeff Law <law@redhat.com>
23806
23807 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
23808 due to long keys.
23809 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
23810 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
23811
2f5a5ed0
JL
23812 * resolv/nss_dns/dns-host.c: Update copyright year.
23813
1d39e359
UD
238142012-03-30 Ulrich Drepper <drepper@gmail.com>
23815
c030f70c 23816 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 23817 requests to save a system call. Fix check that all bytes are sent.
c030f70c 23818
1d39e359
UD
23819 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
23820 comments for sendmmsg.
23821
238222012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
23823
23824 [BZ #13691]
23825 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
23826 with only 1 character between 0x0041 and 0x01b0.
23827 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
23828 * wcsmbs/tst-mbsnrtowcs.c: New file.
23829
20fde227
DM
238302012-03-29 David S. Miller <davem@davemloft.net>
23831
23832 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
23833 small copies by hand.
23834
984a4237
JL
238352012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23836
23837 [BZ #13761]
23838 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
23839 _nss_compat_initgroups_dyn): Fall back to malloc/free
23840 for large group memberships.
23841
18c9d62b
DM
238422012-03-28 David S. Miller <davem@davemloft.net>
23843
88d85d4f
DM
23844 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
23845 that branches into memcpy.
23846 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
23847 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
23848 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
23849 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
23850 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
23851 bits.
23852 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
23853 implementation too.
23854 * sysdeps/sparc/mempcpy.S: New file.
23855
e5aa83e1
DM
23856 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
23857 the IFUNC routine in the libc case.
23858 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
23859
88570753
DM
23860 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
23861 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
23862 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
23863 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
23864 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
23865 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
23866 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
23867 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
23868
249d7567
DM
23869 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
23870 loop to 256 bytes instead of 64 bytes and fix test signedness.
23871
18c9d62b
DM
23872 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
23873 * sysdeps/sparc/sparc32/Makefile: rather than here...
23874 * sysdeps/sparc/sparc64/Makefile: and here.
23875
05f3d1f6
UD
238762012-03-28 Ulrich Drepper <drepper@gmail.com>
23877
23878 * malloc/mallocbug.c: Avoid warnings about unused variables.
23879
86ae07a8
JL
238802012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
23881
23882 [BZ #13760]
23883 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
23884 in the right place. Discard and retry query if response is
23885 larger than input buffer size.
23886
41bf21a1
JM
238872012-03-28 Joseph Myers <joseph@codesourcery.com>
23888
d6270972
JM
23889 [BZ #369]
23890 [BZ #2678]
23891 [BZ #3866]
23892 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
23893 x for large integer exponent.
23894 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
23895 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
23896 sign of result as needed afterwards.
23897 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
23898 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
23899 result for underflowing pow the same as for overflow.
23900 (__kernel_standard_l): Handle powl overflow and underflow here
23901 rather than calling __kernel_standard.
23902 * math/libm-test.inc (pow_test): Add more tests.
23903
414fca03 23904 [BZ #3868]
41bf21a1
JM
23905 [BZ #13879]
23906 [BZ #13910]
23907 [BZ #13911]
23908 [BZ #13912]
23909 [BZ #13913]
23910 [BZ #13915]
23911 [BZ #13916]
23912 [BZ #13917]
23913 [BZ #13918]
23914 [BZ #13919]
23915 [BZ #13920]
23916 [BZ #13921]
23917 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
23918 * sysdeps/ieee754/k_standard.c: Include <float.h>.
23919 (__kernel_standard_l): New function.
23920 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
23921 __kernel_standard.
23922 * math/w_acosl.c (__acosl): Likewise.
23923 * math/w_asinl.c (__asinl): Likewise.
23924 * math/w_atan2l.c (__atan2l): Likewise.
23925 * math/w_atanhl.c (__atanhl): Likewise.
23926 * math/w_coshl.c (__coshl): Likewise.
23927 * math/w_exp10l.c (__exp10l): Likewise.
23928 * math/w_exp2l.c (__exp2l): Likewise.
23929 * math/w_fmodl.c (__fmodl): Likewise.
23930 * math/w_hypotl.c (__hypotl): Likewise.
23931 * math/w_j0l.c (__j0l, __y0l): Likewise.
23932 * math/w_j1l.c (__j1l, __y1l): Likewise.
23933 * math/w_jnl.c (__jnl, __ynl): Likewise.
23934 * math/w_lgammal.c (__lgammal): Likewise.
23935 * math/w_log10l.c (__log10l): Likewise.
23936 * math/w_log2l.c (__log2l): Likewise.
23937 * math/w_logl.c (__logl): Likewise.
23938 * math/w_powl.c (__powl): Likewise.
23939 * math/w_remainderl.c (__remainderl): Likewise.
23940 * math/w_scalbl.c (sysv_scalbl): Likewise.
23941 * math/w_sinhl.c (__sinhl): Likewise.
23942 * math/w_sqrtl.c (__sqrtl): Likewise.
23943 * math/w_tgammal.c (__tgammal): Likewise.
23944 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
23945 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
23946 * math/libm-test.inc (acos_test): Add more tests.
23947 (acosh_test): Likewise.
23948 (asin_test): Likewise.
23949 (atanh_test): Likewise.
23950 (exp_test): Likewise.
23951 (exp10_test): Likewise.
23952 (exp2_test): Likewise.
23953 (expm1_test): Likewise.
23954 (lgamma_test): Likewise.
23955 (log_test): Likewise.
23956 (log10_test): Likewise.
23957 (log1p_test): Likewise.
23958 (log2_test): Likewise.
23959 (pow_test): Do not allow some spurious overflow exceptions.
23960 (sqrt_test): Add more tests.
23961 (tgamma_test): Likewise.
23962 (y0_test): Likewise.
23963 (y1_test): Likewise.
23964 (yn_test): Likewise.
23965
dd62fda6
AB
239662012-03-27 Anton Blanchard <anton@samba.org>
23967
23968 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
23969 MAP_HUGETLB.
23970 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23971 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
23972 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23973
1e3cdfda
AJ
239742012-03-27 David S. Miller <davem@davemloft.net>
23975
b855ab85
DM
23976 * conform/Makefile: Run run-conformtest.sh using $(BASH).
23977
1e3cdfda
AJ
23978 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
23979 have-as-vis3 check.
23980
239812012-03-27 Andreas Jaeger <aj@suse.de>
23982
23983 * sysdeps/x86_64/elf/configure.in: Moved to ...
23984 * sysdeps/x86_64/configure.in: ... here.
23985 * sysdeps/x86_64/elf/start.S: Moved to ...
23986 * sysdeps/x86_64/start.S: ... here.
23987 * sysdeps/x86_64/elf/configure: Delete.
23988
23989 * sysdeps/x86_64/configure.in: Merge contents from
23990 sysdeps/i386/configure.in (without i686 check).
23991
23992 * sysdeps/i386/elf/Versions: Merge into ...
23993 * sysdeps/i386/Versions: ... this.
23994 * sysdeps/i386/elf/Versions: Delete file.
23995 * sysdeps/i386/elf/start.S: Moved to ...
23996 * sysdeps/i386/start.S: ...here.
23997 * sysdeps/i386/elf/configure.in: Merge into...
23998 * sysdeps/i386/configure.in: ...here.
23999 * sysdeps/i386/elf/configure.in: Delete file.
24000 * sysdeps/i386/elf/configure: Delete file.
24001
24002 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
24003 * debug/backtracesyms.c: ... here.
24004 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
24005 * debug/backtracesymsfd.c: ... here.
24006 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
24007 * sysdeps/generic/ifunc-sel.h: ... here.
24008
24009 * sysdeps/unix/i386/start.c: Delete file.
24010 * sysdeps/unix/sparc/start.c: Delete file.
24011 * sysdeps/unix/start.c: Delete file.
24012
24013 * sysdeps/sh/elf/configure.in: Moved to ...
24014 * sysdeps/sh/configure.in: ... here.
24015 * sysdeps/sh/elf/start.S: Moved to ...
24016 * sysdeps/sh/start.S: ... here.
24017 * sysdeps/sh/elf/configure: Delete file.
24018
24019 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
24020 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
24021 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
24022 * sysdeps/powerpc/powerpc64/entry.h: ... here.
24023 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
24024 * sysdeps/powerpc/powerpc64/start.S: here.
24025 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
24026 * sysdeps/powerpc/powerpc64/Makefile: ... this.
24027 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
24028 * sysdeps/powerpc/powerpc64/configure.in: ... this.
24029 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
24030
24031 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
24032 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
24033 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
24034 * sysdeps/powerpc/powerpc32/start.S: ... here.
24035 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
24036 * sysdeps/powerpc/powerpc32/configure.in: ... this.
24037 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
24038
24039 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
24040 * sysdeps/powerpc/ifunc-sel.h: ... here.
24041 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
24042 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
24043
24044 * sysdeps/sparc/elf/configure.in: Moved to ...
24045 * sysdeps/sparc/configure.in: ... here.
24046 * sysdeps/sparc/elf/configure: Delete file.
24047 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
24048 * sysdeps/sparc/sparc32/start.S: ... here.
24049 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
24050 * sysdeps/sparc/sparc64/start.S: ... here.
24051 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
24052 * sysdeps/sparc/sparc32/Makefile: ... this.
24053 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
24054 * sysdeps/sparc/sparc64/Makefile: ... this.
24055
24056 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
24057 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
24058 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
24059 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
24060 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
24061 * sysdeps/s390/s390-32/setjmp.S: ... here.
24062 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
24063 * sysdeps/s390/s390-32/configure.in: ... here.
24064 * sysdeps/s390/s390-32/elf/configure: Delete file.
24065 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
24066 * sysdeps/s390/s390-32/start.S: ... here.
24067
24068 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
24069 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
24070 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
24071 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
24072 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
24073 * sysdeps/s390/s390-64/setjmp.S: ... here.
24074 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
24075 * sysdeps/s390/s390-64/configure.in: ... here
24076 * sysdeps/s390/s390-64/elf/configure: Delete file.
24077 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
24078 * sysdeps/s390/s390-64/start.S: ... here.
24079 * sysdeps/s390/s390-64/elf/configure: Delete.
24080
24081 * configure.in: Remove support for elf directories in sysdeps.
24082
24083 * configure: Regenerated.
24084 * sysdeps/i386/configure: Regenerated.
24085 * sysdeps/powerpc/powerpc32/configure: Regenerated.
24086 * sysdeps/powerpc/powerpc64/configure: Regenerated.
24087 * sysdeps/s390/s390-32/configure: Regenerated.
24088 * sysdeps/s390/s390-64/configure: Regenerated.
24089 * sysdeps/sh/configure: Regenerated.
24090 * sysdeps/sparc/configure: Regenerated.
24091 * sysdeps/x86_64/configure: Regenerated.
24092
a3f61311
AS
240932012-03-26 Andreas Schwab <schwab@linux-m68k.org>
24094
c876e002
AS
24095 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24096
a3f61311
AS
24097 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
24098 denormal result into account.
24099
ac4c54f0
RM
241002012-03-25 Roland McGrath <roland@hack.frob.com>
24101
24102 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
24103 Reported by Allan McRae <allan@archlinux.org>.
24104
6a9b9c02
JL
241052012-03-23 Jeff Law <law@redhat.com>
24106
24107 * nss/getnssent.c (__nss_getent): Fix typo.
24108
4c42a0c1
DM
241092012-03-23 David S. Miller <davem@davemloft.net>
24110
24111 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24112
1532c7ac
L
241132012-03-23 H.J. Lu <hongjiu.lu@intel.com>
24114
24115 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
24116 to pad to uint64_t for each field.
24117 (dl_tls_index): Replace unsigned long with uint64_t.
24118
3ff42526
PP
241192012-03-23 Daniel Jacobowitz <dmj@google.com>
24120 Paul Pluzhnikov <ppluzhnikov@google.com>
24121
24122 [BZ #6528]
24123 * grp/Makefile (otherlibs): Don't set it.
24124 * inet/Makefile (otherlibs): Likewise.
24125 * login/Makefile (otherlibs): Likewise.
24126 * nscd/Makefile (otherlibs): Likewise.
24127 * posix/Makefile (otherlibs): Likewise.
24128 * pwd/Makefile (otherlibs): Likewise.
24129 * rt/Makefile (otherlibs): Likewise.
24130 * sunrpc/Makefile (otherlibs): Likewise.
24131 * nss/Makefile (otherlibs): Likewise.
24132 Add libnss_files to routines and static-only-routines.
24133 ($(objpfx)getent): Remove rule.
24134 * resolv/Makefile: Add libnss_dns and libresolv to routines and
24135 static-only-routines.
24136
7c69cd14
JM
241372012-03-22 Joseph Myers <joseph@codesourcery.com>
24138
24139 [BZ #13892]
24140 * math/s_cexp.c: Include <float.h>.
24141 (__cexp): Handle exp result overflowing not necessarily
24142 overflowing both real and imaginary parts of result.
24143 * math/s_cexpf.c: Likewise.
24144 * math/s_cexpl.c: Likewise.
24145 * math/libm-test.inc (cexp_test): Add more tests.
24146 * sysdeps/i386/fpu/libm-test-ulps: Update.
24147 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24148
81b035fe
L
241492012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24150
24151 * include/link.h (ELFW): New macro.
24152 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
24153 Replace ELF64_R_TYPE with ELFW(R_TYPE).
24154
1da7940c
L
241552012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24156
24157 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
24158 with uint64_t.
24159
b749dbb9
L
241602012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24161
24162 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
24163 declaration.
24164 (struct La_x32_retval): Likewise.
24165
2ff87f3f
L
241662012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24167
24168 * sysdeps/x86_64/preconfigure.in: New file.
24169 * sysdeps/x86_64/preconfigure: New generated file.
24170
c0df8e69
JM
241712012-03-22 Joseph Myers <joseph@codesourcery.com>
24172
48e44791
JM
24173 [BZ #13824]
24174 * math/e_exp2l.c: Include <float.h>.
24175 (__ieee754_exp2l): Handle overflow and underflow cases
24176 separately. Only pass fractional part of argument to
24177 __ieee754_expl.
24178 * math/libm-test.inc (exp2_test): Add more tests.
24179
c0df8e69
JM
24180 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
24181 negating x to take absolute value.
24182 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
24183 Likewise.
24184 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
24185 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
24186 Likewise.
24187 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
24188 computing low part if x was negated.
24189 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
24190
c8e43ba7
L
241912012-03-21 H.J. Lu <hongjiu.lu@intel.com>
24192
24193 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
24194 la_x32_gnu_pltexit.
24195 (pltexit): Cast int_retval to ptrdiff_t.
24196 * elf/tst-auditmod3b.c: Likewise.
24197 * elf/tst-auditmod4b.c: Likewise.
24198 * elf/tst-auditmod5b.c: Likewise.
24199 * elf/tst-auditmod6b.c: Likewise.
24200 * elf/tst-auditmod6c.c: Likewise.
24201 * elf/tst-auditmod7b.c: Likewise.
24202
24203 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
24204 and x32_gnu_pltexit.
24205
24206 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
24207 __ELF_NATIVE_CLASS.
24208 (La_x32_regs): New macro.
24209 (La_x32_retval): Likewise.
24210 (la_x32_gnu_pltenter): New function prototype.
24211 (la_x32_gnu_pltexit): Likewise.
24212
7998fa78
AS
242132012-03-21 Andreas Schwab <schwab@linux-m68k.org>
24214
dcb33988
AS
24215 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
24216 exponent.
24217
233fc563
AS
24218 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24219
7998fa78
AS
24220 * configure.in (libc_cv_cc_nofma): Check for option to disable
24221 generation of FMA instructions.
24222 * configure: Regenerate.
24223 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
24224 * sysdeps/ieee754/dbl-64/Makefile: New file.
24225 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24226 Remove brandred-fma4.
24227 (CFLAGS-brandred-fma4.c): Remove.
24228 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
24229 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
24230 define.
24231 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
24232 define.
24233
8e95c99a
L
242342012-03-21 H.J. Lu <hongjiu.lu@intel.com>
24235
24236 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
24237 LLONG_MAX != LONG_MAX.
24238 (_itoa_word): Use _ITOA_WORD_TYPE on value.
24239 (_fitoa_word): Likewise.
24240 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
24241 LLONG_MAX != LONG_MAX.
24242 * stdio-common/_itowa.h: Include <_itoa.h>.
24243 (_itowa_word): Use _ITOA_WORD_TYPE on value.
24244 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
24245 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
24246 only if not defined.
24247 (_ITOA_WORD_TYPE): Likewise.
24248 (_itoa_word): Use _ITOA_WORD_TYPE on value.
24249 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
24250
6f4db457
DM
242512012-03-21 David S. Miller <davem@davemloft.net>
24252
24253 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24254
7785fe5a
L
242552012-03-21 H.J. Lu <hongjiu.lu@intel.com>
24256
24257 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
24258 of x86_64 when setting libc_cv_slibdir, libdir and
24259 libc_cv_localedir.
24260 * sysdeps/unix/sysv/linux/configure: Regenerated.
24261
4535cd55
JM
242622012-03-21 Joseph Myers <joseph@codesourcery.com>
24263
24264 * manual/lang.texi (Old Varargs): Remove section.
24265 (How Variadic): Update menu.
24266 (va_start): Do not mention varargs.h.
24267
17228132
TS
242682012-03-21 Thomas Schwinge <thomas@codesourcery.com>
24269 Joseph Myers <joseph@codesourcery.com>
24270
24271 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
24272 link test.
24273 * configure: Regenerated.
24274
8149f976
TS
242752012-03-21 Thomas Schwinge <thomas@codesourcery.com>
24276
05f3d1f6
UD
24277 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
24278 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
24279 conformtest.pl
8149f976 24280
1a4ac776
JM
242812012-03-21 Joseph Myers <joseph@codesourcery.com>
24282
be22ce65
JM
24283 * NOTES: Remove.
24284 * Makefile (files-for-dist): Remove NOTES.
24285 (NOTES): Remove rule.
24286 * README: Don't refer to NOTES.
24287 * manual/creature.texi: Don't include macros.texi.
24288 * manual/intro.texi (creature.texi): Remove comment referring to
24289 NOTES.
24290
40b601fb
JM
24291 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
24292 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
24293 * configure: Regenerated.
24294 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
24295 LIBC_TRY_CC_OPTION.
24296 (libc_cv_as_i686): Likewise.
24297 (libc_cv_cc_avx): Likewise.
24298 (libc_cv_cc_sse2avx): Likewise.
24299 (libc_cv_cc_fma4): Likewise.
24300 (libc_cv_cc_novzeroupper): Likewise.
24301 * sysdeps/i386/configure: Regenerated.
24302
1a4ac776
JM
24303 [BZ #13883]
24304 * sysdeps/i386/fpu/s_cexp.S: Remove.
24305 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
24306 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
24307 * math/libm-test.inc (cexp_test): Add more tests.
24308 * sysdeps/i386/fpu/libm-test-ulps: Update.
24309 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24310
a458e7fe
AM
243112012-03-21 Allan McRae <allan@archlinux.org>
24312
24313 * timezone/Makefile: Do not install iso3166.tab and zone.tab
24314
0cb7efc5
JM
243152012-03-21 Joseph Myers <joseph@codesourcery.com>
24316
24317 [BZ #13871]
24318 * math/w_exp2.c: Do not include <float.h>.
24319 (o_threshold, u_threshold): Remove.
24320 (__exp2): Calculate result before checking finiteness and calling
24321 __kernel_standard.
24322 * math/w_exp2f.c: Likewise.
24323 * math/w_exp2l.c: Likewise.
24324 * math/libm-test.inc (exp2_test): Require overflow exception for
24325 1e6 input.
2460d3aa
JM
24326
24327 [BZ #3866]
24328 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
24329 range of signed 64-bit integers before using fistpll. Remove
24330 checks for whether integers fit in mantissa bits.
24331 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
24332 the range of signed 32-bit integers before using fistpl. Remove
24333 checks for whether integers fit in mantissa bits.
24334 * sysdeps/i386/fpu/e_powl.S (p64): New object.
24335 (__ieee754_powl): Test for y outside the range of signed 64-bit
24336 integers before using fistpll. Reduce 64-bit values to 63-bit
24337 ones as needed.
24338 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
24339 divide-by-zero is raised for zero to large negative powers.
24340 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
24341 (__ieee754_powl): Test for y outside the range of signed 64-bit
24342 integers before using fistpll. Reduce 64-bit values to 63-bit
24343 ones as needed.
24344 * math/libm-test.inc (pow_test): Add more tests.
24345
eb96ffb0
L
243462012-03-20 H.J. Lu <hongjiu.lu@intel.com>
24347
24348 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
24349 <stdio-common/_itoa.h>.
24350 * debug/segfault.c: Likewise.
24351 * elf/dl-cache.c: Likewise.
24352 * elf/dl-minimal.c: Likewise.
24353 * elf/dl-misc.c: Likewise.
24354 * elf/dl-sysdep.c: Likewise.
24355 * elf/dl-version.c: Likewise.
24356 * elf/rtld.c: Likewise.
24357 * hurd/hurdsock.c: Likewise.
24358 * hurd/lookup-retry.c: Likewise.
24359 * malloc/malloc.c: Likewise.
24360 * malloc/mtrace.c: Likewise.
24361 * nscd/nscd_getgr_r.c: Likewise.
24362 * nscd/nscd_getpw_r.c: Likewise.
24363 * nscd/nscd_getserv_r.c: Likewise.
24364 * posix/getopt_init.c: Likewise.
24365 * posix/wordexp.c: Likewise.
24366 * stdio-common/_itoa.c: Likewise.
24367 * stdio-common/printf_fphex.c: Likewise.
24368 * stdio-common/vfprintf.c: Likewise.
24369 * string/_strerror.c: Likewise.
24370 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
24371 * sysdeps/i386/i686/hp-timing.h: Likewise.
24372 * sysdeps/mach/_strerror.c: Likewise.
24373 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
24374 * sysdeps/mach/hurd/sethostid.c: Likewise.
24375 * sysdeps/mach/hurd/xmknodat.c: Likewise.
24376 * sysdeps/mach/xpg-strerror.c: Likewise.
24377 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24378 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
24379 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
24380 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
24381 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
24382 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
24383 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
24384 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
24385 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
24386 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
24387 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
24388 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
24389 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
24390 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
24391 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
24392 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
24393 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
24394 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
24395 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
24396 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
24397 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
24398
24399 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
24400
24401 * stdio-common/_itoa.h: Moved to ...
24402 * sysdeps/generic/_itoa.h: Here.
24403
24404 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
24405
24406 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
24407 instead of "_itoa.h" and "_itowa.h".
24408 * stdio-common/vfprintf.: Likewise.
24409
d1af992d
L
244102012-03-20 H.J. Lu <hongjiu.lu@intel.com>
24411
24412 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
24413 <bits/wordsize.h>.
24414 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
24415 (__signbit): Likwise.
24416 (llrintf): Likwise.
24417 (llrint): Likwise.
24418
114883e0
L
244192012-03-20 H.J. Lu <hongjiu.lu@intel.com>
24420
24421 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
24422 __WORDSIZE != 64.
24423
c135cc1b
JM
244242012-03-20 Joseph Myers <joseph@codesourcery.com>
24425
24426 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
24427 OVERFLOW_EXCEPTION_OK.
24428 * math/libm-test.inc ("Philosophy"): Update comment about
24429 exception testing.
24430 (OVERFLOW_EXCEPTION): Define.
24431 (OVERFLOW_EXCEPTION_OK): Likewise.
24432 (INVALID_EXCEPTION_OK): Renumber.
24433 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
24434 (IGNORE_ZERO_INF_SIGN): Likewise.
24435 (test_exceptions): Handle FE_OVERFLOW.
24436 (exp10_test): Expect overflow exceptions.
24437 (exp2_test): Likewise.
24438 (expm1_test): Likewise.
24439 (nextafter_test): Likewise.
24440 (pow_test): Likewise.
24441 (scalbn_test): Likewise.
24442 (scalbln_test): Likewise.
24443
95443d88
L
244442012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24445
24446 * sysdeps/x86_64/bits/atomic.h
24447 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
24448 64bit integer.
24449 (atomic_exchange_acq): Likewise.
24450 (__arch_exchange_and_add_body): Likewise.
24451 (__arch_add_body): Likewise.
24452 (atomic_add_negative): Likewise.
24453 (atomic_add_zero): Likewise.
24454
490df6c4
L
244552012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24456
c2722551 24457 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
24458 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
24459
5e52b189
L
244602012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24461
24462 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
24463 Check __x86_64__ instead of __WORDSIZE.
24464
a9879d4c
L
244652012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24466
24467 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
24468
5df98260
DM
244692012-03-19 David S. Miller <davem@davemloft.net>
24470
e1497744
DM
24471 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24472
5df98260
DM
24473 * sysdeps/sparc/fpu/fenv_private.h: New file.
24474 * sysdeps/sparc/fpu/math_private.h: Use it.
24475 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
24476 Remove.
24477 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
24478 (libc_feholdexcept_setroundl): Remove.
24479 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
24480 Remove.
24481 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
24482 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
24483
b4c35121
L
244842012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24485
24486 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
24487 int64_t instead of long int.
24488 (INSERT_WORDS64): Likwise.
24489
56965fd7
L
244902012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24491
24492 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
24493 _Unwind_GetCFA return to _Unwind_Ptr first.
24494
83d1aec8
JM
244952012-03-19 Joseph Myers <joseph@codesourcery.com>
24496
1897ad44
JM
24497 [BZ #13629]
24498 * math/s_clog.c: Include <float.h>.
24499 (__clog): Scale large or subnormal inputs.
24500 * math/s_clogf.c: Likewise.
24501 * math/s_clogl.c: Likewise.
24502 * math/s_clog10.c: Include <float.h>.
24503 (M_LOG10_2): Define.
24504 (__clog10): Scale large or subnormal inputs.
24505 * math/s_clog10f.c: Likewise.
24506 * math/s_clog10l.c: Likewise.
24507 * math/libm-test.inc (clog_test): Add more tests.
24508 (clog10_test): Likewise.
24509 * sysdeps/i386/fpu/libm-test-ulps: Update.
24510 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24511
7726d6a9
JM
24512 [BZ #11451]
24513 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
24514 x and y.
24515 * math/libm-test.inc (atan2_test): Add another test.
24516
83d1aec8
JM
24517 * Makerules (common-objdir-compile): Remove.
24518 * sysdeps/unix/Makefile (config-generated): Do not add
24519 $(unix-generated) to variable.
24520 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
24521 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
24522 Remove rule.
24523 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
24524 Likewise.
24525 [generic bits/local_lim.h] (before-compile): Do not append to
24526 variable.
24527 [generic bits/local_lim.h] (common-generated): Likewise.
24528 [generic sys/param.h] (before-compile): Do not append to variable.
24529 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
24530 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
24531 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
24532 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
24533 include.
24534 [generic sys/param.h] (sys/param.h-includes): Remove variable.
24535 [generic sys/param.h] (sys/param.h-includes): Remove rule.
24536 [generic sys/param.h] ($(addprefix
24537 $(common-objpfx),$(sys/param.h-includes))): Likewise.
24538 [generic sys/param.h] (common-generated): Do not append to
24539 variable.
24540 [generic sys/param.h] (sysdep_headers): Likewise.
24541 [generic bits/errno.h] (before-compile): Do not append to
24542 variable.
24543 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
24544 rule.
24545 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
24546 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
24547 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
24548 [generic bits/errno.h] (common-generated): Do not append to
24549 variable.
24550 [generic bits/ioctls.h] (before-compile): Do not append to
24551 variable.
24552 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
24553 rule.
24554 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
24555 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
24556 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
24557 rule.
24558 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
24559 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
24560 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
24561 [generic bits/ioctls.h] (common-generated): Do not append to
24562 variable.
24563 [generic sys/syscall.h] (syscall.h): Remove variable.
24564 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
24565 rule.
24566 [generic sys/syscall.h] (before-compile): Do not append to
24567 variable.
24568 [generic sys/syscall.h] (common-generated): Likewise.
24569 * sysdeps/unix/errnos-tmpl.c: Remove file.
24570 * sysdeps/unix/errnos.awk: Likewise.
24571 * sysdeps/unix/ioctls-tmpl.c: Likewise.
24572 * sysdeps/unix/ioctls.awk: Likewise.
24573 * sysdeps/unix/mk-local_lim.c: Likewise.
24574 * sysdeps/unix/snarf-ioctls: Likewise.
24575
4851a949
RH
245762012-03-19 Richard Henderson <rth@twiddle.net>
24577
bd37f2ee
RH
24578 * sysdeps/i386/fpu/fenv_private.h: New file.
24579 * sysdeps/i386/fpu/math_private.h: Use it.
24580 (math_opt_barrier, math_force_eval): Remove.
24581 (libc_feholdexcept_setround_53bit): Remove.
24582 (libc_feupdateenv_53bit): Remove.
24583 * sysdeps/x86_64/fpu/math_private.h: Likewise.
24584 (math_opt_barrier, math_force_eval): Remove.
24585 (libc_feholdexcept): Remove.
24586 (libc_feholdexcept_setround): Remove.
24587 (libc_fetestexcept, libc_fesetenv): Remove.
24588 (libc_feupdateenv_test): Remove.
24589 (libc_feupdateenv, libc_feholdsetround): Remove.
24590 (libc_feresetround): Remove.
24591
d0adc922
RH
24592 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
24593 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
24594
0fe0f1f8
RH
24595 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
24596 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
24597 (libc_feupdateenv_testl): New.
24598 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
24599 (libc_feupdateenv_testf): New.
24600 (libc_feupdateenv): Use libc_feupdateenv_test.
24601 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
24602 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
24603
eb92c487
RH
24604 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
24605 (libc_feholdsetroundf, libc_feholdsetroundl): New.
24606 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
24607 (libc_feresetround_noex): New.
24608 (libc_feresetround_noexf): New.
24609 (libc_feresetround_noexl): New.
24610 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
24611 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
24612 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
24613 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
24614 SET_RESTORE_ROUND.
24615 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
24616 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
24617 (__cos): Likewise.
24618 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
24619 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
24620 SET_RESTORE_ROUND_NOEX.
24621 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
24622 SET_RESTORE_ROUND_NOEXF.
24623 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
24624 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
24625 (libc_feholdsetroundf): New.
24626 (libc_feresetround, libc_feresetroundf): New.
24627
7d2e8012
RH
24628 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
24629 (libc_feholdexcept_setround_53bit): Convert from macro to function.
24630 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
24631
b4dabbb4
RH
24632 * sysdeps/generic/math_private.h: Include <fenv.h>.
24633 (default_libc_feholdexcept): New.
24634 (default_libc_feholdexcept_setround): New.
24635 (default_libc_fesetenv, default_libc_feupdateenv): New.
24636 (libc_feholdexcept): Only define if undefined.
24637 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
24638 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
24639 (libc_feholdexcept_setroundl): Likewise.
24640 (libc_feholdexcept_setround_53bit): Likewise.
24641 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
24642 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
24643 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
24644 (libc_feupdateenv_53bit): Likewise.
24645 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
24646 (libc_feholdexcept): Convert from macro to inline function.
24647 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
24648 (libc_fesetenv, libc_feupdateenv): Likewise.
24649
4851a949
RH
24650 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
24651 not previously defined.
24652 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
24653 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
24654 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
24655 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
24656 * sysdeps/ieee754/flt-32/math_private.h: New file.
24657 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
24658 math_private.h below SET_FLOAT_WORD.
24659 (__isnan, __isinf_ns, __finite): Remove.
24660 (__isnanf, __isinf_nsf, __finitef): Remove.
24661
e79d442e
AS
246622012-03-18 Andreas Schwab <schwab@linux-m68k.org>
24663
24664 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24665
90b80344
DM
246662012-03-17 David S. Miller <davem@davemloft.net>
24667
24668 [BZ #6471]
24669 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
24670 for 2.16.
24671
edc21804
DM
246722012-03-16 David S. Miller <davem@davemloft.net>
24673
77e927af
DM
24674 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
24675 warnings.
24676
374976dd
DM
24677 [BZ #6471]
24678 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
24679 properly.
24680 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
24681 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
24682 sysdep_routines when subdir is sysvipc.
24683 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
24684 __getshmlba helper.
24685
edc21804
DM
24686 * sysdeps/sparc/fpu/libm-test/ulps: Update.
24687
473c3ef3
L
246882012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24689
24690 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
24691 [__LP64__].
24692
eb0f39b6
L
246932012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24694
24695 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
24696 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
24697 (__lround): Renamed to ...
24698 (__llround): This. Replace long int with long long int.
24699 Define lround functions as aliases of llround functions.
24700 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
24701
6b6cd74b
L
247022012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24703
24704 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
24705 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
24706 adresses to uintptr_t. Replace "long int" and "unsigned long
24707 int" with "greg_t" on va_arg.
24708
f1a77b01
L
247092012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24710
24711 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
24712 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
24713
24714 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
24715 Move e_machine check before EI_CLASS check. Handle x32
24716 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
24717 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
24718 SKIP_EM_IA_64 and include
24719 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
24720
24721 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
24722 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
24723 (add_system_dir): New macro.
24724
24725 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
24726 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
24727
11b90b9f
JM
247282012-03-16 Joseph Myers <joseph@codesourcery.com>
24729
c36e1d23
JM
24730 [BZ #2551]
24731 [BZ #2552]
24732 [BZ #2553]
24733 [BZ #2554]
24734 [BZ #2562]
24735 [BZ #2563]
24736 [BZ #2565]
24737 [BZ #2566]
24738 [BZ #2576]
24739 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
24740 (y0): Likewise.
24741 * math/w_j0f.c (j0f): Likewise.
24742 (y0f): Likewise.
24743 * math/w_j0l.c (__j0l): Likewise.
24744 (__y0l): Likewise.
24745 * math/w_j1.c (j1): Likewise.
24746 (y1): Likewise.
24747 * math/w_j1f.c (j1f): Likewise.
24748 (y1f): Likewise.
24749 * math/w_j1l.c (__j1l): Likewise.
24750 (__y1l): Likewise.
24751 * math/w_jn.c (jn): Likewise.
24752 (yn): Likewise.
24753 * math/w_jnf.c (jnf): Likewise.
24754 (ynf): Likewise.
24755 * math/w_jnl.c (__jnl): Likewise.
24756 (__ynl): Likewise.
24757 * math/libm-test.inc (j0_test): Add more tests.
24758 (j1_test): Likewise.
24759 (jn_test): Likewise. Add trailing semicolon to existing test.
24760 (y0_test): Likewise.
24761 (y1_test): Likewise.
24762 * sysdeps/i386/fpu/libm-test-ulps: Update.
24763 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24764
11b90b9f
JM
24765 [BZ #13851]
24766 [BZ #13854]
24767 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
24768 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
24769 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
24770 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
24771 (__tanl): Set errno for infinite argument.
24772 * sysdeps/i386/fpu/mptan.c: Remove.
24773 * sysdeps/i386/fpu/s_tan.S: Likewise.
24774 * sysdeps/i386/fpu/s_tanl.S: Likewise.
24775 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
24776 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
24777 * math/libm-test.inc (tan_test): Add more tests and enable more
24778 tests for double and long double.
24779 * sysdeps/i386/fpu/libm-test-ulps: Update.
24780 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24781
6a1bd2a1
JK
247822012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
24783
24784 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
24785 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
24786
10a803e0
RM
247872012-03-16 Roland McGrath <roland@hack.frob.com>
24788
24789 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
24790 * configure.in: Use it for both main tree and add-ons.
24791 * configure: Regenerated.
24792
f196c7f7
L
247932012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24794
24795 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
24796
8848d99d
JM
247972012-03-16 Joseph Myers <joseph@codesourcery.com>
24798
96cbe7f4
JM
24799 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
24800 in comment.
24801
8848d99d
JM
24802 [BZ #13851]
24803 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
24804 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
24805 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
24806 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
24807 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
24808 infinite argument.
24809 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
24810 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
24811 != 0 for prec == 2.
24812 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
24813 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
24814 * sysdeps/i386/fpu/s_cosl.S: Likewise.
24815 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
24816 * sysdeps/i386/fpu/s_sinl.S: Likewise.
24817 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
24818 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
24819 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
24820 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
24821 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
24822 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
24823 * math/libm-test.inc (cos_test): Add more tests and enable more
24824 tests for long double.
24825 (sin_test): Likewise.
24826 (sincos_test): Likewise.
24827 * sysdeps/i386/fpu/libm-test-ulps: Update.
24828 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24829
dd7f4703
DM
248302012-03-16 David S. Miller <davem@davemloft.net>
24831
24832 * sysdeps/sparc/fpu/math_private.h: New file.
24833
006f1daa
DM
248342012-03-15 David S. Miller <davem@davemloft.net>
24835
c0c83bc8
DM
24836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
24837 file.
e6a62e18 24838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
24839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
24840 file.
e6a62e18
DM
24841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
24842 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
24843 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
24844 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
24845 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
24846 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
24847 sysdep routines.
24848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
24849
88cb87d9
DM
24850 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
24851 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
24852
006f1daa 24853 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
24854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
24855 sparc-ifunc.h
006f1daa 24856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
24857 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
24858 Likewise.
24859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
24860 Likewise.
006f1daa
DM
24861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
24862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
24863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
24864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
24865 Likewise.
006f1daa
DM
24866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
24867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
24868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
24869 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
24870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
24871 Likewise.
24872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
24873 Likewise.
006f1daa
DM
24874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
24875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
24876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
24877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
24878 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
24879 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
24880 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
24881 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
24882 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
24883 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
24884 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
24885 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
24886 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
24887 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
24888 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
24889 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
24890 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
24891 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
24892 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
24893 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
24894 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
24895 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
24896 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
24897 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
24898
11e0098e
AS
248992012-03-15 Andreas Schwab <schwab@linux-m68k.org>
24900
24901 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
24902 scaling.
24903 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24904
e85b09d0
AJ
249052012-03-15 Andreas Jaeger <aj@suse.de>
24906
24907 [BZ #13852]
24908 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
24909 ieee754/flt-32 implementation for sin, cos and sincos.
24910 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
24911 * sysdeps/i386/fpu/s_cosf.S: Likewise.
24912 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
24913 * sysdeps/i386/fpu/s_sinf.S: Likewise.
24914 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
24915 ieee754/flt-32 implementation for tan.
24916
24917 * math/libm-test.inc (cos_test): Enable some large input tests for
24918 float as well
24919 (sin_test): Likewise.
24920 (sincos_test): Likewise.
24921 (tan_test): Add tests for large input.
24922
24923 * sysdeps/i386/fpu/libm-test-ulps: Update.
24924
81c64153
AJ
249252012-03-15 Andreas Jaeger <aj@suse.de>
24926
24927 [BZ #13658]
24928 * math/libm-test.inc (cos_test): Add more test cases.
24929 (sin_test): Likewise.
24930 (sincos_test): Likewise.
24931
7bbfa5c6
AJ
249322012-03-15 Andreas Jaeger <aj@suse.de>
24933
24934 [BZ #13837]
24935 * math/libm-test.inc (cos_test): Add a test case for large input
24936 value.
24937 (sin_test): Likewise.
24938 (sincos_test): Likewise.
24939
249402012-03-15 Andreas Jaeger <aj@suse.de>,
24941 Joseph Myers <joseph@codesourcery.com>
24942
24943 [BZ #13658]
0671f479 24944 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
24945 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
24946 * sysdeps/i386/fpu/branred.c: Likewise.
24947 * sysdeps/i386/fpu/dosincos.c: Likewise.
24948 * sysdeps/i386/fpu/mpa.c: Likewise.
24949 * sysdeps/i386/fpu/s_cos.S: Likewise.
24950 * sysdeps/i386/fpu/s_sin.S: Likewise.
24951 * sysdeps/i386/fpu/s_sincos.S: Likewise.
24952 * sysdeps/i386/fpu/sincos32.c: Likewise.
24953
24954 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
24955 Define.
24956 (libc_feupdateenv_53bit): Define.
24957 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
24958 Define.
24959 (libc_feupdateenv_53bit): Define.
24960
24961 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
24962 53 bit (without extend i386 double precision).
24963
24964 * math/libm-test.inc (sincos_test): Add tests for large input.
24965 (sin): Likewise.
24966 (cos): Likewise.
24967
24968 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
24969
9cad04ea
AS
249702012-03-15 Andreas Schwab <schwab@linux-m68k.org>
24971
24972 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24973
f7062b9a
DM
249742012-03-15 David S. Miller <davem@davemloft.net>
24975
24976 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
24977 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
24978 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
24979 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
24980 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
24981 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
24982 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
24983 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
24984 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
24985 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
24986 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
24987 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
24988 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
24989 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
24990 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
24991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
24992 file.
f7062b9a 24993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
24994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
24995 file.
f7062b9a 24996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
24997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
24998 file.
f7062b9a 24999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
25000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
25001 file.
f7062b9a
DM
25002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
25003 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
25004 fmin/fmax sysdep routines.
25005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
25006
7bd951ff
DM
250072012-03-14 David S. Miller <davem@davemloft.net>
25008
559398ab
DM
25009 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
25010 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
25011 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
25012 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
25013 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
25014 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
25015 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
25016 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
25017 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
25018 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
25019 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
25020 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
25021 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
25022 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
25023 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
25024 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
25025 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
25026 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
25027 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
25028 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
25029 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
25030 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
25031 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
25032 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
25033 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
25034 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
25035 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
25036 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
25037 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
25038 routines.
25039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
25040 file.
559398ab 25041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
25042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
25043 file.
559398ab 25044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
25045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
25046 file.
559398ab 25047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
25048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
25049 file.
559398ab 25050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
25051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
25052 file.
559398ab 25053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
25054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
25055 file.
25056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
25057 file.
25058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
25059 file.
25060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
25061 file.
25062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
25063 New file.
25064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
25065 file.
25066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
25067 file.
559398ab 25068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
25069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
25070 file.
559398ab 25071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
25072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
25073 file.
559398ab 25074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
25075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
25076 file.
559398ab 25077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
25078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
25079 VIS3 routines.
559398ab
DM
25080
25081 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
25082 New file.
25083
5a1c1e32
DM
25084 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25085
eae47a36
DM
25086 * sysdeps/sparc/configure.in: New file.
25087 * sysdeps/sparc/configure: Generate.
25088 * configure.in (libc_cv_sparc_as_vis3): Substitute.
25089 * configure: Regenerate.
25090 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
25091 * config.make.in (have-as-vis3): New.
25092 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
25093 available use -Av9d instead of -Av9a.
25094 * sysdeps/sparc/sparc64/Makefile: Likewise.
25095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
25096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
25097 New file.
25098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
25099 file.
25100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
25101 New file.
25102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
25103 file.
eae47a36
DM
25104 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
25105 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
25106 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
25107 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
25108 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
25109
c0c83bc8
DM
25110 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
25111 fzeros/fnegs to load 0x80000000 into a float register instead of
25112 using the stack.
7bd951ff
DM
25113 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
25114
bd951ccb
JM
251152012-03-14 Joseph Myers <joseph@codesourcery.com>
25116
25117 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25118 bits/syscall.h.
25119 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
25120 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
25121 ($(inst_includedir)/bits/syscall.h): Remove rule.
25122 ($(objpfx)bits/syscall.d): Include instead of
25123 $(objpfx)syscall-list.d.
25124 (generated): Change syscall-list.h and syscall-list.d to
25125 bits/syscall.h and bits/syscall.d.
25126
bb4e6db2
RM
251272012-03-14 Roland McGrath <roland@hack.frob.com>
25128
25129 [BZ #13846]
25130 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
25131
aa4a2ae1
JM
251322012-03-14 Joseph Myers <joseph@codesourcery.com>
25133
e456826d
JM
25134 [BZ #13841]
25135 * math/s_csqrt.c: Include <float.h>.
25136 (__csqrt): Scale large or subnormal inputs.
25137 * math/s_csqrtf.c: Likewise.
25138 * math/s_csqrtl.c: Likewise.
25139 * math/libm-test.inc (csqrt_test): Add more tests.
25140 * sysdeps/i386/fpu/libm-test-ulps: Update.
25141 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25142
aa4a2ae1
JM
25143 [BZ #13840]
25144 * math/libm-test.inc (hypot_test): Add more tests.
25145
7c10fd35
DM
251462012-03-13 David S. Miller <davem@davemloft.net>
25147
25148 [BZ #13840]
25149 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
25150 double-precision for the calculation instead of scaling.
25151
f453b98b
JM
251522012-03-13 Joseph Myers <joseph@codesourcery.com>
25153
25154 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
25155 manipulate bits before adding and subtracting TWO52[sx].
25156 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
25157 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
25158 Likewise.
25159 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
25160
09a3453f
DM
251612012-03-13 David S. Miller <davem@davemloft.net>
25162
8e59da90
DM
25163 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
25164 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
25165 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
25166 rtld-global-offsets.h
25167 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25168
2a8ab7f2
DM
25169 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
25170 large parameters.
25171
10f62770
DM
25172 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
25173
5f0bdb18
DM
25174 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
25175 'err' in the ifdef scope in which it is actually used.
25176
09a3453f
DM
25177 * nss/nss_db/db-init.c: Include string.h
25178
b4b2eb5e
DM
251792012-03-12 David S. Miller <davem@davemloft.net>
25180
98bb2f1c
DM
25181 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
25182 masking out of the most significant byte of random value used.
25183 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25184 Fix coding style in previous change.
25185
b4b2eb5e
DM
25186 * sysdeps/unix/sysv/linux/kernel-features.h
25187 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
25188 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
25189 expression.
25190 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
25191 later.
25192
6e226b09
DM
251932012-03-11 David S. Miller <davem@davemloft.net>
25194
a1bcbd40
DM
25195 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
25196 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
25197 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
25198 for 'resultvar' otherwise things get truncated on 64-bit.
25199
cb9d6174
DM
25200 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25201 Fix masking out of the most significant byte of random value used.
25202
6e226b09
DM
25203 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25204
058c132d
AS
252052012-03-10 Andreas Schwab <schwab@linux-m68k.org>
25206
25207 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25208
2d2cd515
DM
252092012-03-09 David S. Miller <davem@davemloft.net>
25210
25211 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
25212 variables with appropriate CPP guards.
25213 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
25214 frame pointer, not the stack pointer. Correct layout comments. Fix test
25215 on resulting framesize and the management of the outregs buffer for pltexit.
25216 Preserve floating point return values across _dl_call_pltexit call.
25217 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
25218 framesize and the management of the outregs buffer for pltexit.
25219 Preserve floating point return values across _dl_call_pltexit
25220 call.
25221 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
25222 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
25223 (print_exit): Fix format string for return register value.
25224
9a07f9d0
JM
252252012-03-10 Joseph Myers <joseph@codesourcery.com>
25226
25227 * sunrpc/Makefile (others): Add rpcgen.
25228 ($(objpfx)rpcgen): Remove special build rule and dependency on
25229 libc.
25230 * sunrpc/rpcgen.c: New file.
25231
547b5e30
PE
252322012-03-09 Paul Eggert <eggert@cs.ucla.edu>
25233
c524201a
PE
25234 [BZ #13673]
25235 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
25236 * stdio-common/bug-vfprintf-nargs.c: Likewise.
25237 * sysdeps/i386/crti.S: Likewise.
25238 * sysdeps/i386/crtn.S: Likewise.
25239 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
25240 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
25241 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
25242 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
25243 * sysdeps/sh/crti.S: Likewise.
25244 * sysdeps/sh/crtn.S: Likewise.
25245 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
25246
7b6235f2
PE
25247 [BZ #13673]
25248 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
25249 with URL.
25250 * locale/programs/locfile-kw.gperf: Likewise.
25251 * locale/programs/charmap-kw.h: Regenerated.
25252 * locale/programs/locfile-kw.h: Likewise.
25253
547b5e30
PE
25254 [BZ #13673]
25255 * intl/plural.y: Replace FSF snail mail address with URL.
25256 * intl/plural.c: Regenerated.
25257
5f0a5dae
RH
252582012-03-09 Richard Henderson <rth@twiddle.net>
25259
25260 * include/math_private.h: Remove file.
25261 * math/math_private.h: Move file ...
25262 * sysdeps/generic/math_private.h: ... here.
25263
b8c03620
RH
25264 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
25265 * sysdeps/powerpc/fpu/math_private.h: Likewise.
25266 * sysdeps/x86_64/fpu/math_private.h: Likewise.
25267
4e234f5d 25268 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
25269 and <math_private.h>.
25270 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
25271 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
25272 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
25273 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
25274 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
25275 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
25276 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25277 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25278 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
25279 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25280 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25281 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
25282 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
25283 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25284 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
25285 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
25286 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
25287 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25288 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
25289 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
25290 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25291 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
25292 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
25293 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25294 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
25295 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25296 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
25297 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25298 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25299 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25300 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
25301 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25302 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
25303 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
25304 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
25305 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25306 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25307 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
25308 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
25309 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25310 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
25311 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
25312 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
25313 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
25314 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
25315 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25316 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
25317 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
25318 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25319 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
25320 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
25321 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
25322 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
25323 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
25324 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
25325 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
25326 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
25327 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
25328 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
25329 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
25330 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25331 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
25332 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25333 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
25334 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
25335 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25336 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25337 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25338 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
25339 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
25340 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
25341 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
25342 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
25343 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25344 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
25345 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
25346 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
25347 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25348 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
25349 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
25350 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
25351 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
25352 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
25353 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
25354 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
25355 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
25356 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
25357 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
25358 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
25359 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
25360 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
25361 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
25362 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25363 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
25364 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
25365 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
25366 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
25367 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
25368 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
25369 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
25370 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
25371 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
25372 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
25373 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
25374 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25375 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
25376 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
25377 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
25378 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25379 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25380 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25381 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25382 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
25383 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25384 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
25385 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
25386 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25387 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
25388 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25389 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
25390 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25391 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
25392 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
25393 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
25394 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25395 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
25396 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
25397 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
25398 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
25399 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
25400 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
25401 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
25402 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25403 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
25404 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
25405 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
25406 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
25407 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
25408 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
25409 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
25410 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
25411 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
25412 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
25413 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
25414 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
25415 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
25416 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
25417 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
25418 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
25419 * sysdeps/ieee754/k_standard.c: Likewise.
25420 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
25421 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
25422 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
25423 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
25424 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
25425 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
25426 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
25427 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
25428 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
25429 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
25430 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
25431 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
25432 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
25433 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
25434 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
25435 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
25436 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
25437 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
25438 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
25439 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
25440 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
25441 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
25442 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25443 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
25444 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
25445 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
25446 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
25447 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
25448 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
25449 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25450 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
25451 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
25452 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
25453 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
25454 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
25455 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
25456 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
25457 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
25458 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
25459 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
25460 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
25461 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
25462 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
25463 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
25464 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
25465 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
25466 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
25467 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
25468 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
25469 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25470 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25471 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
25472 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
25473 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
25474 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25475 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25476 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
25477 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
25478 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
25479 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
25480 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25481 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
25482 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
25483 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
25484 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
25485 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
25486 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
25487 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
25488 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
25489 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
25490 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
25491 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
25492 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
25493 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
25494 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
25495 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
25496 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
25497 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
25498 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
25499 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
25500 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
25501 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
25502 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
25503 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
25504 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
25505 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
25506 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
25507 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
25508 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
25509 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
25510 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
25511 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
25512 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
25513 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
25514 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
25515 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
25516 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
25517 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
25518 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
25519 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
25520 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
25521 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
25522 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25523 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
25524 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
25525 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25526 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25527 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
25528 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
25529 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
25530 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
25531 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
25532 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
25533 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
25534 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
25535 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
25536 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
25537 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
25538 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
25539 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
25540 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
25541 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
25542 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
25543 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
25544 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
25545 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
25546 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
25547 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
25548 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
25549 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25550 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
25551 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
25552 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
25553 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
25554 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
25555 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
25556 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
25557 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
25558 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
25559 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
25560 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
25561 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
25562 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
25563 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
25564 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
25565 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
25566 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
25567 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
25568 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
25569 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
25570 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
25571 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
25572 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
25573 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
25574 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
25575 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
25576 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
25577 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
25578 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
25579 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
25580 * sysdeps/ieee754/s_lib_version.c: Likewise.
25581 * sysdeps/ieee754/s_matherr.c: Likewise.
25582 * sysdeps/ieee754/s_signgam.c: Likewise.
25583 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
25584 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
25585 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
25586 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
25587 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
25588 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
25589 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
25590 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
25591 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
25592 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
25593 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
25594 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
25595 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
25596 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
25597 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
25598 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
25599 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25600 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
25601 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25602 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25603 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 25604
1991fa03
JM
256052012-03-09 Joseph Myers <joseph@codesourcery.com>
25606
25607 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
25608 * sunrpc/rpc_main.c: Likewise.
25609 * sunrpc/rpc_svcout.c: Likewise.
25610
60d6f5a6
DM
256112012-03-09 David S. Miller <davem@davemloft.net>
25612
25613 * include/math_private.h: New file.
25614
4962050e
JM
256152012-03-09 Joseph Myers <joseph@codesourcery.com>
25616
02a6f887
JM
25617 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
25618 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
25619 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
25620 from <bits/socket_type.h>.
25621 (enum __socket_type): Don't define here.
25622 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
25623 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25624 bits/socket_type.h.
25625
c6e013c1
JM
25626 [BZ #13566]
25627 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
25628 checking __USE_GNU.
25629
4962050e
JM
25630 * Makerules ($(inst_includedir)/%.h): New rule.
25631 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
25632 (install-others): Remove variable setting.
25633 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
25634
38842f45
RH
256352012-03-08 Richard Henderson <rth@twiddle.net>
25636
67bb6da6
RH
25637 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
25638 from macro to inline function; merge with the
25639 !__LIBC_INTERNAL_MATH_INLINES version.
25640 (__ieee754_sqrtf): Likewise.
25641
15194b4b
RH
25642 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
25643 to inline function.
25644 (__rintf, __floor, __floorf): Likewise.
25645
64e21ede
RH
25646 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
25647 macro to inline function.
25648 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
25649
38842f45
RH
25650 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
25651 not <math/math_private.h>.
25652
c64bf5fe
DM
256532012-03-08 David S. Miller <davem@davemloft.net>
25654
25655 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
25656 copyright year.
25657 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
25658
82d86f28
TS
256592012-03-08 Thomas Schwinge <thomas@codesourcery.com>
25660
25661 * resolv/gai_misc.c (handle_requests): Fix struct timespec
25662 normalization.
25663 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
25664 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
25665
aea5d727
UD
256662012-03-08 Ulrich Drepper <drepper@gmail.com>
25667
25668 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
25669 be defined individually, they must be defined as a block. Define
25670 S for printing a string instead of hidint the different by using a
25671 macro for adding the 'l'.
25672 * stdio-common/tst-fphex-wide.c: Adjust.
25673
70bca0a3
MP
256742012-03-07 Marek Polacek <polacek@redhat.com>
25675
25676 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
25677
65b81130
MP
256782012-03-08 Marek Polacek <polacek@redhat.com>
25679
25680 [BZ #13806]
25681 * stdio-common/Makefile (tests): Add tst-fphex-wide.
25682 * stdio-common/tst-fphex.c: Define a few macros to make the
25683 test reusable. Use them.
25684 * stdio-common/tst-fphex-wide.c: New file.
25685
07037eeb
JM
256862012-03-08 Joseph Myers <joseph@codesourcery.com>
25687
a7a93d50
JM
25688 [BZ #6911]
25689 * manual/macros.texi (gnusystems): New macro.
25690 (nongnusystems): Likewise.
25691 (gnulinuxhurdsystems): Likewise.
25692 (gnuhurdsystems): Likewise..
25693 (gnulinuxsystems): Likewise.
25694 * manual/charset.texi: Use new macros or @theglibc{} to refer to
25695 variants of the GNU system, not "GNU system".
25696 * manual/conf.texi: Likewise.
25697 * manual/errno.texi: Likewise. Update example of errno macro
25698 expansion.
25699 * manual/filesys.texi: Likewise.
25700 (getumask): Document as specific to GNU/Hurd.
25701 * manual/install.texi: Likewise. Reword some references to
25702 GNU/Linux.
25703 * manual/intro.texi: Likewise.
25704 * manual/io.texi: Likewise.
25705 (File Name Portability): Detail which constraints are inapplicable
25706 to all GNU systems and which are only inapplicable to GNU/Hurd.
25707 * manual/job.texi: Likewise.
25708 * manual/llio.texi: Likewise.
25709 (O_NOCTTY): Document as present on GNU/Linux.
25710 * manual/maint.texi: Likewise.
25711 * manual/memory.texi: Likewise.
25712 * manual/pattern.texi: Likewise.
25713 * manual/pipe.texi: Likewise.
25714 * manual/process.texi: Likewise.
25715 * manual/resource.texi: Likewise.
25716 (RUSAGE_CHILDREN): Remove statement about specifying a particular
25717 child on GNU/Hurd.
25718 * manual/setjmp.texi: Likewise.
25719 * manual/signal.texi: Likewise.
25720 * manual/startup.texi: Likewise.
25721 * manual/stdio.texi: Likewise.
25722 * manual/terminal.texi: Likewise.
25723 (ONLCR): Document as POSIX.
25724 (OXTABS): Document availability on GNU/Linux as XTABS.
25725 (ONOEOT): Document availability separately from other bits.
25726 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
25727 * manual/time.texi: Likewise.
25728 * manual/users.texi: Likewise.
25729 * INSTALL: Regenerated.
25730 * sysdeps/gnu/errlist.c: Regenerated.
25731
07037eeb
JM
25732 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
25733 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
25734 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
25735 puts.
25736 * configure: Regenerated.
25737
d1d3431a
JM
257382012-03-07 Joseph Myers <joseph@codesourcery.com>
25739
af6a1e37
JM
25740 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
25741 default includes instead of AC_HEADER_CHECK.
25742 * sysdeps/i386/configure: Regenerated.
25743
d1d3431a
JM
25744 [BZ #10716]
25745 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
25746 * math/s_cacoshf.c (__cacoshf): Likewise.
25747 * math/s_cacoshl.c (__cacoshl): Likewise.
25748 * math/s_casinh.c (__casinh): Set signs of result from argument.
25749 * math/s_casinhf.c (__casinhf): Likewise.
25750 * math/s_casinhl.c (__casinhl): Likewise.
25751 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
25752 (casinh_test): Add more tests.
25753 * sysdeps/i386/fpu/libm-test-ulps: Update.
25754 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25755
482ff4da
UD
257562012-03-07 Ulrich Drepper <drepper@gmail.com>
25757
872fda05
UD
25758 * po/zh_TW.po: Update from translation team.
25759
a4300c7a
UD
25760 * login/Makefile (distribute): Remove variable.
25761 * catgets/Makefile: Likewise.
25762 * mach/Makefile: Likewise.
25763 * malloc/Makefile: Likewise.
25764 * misc/Makefile: Likewise.
25765 * iconv/Makefile: Likewise.
25766 * nscd/Makefile: Likewise.
25767 * hurd/Makefile: Likewise.
25768 * manual/Makefile: Likewise.
25769 * locale/Makefile: Likewise.
25770 * intl/Makefile: Likewise.
25771 * conform/Makefile: Likewise.
25772 * nss/Makefile: Likewise.
25773 * time/Makefile: Likewise.
25774 * soft-fp/Makefile: Likewise.
25775 * dirent/Makefile: Likewise.
25776 * gmon/Makefile: Likewise.
25777 * po/Makefile: Likewise.
25778 * rt/Makefile: Likewise.
25779 * socket/Makefile: Likewise.
25780 * math/Makefile: Likewise.
25781 * signal/Makefile: Likewise.
25782 * debug/Makefile: Likewise.
25783 * elf/Makefile: Likewise.
25784 * timezone/Makefile: Likewise.
25785 * stdlib/Makefile: Likewise.
25786 * iconvdata/Makefile: Likewise.
25787 * sunrpc/Makefile: Likewise.
25788 * io/Makefile: Likewise.
25789 * argp/Makefile: Likewise.
25790 * inet/Makefile: Likewise.
25791 * hesiod/Makefile: Likewise.
25792 * grp/Makefile: Likewise.
25793 * csu/Makefile: Likewise.
25794 * wctype/Makefile: Likewise.
25795 * crypt/Makefile: Likewise.
25796 * libio/Makefile: Likewise.
25797 * string/Makefile: Likewise.
25798 * nis/Makefile: Likewise.
25799 * resolv/Makefile: Likewise.
25800 * stdio-common/Makefile: Likewise.
25801 * wcsmbs/Makefile: Likewise.
25802 * dlfcn/Makefile: Likewise.
25803 * posix/Makefile: Likewise.
25804
3b7c4e74 25805 [BZ #6959]
482ff4da
UD
25806 * timezone/Makefile: Don't install timezone files, just the programs
25807 and scripts.
25808
f72ed77d
UD
258092012-03-06 Ulrich Drepper <drepper@gmail.com>
25810
a000466f
UD
25811 * nss/databases.def: Add missing gshadow entry.
25812
f72ed77d
UD
25813 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
25814
a53b7a4e
MP
258152012-03-06 Marek Polacek <polacek@redhat.com>
25816
25817 [BZ #13726]
25818 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
25819 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
25820 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
25821 * stdio-common/tst-long-dbl-fphex.c: New file.
25822
e9258400
DM
258232012-03-06 David S. Miller <davem@davemloft.net>
25824
25825 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25826 (set_obp_int): New function.
25827 (get_obp_int): New function.
25828 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
25829 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
25830 Avoid unused variable warnings on 'val' and use builtin_expect.
25831 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
25832 __builtin_expect.
e9258400
DM
25833 (INLINE_CLONE_SYSCALL): Likewise.
25834
3bd2c723
DM
258352012-03-05 David S. Miller <davem@davemloft.net>
25836
25837 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25838
bbb78d03
AS
258392012-03-05 Andreas Schwab <schwab@linux-m68k.org>
25840
884c5db4
AS
25841 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25842
bbb78d03
AS
25843 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
25844 only for |x| >= 40.
25845 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
25846
1c9f702a 258472012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
25848
25849 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
25850 Replace gettimeofday with __vdso_gettimeofday.
25851
7be16f82
RM
25852 * sysdeps/unix/sysv/linux/x86_64/init-first.c
25853 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
25854 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
25855
25856 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
25857 time with __vdso_time.
25858
ed58a00f
JM
258592012-03-05 Joseph Myers <joseph@codesourcery.com>
25860
25861 * manual/lang.texi (size_t): Note types to which size_t may be
25862 equivalent with the GNU C Library, but do not describe when
25863 differences between them are significant.
25864
30ee4ced
AJ
258652012-03-05 Andreas Jaeger <aj@suse.de>
25866
25867 * sysdeps/i386/fpu/libm-test-ulps: Update.
25868
b7cd39e8
JM
258692012-03-05 Joseph Myers <joseph@codesourcery.com>
25870
25871 [BZ #3976]
25872 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
25873 (__ieee754_pow): Save and restore rounding mode and use
25874 round-to-nearest for main computations.
25875 * math/libm-test.inc (pow_test_tonearest): New function.
25876 (pow_test_towardzero): Likewise.
25877 (pow_test_downward): Likewise.
25878 (pow_test_upward): Likewise.
25879 (main): Call the new functions.
25880 * sysdeps/i386/fpu/libm-test-ulps: Update.
25881 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
25882
25883 [BZ #3976]
25884 * math/libm-test.inc (cosh_test_tonearest): New function.
25885 (cosh_test_towardzero): Likewise.
25886 (cosh_test_downward): Likewise.
25887 (cosh_test_upward): Likewise.
25888 (sinh_test_tonearest): Likewise.
25889 (sinh_test_towardzero): Likewise.
25890 (sinh_test_downward): Likewise.
25891 (sinh_test_upward): Likewise.
25892 (main): Call the new functions.
25893 * sysdeps/i386/fpu/libm-test-ulps: Update.
25894 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25895
6c6a98c9
TV
258962012-03-05 Tom de Vries <tom@codesourcery.com>
25897
25898 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
25899 default stack guard is set in last bytes.
25900 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
25901
21bb2d2e 259022012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 25903
21bb2d2e 25904 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 25905
21bb2d2e
AJ
25906 [BZ #13656]
25907 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
25908 possibly allocate from heap instead of stack.
25909 * stdio-common/bug-vfprintf-nargs.c: New file.
25910 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 25911
c6922934
AS
259122012-03-03 Andreas Schwab <schwab@linux-m68k.org>
25913
25914 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25915
bc957d53
MP
259162012-03-03 Marek Polacek <polacek@redhat.com>
25917
25918 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
25919 * math/math_private.h: Likewise.
25920 * stdlib/tst-strtod.c: Likewise.
25921 * sysdeps/i386/i486/bits/atomic.h: Likewise.
25922 * sysdeps/x86_64/bits/atomic.h: Likewise.
25923
6358490d
DM
259242012-03-02 David S. Miller <davem@davemloft.net>
25925
25926 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
25927 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
25928 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
25929 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
25930 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
25931 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
25932 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
25933 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
25934
01ae168d
RM
259352012-03-02 Roland McGrath <roland@hack.frob.com>
25936
d9a17c07
RM
25937 [BZ #13792]
25938 * manual/examples/README: New file, says the example source files
25939 can be used under GPL>=2.
25940 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
25941 line containing just "*/".
25942 * manual/examples/add.c: Add copyright header (GPL>=2).
25943 * manual/examples/argp-ex1.c: Likewise.
25944 * manual/examples/argp-ex2.c: Likewise.
25945 * manual/examples/argp-ex3.c: Likewise.
25946 * manual/examples/argp-ex4.c: Likewise.
25947 * manual/examples/atexit.c: Likewise.
25948 * manual/examples/db.c: Likewise.
25949 * manual/examples/dir.c: Likewise.
25950 * manual/examples/dir2.c: Likewise.
25951 * manual/examples/execinfo.c: Likewise.
25952 * manual/examples/filecli.c: Likewise.
25953 * manual/examples/filesrv.c: Likewise.
25954 * manual/examples/fmtmsgexpl.c: Likewise.
25955 * manual/examples/genpass.c: Likewise.
25956 * manual/examples/inetcli.c: Likewise.
25957 * manual/examples/inetsrv.c: Likewise.
25958 * manual/examples/isockad.c: Likewise.
25959 * manual/examples/longopt.c: Likewise.
25960 * manual/examples/memopen.c: Likewise.
25961 * manual/examples/memstrm.c: Likewise.
25962 * manual/examples/mkfsock.c: Likewise.
25963 * manual/examples/mkisock.c: Likewise.
25964 * manual/examples/mygetpass.c: Likewise.
25965 * manual/examples/pipe.c: Likewise.
25966 * manual/examples/popen.c: Likewise.
25967 * manual/examples/rprintf.c: Likewise.
25968 * manual/examples/search.c: Likewise.
25969 * manual/examples/select.c: Likewise.
25970 * manual/examples/setjmp.c: Likewise.
25971 * manual/examples/sigh1.c: Likewise.
25972 * manual/examples/sigusr.c: Likewise.
25973 * manual/examples/stpcpy.c: Likewise.
25974 * manual/examples/strdupa.c: Likewise.
25975 * manual/examples/strftim.c: Likewise.
25976 * manual/examples/strncat.c: Likewise.
25977 * manual/examples/subopt.c: Likewise.
25978 * manual/examples/swapcontext.c: Likewise.
25979 * manual/examples/termios.c: Likewise.
25980 * manual/examples/testopt.c: Likewise.
25981 * manual/examples/testpass.c: Likewise.
25982 * manual/examples/timeval_subtract.c: Likewise.
25983
01ae168d
RM
25984 [BZ #13792]
25985 * manual/time.texi (Elapsed Time): Move timeval_subtract example
25986 function to ...
25987 * manual/timeval_subtract.c.texi: ... here, new file.
25988
49efa33d
DM
259892012-03-02 David S. Miller <davem@davemloft.net>
25990
25991 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
25992
28afd92d
JM
259932012-03-02 Joseph Myers <joseph@codesourcery.com>
25994
804360ed
JM
25995 [BZ #3976]
25996 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
25997 (__sin): Save and restore rounding mode and use round-to-nearest
25998 for all computations.
25999 (__cos): Save and restore rounding mode and use round-to-nearest
26000 for all computations.
26001 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
26002 <fenv.h>.
26003 (tan): Save and restore rounding mode and use round-to-nearest for
26004 all computations.
26005 * math/libm-test.inc (cos_test_tonearest): New function.
26006 (cos_test_towardzero): Likewise.
26007 (cos_test_downward): Likewise.
26008 (cos_test_upward): Likewise.
26009 (sin_test_tonearest): Likewise.
26010 (sin_test_towardzero): Likewise.
26011 (sin_test_downward): Likewise.
26012 (sin_test_upward): Likewise.
26013 (tan_test_tonearest): Likewise.
26014 (tan_test_towardzero): Likewise.
26015 (tan_test_downward): Likewise.
26016 (tan_test_upward): Likewise.
26017 (main): Call the new functions.
26018 * sysdeps/i386/fpu/libm-test-ulps: Update.
26019 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26020
a6d06d7b
JM
26021 [BZ #10135]
26022 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
26023 small n, then large n, before computing and testing k+n.
26024 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
26025 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
26026 Likewise.
26027 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
26028 Likewise.
26029 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
26030 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
26031 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
26032 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
26033 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
26034 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
26035 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
26036 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
26037 * math/libm-test.inc (scalbn_test): Add more tests.
26038 (scalbln_test): Likewise.
26039
07e12bb3
JM
26040 * manual/filesys.texi (mode_t): Describe constraints on size and
26041 signedness, not exact equivalence to a particular type.
26042 (ino_t): Likewise.
26043 (ino64_t): Likewise.
26044 (dev_t): Likewise.
26045 (nlink_t): Likewise.
26046 (blkcnt_t): Likewise.
26047 (blkcnt64_t): Likewise.
26048 * manual/llio.texi (off_t): Likewise.
26049
28afd92d
JM
26050 [BZ #3976]
26051 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
26052 (__ieee754_exp): Save and restore rounding mode and use
26053 round-to-nearest for all computations.
26054 * math/libm-test.inc (exp_test_tonearest): New function.
26055 (exp_test_towardzero): Likewise.
26056 (exp_test_downward): Likewise.
26057 (exp_test_upward): Likewise.
26058 (main): Call the new functions.
26059 * sysdeps/i386/fpu/libm-test-ulps: Update.
26060 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26061
b1eeb65d
CD
260622012-03-01 Chris Demetriou <cgd@google.com>
26063
26064 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
26065 have predictable order.
26066
53362a4b
DM
260672012-03-01 David S. Miller <davem@davemloft.net>
26068
3c969083
DM
26069 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
26070
759707de
DM
26071 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
26072 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
26073 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
26074 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
26075
dfdb8ff2
DM
26076 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
26077 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
26078 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
26079 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
26080 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
26081 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
26082 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
26083 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
26084 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
26085
ead89f96
DM
26086 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26087
7f66bd07
DM
26088 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
26089 * sysdeps/sparc/fpu/libm-test-ulps: to here.
26090 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
26091
53362a4b
DM
26092 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
26093 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
26094 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
26095 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
26096 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
26097 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
26098 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
26099 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
26100 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
26101 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
26102 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
26103 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26104 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
26105 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
26106 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26107 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26108 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
26109 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
26110 * sysdeps/sparc/elf/configure: Regenerated.
26111
7b1902cb
JM
261122012-03-01 Joseph Myers <joseph@codesourcery.com>
26113
bec039bc
JM
26114 * configure.in (AS, LD): Require binutils 2.20 or later.
26115 * configure: Regenerated.
26116 * manual/install.texi (Tools for Compilation): Give binutils 2.20
26117 as required minimum version.
26118 * INSTALL: Regenerated.
26119
7b1902cb
JM
26120 [BZ #2541]
26121 [BZ #4108]
26122 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
26123 before squaring exponent.
26124 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
26125 bottom long double and 27 bits of top long double before squaring
26126 exponent.
26127 * math/libm-test.inc (erfc_test): Add more tests.
26128 * sysdeps/i386/fpu/libm-test-ulps: Update.
26129 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26130 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26131
f775c276
KT
261322012-03-01 Kai Tietz <ktietz@redhat.com>
26133
26134 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
26135 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
26136 containing bit-fields.
26137 * soft-fp/extended.h (_FP_UNION_E): Likewise.
26138 * soft-fp/single.h (_FP_UNION_S): Likewise.
26139 * soft-fp/double.h (_FP_UNION_D): Likewise.
26140
5b8a4d4a
JM
261412012-02-29 Joseph Myers <joseph@codesourcery.com>
26142
0bab47b6
JM
26143 [BZ #13786]
26144 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
26145 not include ../strcmp.S.
26146 [USE_AS_STRNCASECMP_L]: Likewise.
26147 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
26148 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
26149 * sysdeps/i386/i686/multiarch/strncase_l-c.c
26150 (__strncasecmp_l_ia32): Define as alias to
26151 __strncasecmp_l_nonascii.
26152
0fcad3e2
JM
26153 [BZ #5794]
26154 * math/libm-test.inc (expm1_test): Add test for bug 5794.
26155 * sysdeps/i386/fpu/libm-test-ulps: Update.
26156 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26157
5b8a4d4a
JM
26158 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
26159 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26160
8fdceb2e
JL
261612012-02-29 Jeff Law <law@redhat.com>
26162
26163 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
26164 out of bounds read.
26165
1f393a11
MP
261662012-02-29 Marek Polacek <polacek@redhat.com>
26167
26168 [BZ #13706]
26169 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
26170 * elf/Makefile: Add rules to run tst-unused-dep.out.
26171
8847f037
DM
261722012-02-28 David S. Miller <davem@davemloft.net>
26173
26174 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
26175 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
26176 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
26177 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
26178 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
26179 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
26180
169d7f11
JM
261812012-02-29 Joseph Myers <joseph@codesourcery.com>
26182
26183 * math/libm-test.inc (llround_test): Move one test from
26184 lround_test. Use TEST_f_L in moved test.
26185 (lround_test): Move misplaced test to llround_test. Add testcase
26186 from bug 2561.
26187
39adf059
UD
261882012-02-28 Ulrich Drepper <drepper@gmail.com>
26189
26190 * sysdeps/x86_64/fpu/e_expf.S: New file.
26191 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
26192
71b5d1c5
SB
261932012-02-28 Stanislav Brabec <sbrabec@suse.cz>
26194
26195 [BZ #13637]
26196 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
26197 of remain_len that may cause incomplete multi-byte character and
26198 false match.
26199 * posix/bug-regex33.c: New file.
26200 * posix/Makefile (tests): Add bug-regex33.
26201
1f77f049
JM
262022012-02-28 Joseph Myers <joseph@codesourcery.com>
26203
26204 * manual/macros.texi: New file.
26205 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
26206 * manual/libc.texinfo: Include macros.texi.
26207 * manual/creatute.texi: Likewise.
26208 * manual/install.texi: Likewise.
26209 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
26210 @glibcadj{} in references to the GNU C Library.
26211 * manual/charset.texi: Likewise.
26212 * manual/conf.texi: Likewise.
26213 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
26214 when not using those macros.
26215 * manual/creature.texi: Likewise.
26216 * manual/crypt.texi: Likewise.
26217 * manual/errno.texi: Likewise.
26218 * manual/filesys.texi: Likewise.
26219 * manual/header.texi: Likewise.
26220 * manual/install.texi: Likewise.
26221 * manual/intro.texi: Likewise.
26222 * manual/io.texi: Likewise.
26223 * manual/job.texi: Likewise.
26224 * manual/lang.texi: Likewise.
26225 * manual/libc.texiinfo: Likewise.
26226 * manual/llio.texi: Likewise.
26227 * manual/locale.texi: Likewise.
26228 * manual/maint.texi: Likewise.
26229 * manual/math.texi: Likewise.
26230 * manual/memory.texi: Likewise.
26231 * manual/message.texi: Likewise.
26232 * manual/nss.texi: Likewise.
26233 * manual/pattern.texi: Likewise.
26234 * manual/process.texi: Likewise.
26235 * manual/resource.texi: Likewise.
26236 * manual/search.texi: Likewise.
26237 * manual/setjmp.texi: Likewise.
26238 * manual/signal.texi: Likewise.
26239 * manual/socket.texi: Likewise.
26240 * manual/startup.texi: Likewise.
26241 * manual/stdio.texi: Likewise.
26242 * manual/string.texi: Likewise.
26243 * manual/sysinfo.texi: Likewise.
26244 * manual/syslog.texi: Likewise.
26245 * manual/terminal.texi: Likewise.
26246 * manual/time.texi: Likewise.
26247 * manual/users.texi: Likewise.
26248 * INSTALL: Regenerated.
26249 * NOTES: Regenerated.
d40c5d54 26250 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 26251
450bf206
AS
262522012-02-28 Andreas Schwab <schwab@linux-m68k.org>
26253
26254 * include/dirent.h: Include <dirstream.h> before
26255 <dirent/dirent.h>.
26256
741a235b
DM
262572012-02-28 David S. Miller <davem@davemloft.net>
26258
26259 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
26260 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
26261 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
26262 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
26263
d6b5aa58
DM
262642012-02-27 David S. Miller <davem@davemloft.net>
26265
1aff59a3
DM
26266 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
26267 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
26268 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
26269 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
26270
d6b5aa58
DM
26271 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
26272 frame pointer instead of stack pointer relative arg slot.
26273 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
26274 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
26275 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
26276
433f48bf
CD
262772012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
26278
26279 [BZ #3992]
26280 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
26281
d674b76d
DM
262822012-02-27 David S. Miller <davem@davemloft.net>
26283
26284 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
26285 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
26286 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
26287 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
26288 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
26289 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
26290 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
26291 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
26292
0e7727f7
JM
262932012-02-27 Joseph Myers <joseph@codesourcery.com>
26294
26295 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
26296 later. Allow versions 5-9.
43be4ca2 26297 * configure: Regenerated.
0e7727f7
JM
26298 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
26299 required minimum version and 4.6 as recommended version. Do not
26300 mention bugs in GCC 2.7 and 2.8.
43be4ca2 26301 * INSTALL: Regenerated.
0e7727f7 26302
a78bc654
DM
263032012-02-27 David S. Miller <davem@davemloft.net>
26304
428d5830
DM
26305 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
26306 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
26307 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
26308 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
26309 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
26310 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
26311 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
26312 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
26313
a78bc654
DM
26314 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
26315 manipulate bits before adding and subtracting TWO112[sx].
26316 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
26317
4579f81c
RM
263182012-02-27 Roland McGrath <roland@hack.frob.com>
26319
36c8acb4
RM
26320 [BZ #13775]
26321 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
26322 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
26323 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
26324 being in POSIX, because they are in 1003.1-2008.
26325
84ad622b
RM
26326 * rt/tst-aio.c: Include <fcntl.h>.
26327 * rt/tst-aio7.c: Likewise.
26328 * rt/tst-aio64.c: Likewise.
26329
4579f81c
RM
26330 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
26331
abd923db
JM
263322012-02-27 Joseph Myers <joseph@codesourcery.com>
26333
26334 * manual/install.texi (--with-headers): Describe headers as
26335 interface headers, not private headers.
26336 (Specific advice for GNU/Linux systems): Describe use of headers
26337 from "make headers_install", not private headers from older
26338 kernels.
43be4ca2 26339 * INSTALL: Regenerated.
abd923db
JM
26340 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
26341 Change to 2.6.19.
26342 * sysdeps/unix/sysv/linux/configure: Regenerated.
26343
6664049b
JM
26344 * manual/llio.texi (fclean): Remove documentation.
26345
bb8b6697
JM
26346 * manual/Makefile (libc-texi-generated): New variable. Include
26347 version.texi.
26348 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
26349 $(libc-texi-generated), not duplicated list of files.
26350 (version.texi, stamp-version): New rules.
26351 (realclean): Remove $(libc-texi-generated), not individual files
26352 from that list. Do not remove dir-add.texinfo.
26353 * manual/libc.texinfo: Comment out uses of edition numbers and
26354 references to printed manual. Remove last-updated dates.
26355 (EDITION): Comment out.
26356 (ISBN): Likewise.
26357 (VERSION, UPDATED): Remove.
26358 (version.texi): Include.
26359
12e5c3b9
AS
263602012-02-27 Andreas Schwab <schwab@linux-m68k.org>
26361
26362 * sysdeps/posix/spawni.c: Include <signal.h>.
26363 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
26364 * sysdeps/pthread/aio_fsync.c: Likewise.
26365
4efeffc1 263662012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 26367
ba63ba08
UD
26368 * conform/Makefile (tests): Run only when not cross-compiling and
26369 when fast-check is not defined.
26370
d94a4670
UD
26371 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
26372 * conform/data/limits.h-data: Fixes for POSIX2008.
26373 * conform/run-conformtest.sh: Run all tests.
26374 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
26375 headers.
26376 * include/bits/dlfcn.h: Likewise.
26377 * include/langinfo.h: Likewise.
26378 * include/monetary.h: Likewise.
26379 * include/sys/poll.h: Likewise.
26380
26381 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
26382 for __USE_GNU.
26383 * posix/spawn.h: Define __need_sigset_t.
26384 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
26385 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
26386 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
26387 to get sigevent_t only.
26388 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
26389 only for __USE_GNU.
26390 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26391 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
26392 process_vm_writev only for __USE_GNU.
26393 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
26394
26395 * conform/Makefile: For now ignore errors from run-conformtest.
26396 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
26397 POSIX to avoid namespace pollution. Don't prepend headers.
26398 * conform/data/aio.h-data: Fixes for POSIX testing.
26399 * conform/data/fcntl.h-data: Likewise.
26400 * conform/data/glob.h-data: Likewise.
26401 * conform/data/grp.h-data: Likewise.
26402 * conform/data/pthread.h-data: Likewise.
26403 * conform/data/pwd.h-data: Likewise.
26404 * conform/data/signal.h-data: Likewise.
26405 * conform/data/spawn.h-data: Likewise.
26406 * conform/data/stdio.h-data: Likewise.
26407 * conform/data/stdlib.h-data: Likewise.
26408 * conform/data/stropts.h-data: Likewise.
26409 * conform/data/sys/mman.h-data: Likewise.
26410 * conform/data/sys/stat.h-data: Likewise.
26411 * conform/data/sys/types.h-data: Likewise.
26412 * conform/data/sys/wait.h-data: Likewise.
26413 * conform/data/time.h-data: Likewise.
26414 * conform/data/unistd.h-data: Likewise.
26415 * conform/data/utime.h-data: Likewise.
26416
26417 * io/sys/stat.h: fchmod was always in POSIX.
26418 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
26419 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
26420 * rt/aio.h: Define __need_timespec before including <time.h>.
26421 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
26422 struct. Add forward declaration of pthread_attr_t and use it in
26423 sigevent.
26424 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
26425 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
26426 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
26427 always remove CLK_TCK definition.
26428
c20105c3
AS
264292012-02-26 Andreas Schwab <schwab@linux-m68k.org>
26430
26431 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
26432
7a270350
UD
264332012-02-25 Ulrich Drepper <drepper@gmail.com>
26434
31341567
UD
26435 * conform/run-conformtest.sh: New file.
26436 * conform/Makefile: Run run-conformtest for tests.
26437 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
26438 support.
26439
26440 * conform/data/uchar.h-data: New file.
26441 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
26442 * conform/data/arpa/inet.h-data: Likewise.
26443 * conform/data/assert.h-data: Likewise.
26444 * conform/data/complex.h-data: Likewise.
26445 * conform/data/cpio.h-data: Likewise.
26446 * conform/data/ctype.h-data: Likewise.
26447 * conform/data/dirent.h-data: Likewise.
26448 * conform/data/dlfcn.h-data: Likewise.
26449 * conform/data/errno.h-data: Likewise.
26450 * conform/data/fcntl.h-data: Likewise.
26451 * conform/data/float.h-data: Likewise.
26452 * conform/data/fmtmsg.h-data: Likewise.
26453 * conform/data/fnmatch.h-data: Likewise.
26454 * conform/data/ftw.h-data: Likewise.
26455 * conform/data/glob.h-data: Likewise.
26456 * conform/data/grp.h-data: Likewise.
26457 * conform/data/iconv.h-data: Likewise.
26458 * conform/data/inttypes.h-data: Likewise.
26459 * conform/data/langinfo.h-data: Likewise.
26460 * conform/data/libgen.h-data: Likewise.
26461 * conform/data/limits.h-data: Likewise.
26462 * conform/data/locale.h-data: Likewise.
26463 * conform/data/math.h-data: Likewise.
26464 * conform/data/monetary.h-data: Likewise.
26465 * conform/data/mqueue.h-data: Likewise.
26466 * conform/data/ndbm.h-data: Likewise.
26467 * conform/data/net/if.h-data: Likewise.
26468 * conform/data/netdb.h-data: Likewise.
26469 * conform/data/netinet/in.h-data: Likewise.
26470 * conform/data/nl_types.h-data: Likewise.
26471 * conform/data/poll.h-data: Likewise.
26472 * conform/data/pthread.h-data: Likewise.
26473 * conform/data/pwd.h-data: Likewise.
26474 * conform/data/regex.h-data: Likewise.
26475 * conform/data/sched.h-data: Likewise.
26476 * conform/data/search.h-data: Likewise.
26477 * conform/data/semaphore.h-data: Likewise.
26478 * conform/data/setjmp.h-data: Likewise.
26479 * conform/data/signal.h-data: Likewise.
26480 * conform/data/spawn.h-data: Likewise.
26481 * conform/data/stdarg.h-data: Likewise.
26482 * conform/data/stdio.h-data: Likewise.
26483 * conform/data/stdlib.h-data: Likewise.
26484 * conform/data/string.h-data: Likewise.
26485 * conform/data/strings.h-data: Likewise.
26486 * conform/data/stropts.h-data: Likewise.
26487 * conform/data/sys/ipc.h-data: Likewise.
26488 * conform/data/sys/mman.h-data: Likewise.
26489 * conform/data/sys/msg.h-data: Likewise.
26490 * conform/data/sys/resource.h-data: Likewise.
26491 * conform/data/sys/select.h-data: Likewise.
26492 * conform/data/sys/sem.h-data: Likewise.
26493 * conform/data/sys/shm.h-data: Likewise.
26494 * conform/data/sys/socket.h-data: Likewise.
26495 * conform/data/sys/stat.h-data: Likewise.
26496 * conform/data/sys/statvfs.h-data: Likewise.
26497 * conform/data/sys/time.h-data: Likewise.
26498 * conform/data/sys/timeb.h-data: Likewise.
26499 * conform/data/sys/times.h-data: Likewise.
26500 * conform/data/sys/types.h-data: Likewise.
26501 * conform/data/sys/uio.h-data: Likewise.
26502 * conform/data/sys/un.h-data: Likewise.
26503 * conform/data/sys/utsname.h-data: Likewise.
26504 * conform/data/sys/wait.h-data: Likewise.
26505 * conform/data/syslog.h-data: Likewise.
26506 * conform/data/tar.h-data: Likewise.
26507 * conform/data/termios.h-data: Likewise.
26508 * conform/data/utime.h-data: Likewise.
26509 * conform/data/utmpx.h-data: Likewise.
26510 * conform/data/varargs.h-data: Likewise.
26511 * conform/data/wchar.h-data: Likewise.
26512 * conform/data/wctype.h-data: Likewise.
26513 * conform/data/wordexp.h-data: Likewise.
26514
26515 * include/stropts.h: New file.
26516 * include/uchar.h: New file.
26517 * include/aio.h: Changes to allow conformtest.pl to use the headers.
26518 * include/assert.h: Likewise.
26519 * include/ctype.h: Likewise.
26520 * include/dirent.h: Likewise.
26521 * include/dlfcn.h: Likewise.
26522 * include/fcntl.h: Likewise.
26523 * include/fnmatch.h: Likewise.
26524 * include/glob.h: Likewise.
26525 * include/grp.h: Likewise.
26526 * include/libio.h: Likewise.
26527 * include/locale.h: Likewise.
26528 * include/math.h: Likewise.
26529 * include/net/if.h: Likewise.
26530 * include/netdb.h: Likewise.
26531 * include/netinet/in.h: Likewise.
26532 * include/pthread.h: Likewise.
26533 * include/pwd.h: Likewise.
26534 * include/regex.h: Likewise.
26535 * include/sched.h: Likewise.
26536 * include/search.h: Likewise.
26537 * include/setjmp.h: Likewise.
26538 * include/signal.h: Likewise.
26539 * include/stdio.h: Likewise.
26540 * include/stdlib.h: Likewise.
26541 * include/string.h: Likewise.
26542 * include/sys/cdefs.h: Likewise.
26543 * include/sys/mman.h: Likewise.
26544 * include/sys/msg.h: Likewise.
26545 * include/sys/resource.h: Likewise.
26546 * include/sys/select.h: Likewise.
26547 * include/sys/socket.h: Likewise.
26548 * include/sys/stat.h: Likewise.
26549 * include/sys/statvfs.h: Likewise.
26550 * include/sys/time.h: Likewise.
26551 * include/sys/times.h: Likewise.
26552 * include/sys/uio.h: Likewise.
26553 * include/sys/utsname.h: Likewise.
26554 * include/sys/wait.h: Likewise.
26555 * include/termios.h: Likewise.
26556 * include/time.h: Likewise.
26557 * include/ulimit.h: Likewise.
26558 * include/unistd.h: Likewise.
26559 * include/utime.h: Likewise.
26560 * include/wchar.h: Likewise.
26561 * include/wctype.h: Likewise.
26562 * include/wordexp.h: Likewise.
26563
26564 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
26565
7a270350
UD
26566 * time/time.h: TIME_UTC must be a macro.
26567 Make timespec_get available for ISO C11 only as well.
26568
7724defc
UD
265692012-02-24 Ulrich Drepper <drepper@gmail.com>
26570
26571 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
26572 Reported by Peng Haitao <penght@cn.fujitsu.com>.
26573
6b1d1d46
JM
265742012-02-24 Joseph Myers <joseph@codesourcery.com>
26575
26576 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 26577
0f8bbd69
JM
265782012-02-24 Joseph Myers <joseph@codesourcery.com>
26579
26580 * manual/texinfo.tex: Update to version 2012-01-19.16.
26581
66ab80bc
JM
265822012-02-24 Joseph Myers <joseph@codesourcery.com>
26583
26584 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
26585
74981cc5
RM
265862012-02-24 Roland McGrath <roland@hack.frob.com>
26587
ee968201
RM
26588 [BZ #13738]
26589 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
26590 * manual/fdl-1.3.texi: New file.
26591 * manual/fdl-1.1.texi: File removed.
26592
74981cc5
RM
26593 [BZ #13738]
26594 * manual/libc.texinfo (FDL_VERSION): New @set.
26595 Use it for mention of FDL in cover text.
26596 (Documentation License): Use it in @include file name.
26597
7bb764bc
JM
265982012-02-22 Joseph Myers <joseph@codesourcery.com>
26599 Roland McGrath <roland@hack.frob.com>
26600
26601 [BZ #5461]
26602 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
26603 not LONG_LONG_MAX and LONG_LONG_MIN.
26604 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
26605 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
26606 name.
26607 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
26608
6cbeae47
JM
266092012-02-22 Joseph Myers <joseph@codesourcery.com>
26610
26611 [BZ #2547]
26612 [BZ #11365]
26613 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
26614 manipulate bits before adding and subtracting TWO23[sx].
26615 * math/libm-test.inc (nearbyint_test): Add more tests.
26616
fe45ce09
JM
266172012-02-22 Joseph Myers <joseph@codesourcery.com>
26618
26619 [BZ #2548]
26620 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
26621 bits before adding and subtracting TWO23[sx].
26622 * math/libm-test.inc (rint_test): Add more tests.
26623 (rint_test_tonearest): Likewise.
26624 (rint_test_towardzero): Likewise.
26625 (rint_test_downward): Likewise.
26626 (rint_test_upward: Likewise.
26627
ff3b3d82
JM
266282012-02-22 Joseph Myers <joseph@codesourcery.com>
26629
26630 [BZ #10110]
26631 * include/stdc-predef.h: New file. Extracted from features.h.
26632 * include/features.h: Include stdc-predef.h.
26633 * Makefile (headers): Add stdc-predef.h.
26634 * CONFORMANCE (Compiler limitations): Update.
26635
ef0aab35
JM
266362012-02-22 Joseph Myers <joseph@codesourcery.com>
26637
26638 * manual/libc.texinfo (VERSION, UPDATED): Revert.
26639
58639409
DM
266402012-02-21 David S. Miller <davem@davemloft.net>
26641
26642 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
26643 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
26644
c0e70b25
DM
266452012-02-20 David S. Miller <davem@davemloft.net>
26646
26647 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
26648 using a normal save/restore sequence, rather than allocating a
26649 dummy stack frame just to store a frame pointer and restore.
26650 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26651
fb06851d
JM
266522012-02-21 Joseph Myers <joseph@codesourcery.com>
26653
26654 * manual/install.texi: Fix stray word in line-wrapped comment.
26655
7a8b71c3
DM
266562012-02-20 David S. Miller <davem@davemloft.net>
26657
d510c123
DM
26658 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
26659 both binutils and gcc support GOTDATA.
26660
0722d7c2
DM
26661 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
26662 "rd %pc" in the PIC register setup sequences.
26663
3d2b3019
DM
26664 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
26665 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
26666 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
26667 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
26668 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
26669 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
26670 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26671 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26672 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
26673 (SYSCALL_ERROR_HANDLER): Likewise.
26674 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
26675 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26676 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
26677 (SYSCALL_ERROR_HANDLER): Likewise.
26678
c80098a9
DM
26679 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
26680 (HAVE_GCC_GOTDATA): New.
26681 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
26682 relocation support in both binutils and gcc.
26683 * sysdeps/sparc/elf/configure: Regenerate.
26684
3a2545a0
DM
26685 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
26686 * sysdeps/sparc/sparc32/elf/configure: Delete.
26687 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
26688 * sysdeps/sparc/sparc64/elf/configure: Delete.
26689 * sysdeps/sparc/elf/configure.in: New file.
26690 * sysdeps/sparc/elf/configure: Generate.
26691
7a8b71c3
DM
26692 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
26693 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
26694 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
26695 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
26696 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
26697
f1e86fca
JM
266982012-02-21 Joseph Myers <joseph@codesourcery.com>
26699
26700 * manual/install.texi: Do not mention specific glibc version
26701 numbers.
26702 * manual/libc.texinfo (VERSION, UPDATED): Update.
26703 (@copying): Use @copyright{} and range of years.
26704
0e7dfaef
JM
267052012-02-21 Joseph Myers <joseph@codesourcery.com>
26706
26707 [BZ #13695]
26708 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
26709 [crti.S not in sysdirs] (generated): Do not append.
26710 [crti.S not in sysdirs] (omit-deps): Likewise.
26711 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
26712 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
26713 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
26714 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
26715 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
26716 Likewise.
26717 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
26718 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
26719 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
26720 * csu/defs.awk: Remove file.
26721 * sysdeps/generic/initfini.c: Likewise.
26722 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
26723 variable.
26724 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
26725 Likewise.
26726
599af3ca
JM
267272012-02-20 Joseph Myers <joseph@codesourcery.com>
26728
26729 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
26730 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
26731 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
26732 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
26733 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26734 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
26735 <bits/epoll.h>.
26736 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
26737 (__EPOLL_PACKED): Define to empty if not defined by
26738 <bits/epoll.h>.
26739 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
26740 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26741 bits/epoll.h.
26742
0e499750
JM
267432012-02-20 Joseph Myers <joseph@codesourcery.com>
26744
26745 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
26746 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
26747 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
26748 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
26749 <bits/timerfd.h>.
26750 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
26751 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26752 bits/timerfd.h.
26753
5ad91f6e
JM
267542012-02-20 Joseph Myers <joseph@codesourcery.com>
26755
26756 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
26757 in C locale.
26758 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26759 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26760 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
26761 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26762
06b99b02
AJ
267632012-02-20 Aurelien Jarno <aurelien@aurel32.net>
26764
26765 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26766 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
26767
7638c0fd
AS
267682012-02-19 Andreas Schwab <schwab@linux-m68k.org>
26769
26770 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
26771 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
26772 defined.
26773 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
26774 Likewise.
26775 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
26776 entry for 2.16.
26777
92221550
AJ
267782012-02-19 Aurelien Jarno <aurelien@aurel32.net>
26779
26780 * math/w_acos.c: Use non-signaling floating-point comparisons.
26781 * math/w_acosf.c: Likewise.
26782 * math/w_acosh.c: Likewise.
26783 * math/w_acoshf.c: Likewise.
26784 * math/w_acoshl.c: Likewise.
26785 * math/w_acosl.c: Likewise.
26786 * math/w_asin.c: Likewise.
26787 * math/w_asinf.c: Likewise.
26788 * math/w_asinl.c: Likewise.
26789 * math/w_atanh.c: Likewise.
26790 * math/w_atanhf.c: Likewise.
26791 * math/w_atanhl.c: Likewise.
26792 * math/w_exp2.c: Likewise.
26793 * math/w_exp2f.c: Likewise.
26794 * math/w_exp2l.c: Likewise.
26795 * math/w_j0.c: Likewise.
26796 * math/w_j0f.c: Likewise.
26797 * math/w_j0l.c: Likewise.
26798 * math/w_j1.c: Likewise.
26799 * math/w_j1f.c: Likewise.
26800 * math/w_j1l.c: Likewise.
26801 * math/w_jn.c: Likewise.
26802 * math/w_jnf.c: Likewise.
26803 * math/w_log.c: Likewise.
26804 * math/w_log10.c: Likewise.
26805 * math/w_log10f.c: Likewise.
26806 * math/w_log10l.c: Likewise.
26807 * math/w_log2.c: Likewise.
26808 * math/w_log2f.c: Likewise.
26809 * math/w_log2l.c: Likewise.
26810 * math/w_logf.c: Likewise.
26811 * math/w_logl.c: Likewise.
26812 * math/w_sqrt.c: Likewise.
26813 * math/w_sqrtf.c: Likewise.
26814 * math/w_sqrtl.c: Likewise.
26815 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
26816 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
26817 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26818 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
26819 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
26820
ebaf36eb
JM
268212012-02-19 Joseph Myers <joseph@codesourcery.com>
26822
26823 [BZ #9739]
26824 * manual/string.texi (strnlen): Use correct parameter name in
26825 equivalent expression.
26826
71c254a6
JM
268272012-02-19 Joseph Myers <joseph@codesourcery.com>
26828
26829 [BZ #11174]
26830 * manual/users.texi (seteuid): Consistently use neweuid for
26831 argument name.
26832
16d2c631
JM
268332012-02-19 Joseph Myers <joseph@codesourcery.com>
26834
26835 [BZ #13704]
26836 * manual/nss.texi (Services in the NSS configuration): Correct
26837 list of services in example configuration file.
26838
cd837b09
NB
268392012-02-19 Nick Bowler <nbowler@draconx.ca>
26840
26841 [BZ #11322]
26842 * manual/arith.texi: Remove statements about negative zero
26843 behaving identically to zero.
26844
02c4bbad
JM
268452012-02-18 Joseph Myers <joseph@codesourcery.com>
26846
26847 [BZ #5993]
26848 * manual/install.texi: Do not document upgrading from libc5.
26849
366842e7
JM
268502012-02-18 Joseph Myers <joseph@codesourcery.com>
26851
26852 [BZ #4596]
26853 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
26854
dd54084d
DM
268552012-02-18 David S. Miller <davem@davemloft.net>
26856
26857 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
26858 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
26859 %o7 across the call.
26860 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
26861 instead.
26862 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
26863 SETUP_PIC_REG_LEAF.
26864 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26865 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
26866 * sysdeps/sparc/crtn.S: Likewise.
26867
2bcc53a3
UD
268682012-02-17 Ulrich Drepper <drepper@gmail.com>
26869
26870 * aout/Makefile: Remove.
26871
09c093b5
RK
268722012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
26873
26874 [BZ #13058]
26875 * manual/examples/argp-ex1.c (main): Format definition in GNU
26876 style.
26877 * manual/examples/argp-ex2.c (main): Likewise.
26878 * manual/examples/argp-ex3.c (main): Likewise.
26879 * manual/examples/argp-ex4.c (main): Likewise.
26880 * manual/examples/longopt.c (main): Use new-style prototype
26881 definition.
26882 * manual/examples/strncat.c (main): Specify return type and use
26883 (void) for arguments.
26884 * manual/examples/subopt.c (main): Use char **argv argument.
26885
2ee633a2
JM
268862012-02-17 Joseph Myers <joseph@codesourcery.com>
26887
26888 [BZ #5077]
26889 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
26890 rounding modes.
26891
0520adde
FB
268922012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
26893
26894 [BZ #6907]
26895 * manual/string.texi (strchr): Change when strchrnul is
26896 recommended.
26897
3f4081cd
DGM
268982012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
26899
26900 [BZ #174]
26901 * manual/locale.texi (setlocale): Document LOCPATH.
26902
d1b10e78
JM
269032012-02-17 Joseph Myers <joseph@codesourcery.com>
26904
26905 [BZ #10210]
26906 * manual/process.texi (execle): Move @dots{} before last argument.
26907
79c6869c
PB
269082012-02-17 Paul Bolle <pebolle@tiscali.nl>
26909
26910 [BZ #12047]
26911 * manual/charset.texi (Generic Charset Conversion): Fix typo
26912 (LC_TYPE -> LC_CTYPE).
26913
cc6e48bc
NB
269142012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
26915
26916 [BZ #5805]
26917 * manual/arith.texi (scalbn): Use @var{} on parameter names.
26918 (scalbnf): Likewise.
26919 (scalbnl): Likewise.
26920 (scalbln): Likewise.
26921 (scalblnf): Likewise.
26922 (scalblnl): Likewise.
26923 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
26924 (vwarnx): Likewise.
26925 (verr): Likewise.
26926 (verrx): Likewise.
26927 * manual/filesys.texi (telldir): Use braces around return type.
26928 * manual/llio.texi (mmap): Add space after comma.
26929 (mmap64): Likewise.
26930 * manual/math.texi (jn): Use @var{} on parameter names.
26931 (jnf): Likewise.
26932 (jnl): Likewise.
26933 (yn): Likewise.
26934 (ynf): Likewise.
26935 (ynl): Likewise.
26936 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
26937 line.
26938 * manual/resource.texi (ulimit): Use @dots{} instead of literal
26939 "...".
26940 (sched_get_priority_min): Remove semicolon on @deftypefun line.
26941 (sched_get_priority_max): Likewise.
26942 * manual/signal.texi (sigvec): Add space after comma.
26943 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
26944 names.
26945 (if_indextoname): Likewise.
26946 (if_freenameindex): Likewise.
26947 (sendto): Use ',' instead of '.' in prototype.
26948 * manual/startup.texi (syscall): Use @dots{} instead of literal
26949 "...".
26950 * manual/stdio.texi (__fpending): Separate initial words of
26951 paragraph from @deftypefun line.
26952 * manual/syslog.texi (syslog): Use @dots{} instead of literal
26953 "...".
26954 (vsyslog): Use @var{} on parameter names.
26955 * manual/terminal.texi (stty): Use @var{} on parameter names.
26956 * manual/users.texi (getutmp): Use @var{} on parameter names.
26957 (getutmpx): Likewise.
26958
5b23062f
JM
269592012-02-17 Joseph Myers <joseph@codesourcery.com>
26960
26961 [BZ #6884]
26962 * manual/stdio.texi (fopen): Fix typos in description of
26963 ",ccs=STRING".
26964
8dee4833
AJ
269652012-02-17 Aurelien Jarno <aurelien@aurel32.net>
26966
26967 [BZ #4026]
26968 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
26969 get clock_id definition.
26970
9078ce93
TS
269712012-02-17 Thomas Schwinge <thomas@schwinge.name>
26972
26973 [BZ #4822]
26974 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
26975 (madvise): Cast every argument to void on its own.
26976
3835c55f
JM
269772012-02-17 Joseph Myers <joseph@codesourcery.com>
26978
26979 [BZ #9902]
26980 * manual/startup.texi (Exit Status): Fix typo.
26981
35c47e37
JM
269822012-02-17 Joseph Myers <joseph@codesourcery.com>
26983
26984 [BZ #10140]
26985 * manual/examples/argp-ex1.c: Include <stdlib.h>.
26986 * manual/examples/argp-ex2.c: Likewise.
26987 * manual/examples/argp-ex3.c: Likewise.
26988
e3b69ca7
RH
269892012-02-16 Richard Henderson <rth@redhat.com>
26990
26991 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
26992 * sysdeps/s390/s390-32/initfini.c: Remove.
26993 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
26994 * sysdeps/s390/s390-64/initfini.c: Remove.
26995
df83af67
KK
269962012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26997
26998 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
26999 compiler output for sysdeps/generic/initfini.c.
27000 * sysdeps/sh/elf/initfini.c: Remove file.
27001
f63f3380
DM
270022012-02-16 David S. Miller <davem@davemloft.net>
27003
fb59b3a4
DM
27004 [BZ #11494]
27005 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
27006
f63f3380
DM
27007 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
27008 * sysdeps/sparc/crti.S: New file.
27009 * sysdeps/sparc/crtn.S: New file.
27010 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
27011 * sysdeps/sparc/sparc64/Makefile: Likewise.
27012
df6a4a4a
MF
270132012-02-15 Mike Frysinger <vapier@gentoo.org>
27014
6dd8f3dc 27015 [BZ #3335]
df6a4a4a
MF
27016 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
27017
1cac7236
RM
270182012-02-15 Roland McGrath <roland@hack.frob.com>
27019
d2c736f8
RM
27020 [BZ #4822]
27021 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
27022
1cac7236
RM
27023 * mach/devstream.c (cookie_io_functions_t): Macro removed.
27024 (write, read, close): Likewise.
27025 Patch by Aurelien Jarno <aurelien@aurel32.net>.
27026
8e475601
JM
270272012-02-15 Joseph Myers <joseph@codesourcery.com>
27028
27029 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
27030 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
27031 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
27032 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
27033 <bits/signalfd.h>.
27034 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
27035 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27036 bits/signalfd.h.
27037
ed656b40
MP
270382012-02-14 Marek Polacek <polacek@redhat.com>
27039
27040 * sysdeps/x86_64/crti.S: New file.
27041 * sysdeps/x86_64/crtn.S: New file.
27042 * sysdeps/x86_64/elf/initfini.c: Remove file.
27043
2a979d3a
JM
270442012-02-13 Joseph Myers <joseph@codesourcery.com>
27045
27046 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
27047 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
27048 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
27049 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
27050 <bits/inotify.h>.
27051 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
27052 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27053 bits/inotify.h.
27054
2a418ac3
JM
270552012-02-13 Joseph Myers <joseph@codesourcery.com>
27056
27057 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
27058 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
27059 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
27060 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
27061 <bits/eventfd.h>.
27062 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
27063 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27064 bits/eventfd.h.
27065
fb779be7
TS
270662012-02-10 Thomas Schwinge <thomas@codesourcery.com>
27067
e19e83c5
RM
27068 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
27069 __feraiseexcept instead of feraiseexcept.
7c35ffed 27070
fb779be7
TS
27071 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
27072 nanosleep invocations.
27073 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
27074 strings, and add error checking for a nanosleep invocations.
27075
59ba27a6
PE
270762012-02-09 Paul Eggert <eggert@cs.ucla.edu>
27077
27078 Replace FSF snail mail address with URLs, as per GNU coding standards.
27079 Most of the snail mail addresses were wrong anyway, and omitting
27080 them makes the source code easier to maintain. Almost all of the
27081 changes are to license notices and to locale LC_IDENTIFICATION
27082 addresses, except for this one:
27083 * manual/libc.texinfo: In "Published by", give the FSF's URL,
27084 not its snail mail address.
27085
57b957eb
RH
270862012-02-09 Richard Henderson <rth@twiddle.net>
27087
af850b1c
RH
27088 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
27089 of kernel-features.h.
27090
57b957eb
RH
27091 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
27092
6b73181a
MP
270932012-02-08 Marek Polacek <polacek@redhat.com>
27094
27095 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
27096 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
27097 * sysdeps/gnu/_G_config.h: Likewise.
27098 * sysdeps/generic/_G_config.h: Likewise.
27099
26ecc33a
AS
271002012-02-08 Andreas Schwab <schwab@linux-m68k.org>
27101
6c6dbc63
AS
27102 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
27103 tests.
27104 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27105
e216c012
AS
27106 * sysdeps/powerpc/powerpc32/crti.S: New file.
27107 * sysdeps/powerpc/powerpc32/crtn.S: New file.
27108 * sysdeps/powerpc/powerpc64/crti.S: New file.
27109 * sysdeps/powerpc/powerpc64/crtn.S: New file.
27110
26ecc33a
AS
27111 * Makeconfig (have-initfini): Don't set.
27112 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
27113 * configure.in (nopic_initfini): Don't substitute.
27114 * config.h.in (HAVE_INITFINI): Don't #undef.
27115 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
27116 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
27117
3add8e13
JM
271182012-02-08 Joseph Myers <joseph@codesourcery.com>
27119
27120 Support crti.S and crtn.S provided directly by architectures.
27121 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
27122 [crti.S in sysdirs] (omit-deps): Likewise.
27123 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
27124 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
27125 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
27126 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
27127 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
27128 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
27129 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
27130 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
27131 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
27132 compiler output for sysdeps/generic/initfini.c.
27133 * sysdeps/i386/elf/Makefile: Remove file.
27134 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
27135
a22f12b4
MP
271362012-02-07 Marek Polacek <polacek@redhat.com>
27137
27138 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
27139 * sysdeps/gnu/_G_config.h: Likewise.
27140 * sysdeps/mach/hurd/_G_config.h: Likewise.
27141
148cf100
MP
271422012-02-07 Marek Polacek <polacek@redhat.com>
27143
27144 * math/Makefile (tests): Add tst-CMPLX2.
27145 * math/tst-CMPLX2.c: New file.
27146
cfdc0dd7
AS
271472012-02-07 Andreas Schwab <schwab@linux-m68k.org>
27148
84ba42c4
AS
27149 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27150
cfdc0dd7
AS
27151 * math/libm-test.inc (jn_test): Add missing L suffix.
27152
622c86f4
MP
271532012-02-06 Marek Polacek <polacek@redhat.com>
27154
27155 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
27156 * sysdeps/i386/fpu/e_powf.S: Likewise.
27157 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27158 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
27159 * sysdeps/i386/fpu/e_acosh.S: Likewise.
27160 * sysdeps/i386/fpu/e_pow.S: Likewise.
27161 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
27162 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27163 * sysdeps/i386/fpu/s_expm1.S: Likewise.
27164 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
27165 * sysdeps/i386/fpu/e_log2.S: Likewise.
27166 * sysdeps/i386/fpu/e_log2l.S: Likewise.
27167 * sysdeps/i386/fpu/e_scalb.S: Likewise.
27168 * sysdeps/i386/fpu/e_powl.S: Likewise.
27169 * sysdeps/i386/fpu/s_log1p.S: Likewise.
27170 * sysdeps/i386/fpu/e_log10f.S: Likewise.
27171 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
27172 * sysdeps/i386/fpu/e_logl.S: Likewise.
27173 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
27174 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
27175 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
27176 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
27177 * sysdeps/i386/fpu/e_log2f.S: Likewise.
27178 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27179 * sysdeps/i386/fpu/e_log.S: Likewise.
27180 * sysdeps/i386/fpu/s_cexp.S: Likewise.
27181 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27182 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
27183 * sysdeps/i386/fpu/e_logf.S: Likewise.
27184 * sysdeps/i386/fpu/e_log10l.S: Likewise.
27185 * sysdeps/i386/fpu/e_atanh.S: Likewise.
27186 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
27187 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
27188 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
27189 * sysdeps/i386/fpu/e_log10.S: Likewise.
27190 * sysdeps/i386/fpu/s_frexp.S: Likewise.
27191 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27192 * sysdeps/i386/fpu/s_asinh.S: Likewise.
27193 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
27194 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27195 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
27196 * sysdeps/i386/asm-syntax.h: Likewise.
27197 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27198 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27199 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27200 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
27201 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
27202 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27203 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
27204 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
27205 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27206 * sysdeps/powerpc/sysdep.h: Likewise.
27207 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
27208 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
27209
d4a54ac6
JM
272102012-02-06 Joseph Myers <joseph@codesourcery.com>
27211
27212 [BZ #411]
27213 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
27214
314054ea
JM
272152012-02-06 Joseph Myers <joseph@codesourcery.com>
27216
27217 * sysdeps/i386/sysdep.h: Include <features.h>.
27218 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
27219 version.
27220
d8e0ca50
JM
272212012-02-05 Joseph Myers <joseph@codesourcery.com>
27222
27223 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
27224 Define.
27225 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
27226 LOAD_PIC_REG_STR.
27227
b1da7dd9
JM
272282012-02-03 Joseph Myers <joseph@codesourcery.com>
27229
27230 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
27231 (SETUP_PIC_REG): Use GET_PC_THUNK.
27232 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
27233 macro.
27234
9a1d9254
JM
272352012-02-03 Joseph Myers <joseph@codesourcery.com>
27236
27237 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
27238 for non-PIC compilation.
27239 (SETUP_PIC_REG): Add .p2align directive.
27240 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
27241 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
27242 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
27243 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
27244 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
27245 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
27246 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
27247 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
27248 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27249 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27250 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27251 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27252 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27253 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27254 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
27255 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
27256 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
27257 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
27258 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
27259 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
27260 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
27261 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
27262 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
27263 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
27264 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
27265 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
27266 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27267 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
27268 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
27269 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
27270 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
27271 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27272 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
27273 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
27274 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
27275 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
27276 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
27277 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
27278 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
27279 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
27280 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
27281
65dc3b75
JM
272822012-02-03 Joseph Myers <joseph@codesourcery.com>
27283
27284 * math/tst-CMPLX.c: Include <stdio.h>.
27285
d55bf177
JM
272862012-01-31 Joseph Myers <joseph@codesourcery.com>
27287
27288 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
27289 float.
27290 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
27291 * sysdeps/sparc/bits/mathdef.h: Likewise.
27292
69db4f8f
MP
272932012-01-31 Marek Polacek <polacek@redhat.com>
27294
27295 * libio/libio.h: Don't define _PARAMS.
27296 * locale/programs/config.h: Don't define PARAMS.
27297 * stdlib/strtol_l.c: Likewise.
27298 (__strtol_l): Remove PARAMS from the prototype.
27299
41b81892
UD
273002012-01-31 Ulrich Drepper <drepper@gmail.com>
27301
3b49edc0
UD
27302 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
27303 names. Just use the correct names. Remove unnecessary wrapper
27304 functions.
27305 * malloc/arena.c: Likewise.
27306 * malloc/hooks.c: Likewise.
27307
41b81892
UD
27308 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
27309 ARENA_TEST says not to. Simplify test for creation of a new arena.
27310 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
27311
27a25b6e
UD
273122012-01-30 Ulrich Drepper <drepper@gmail.com>
27313
27314 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
27315 into tail calls.
27316 (update_get_addr): New function.
27317 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
27318 GET_ADDR_MODULE parameter.
27319
c8a89e7d
JM
273202012-01-30 Joseph Myers <joseph@codesourcery.com>
27321
27322 * crypt/cert.c: Remove __STDC__ conditionals.
27323 * crypt/crypt-entry.c: Likewise.
27324 * crypt/crypt_util.c: Likewise.
27325 * libio/filedoalloc.c: Likewise.
27326 * libio/fileops.c: Likewise.
27327 * libio/genops.c: Likewise.
27328 * libio/iofclose.c: Likewise.
27329 * libio/iofdopen.c: Likewise.
27330 * libio/iofopen.c: Likewise.
27331 * libio/iofopen64.c: Likewise.
27332 * libio/iogetdelim.c: Likewise.
27333 * libio/iopopen.c: Likewise.
27334 * libio/obprintf.c: Likewise.
27335 * libio/oldfileops.c: Likewise.
27336 * libio/oldiofclose.c: Likewise.
27337 * libio/oldiofdopen.c: Likewise.
27338 * libio/oldiofopen.c: Likewise.
27339 * libio/oldiopopen.c: Likewise.
27340 * libio/wfiledoalloc.c: Likewise.
27341 * libio/wgenops.c: Likewise.
27342 * locale/programs/xmalloc.c: Likewise.
27343 * misc/syslog.c: Likewise.
27344 * stdio-common/xbug.c: Likewise.
27345 * string/memchr.c: Likewise.
27346 * string/memcmp.c: Likewise.
27347 * string/memrchr.c: Likewise.
27348 * string/rawmemchr.c: Likewise.
27349 * sysdeps/posix/getcwd.c: Likewise.
27350 * time/strftime_l.c: Likewise.
27351
3b100462
JM
273522012-01-30 Joseph Myers <joseph@codesourcery.com>
27353
27354 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
27355 * config.make.in (config-cflags-sse2avx): Define.
27356 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
27357 Fix typo.
27358
607998af
CM
273592012-01-29 Chris Metcalf <cmetcalf@tilera.com>
27360
27361 * scripts/config.guess: Update from upstream config git repository.
27362 * scripts/config.sub: Likewise.
27363
3601428f
CM
273642012-01-28 Chris Metcalf <cmetcalf@tilera.com>
27365
3ac8b282
CM
27366 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
27367 (EM_NUM): Update.
27368 (R_TILEPRO_*, R_TILEGX_*): New macros.
27369
e034841e
CM
27370 * scripts/firstversions.awk: Fix bug in version range handling.
27371
540d7568
CM
27372 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
27373
3601428f
CM
27374 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
27375
463de862
CM
27376 * include/sys/epoll.h: New file.
27377 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
27378 libc_hidden_def.
27379
73139a76
UD
273802012-01-28 Ulrich Drepper <drepper@gmail.com>
27381
96bc5b45
UD
27382 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
27383 Avoid unnecessary __WORDSIZE == 64 test.
27384 (fmaxf): Use VEX format if possible.
27385 (fmax): Likewise.
27386 (fminf): Likewise.
27387 (fmin): Likewise.
27388
56f6f6a2
UD
27389 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
27390 * math/math_private.h: Remove libc_fegetround* and
27391 libc_fesetround*.
27392 * sysdeps/i386/configure.in: Check for -msse2avx.
27393 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
27394 also if SSE2AVX is defined.
27395 Remove libc_fegetround* and libc_fesetround*.
27396 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
27397 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
27398 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
27399 of HAS_YMM_USABLE.
27400 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27401 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27402 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27403 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27404 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27405
73139a76
UD
27406 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
27407
d73f93a4
AZ
274082012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27409
27410 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
27411 size is not set.
27412 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
27413
6ee65ed6
UD
274142012-01-27 Ulrich Drepper <drepper@gmail.com>
27415
27416 [BZ #13618]
27417 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
27418 relocation.
27419 * Makeconfig (libm): Define.
27420 * elf/Makefile: Add rules to build and run tst-relsort1.
27421 * elf/tst-relsort1.c: New file.
27422 * elf/tst-relsort1mod1.c: New file.
27423 * elf/tst-relsort1mod2.c: New file.
27424
8db21882
JM
274252012-01-27 Joseph Myers <joseph@codesourcery.com>
27426
27427 * math/s_ldexp.c: Remove __STDC__ conditionals.
27428 * math/s_ldexpf.c: Likewise.
27429 * math/s_ldexpl.c: Likewise.
27430 * math/s_nextafter.c: Likewise.
27431 * math/s_nexttowardf.c: Likewise.
27432 * math/s_significand.c: Likewise.
27433 * math/s_significandf.c: Likewise.
27434 * math/s_significandl.c: Likewise.
27435 * math/w_jnl.c: Likewise.
27436 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
27437 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
27438 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
27439 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
27440 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
27441 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27442 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
27443 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
27444 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27445 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
27446 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
27447 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27448 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
27449 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
27450 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
27451 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
27452 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
27453 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
27454 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27455 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27456 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27457 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
27458 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
27459 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27460 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
27461 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
27462 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
27463 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
27464 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
27465 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
27466 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
27467 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
27468 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
27469 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
27470 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
27471 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
27472 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
27473 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
27474 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
27475 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
27476 * sysdeps/ieee754/k_standard.c: Likewise.
27477 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27478 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
27479 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
27480 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
27481 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
27482 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
27483 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
27484 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
27485 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
27486 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
27487 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
27488 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
27489 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
27490 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
27491 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
27492 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
27493 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
27494 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
27495 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
27496 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
27497 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27498 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
27499 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
27500 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
27501 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
27502 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
27503 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27504 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27505 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27506 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
27507 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
27508 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
27509 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
27510 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
27511 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
27512 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
27513 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
27514 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
27515 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
27516 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
27517 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
27518 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
27519 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
27520 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
27521 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
27522 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
27523 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
27524 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
27525 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
27526 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
27527 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
27528 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
27529 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27530 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
27531 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
27532 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
27533 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
27534 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27535 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27536 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27537 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
27538 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
27539 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
27540 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
27541 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
27542 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
27543 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
27544 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
27545 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
27546 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
27547 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
27548 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
27549 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
27550 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
27551 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
27552 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
27553 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
27554 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
27555 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
27556 * sysdeps/ieee754/s_matherr.c: Likewise.
27557 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
27558 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
27559 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27560 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
27561
965a54a4
JM
275622012-01-26 Joseph Myers <joseph@codesourcery.com>
27563
27564 * crypt/md5.h: Remove __STDC__ conditionals.
27565 * libio/libioP.h: Likewise.
27566 * locale/programs/config.h: Likewise.
27567 * sysdeps/generic/sysdep.h: Likewise.
27568 * sysdeps/i386/asm-syntax.h: Likewise.
27569 * sysdeps/s390/asm-syntax.h: Likewise.
27570 * sysdeps/unix/sysdep.h: Likewise.
27571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
27572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27573
7071ad79
JM
275742012-01-26 Joseph Myers <joseph@codesourcery.com>
27575
27576 * libio/libio.h: Remove __STDC__ conditionals.
27577 * malloc/obstack.h: Likewise.
27578 * math/complex.h: Likewise.
27579 * math/math.h: Likewise.
27580 * sysdeps/generic/_G_config.h: Likewise.
27581 * sysdeps/gnu/_G_config.h: Likewise.
27582 * sysdeps/mach/hurd/_G_config.h: Likewise.
27583 * sysdeps/powerpc/bits/mathdef.h: Likewise.
27584 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
27585 * sysdeps/sparc/bits/mathdef.h: Likewise.
27586
afc5ed09
UD
275872012-01-26 Ulrich Drepper <drepper@gmail.com>
27588
27589 [BZ #13583]
27590 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 27591 Clean up HAS_* macros.
afc5ed09 27592 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
27593 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
27594 possible.
27595 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
27596 HAS_AVX.
27597 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27598 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27599 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27600 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27601 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 27602
bdb6de1d
JM
276032012-01-25 Joseph Myers <joseph@codesourcery.com>
27604
27605 * elf/tst-unique3.cc (gets): Remove declaration.
27606 * elf/tst-unique3lib.cc (gets): Likewise.
27607 * elf/tst-unique3lib2.cc (gets): Likewise.
27608 * elf/tst-unique4.cc (gets): Likewise.
27609
b15549e6
UD
276102012-01-24 Ulrich Drepper <drepper@gmail.com>
27611
27612 * include/stdio.h: Add C++ protection. Add gets declarations and
27613 definitions.
27614 * debug/tst-chk1.c: Don't declare gets here.
27615 * stdio-common/tst-gets.c: Likewise.
27616
a037381f
JM
276172012-01-24 Joseph Myers <joseph@codesourcery.com>
27618
27619 * posix/glob: Remove directory.
27620
f1d4aa75
JM
276212012-01-24 Joseph Myers <joseph@codesourcery.com>
27622
27623 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
27624
81c0c964
PT
276252012-01-22 Pino Toscano <toscano.pino@tiscali.it>
27626
27627 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
27628 of the non-standard EPFNOSUPPORT.
27629
0ea698ae
ST
276302011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
27631
27632 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
27633 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
27634 ANYWHERE set to 1 only on KERN_NO_SPACE error.
27635
d220b117
UD
276362012-01-21 Ulrich Drepper <drepper@gmail.com>
27637
27638 * wcsmbs/uchar.h: Test __STDC_VERSION__.
27639
3e1aa84e
UD
276402012-01-20 Ulrich Drepper <drepper@gmail.com>
27641
27642 * nscd/aicache.c (addhstaiX): Do not cache negative results of
27643 transient errors.
27644 * nscd/grpcache.c (cache_addgr): Likewise.
27645 * nscd/hstcache.c (cache_addhst): Likewise.
27646 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27647 * nscd/pwdcache.c (cache_addpw): Likewise.
27648 * nscd/servicescache.c (cache_addserv): Likewise.
27649
400aa020
UD
276502012-01-16 Ulrich Drepper <drepper@gmail.com>
27651
d77e7869
UD
27652 * malloc/malloc.c: Various cleanups.
27653 * malloc/hooks.c: Likewise.
27654
400aa020
UD
27655 * stdlib/Makefile (tests): Add bug-fmtmsg1.
27656 * stdlib/bug-fmtmsg1.c: New file.
27657
27658 * stdlib/fmtmsg.c (init): Add missing unlock.
27659 Patch by Peng Haitao <penght@cn.fujitsu.com>.
27660
e0a309cf
MP
276612012-01-12 Marek Polacek <polacek@redhat.com>
27662
27663 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
27664 and _GNU_SOURCE.
27665
929d11c7
WS
276662012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
27667
27668 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
27669 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
27670 macro to ensure uniqueness of label name.
27671 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
27672 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
27673
41d0e869
UD
276742012-01-11 Ulrich Drepper <drepper@gmail.com>
27675
0cc5ed3b
UD
27676 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
27677
41d0e869
UD
27678 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
27679 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
27680 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
27681 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
27682
a47a831a
UD
276832012-01-10 Ulrich Drepper <drepper@gmail.com>
27684
daa891c0
UD
27685 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
27686
27687 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
27688 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
27689 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
27690
e58ef0f2
UD
27691 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
27692
a47a831a 27693 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
27694 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
27695 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 27696 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
27697
27698 * math/bits/math-finite.h: Add ldexp support.
27699
a0bfc9c7
MP
277002012-01-10 Marek Polacek <polacek@redhat.com>
27701
27702 * locale/programs/localedef.h (show_archive_content): Add noreturn
27703 attribute.
27704
d6e97a1d
UD
277052012-01-09 Ulrich Drepper <drepper@gmail.com>
27706
27707 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
27708
d5835c26
UD
277092012-01-08 Ulrich Drepper <drepper@gmail.com>
27710
e5f484c6
UD
27711 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
27712
d5835c26
UD
27713 * io/Makefile (headers): Add bits/poll2.h.
27714
d1f741e9
WS
277152011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
27716
27717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
27718 typo #include statement.
27719
ec09c1c4
UD
277202012-01-08 Ulrich Drepper <drepper@gmail.com>
27721
27722 * include/sys/cdefs.h: Define __attribute_alloc_size.
27723 * catgets/gencat.c: Add alloc_size attribute and apply consistently
27724 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
27725 * elf/pldd.c: Likewise.
27726 * iconv/iconv_charmap.c: Likewise.
27727 * iconv/iconvconfig.c: Likewise.
27728 * iconv/strtab.c: Likewise.
27729 * locale/programs/locale.c: Likewise.
27730 * locale/programs/localedef.h: Likewise.
27731 * locale/programs/simple-hash.c: Likewise.
27732 * nscd/nscd.h: Likewise.
27733 * nss/makedb.c: Likewise.
27734 * sysdeps/generic/ldconfig.h: Likewise.
27735 * locale/programs/localedef.c: Remove xmalloc prototype.
27736 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
27737
20b38e03
PP
277382012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
27739
27740 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
27741 appropriate.
27742
a0da5fe1
UD
277432012-01-08 Ulrich Drepper <drepper@gmail.com>
27744
1d5a644a 27745 * math/Makefile (tests): Add tst-CMPLX.
669704fd 27746 * math/tst-CMPLX.c: New file.
1d5a644a 27747
8784a6db
UD
27748 * math/complex.h (CMPLXL): Fix typo.
27749
d9a216c0
UD
27750 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
27751 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
27752 GLIBC_2.16.
27753 * debug/tst-chk1.c: Add poll and ppoll tests.
27754 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
27755 * include/sys/poll.h: Add hidden proto for ppoll.
27756 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
27757 * sysdeps/mach/hurd/ppoll.c: Likewise.
27758 * io/ppoll.c: Likewise.
27759 * debug/poll_chk.c: New file.
27760 * debug/ppoll_chk.c: New file.
27761 * include/bits/poll2.h: New file.
27762 * io/bits/poll2.h: New file.
27763
ac097f5c
UD
27764 [BZ #1350]
27765 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
27766
2119dcfa
UD
27767 * configure.in: static is always set to yes. Remove.
27768 * config.make.in: Don't set build-static.
27769 * Makeconfig: Remove use of build-static.
27770 * dlfcn/Makefile: Likewise.
27771 * elf/Makefile: Likewise.
27772 * math/Makefile: Likewise.
27773 * misc/Makefile: Likewise.
27774 * nptl/Makefile: Likewise.
27775 * sysdeps/mach/hurd/Makefile: Likewise.
27776
121766a9
UD
27777 * configure.in: PWD_P is not used anymore.
27778 * config.make.in: Remove PWD_P entry.
27779
51a1d39c 27780 * configure.in: Remove last remnants of RANLIB.
8720d066 27781 No need to check for signed size_t anymore.
215f4bdc
UD
27782 Don't set libc_commonpagesize and libc_relro_required here for Alpha
27783 and IA-64.
3857022a 27784 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
27785 * aclocal.m4: Likewise.
27786
d3ed7225
UD
27787 * wcsmbs/mbrtoc16.c: Implement using towc function.
27788 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
27789 * wcsmbs/wcsmbsload.c: Likewise.
27790 * iconv/gconv_simple.c: Likewise.
27791 * iconv/gconv_int.h: Likewise.
27792 * iconv/gconv_builtin.h: Likewise.
27793 * iconv/iconv_prog.c: Remove CHAR16 handling.
27794
27795 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
27796
27797 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
27798
a0da5fe1
UD
27799 * configure.in: Remove --with-elf and --enable-bounded options.
27800 Dont set base_machine for ia64. More non-ELF conditions removed.
27801 Remove testing and setting of leading underscore information.
27802 * config.make.in (build-bounded): Set to no.
27803 * config.h.in: Remove NO_UNDERSCORES entry.
27804 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
27805 them.
27806 * csu/start.c: Remove !NO_UNDERSCORE code.
27807 * locale/localeinfo.h: Likewise.
27808 * sysdeps/generic/machine-gmon.h: Likewise.
27809 * sysdeps/generic/sysdep.h: Likewise.
27810 * sysdeps/i386/sysdep.h: Likewise.
27811 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
27812 * sysdeps/mach/sysdep.h: Likewise.
27813 * sysdeps/s390/s390-32/sysdep.h: Likewise.
27814 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27815 * sysdeps/sh/sysdep.h: Likewise.
27816 * sysdeps/sparc/sparc32/alloca.S: Likewise.
27817 * sysdeps/unix/i386/sysdep.S: Likewise.
27818 * sysdeps/unix/sparc/start.c: Likewise.
27819 * sysdeps/unix/sparc/sysdep.S: Likewise.
27820 * sysdeps/unix/sparc/sysdep.h: Likewise.
27821 * sysdeps/unix/start.c: Likewise.
27822 * sysdeps/unix/x86_64/sysdep.S: Likewise.
27823 * sysdeps/x86_64/sysdep.h: Likewise.
27824
df78418a
UD
278252012-01-07 Ulrich Drepper <drepper@gmail.com>
27826
a784e502
UD
27827 [BZ #13553]
27828 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
27829 for non-gcc.
27830 * argp/argp-fmtstream.h: Use const instead __const.
27831 * argp/argp.h: Likewise.
27832 * assert/assert.h: Likewise.
27833 * bits/fenv.h: Likewise.
27834 * bits/sched.h: Likewise.
27835 * bits/sigset.h: Likewise.
27836 * bits/sigthread.h: Likewise.
27837 * catgets/nl_types.h: Likewise.
27838 * conform/data/pthread.h-data: Likewise.
27839 * crypt/crypt-private.h: Likewise.
27840 * crypt/crypt.h: Likewise.
27841 * crypt/crypt_util.c: Likewise.
27842 * ctype/ctype.h: Likewise.
27843 * debug/execinfo.h: Likewise.
27844 * debug/mbsnrtowcs_chk.c: Likewise.
27845 * debug/mbsrtowcs_chk.c: Likewise.
27846 * debug/wcsnrtombs_chk.c: Likewise.
27847 * debug/wcsrtombs_chk.c: Likewise.
27848 * debug/wcstombs_chk.c: Likewise.
27849 * dirent/dirent.h: Likewise.
27850 * dlfcn/dlfcn.h: Likewise.
27851 * elf/neededtest4.c: Likewise.
27852 * grp/grp.h: Likewise.
27853 * gshadow/gshadow.h: Likewise.
27854 * iconv/gconv.h: Likewise.
27855 * iconv/gconv_int.h: Likewise.
27856 * iconv/gconv_simple.c: Likewise.
27857 * iconv/iconv.h: Likewise.
27858 * iconv/loop.c: Likewise.
27859 * iconv/skeleton.c: Likewise.
27860 * include/aio.h: Likewise.
27861 * include/aliases.h: Likewise.
27862 * include/argz.h: Likewise.
27863 * include/arpa/inet.h: Likewise.
27864 * include/assert.h: Likewise.
27865 * include/dirent.h: Likewise.
27866 * include/dlfcn.h: Likewise.
27867 * include/execinfo.h: Likewise.
27868 * include/fcntl.h: Likewise.
27869 * include/fenv.h: Likewise.
27870 * include/glob.h: Likewise.
27871 * include/grp.h: Likewise.
27872 * include/libintl.h: Likewise.
27873 * include/mntent.h: Likewise.
27874 * include/netdb.h: Likewise.
27875 * include/pwd.h: Likewise.
27876 * include/rpc/netdb.h: Likewise.
27877 * include/sched.h: Likewise.
27878 * include/search.h: Likewise.
27879 * include/shadow.h: Likewise.
27880 * include/signal.h: Likewise.
27881 * include/stdio.h: Likewise.
27882 * include/stdlib.h: Likewise.
27883 * include/string.h: Likewise.
27884 * include/sys/socket.h: Likewise.
27885 * include/sys/stat.h: Likewise.
27886 * include/sys/statfs.h: Likewise.
27887 * include/sys/statvfs.h: Likewise.
27888 * include/sys/syslog.h: Likewise.
27889 * include/sys/time.h: Likewise.
27890 * include/sys/uio.h: Likewise.
27891 * include/time.h: Likewise.
27892 * include/unistd.h: Likewise.
27893 * include/utmp.h: Likewise.
27894 * include/wchar.h: Likewise.
27895 * include/wctype.h: Likewise.
27896 * inet/aliases.h: Likewise.
27897 * inet/arpa/inet.h: Likewise.
27898 * inet/netinet/ether.h: Likewise.
27899 * inet/netinet/in.h: Likewise.
27900 * intl/libintl.h: Likewise.
27901 * io/bits/fcntl2.h: Likewise.
27902 * io/fcntl.h: Likewise.
27903 * io/ftw.h: Likewise.
27904 * io/sys/poll.h: Likewise.
27905 * io/sys/stat.h: Likewise.
27906 * io/sys/statfs.h: Likewise.
27907 * io/sys/statvfs.h: Likewise.
27908 * io/utime.h: Likewise.
27909 * libio/bits/stdio.h: Likewise.
27910 * libio/bits/stdio2.h: Likewise.
27911 * libio/libio.h: Likewise.
27912 * libio/libioP.h: Likewise.
27913 * libio/stdio.h: Likewise.
27914 * locale/lc-ctype.c: Likewise.
27915 * locale/locale.h: Likewise.
27916 * login/utmp.h: Likewise.
27917 * malloc/arena.c: Likewise.
27918 * malloc/malloc.c: Likewise.
27919 * malloc/malloc.h: Likewise.
27920 * malloc/mcheck.c: Likewise.
27921 * malloc/mtrace.c: Likewise.
27922 * math/bits/mathcalls.h: Likewise.
27923 * math/fenv.h: Likewise.
27924 * math/math_private.h: Likewise.
27925 * misc/bits/error.h: Likewise.
27926 * misc/bits/syslog.h: Likewise.
27927 * misc/err.h: Likewise.
27928 * misc/error.h: Likewise.
27929 * misc/fstab.h: Likewise.
27930 * misc/mntent.h: Likewise.
27931 * misc/regexp.h: Likewise.
27932 * misc/search.h: Likewise.
27933 * misc/sgtty.h: Likewise.
27934 * misc/sys/mman.h: Likewise.
27935 * misc/sys/syslog.h: Likewise.
27936 * misc/sys/uio.h: Likewise.
27937 * misc/sys/xattr.h: Likewise.
27938 * misc/ttyent.h: Likewise.
27939 * nis/rpcsvc/ypclnt.h: Likewise.
27940 * nss/nss.h: Likewise.
27941 * posix/bits/unistd.h: Likewise.
27942 * posix/fnmatch.h: Likewise.
27943 * posix/glob.h: Likewise.
27944 * posix/sched.h: Likewise.
27945 * posix/spawn.h: Likewise.
27946 * posix/sys/wait.h: Likewise.
27947 * posix/unistd.h: Likewise.
27948 * posix/wordexp.h: Likewise.
27949 * pwd/pwd.h: Likewise.
27950 * resolv/netdb.h: Likewise.
27951 * resource/sys/resource.h: Likewise.
27952 * rt/aio.h: Likewise.
27953 * rt/bits/mqueue2.h: Likewise.
27954 * rt/mqueue.h: Likewise.
27955 * shadow/shadow.h: Likewise.
27956 * signal/signal.h: Likewise.
27957 * socket/send.c: Likewise.
27958 * socket/sendto.c: Likewise.
27959 * socket/sys/socket.h: Likewise.
27960 * stdio-common/printf.h: Likewise.
27961 * stdlib/bits/stdlib.h: Likewise.
27962 * stdlib/fmtmsg.h: Likewise.
27963 * stdlib/monetary.h: Likewise.
27964 * stdlib/stdlib.h: Likewise.
27965 * stdlib/ucontext.h: Likewise.
27966 * streams/stropts.h: Likewise.
27967 * string/argz.h: Likewise.
27968 * string/bits/string2.h: Likewise.
27969 * string/string.h: Likewise.
27970 * string/strings.h: Likewise.
27971 * sunrpc/rpc/auth.h: Likewise.
27972 * sunrpc/rpc/auth_des.h: Likewise.
27973 * sunrpc/rpc/clnt.h: Likewise.
27974 * sunrpc/rpc/netdb.h: Likewise.
27975 * sunrpc/rpc/pmap_clnt.h: Likewise.
27976 * sunrpc/rpc/xdr.h: Likewise.
27977 * sysdeps/generic/inttypes.h: Likewise.
27978 * sysdeps/generic/net/if.h: Likewise.
27979 * sysdeps/generic/sys/swap.h: Likewise.
27980 * sysdeps/gnu/net/if.h: Likewise.
27981 * sysdeps/gnu/utmpx.h: Likewise.
27982 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
27983 * sysdeps/i386/i486/bits/string.h: Likewise.
27984 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
27985 * sysdeps/s390/bits/string.h: Likewise.
27986 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
27987 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
27988 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
27989 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
27990 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
27991 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
27992 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
27993 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
27994 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
27995 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
27996 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
27997 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
27998 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
27999 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
28000 * sysdeps/unix/sysv/linux/readv.c: Likewise.
28001 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
28002 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
28003 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28004 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
28005 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
28006 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
28007 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
28008 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
28009 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
28010 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
28011 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
28012 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
28013 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
28014 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
28015 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
28016 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
28017 * sysvipc/sys/ipc.h: Likewise.
28018 * sysvipc/sys/msg.h: Likewise.
28019 * sysvipc/sys/sem.h: Likewise.
28020 * sysvipc/sys/shm.h: Likewise.
28021 * termios/termios.h: Likewise.
28022 * time/sys/time.h: Likewise.
28023 * time/time.h: Likewise.
28024 * wcsmbs/bits/wchar2.h: Likewise.
28025 * wcsmbs/uchar.h: Likewise.
28026 * wcsmbs/wchar.h: Likewise.
28027 * wctype/wctype.h: Likewise.
28028
0269750c
UD
28029 [BZ #13551]
28030 * Makeconfig: Remove all but ELF support including AIX support.
28031 * Makerules: Likewise.
28032 * config.h.in: Likewise.
28033 * config.make.in: Likewise.
28034 * configure: Likewise.
28035 * configure.in: Likewise.
28036 * csu/Makefile: Likewise.
28037 * csu/version.c: Likewise.
28038 * debug/Makefile: Likewise.
28039 * dlfcn/Makefile: Likewise.
28040 * elf/Makefile: Likewise.
28041 * extra-lib.mk: Likewise.
28042 * iconv/Makefile: Likewise.
28043 * include/libc-symbols.h: Likewise.
28044 * include/shlib-compat.h: Likewise.
28045 * resolv/Makefile: Likewise.
28046 * resolv/res_libc.c: Likewise.
28047 * rt/Makefile: Likewise.
28048 * sysdeps/i386/asm-syntax.h: Likewise.
28049 * sysdeps/i386/sysdep.h: Likewise.
28050 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
28051 * sysdeps/mach/sysdep.h: Likewise.
28052 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
28053 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
28054 * sysdeps/s390/asm-syntax.h: Likewise.
28055 * sysdeps/s390/s390-32/sysdep.h: Likewise.
28056 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28057 * sysdeps/sh/sysdep.h: Likewise.
28058 * sysdeps/unix/sparc/sysdep.h: Likewise.
28059 * sysdeps/wordsize-32/divdi3.c: Likewise.
28060 * sysdeps/x86_64/sysdep.h: Likewise.
28061
00bbd29b
UD
28062 * argp/Versions: Remove _argp_unlock_xxx.
28063
28064 [BZ #13559]
28065 * abilist/ld.abilist: Update. Adjust for removal of tls option.
28066 * abilist/libBrokenLocale.abilist: Likewise.
28067 * abilist/libanl.abilist: Likewise.
28068 * abilist/libc.abilist: Likewise.
28069 * abilist/libcrypt.abilist: Likewise.
28070 * abilist/libdl.abilist: Likewise.
28071 * abilist/libm.abilist: Likewise.
28072 * abilist/libnsl.abilist: Likewise.
28073 * abilist/libpthread.abilist: Likewise.
28074 * abilist/libresolv.abilist: Likewise.
28075 * abilist/librt.abilist: Likewise.
28076 * abilist/libthread_db.abilist: Likewise.
28077 * abilist/libutil.abilist: Likewise.
28078 * abilist/libnss_db.abilist: New file.
28079
28080 * scripts/abilist.awk: Add support for indirect functions.
28081
a2693a0e
UD
28082 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
28083
3f05895f
UD
28084 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
28085
ecb6fb48
UD
28086 * shlib-versions: Remove entries for ports architectures.
28087
664f8cb9
UD
28088 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
28089 files in ports.
28090 * elf/stackguard-macros.h: Remove support for IA-64.
28091 * elf/tst-auditmod1.c: Likewise.
28092 * sysdeps/generic/ldsodefs.h: Likewise.
28093
7ae81d88
UD
28094 * sysdeps/unix/sysv/linux/configure.in: Ports should define
28095 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
28096 configure files.
28097
bdeba135
UD
28098 [BZ #13552]
28099 * configure.in: Remove --enable-omitfp support.
28100 * FAQ.in: Adjust.
28101 * config.make.in: Likewise.
28102 * Makeconfig: Likewise.
28103 * manual/install.texi: Likewise.
28104
d75a0a62
UD
28105 In case anyone cares, the IA-64 architecture could move to ports.
28106 * sysdeps/ia64/*: Removed.
28107 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 28108 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 28109
dcc9756b
UD
28110 [BZ #13555]
28111 * configure.in: Remove entries for unsupported architectures.
28112
d3761ebc 28113 [BZ #13533]
9954432e
UD
28114 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
28115 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
28116 routines.
28117 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
28118 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
28119 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
28120 fall back to using wcrtomb.
28121 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
28122 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
28123 renaming.
28124 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
28125 * wcsmbs/tst-c16c32-1.c: New file.
28126
28127 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
28128 local variable.
28129
c3a87236
UD
28130 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
28131
28926a1b
UD
28132 * elf/tst-unique3.cc: Add explicit declaration of gets.
28133 * elf/tst-unique3lib.cc: Likewise.
28134 * elf/tst-unique3lib2.cc: Likewise.
28135 * elf/tst-unique4.cc: Likewise.
28136
df78418a
UD
28137 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
28138
8ecd6b2a
JM
281392012-01-06 Joseph Myers <joseph@codesourcery.com>
28140
28141 [BZ #13566]
28142 * assert/assert.h (static_assert): Don't define for C++.
28143 * libio/stdio.h (gets): Do declare for C++ <= C++11.
28144 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
28145
9f115170
UD
281462012-01-03 Ulrich Drepper <drepper@gmail.com>
28147
5e0d0300
UD
28148 * iconv/loop.c (single loop): Fix assertion in storing of
28149 remaining bytes.
28150
9f115170
UD
28151 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
28152
81fb02b0
UD
281532012-01-01 Ulrich Drepper <drepper@gmail.com>
28154
28155 * posix/getconf.c: Update copyright year.
28156 * nss/getent.c: Likewise.
a316c1f6 28157 * nss/makedb.c: Likewise.
81fb02b0
UD
28158 * iconv/iconvconfig.c: Likewise.
28159 * iconv/iconv_prog.c: Likewise.
28160 * elf/ldconfig.c: Likewise.
a316c1f6
UD
28161 * elf/pldd.c: Likewise.
28162 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
28163 * catgets/gencat.c: Likewise.
28164 * csu/version.c: Likewise.
28165 * elf/ldd.bash.in: Likewise.
28166 * elf/sprof.c (print_version): Likewise.
28167 * locale/programs/locale.c: Likewise.
28168 * locale/programs/localedef.c: Likewise.
a316c1f6 28169 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
28170 * nscd/nscd.c (print_version): Likewise.
28171 * debug/xtrace.sh: Likewise.
28172 * malloc/memusage.sh: Likewise.
28173 * malloc/mtrace.pl: Likewise.
28174 * debug/catchsegv.sh: Likewise.
28175
2ba92745
JJ
281762011-12-30 Jakub Jelinek <jakub@redhat.com>
28177
28178 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
28179 pure attribute.
28180
dadebdae
UD
281812011-12-24 Ulrich Drepper <drepper@gmail.com>
28182
d3761ebc 28183 [BZ #13533]
db6af3eb
UD
28184 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
28185 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
28186 transformations.
28187 * iconv/gconv_int.h: Likewise.
28188 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
28189 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
28190 from libc for GLIBC_2.16.
28191 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
28192 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
28193 * wcsmbs/uchar.h: Really define mbstate_t.
28194 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
28195 * wcsmbs/c16rtomb.c: New file.
28196 * wcsmbs/mbrtoc16.c: New file.
28197 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
28198 for C/POSIX locale.
28199 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
28200 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
28201
dadebdae
UD
28202 * wcsmbs/wchar.h: Add missing __restrict.
28203
67371b56
UD
282042011-12-23 Ulrich Drepper <drepper@gmail.com>
28205
74033a25
UD
28206 [BZ #13532]
28207 * time/Makefile (routines): Add timespec_get.
28208 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
28209 * time/time.h: Define TIME_UTC and declare timespec_get. Define
28210 timespec for ISO C11.
28211 * time/timespec_get.c: New file.
28212 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
28213 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
28214
380d7e87
UD
28215 [BZ #13531]
28216 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
28217 * stdlib/stdlib.h: Declare aligned_alloc.
28218 * Versions.def: Add GLIBC_2.16 for libc.
28219 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
28220
4e9e7a35
UD
28221 [BZ 13527]
28222 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
28223 ISO C11.
28224
380d7e87 28225 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
28226 code.
28227
03a71829
UD
28228 [BZ #13528]
28229 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
28230
839e283e
UD
28231 [BZ #13529]
28232 * assert/assert.h (static_assert): Define.
28233
ce5294e2 28234 * version.h: Update for 2.16 development version.
90fa7312 28235
8d44e150 28236 [BZ #13526]
d7809905
UD
28237 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
28238 _ISOC11_SOURCE.
28239
c0da14cd
UD
28240 * version.h (RELEASE): Bump for 2.15 release.
28241 * include/features.h (__GLIBC_MINOR__): Bump to 15.
28242
530a3249
MP
28243 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
28244 Patch by Marek Polacek <mpolacek@redhat.com>.
28245
67371b56
UD
28246 * bits/byteswap.h: Protect long long constants with __extension__.
28247 * sysdeps/i386/bits/byteswap.h: Likewise.
28248 * sysdeps/ia64/bits/byteswap.h: Likewise.
28249 * sysdeps/s390/bits/byteswap.h: Likewise.
28250 * sysdeps/x86_64/bits/byteswap.h: Likewise.
28251
15db4de1
LD
282522011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28253
28254 [BZ #13540]
bbe315ea
LD
28255 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
28256 destination buffer.
15db4de1
LD
28257 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
28258
2b2596b1
MP
282592011-12-23 Marek Polacek <polacek@redhat.com>
28260
28261 * elf/dl-addr.c (determine_info): Add inline keyword.
28262 * elf/tst-auditmod4b.c (check_avx): Likewise.
28263 * elf/tst-auditmod6b.c (check_avx): Likewise.
28264 * elf/tst-auditmod6c.c (check_avx): Likewise.
28265 * elf/tst-auditmod7b.c (check_avx): Likewise.
28266
70c6c246
UD
282672011-12-23 Ulrich Drepper <drepper@gmail.com>
28268
28269 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
28270 !__SSE_MATH__.
28271
c044cf14
LD
282722011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28273
15db4de1 28274 [BZ #13540]
c044cf14
LD
28275 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
28276 processing for last bytes.
28277
6b13d9d9
BH
282782011-08-06 Bruno Haible <bruno@clisp.org>
28279
d455f537
BH
28280 [BZ #13061]
28281 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
28282 U+0385, not to U+1FEE.
28283
6b13d9d9
BH
28284 [BZ #13062]
28285 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
28286 entry for U+00A5 U+0301.
28287
db910efd
UD
282882011-12-22 Ulrich Drepper <drepper@gmail.com>
28289
27deeafc
UD
28290 [BZ #13166]
28291 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
28292 buffer for the output is too small.
28293
aed9d171
UD
28294 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
28295 optimization.
28296
db910efd
UD
28297 [BZ #13185]
28298 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
28299 SSE flags if possible.
28300
2bd779ae
LD
283012011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28302
e7f9dac3 28303 [BZ #13540]
2bd779ae
LD
28304 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
28305 processing for last bytes.
28306
154bfc16
JM
283072011-12-22 Joseph Myers <joseph@codesourcery.com>
28308
28309 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
28310 (syscall-list-default-options, syscall-list-default-condition)
28311 (syscall-list-includes): Define.
28312 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
28313 list of ABIs and options and #if conditions for each ABI. Do not
28314 handle common syscalls between ABIs specially.
28315 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
28316 Remove.
28317 (syscall-list-variants, syscall-list-32bit-options)
28318 (syscall-list-32bit-condition, syscall-list-64bit-options)
28319 (syscall-list-64bit-condition): Define.
28320 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
28321 (syscall-list-variants, syscall-list-32bit-options)
28322 (syscall-list-32bit-condition, syscall-list-64bit-options)
28323 (syscall-list-64bit-condition): Define.
28324 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
28325 Remove.
28326 (syscall-list-variants, syscall-list-32bit-options)
28327 (syscall-list-32bit-condition, syscall-list-64bit-options)
28328 (syscall-list-64bit-condition): Define.
28329 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
28330 Remove.
28331 (syscall-list-variants, syscall-list-32bit-options)
28332 (syscall-list-32bit-condition, syscall-list-64bit-options)
28333 (syscall-list-64bit-condition): Define.
28334
21eaf3a5
UD
283352011-12-22 Ulrich Drepper <drepper@gmail.com>
28336
16c6f992
UD
28337 * locale/iso-639.def: Add brx entry.
28338
41043168
UD
28339 [BZ #13328]
28340 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
28341 Proposed by Mariusz_Cukr <marcukr@op.pl>.
28342
21eaf3a5
UD
28343 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
28344 __feraiseexcept_renamed.
28345
e3a851a2
UD
283462011-12-21 Ulrich Drepper <drepper@gmail.com>
28347
4920765e
UD
28348 [BZ #13538]
28349 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
28350 EPOLLET with unsigned values.
28351 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
28352 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
28353
e3a851a2
UD
28354 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
28355 to large cancellation.
28356 * math/s_cacoshf.c: Likewise.
28357 * math/s_cacoshl.c: Likewise.
28358
b27e24b8
RK
283592011-11-18 Richard B. Kreckel <kreckel@ginac.de>
28360
28361 [BZ #13305]
aebefeee 28362 [BZ #12786]
b27e24b8
RK
28363 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
28364 * math/s_cacoshf.c: Likewise.
28365 * math/s_cacoshl.c: Likewise.
28366
ee190f67
UD
283672011-12-21 Ulrich Drepper <drepper@gmail.com>
28368
28369 [BZ #13439]
28370 * iconv/gconv.h: Define __GCONV_SWAP.
28371 * iconvdata/unicode.c: The swap bit must be stored in __flags.
28372 * iconvdata/utf-16.c: Likewise.
28373 * iconvdata/utf-32.c: Likewise.
28374
707f25df
AS
283752011-12-21 Andreas Schwab <schwab@linux-m68k.org>
28376
28377 [BZ #13524]
28378 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
28379 numerator after shifting it by one limb.
28380
d2daaa1e
RÁE
283812011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
28382
28383 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
28384 under [__USE_EXTERN_INLINES].
28385
a4647e72
UD
283862011-12-17 Ulrich Drepper <drepper@gmail.com>
28387
28388 [BZ #13446]
28389 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
28390
f0b264f1
AZ
283912011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28392
28393 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
28394 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
28395 optimized code.
28396 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
28397 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
28398 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
28399 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
28400 for strncasecmp/strncasecmp_l compilation.
28401 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
28402 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
28403
8ef4f244
MP
284042011-12-08 Marek Polacek <mpolacek@redhat.com>
28405
28406 [BZ #13484]
28407 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
28408 of __asm__.
28409
97ac2654
UD
284102011-12-17 Ulrich Drepper <drepper@gmail.com>
28411
28412 [BZ #13506]
28413 * time/tzfile.c (__tzfile_read): Check values from file header.
28414
91d2a845
WS
284152011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
28416
28417 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
28418 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
28419 * powerpc/powerpc32/dl-start.S: Likewise.
28420 * powerpc/powerpc32/elf/start.S: Likewise.
28421 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
28422 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
28423 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
28424 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
28425 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
28426 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
28427 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
28428 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
28429 * powerpc/powerpc32/fpu/s_round.S: Likewise.
28430 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
28431 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
28432 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
28433 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
28434 * powerpc/powerpc32/memset.S: Likewise.
28435 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
28436 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
28437 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
28438 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
28439 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
28440 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
28441 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
28442 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
28443 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
28444 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
28445 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
28446 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
28447 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
28448
a1267ba1
AZ
284492011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28450
28451 * math/libm-test.inc: Added more nearbyint tests.
28452 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
28453 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
28454 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
28455 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
28456
ad8ac1bd
RL
284572011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
28458
28459 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
28460 FD_CLOEXEC.
28461
1d3e4b61
UD
284622011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28463
28464 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
28465 Add wcscpy-ssse3 wcscpy-c.
28466 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
28467 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
28468 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
28469 * sysdeps/x86_64/wcschr.S: New file.
28470 * sysdeps/x86_64/wcsrchr.S: New file.
28471 * string/test-strcmp.c: Remove checking of wcscmp function for
28472 wrong alignments.
28473 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
28474 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
28475 wcsrchr-sse2 wcsrchr-c.
28476 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
28477 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
28478 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
28479 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
28480 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
28481 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
28482 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
28483 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
28484 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
28485 * wcsmbc/wcschr.c (WCSCHR): New macro.
28486
5b330a2d
UD
284872011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28488
28489 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
28490 * wcsmbs/test-wcsrchr.c: New file.
28491 * string/test-strrchr.c: Add wcsrchr support.
28492 (WIDE): New macro.
28493 * wcsmbs/test-wcscpy.c: New file.
28494 * string/test-strcpy.c: Add wcscpy support.
28495 (WIDE): New macro.
26428b7c 28496
f039c043
UD
284972011-12-10 Ulrich Drepper <drepper@gmail.com>
28498
28499 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
28500 the inner loop.
28501
850fb039
AS
285022011-12-06 Andreas Schwab <schwab@linux-m68k.org>
28503
28504 [BZ #13472]
28505 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
28506
4efbd5cb
UD
285072011-12-04 Ulrich Drepper <drepper@gmail.com>
28508
52ff5dd0 28509 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 28510 Minor optimizations.
52ff5dd0 28511
4efbd5cb
UD
28512 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
28513 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
28514 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
28515
8a426e12
UD
285162011-12-03 Ulrich Drepper <drepper@gmail.com>
28517
aff2453d
UD
28518 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
28519 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
28520 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
28521 for gcc to avoid warnings.
28522 * inet/Makefile (tests): Add tst-checks.
28523 * inet/tst-checks.c: New file.
28524
28525 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
28526 warning.
28527
28528 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
28529 __wmemcmp_sse2.
28530
28531 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
28532 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
28533
8a426e12
UD
28534 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
28535
9bea3473
UD
285362011-12-02 Ulrich Drepper <drepper@gmail.com>
28537
3a965496
UD
28538 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
28539 problem.
28540
9bea3473
UD
28541 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
28542
f101631b
UD
285432011-11-29 Joseph Myers <joseph@codesourcery.com>
28544
28545 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
28546 conditional on GCC version.
28547 (__arch_compare_and_exchange_val_8_acq)
28548 (__arch_compare_and_exchange_val_16_acq)
28549 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
28550 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
28551 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
28552
a98275aa
UD
285532011-12-02 Joseph Myers <joseph@codesourcery.com>
28554
28555 * sysdeps/sh/backtrace.c: New file.
28556
d4cc29a2
AS
285572011-12-02 Andreas Schwab <schwab@redhat.com>
28558
28559 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
28560 parenthesis.
28561
6257af2d
AS
285622011-12-01 Andreas Schwab <schwab@redhat.com>
28563
28564 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
28565 falling back to utime.
28566
b5f44c1a
AS
285672011-11-30 Andreas Schwab <schwab@redhat.com>
28568
28569 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
28570 expectations for float.
28571
f3a6cc0a
AS
285722011-11-29 Andreas Schwab <schwab@redhat.com>
28573
28574 * locale/weight.h (findidx): Add parameter len.
28575 * locale/weightwc.h (findidx): Likewise.
28576 * posix/fnmatch_loop.c (FCT): Adjust caller.
28577 * posix/regcomp.c (build_equiv_class): Likewise.
28578 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
28579 * posix/regexec.c (check_node_accept_bytes): Likewise.
28580 * string/strcoll_l.c (STRCOLL): Likewise.
28581 * string/strxfrm_l.c (STRXFRM): Likewise.
28582
9d65ea3a
UD
285832011-11-17 Ulrich Drepper <drepper@gmail.com>
28584
28585 * Makefile.in: Remove CVSOPT handling.
28586 * configure.in: Remove use of AC_REVISION.
28587 * iconvdata/Makefile (distribute): No need to filter out CVS.
28588 * scripts/list-sources.sh: Remove CVS, subversion and monotone
28589 handling.
28590
5583a086
AS
285912011-11-16 Andreas Schwab <schwab@redhat.com>
28592
28593 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
28594 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
28595 [USE_AS_STRNCASECMP_L]: Likewise.
28596 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
28597 NO_TLS_DIRECT_SEG_REFS.
28598 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
28599 Fix argument offsets for non-PIC.
28600 [USE_AS_STRNCASECMP_L]: Likewise.
28601 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
28602 NO_TLS_DIRECT_SEG_REFS.
28603
d62a8200
UD
286042011-11-15 Ulrich Drepper <drepper@gmail.com>
28605
9d65ea3a 28606 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
28607 O_CLOEXEC.
28608 * locale/loadlocale.c (_nl_load_locale): Likewise.
28609
09f93bd3
AS
286102011-11-15 Andreas Schwab <schwab@redhat.com>
28611
446514f9
AS
28612 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
28613 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
28614 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
28615 (SYSCALL_GETTIME): Set errno on error.
28616
09f93bd3
AS
28617 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
28618 count references to noai6ai_cached.
28619
312be3f9
UD
286202011-11-15 Ulrich Drepper <drepper@gmail.com>
28621
28622 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
28623
28624 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
28625 FD_CLOEXEC for /proc/self/maps.
28626
28627 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
28628 FD_CLOEXEC for /proc/meminfo.
28629
28630 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
28631 gai.conf.
28632
28633 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
28634 FD_CLOEXEC for given file.
28635
28636 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
28637
28638 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
28639 FD_CLOEXEC for /etc/hosts.
28640 (_gethtent): Likewise.
28641
28642 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
28643
28644 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
28645 cancellation and set FD_CLOEXEC for /etc/netgroup.
28646
28647 * nss/nss_files/files-key.c (search): Don't allow cancellation when
28648 reading /etc/publickey.
28649
28650 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
28651 allow cancellation when reading /etc/group.
28652
28653 * nss/nss_files/files-alias.c (internal_setent): Don't allow
28654 cancellation.
28655 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
28656
28657 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
28658 when using data file.
28659
28660 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
28661
28662 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
28663 (write_nis_obj): Use "c" and "e" in fopen.
28664
28665 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
28666
28667 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
28668
28669 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
28670
28671 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
28672
28673 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
28674 locale.alias.
28675
28676 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
28677
28678 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
28679
28680 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
28681
28682 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
28683 file parsing and set FD_CLOEXEC.
28684
82af0fa8
UD
286852011-11-14 Ulrich Drepper <drepper@gmail.com>
28686
28687 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
28688
a5fb313c
AS
286892011-11-14 Andreas Schwab <schwab@redhat.com>
28690
28691 * malloc/arena.c (arena_get2): Don't call reused_arena when
28692 _int_new_arena failed.
28693
6abf3465
UD
286942011-11-14 Ulrich Drepper <drepper@gmail.com>
28695
28696 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
28697 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
28698 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
28699 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28700 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28701 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
28702 to compile strcasecmp and strncasecmp.
28703 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
28704 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
28705
28706 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
28707
76e3966e
UD
287082011-11-13 Ulrich Drepper <drepper@gmail.com>
28709
28710 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
28711 locale-defines.sym to gen-as-const-headers.
28712 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
28713 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
28714 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
28715 to compile strcasecmp and strncasecmp.
28716 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
28717 strcasecmp_l and strncasecmp_l.
28718 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
28719 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
28720 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
28721 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
28722 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
28723 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
28724 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
28725 * sysdeps/i386/i686/multiarch/strncase.S: New file.
28726 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
28727 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
28728 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
28729
ab26144e
UD
287302011-11-12 Ulrich Drepper <drepper@gmail.com>
28731
7edb22ef
UD
28732 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
28733 result of SYSDEP_GETTIME_CPU to retval.
28734 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
28735 parameter list to macro. Remove trailing semicolon. Adjust users.
28736
9694fc44
UD
28737 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
28738 variable.
28739
8ad89ef8
UD
28740 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
28741 mantissa words.
28742 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
28743
0c822ef9
UD
28744 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
28745 from unused variable.
28746
874e0564
UD
28747 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
28748 DWARF definitions.
28749 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
28750 for assembling.
28751
3a2edc79
UD
28752 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
28753 over namespaces.
28754
f3c2577f
UD
28755 * sunrpc/rpc_prot.c (rejected): Fix case value.
28756
294ce126
UD
28757 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
28758 unsigned long long int to avoid warnings in shift.
28759
5e2b63c6
UD
28760 * posix/regex_internal.c (re_string_reconstruct): Actually use result
28761 of use of trans.
28762 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
28763 variable tmp.
28764
e7f4b08e
UD
28765 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
28766 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
28767 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
28768
ab26144e
UD
28769 * nis/nis_table.c (nis_list): Use variable of correct type for
28770 result of __follow_path call.
28771
8a6d5255
AZ
287722011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28773
28774 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
28775 of math functions ceil, trunc, floor, round, and sqrt, when
28776 avaliable on the platform.
28777 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
28778 name clash.
28779 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28780 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
28781 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
28782
aaddc98c
MP
287832011-10-30 Marek Polacek <mpolacek@redhat.com>
28784
28785 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
28786 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
28787
95b7042b
RM
287882011-11-11 Roland McGrath <roland@hack.frob.com>
28789
28790 * include/unistd.h: Fix __readlink return type.
28791 Reported by Chris Metcalf <cmetcalf@tilera.com>.
28792
57769839
UD
287932011-11-11 Ulrich Drepper <drepper@gmail.com>
28794
28795 * stdlib/ucontext.h: Undo last change for makecontext.
28796
edc5984d
AS
287972011-11-11 Andreas Schwab <schwab@redhat.com>
28798
98591e58
AS
28799 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
28800
edc5984d
AS
28801 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
28802 * setjmp/setjmp.h: Mark functions as non-leaf.
28803 * setjmp/bits/setjmp2.h: Likewise.
28804 * stdlib/ucontext.h: Likewise.
28805
77cdc054
AS
288062011-11-10 Andreas Schwab <schwab@redhat.com>
28807
28808 * malloc/arena.c (_int_new_arena): Don't increment narenas.
28809 (reused_arena): Don't check arena limit.
28810 (arena_get2): Atomically check arena limit.
28811
fe72eebd
UD
288122011-11-08 Ulrich Drepper <drepper@gmail.com>
28813
5f078c32
UD
28814 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
28815 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
28816
fe72eebd
UD
28817 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
28818 instructions.
28819
ae1bc2fa
AS
288202011-11-07 Andreas Schwab <schwab@redhat.com>
28821
7583a88d
AS
28822 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
28823 handler when locking.
28824
ae1bc2fa
AS
28825 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
28826 Fix size of allocated buffer.
28827
10fb0bfa
AS
288282011-11-04 Andreas Schwab <schwab@redhat.com>
28829
998832a4
AS
28830 [BZ #10103]
28831 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
28832 declarations for long double functions.
28833 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
28834
10fb0bfa
AS
28835 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
28836
3d7ba52b
AS
288372011-11-03 Andreas Schwab <schwab@redhat.com>
28838
a9ae54a1
AS
28839 * nscd/nscd.c (main): Don't start AVC thread until credentials are
28840 installed.
28841
3d7ba52b
AS
28842 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
28843 is disabled.
28844
bc8db248
ST
288452011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
28846
28847 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
28848
45b96dd6
AS
288492011-11-01 Andreas Schwab <schwab@linux-m68k.org>
28850
647776f6
AS
28851 * include/alloca.h (stackinfo_alloca_round): Define.
28852 (extend_alloca): Use it.
28853 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
28854 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
28855 here.
28856
d91a8b93
AS
28857 * scripts/check-local-headers.sh: Ignore libaudit.h.
28858
45b96dd6
AS
28859 * nscd/Makefile (extra-objs): Make recursively expanded.
28860
432d41ce
UD
288612011-11-01 Ulrich Drepper <drepper@gmail.com>
28862
34372fc6
UD
28863 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
28864 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
28865
fadb59f8
UD
28866 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
28867 * posix/tst-rfc3484-2.c: Likewise.
28868 * posix/tst-rfc3484-3.c: Likewise.
28869
78239589
UD
28870 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
28871 process_vm_writev.
28872 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
28873 process_vm_writev.
28874 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
28875 process_vm_writev from libc using GLIBC_2.15 version.
28876
432d41ce
UD
28877 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
28878
02f9c6cf
PP
288792011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
28880
28881 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
28882 stack usage.
28883
3a2c0242
UD
288842011-10-31 Ulrich Drepper <drepper@gmail.com>
28885
f4ec4833
UD
28886 [BZ #13367]
28887 * nss/getent.c (initgroups_keys): Show error message in case no group
28888 names are given.
28889
3a2c0242
UD
28890 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
28891 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
28892 __bump_nl_timestamp.
28893 * nscd/connections (nscd_init): When host database is served open
28894 netlink socket and request notification about configuration changes.
28895 (main_loop_poll): Track netlink file descriptor and bump timestamp
28896 in case data becomes available.
28897 (main_loop_epoll): Likewise.
28898 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
28899 (database_pers_head): Add extra_data fileds.
28900 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
28901 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
28902 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
28903 Adjust caller.
28904 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
28905 in6ai data, call __free_in6ai.
28906 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
28907 Add -DHAVE_NETLINK.
28908 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
28909 interface information. Reuse previous data if netlink timestamp
28910 is not changed.
28911 (__bump_nl_timestamp): New function.
28912 (__free_in6ai): New function.
28913
636064eb
UD
289142011-10-30 Ulrich Drepper <drepper@gmail.com>
28915
28916 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
28917 close_not_cancel_no_status here.
28918 (__check_pf): Reorganize code a bit to not call close twice if OOM.
28919
9beb2334
UD
289202011-10-29 Ulrich Drepper <drepper@gmail.com>
28921
6ef76f3b
UD
28922 [BZ #13276]
28923 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
28924 return value.
28925
0ffc4f3e 28926 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
28927 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
28928 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
28929
cb95113e
UD
289302011-07-03 Andreas Jaeger <aj@suse.de>
28931
28932 [BZ #10709]
28933 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
28934 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
28935 * math/libm-test.inc (sin_test): Add test case.
28936
a1b560ff
UD
289372011-10-29 Ulrich Drepper <drepper@gmail.com>
28938
c9aaface
UD
28939 [BZ #13337]
28940 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
28941 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
28942
d272e7f1
UD
28943 * elf/chroot_canon.c (chroot_canon): Cleanups.
28944
1bc33071
UD
28945 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
28946
1760874d
TJ
28947 [BZ #13335]
28948 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
28949 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
28950
51d91b18
UD
28951 * string/test-strchr.c: Make usable for strchrnul testing.
28952 * string/test-strchrnul.c: New file.
28953 * string/Makefile (strop-tests): Add strchrnul.
28954
a1b560ff 28955 * po/it.po: Update from translation team.
b611fb81 28956 * po/es.po: Likewise.
a1b560ff 28957
a5b81e1f
UD
289582011-10-28 Ulrich Drepper <drepper@gmail.com>
28959
fd52bc6d
UD
28960 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
28961 the three constants needed as parameters. Drop the others.
28962 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
28963 __m128i_strloadu_tolower.
52e4b9eb
UD
28964 Create and initialize variable zero and use it in all the places
28965 where _mm_setzero_si128 was used.
fd52bc6d 28966
a5b81e1f
UD
28967 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
28968 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
28969 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
28970 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
28971 anymore.
28972 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
28973 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
28974 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
28975 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
28976 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
28977 __mpranred, __mptan.
28978 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
28979 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
28980 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
28981 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
28982 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
28983 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
28984 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
28985 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
28986 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
28987
b4343346
AS
289882011-10-28 Andreas Schwab <schwab@redhat.com>
28989
0c92d8a8
AS
28990 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
28991 redefine if SHARED.
28992 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
28993
b4343346
AS
28994 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
28995 wide char related routines to wcsmbs subdir.
28996
3871f58f
AS
289972011-10-27 Andreas Schwab <schwab@redhat.com>
28998
28999 [BZ #13344]
29000 * misc/sys/cdefs.h (__THROWNL): Define.
29001 * posix/unistd.h: Use __THREADNL instead of __THREAD
29002 for memory synchronization functions.
29003
94d44d9f
RM
290042011-10-26 Roland McGrath <roland@hack.frob.com>
29005
21b64b15 29006 [BZ #13349]
94d44d9f
RM
29007 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
29008 doesn't exist.
29009 * manual/stdio.texi (Obstack Streams): Node removed.
29010
f6ce9294
AS
290112011-10-26 Andreas Schwab <schwab@redhat.com>
29012
80479147
AS
29013 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
29014 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29015 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29016
f6ce9294
AS
29017 * math/math_private.h (math_force_eval): Allow non-addressable
29018 arguments.
29019 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
29020
618280a1
UD
290212011-10-25 Ulrich Drepper <drepper@gmail.com>
29022
e0016b11
UD
29023 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
29024 file is not needed.
29025
29026 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
29027 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
29028 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
29029 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
29030 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
29031 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
29032 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
29033 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
29034 Add AVX variants.
29035 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
29036 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
29037 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
29038 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
29039 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
29040 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
29041 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
29042 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
29043 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
29044 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
29045 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
29046 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
29047 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
29048 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
29049 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
29050 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
29051 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
29052 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
29053 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
29054
29055 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
29056 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
29057
618280a1
UD
29058 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
29059 place. Use VEX encoding when compiling for AVX.
29060
37822576
AS
290612011-10-25 Andreas Schwab <schwab@redhat.com>
29062
1f1e1947
AS
29063 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
29064 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
29065
37822576
AS
29066 * string/test-strchr.c (do_test): Don't generate NUL bytes.
29067
31ea014d
UD
290682011-10-25 Ulrich Drepper <drepper@gmail.com>
29069
d7826aa1 29070 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 29071 useless if() expression.
d7826aa1
UD
29072 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29073 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
29074 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29075 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29076 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29077 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29078 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29079 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29080 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
29081 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29082 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29083 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29084 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
29085 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29086 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
29087 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29088 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29089 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29090 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
29091
31ea014d
UD
29092 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
29093
16437fec
AS
290942011-10-25 Andreas Schwab <schwab@redhat.com>
29095
29096 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
29097 condition.
29098 * elf/dl-fini.c (_dl_sort_fini): Likewise.
29099
31d3cc00
UD
291002011-10-25 Ulrich Drepper <drepper@gmail.com>
29101
29102 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
29103 .text section. Avoid duplicate constants.
29104 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
29105 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29106 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29107 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29108 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29109 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29110 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29111 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29112 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
29113 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
29114 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
29115 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
29116 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
29117 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
29118 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
29119 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
29120 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
29121 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
29122 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29123 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29124 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
29125 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
29126 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
29127 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
29128 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
29129 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
29130 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
29131 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
29132 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
29133 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
29134 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
29135 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
29136 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
29137 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
29138 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
29139 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
29140 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
29141 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
29142 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
29143 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
29144 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
29145 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
29146 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
29147 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
29148 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
29149
58985aa9
UD
291502011-10-24 Ulrich Drepper <drepper@gmail.com>
29151
202c9deb
UD
29152 * sysdeps/x86_64/dla.h: Move to ...
29153 * sysdeps/x86_64/fpu/dla.h: ...here.
29154 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
29155 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 29156
af968f62
UD
29157 * config.make.in: Add have-mfma4 entry.
29158 * configure.in: Substitute libc_cv_cc_fma4.
29159 * math/Makefile (dbl-only-routines): Add sincostab.
29160 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
29161 Use __sincostab not sincos.
29162 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
29163 name is a macro.
29164 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29165 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29166 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29167 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
29168 using __copysign.
29169 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
29170 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
29171 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
29172 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
29173 and __inv.
29174 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
29175 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
29176 __copysign.
29177 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
29178 define aliases when function name is a macro.
29179 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
29180 sysdeps/ieee754/dbl-64/sincos.tbl.
29181 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
29182 fma4-enabled routines.
29183 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
29184 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
29185 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
29186 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
29187 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
29188 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
29189 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
29190 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
29191 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
29192 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
29193 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
29194 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
29195 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
29196 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
29197 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
29198 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
29199 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
29200 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
29201 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
29202 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
29203 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
29204 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
29205 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
29206 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
29207 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
29208 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
29209 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
29210 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
29211 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
29212 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
29213
58985aa9
UD
29214 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
29215 rename.
29216 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29217 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29218 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29219 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29220 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29221 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29222 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29223 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29224
a201fbcf
AS
292252011-10-24 Andreas Schwab <schwab@redhat.com>
29226
29227 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
29228
fc2ee42a
LD
292292011-10-23 Ulrich Drepper <drepper@gmail.com>
29230
bb3129bd
UD
29231 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
29232
0275fff8
UD
29233 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
29234 prediction.
29235 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
29236
2fa2ae85
UD
29237 * string/strnlen.c: Don't define STRNLEN, reverse logic.
29238 Remove unused variable magic_bits.
29239 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
29240
fc2ee42a
LD
29241 * string/strnlen.c: Define and use STRNLEN macro.
29242 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
29243 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
29244 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
29245 * wcsmbs/wcslen.c: Define and use WCSLEN.
29246 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
29247 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
29248 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
29249 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
29250 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
29251 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
29252 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
29253
ce7dd29f
LD
292542011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29255
29256 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29257 strnlen-sse2-no-bsf.
29258 Rename strlen-no-bsf to strlen-sse2-no-bsf.
29259 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
29260 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
29261 Add strnlen support.
29262 (USE_AS_STRNLEN): New macro.
29263 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
29264 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
29265 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
29266 * sysdeps/x86_64/wcslen.S: New file.
29267
979c70a3
MZ
292682011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
29269
29270 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
29271 XMM-moves are used for copying on small sizes.
29272
2d09f82f
LD
292732011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29274
29275 * wcsmbs/Makefile (strop-tests): Add wcschr.
29276 * wcsmbs/test-wcschr.c: New file.
29277 * string/test-strchr.c: Update.
29278 Add wcschr support.
29279 (WIDE): New macro.
29280
619fccca
LD
292812011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29282
2d09f82f 29283 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
29284 * wcsmbs/test-wcslen.c: New file.
29285 * string/test-strlen.c: Update.
29286 Add wcslen support.
29287 (WIDE): New macro.
29288
09f699ea
UD
292892011-10-23 Ulrich Drepper <drepper@gmail.com>
29290
29291 * po/it.po: Update from translation team.
29292
95584d3b
LD
292932011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29294
29295 * sysdeps/x86_64/wcscmp.S: Update.
29296 Fix wrong comparison semantics.
29297 wcscmp shall use signed comparison not unsigned.
29298 Don't use substraction to avoid overflow bug.
29299 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
29300 * wcsmbc/wcscmp.c: Likewise.
29301 * string/test-strcmp.c: Likewise.
29302 Add new tests to check cases with negative values.
29303
c8b3296b
UD
293042011-10-23 Ulrich Drepper <drepper@gmail.com>
29305
29306 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
29307 * sysdeps/x86_64/dla.h: ...here. New file.
29308 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
29309 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29310 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29311 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29312 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29313 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29314 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29315 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29316 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29317
246ad57a
AS
293182011-10-23 Andreas Schwab <schwab@linux-m68k.org>
29319
29320 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
29321 __ynl_finite aliases.
29322
a1a87169
UD
293232011-10-22 Ulrich Drepper <drepper@gmail.com>
29324
0d355eb7
UD
29325 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29326
a1a87169
UD
29327 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
29328 define DLA_FMA.
29329 [DLA_FMA] (EMULV): Use DLA_FMA.
29330 [DLA_FMA] (MUL12): Use EMULV.
29331 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
29332 that are not needed.
29333 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29334 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29335 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29336 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29337 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29338 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29339 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29340
ee2aafe0
AS
293412011-10-22 Andreas Schwab <schwab@linux-m68k.org>
29342
29343 * math/s_nan.c: Undef __nan.
29344 * math/s_nanf.c: Undef __nanf.
29345 * math/s_nanl.c: Undef __nanl.
29346 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
29347 "math_private.h".
29348
bc62c2fb
UD
293492011-10-22 Ulrich Drepper <drepper@gmail.com>
29350
77425c63
UD
29351 * math/s_catan.c: Add branch predictions.
29352 * math/s_catanf.c: Likewise.
29353 * math/s_catanh.c: Likewise.
29354 * math/s_catanhf.c: Likewise.
29355 * math/s_catanhl.c: Likewise.
29356 * math/s_catanl.c: Likewise.
29357 * math/s_cexp.c: Likewise.
29358 * math/s_cexpf.c: Likewise.
29359 * math/s_cexpl.c: Likewise.
29360 * math/s_clog.c: Likewise.
29361 * math/s_clog10.c: Likewise.
29362 * math/s_clog10f.c: Likewise.
29363 * math/s_clog10l.c: Likewise.
29364 * math/s_clogf.c: Likewise.
29365 * math/s_clogl.c: Likewise.
29366 * math/s_csqrt.c: Likewise.
29367 * math/s_csqrtf.c: Likewise.
29368 * math/s_csqrtl.c: Likewise.
29369 * math/s_ctanf.c: Likewise.
29370 * math/s_ctanh.c: Likewise.
29371 * math/s_ctanhf.c: Likewise.
29372 * math/s_ctanhl.c: Likewise.
29373 * math/s_ctanl.c: Likewise.
29374
bc62c2fb
UD
29375 * math/math_private.h: Define __nan, __nanf, __nanl.
29376 * math/s_cacosh.c: Include <math_private.h>.
29377 * math/s_cacoshl.c: Likewise.
29378 * math/s_casinh.c: Likewise.
29379 * math/s_casinhf.c: Likewise.
29380 * math/s_casinhl.c: Likewise.
29381 * math/s_ccos.c: Rely entire on ccosh.
29382 * math/s_ccosf.c: Rely entire on ccoshf.
29383 * math/s_ccosl.c: Rely entirely on ccoshl.
29384 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
29385 Remove tests for FE_INVALID.
29386 * math/s_ccoshf.c: Likewise.
29387 * math/s_ccoshl.c: Likewise.
29388 * math/s_csin.c: Likewise.
29389 * math/s_csinf.c: Likewise.
29390 * math/s_csinh.c Likewise.
29391 * math/s_csinhf.c: Likewise.
29392 * math/s_csinhl.c: Likewise.
29393 * math/s_csinl.c: Likewise.
29394 * math/s_ctan.c: Likewise.
29395 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
29396 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
29397 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
29398
8ec250a4
UD
293992011-10-21 Ulrich Drepper <drepper@gmail.com>
29400
c196fed8
UD
29401 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
29402 compilation problems.
29403
8ec250a4
UD
29404 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
29405 __builtin_expect.
29406
8d4f46c6
UD
294072011-10-20 Ulrich Drepper <drepper@gmail.com>
29408
ed72b654
UD
29409 * sysdeps/i386/configure.in: Test for -mfma4 option.
29410 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
29411 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
29412 COMMON_CPUID_INDEX_80000001.
29413 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
29414 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
29415 use it if FMA3 is not supported.
29416 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
29417
8d4f46c6
UD
29418 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
29419 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
29420
d45c60c2
AS
294212011-10-20 Andreas Schwab <schwab@redhat.com>
29422
29423 [BZ #12892]
29424 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
29425 it would create a cycle with a link time dependency.
29426
d9a4d2ab
UD
294272011-10-19 Ulrich Drepper <drepper@gmail.com>
29428
855d1560
UD
29429 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
29430 instruction.
29431 * string/Makefile (strop-tests): Add rawmemchr.
29432 * string/test-rawmemchr.c: New file.
29433
d9a4d2ab
UD
29434 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
29435 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
29436 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
29437 when compiling str{,n}casecmp and when AVX is available. Hook up
29438 new optimized code in initializers.
29439
8f3b1ffe
AS
294402011-10-19 Andreas Schwab <schwab@redhat.com>
29441
29442 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
29443 __feraiseexcept instead of feraiseexcept.
29444
d38f1dba
UD
294452011-10-18 Ulrich Drepper <drepper@gmail.com>
29446
d9a8d0ab
UD
29447 * math/math_private.h: Define defaults for libc_fetestexcept and
29448 libc_feupdateenv.
29449 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
29450 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
29451 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
29452 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
29453 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
29454 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
29455 libc_fetestexcept and libc_feupdateenv.
29456
4855e3dd
UD
29457 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
29458 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
29459 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
29460 * sysdeps/x86_64/fpu/math_private.h: Define special version of
29461 libc_feholdexcept_setround.
29462
581d30e3
UD
29463 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
29464 Add s_nearbyint-c and s_nearbyintf-c.
29465 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
29466 nearbyintf inlines.
29467 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
29468 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
29469 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
29470 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
29471
d38f1dba
UD
29472 * math/math_private.h: Define defaults for libc_fegetround,
29473 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
29474 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
29475 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
29476 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
29477 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
29478 standard functions.
29479 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29480 Remove comments and hacks for old compiler versions.
29481 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
29482 libc_fegetround, libc_fesetround, libc_feholdexcept, and
29483 libc_feholdexceptl.
29484
caa6c9d8
AS
294852011-10-18 Andreas Schwab <schwab@redhat.com>
29486
29487 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
29488 (__feraiseexcept_renamed): Add __NTH.
29489 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
29490 namespace violations.
29491
97c066e6
UD
294922011-10-17 Ulrich Drepper <drepper@gmail.com>
29493
99ce7b04
UD
29494 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
29495
1004d182
UD
29496 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
29497
228a984d
UD
29498 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
29499 recently added interfaces.
29500 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
29501
c8553a6a
UD
29502 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
29503 about macro parameter expansion.
29504
ed22dcf6
UD
29505 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
29506 __NO_MATH_INLINES is defined. Cleanups.
29507
29508 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
29509 and __floorf is target has SSE4.1.
29510 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
29511 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
29512 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
29513 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
29514
b171c137
UD
29515 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
29516 name.
29517 (floorf): Likewise.
29518
97c066e6
UD
29519 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
29520
629f62ef
AS
295212011-10-17 Andreas Schwab <schwab@redhat.com>
29522
49a43d80
AS
29523 * misc/sys/cdefs.h: Fix last change.
29524
629f62ef
AS
29525 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
29526 database lookup.
29527
e453f6cd
UD
295282011-10-16 Ulrich Drepper <drepper@gmail.com>
29529
aa78043a
UD
29530 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
29531
ad0f5cad
UD
29532 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
29533 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29534 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
29535 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29536 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29537 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
29538 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29539 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29540 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
29541 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
29542 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
29543 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
29544 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
29545 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
29546 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
29547 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
29548 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
29549 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
29550 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
29551 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
29552 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
29553 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
29554
29555 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
29556 ceil, ceilf, floor, floorf.
29557
29558 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
29559 Perform IRELATIVE relocations last.
29560
e453f6cd
UD
29561 * elf/do-rel.h: Add another parameter nrelative, replacing the
29562 local variable with the same name. Change name of the function
29563 to end in Rel or Rela (uppercase).
29564 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
29565 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
29566 elf_dynamic_do_##reloc function.
29567
fd5bdc09
UD
295682011-10-15 Ulrich Drepper <drepper@gmail.com>
29569
79b195b5
UD
29570 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
29571 is sufficient, at least on modern CPUs.
29572
d4a28569
UD
29573 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
29574
b61099b5
UD
29575 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
29576 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
29577
bcf01e6d
UD
29578 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
29579 __expl_finite.
29580 * math/bits/math-finite.h: Add entries for exp.
29581 * math/e_expl.c: Add __*_finite alias.
29582 * sysdeps/i386/fpu/e_exp.S: Likewise.
29583 * sysdeps/i386/fpu/e_expf.S: Likewise.
29584 * sysdeps/i386/fpu/e_expl.c: Likewise.
29585 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29586 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
29587 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
29588 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29589 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
29590 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
29591 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
29592
ba1a0d59
UD
29593 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
29594 is sufficient, at least on modern CPUs.
29595
fd5bdc09
UD
29596 * ctype/ctype-info.c (__ctype_init): Define.
29597 * include/ctype.h (__ctype_init): Declare.
29598 (__ctype_b_loc): The variable is always initialized.
29599 (__ctype_toupper_loc): Likewise.
29600 (__ctype_tolower_loc): Likewise.
29601 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
29602 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
29603
7872cfb0
AS
296042011-10-15 Andreas Schwab <schwab@linux-m68k.org>
29605
b468825a
AS
29606 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
29607
7872cfb0
AS
29608 * configure.in: Also look in $cxxmachine/include for C++ system
29609 headers.
29610
be13f7bf
LD
296112011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29612
29613 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
29614 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
29615 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
29616 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
29617 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
29618 (USE_AS_WMEMCMP): New macro.
29619 Fixing indents.
29620 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
29621 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
29622 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
29623 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
29624 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29625 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
29626 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
29627 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
29628 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
29629 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
29630 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
29631 (USE_AS_WMEMCMP): New macro.
29632 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
29633 * sysdeps/string/test-memcmp.c: Update.
29634 Fix simple_wmemcmp.
29635 Add new tests.
29636 * wcsmbs/wmemcmp.c: Update.
29637 (WMEMCMP): New macro.
29638 Fix overflow bug.
29639
556a2007
AJ
296402011-10-12 Andreas Jaeger <aj@suse.de>
29641
29642 [BZ #13268]
29643 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
29644
538faaa7
UD
296452011-10-15 Ulrich Drepper <drepper@gmail.com>
29646
ab6737ff
UD
29647 * libio/iofwide.c (do_length): Avoid warning.
29648
538faaa7
UD
29649 * ctype/ctype.h (__isctype_f): Add missing __THROW.
29650
396a21b1
UD
296512011-10-14 Ulrich Drepper <drepper@gmail.com>
29652
cdf2901f
UD
29653 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
29654
38ad40ce
UD
29655 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
29656 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
29657 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
29658 * sysdeps/i386/i686/fpu/e_log.S: New file.
29659 * sysdeps/i386/i686/fpu/e_logf.S: New file.
29660 * sysdeps/i386/i686/fpu/e_logl.S: New file.
29661
396a21b1
UD
29662 * ctype/ctype.h: Add support for inlined isXXX functions when
29663 compiling C++ code.
29664
6b1f68c9
AS
296652011-10-14 Andreas Schwab <schwab@redhat.com>
29666
349290c0
AS
29667 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29668
6b1f68c9
AS
29669 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
29670
f2282d42
RM
296712011-10-13 Roland McGrath <roland@hack.frob.com>
29672
29673 [BZ #13291]
29674 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
29675
5298ffa8
AS
296762011-10-13 Andreas Schwab <schwab@redhat.com>
29677
714fad23
AS
29678 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
29679 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
29680 feraiseexcept.
29681
81dcc7fb
AS
29682 * sysdeps/x86_64/memrchr.S: Check for zero size.
29683
5298ffa8
AS
29684 * string/stratcliff.c: Add memrchr tests.
29685
951fbcec
LD
296862011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29687
29688 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29689 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
29690 rawmemchr-sse2 rawmemchr-sse2-bsf.
29691 * sysdeps/i386/i686/multiarch/memchr.S: New file.
29692 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
29693 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
29694 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
29695 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
29696 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
29697 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
29698 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
29699 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
29700 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
29701 * string/memrchr.c (MEMRCHR): New macro.
29702
0ac5ae23
UD
297032011-10-12 Ulrich Drepper <drepper@gmail.com>
29704
29705 Add integration with gcc's -ffinite-math-only and optimize wrapper
29706 functions in libm.
29707 * Versions.def: Define GLIBC_2.15 version for libm.
29708 * math/Makefile (headers): Add bits/math-finite.h.
29709 * math/bits/math-finite.h: New file.
29710 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
29711 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
29712 * math/e_acoshl.c: Add __*_finite alias.
29713 * math/e_acosl.c: Likewise.
29714 * math/e_asinl.c: Likewise.
29715 * math/e_atan2l.c: Likewise.
29716 * math/e_atanhl.c: Likewise.
29717 * math/e_coshl.c: Likewise.
29718 * math/e_exp10.c: Likewise.
29719 * math/e_exp10f.c: Likewise.
29720 * math/e_exp10l.c: Likewise.
29721 * math/e_exp2l.c: Likewise.
29722 * math/e_fmodl.c: Likewise.
29723 * math/e_gammal_r.c: Likewise.
29724 * math/e_hypotl.c: Likewise.
29725 * math/e_j0l.c: Likewise.
29726 * math/e_j1l.c: Likewise.
29727 * math/e_jnl.c: Likewise.
29728 * math/e_lgammal_r.c: Likewise.
29729 * math/e_log10l.c: Likewise.
29730 * math/e_log2l.c: Likewise.
29731 * math/e_logl.c: Likewise.
29732 * math/e_powl.c: Likewise.
29733 * math/e_sinhl.c: Likewise.
29734 * math/e_sqrtl.c: Likewise.
29735 * math/e_scalb.c: Completely rewritten and optimized.
29736 * math/e_scalbf.c: Likewise.
29737 * math/e_scalbl.c: Likewise.
29738 * math/w_acos.c: Likewise.
29739 * math/w_acosf.c: Likewise.
29740 * math/w_acosl.c: Likewise.
29741 * math/w_acosh.c: Likewise.
29742 * math/w_acoshf.c: Likewise.
29743 * math/w_acoshl.c: Likewise.
29744 * math/w_asin.c: Likewise.
29745 * math/w_asinf.c: Likewise.
29746 * math/w_asinl.c: Likewise.
29747 * math/w_atan2.c: Likewise.
29748 * math/w_atan2f.c: Likewise.
29749 * math/w_atan2l.c: Likewise.
29750 * math/w_atanh.c: Likewise.
29751 * math/w_atanhf.c: Likewise.
29752 * math/w_atanhl.c: Likewise.
29753 * math/w_exp10.c: Likewise.
29754 * math/w_exp10f.c: Likewise.
29755 * math/w_exp10l.c: Likewise.
29756 * math/w_fmod.c: Likewise.
29757 * math/w_fmodf.c: Likewise.
29758 * math/w_fmodl.c: Likewise.
29759 * math/w_j0.c: Likewise.
29760 * math/w_j0f.c: Likewise.
29761 * math/w_j0l.c: Likewise.
29762 * math/w_j1.c: Likewise.
29763 * math/w_j1f.c: Likewise.
29764 * math/w_j1l.c: Likewise.
29765 * math/w_jn.c: Likewise.
29766 * math/w_jnf.c: Likewise.
29767 * math/w_log.c: Likewise.
29768 * math/w_logf.c: Likewise.
29769 * math/w_logl.c: Likewise.
29770 * math/w_log10.c: Likewise.
29771 * math/w_log10f.c: Likewise.
29772 * math/w_log10l.c: Likewise.
29773 * math/w_log2.c: Likewise.
29774 * math/w_log2f.c: Likewise.
29775 * math/w_log2l.c: Likewise.
29776 * math/w_pow.c: Likewise.
29777 * math/w_powf.c: Likewise.
29778 * math/w_powl.c: Likewise.
29779 * math/w_remainder.c: Likewise.
29780 * math/w_remainderf.c: Likewise.
29781 * math/w_remainderl.c: Likewise.
29782 * math/w_scalb.c: Likewise.
29783 * math/w_scalbf.c: Likewise.
29784 * math/w_scalbl.c: Likewise.
29785 * math/w_sqrt.c: Likewise.
29786 * math/w_sqrtf.c: Likewise.
29787 * math/w_sqrtl.c: Likewise.
29788 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
29789 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
29790 used.
29791 * math/math_private.h: Declare __kernel_standard_f.
29792 * math/w_cosh.c: Remove cruft and optimize a bit.
29793 * math/w_coshf.c: Likewise.
29794 * math/w_coshl.c: Likewise.
29795 * math/w_exp2.c: Likewise.
29796 * math/w_exp2f.c: Likewise.
29797 * math/w_exp2l.c: Likewise.
29798 * math/w_hypot.c: Likewise.
29799 * math/w_hypotf.c: Likewise.
29800 * math/w_hypotl.c: Likewise.
29801 * math/w_lgamma.c: Likewise.
29802 * math/w_lgamma_r.c: Likewise.
29803 * math/w_lgammaf.c: Likewise.
29804 * math/w_lgammaf_r.c: Likewise.
29805 * math/w_lgammal.c: Likewise.
29806 * math/w_lgammal_r.c: Likewise.
29807 * math/w_sinh.c: Likewise.
29808 * math/w_sinhf.c: Likewise.
29809 * math/w_sinhl.c: Likewise.
29810 * math/w_tgamma.c: Likewise.
29811 * math/w_tgammaf.c: Likewise.
29812 * math/w_tgammal.c: Likewise.
29813 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
29814 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29815 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
29816 Minor optimizations. Pretty printing. Remove cruft.
29817 * sysdeps/i386/fpu/e_acosf.S: Likewise.
29818 * sysdeps/i386/fpu/e_acosh.S: Likewise.
29819 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
29820 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
29821 * sysdeps/i386/fpu/e_acosl.c: Likewise.
29822 * sysdeps/i386/fpu/e_asin.S: Likewise.
29823 * sysdeps/i386/fpu/e_asinf.S: Likewise.
29824 * sysdeps/i386/fpu/e_atan2.S: Likewise.
29825 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
29826 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
29827 * sysdeps/i386/fpu/e_atanh.S: Likewise.
29828 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
29829 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
29830 * sysdeps/i386/fpu/e_exp10.S: Likewise.
29831 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
29832 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
29833 * sysdeps/i386/fpu/e_exp2.S: Likewise.
29834 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
29835 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
29836 * sysdeps/i386/fpu/e_fmod.S: Likewise.
29837 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
29838 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
29839 * sysdeps/i386/fpu/e_hypot.S: Likewise.
29840 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
29841 * sysdeps/i386/fpu/e_log.S: Likewise.
29842 * sysdeps/i386/fpu/e_log10.S: Likewise.
29843 * sysdeps/i386/fpu/e_log10f.S: Likewise.
29844 * sysdeps/i386/fpu/e_log10l.S: Likewise.
29845 * sysdeps/i386/fpu/e_log2.S: Likewise.
29846 * sysdeps/i386/fpu/e_log2f.S: Likewise.
29847 * sysdeps/i386/fpu/e_log2l.S: Likewise.
29848 * sysdeps/i386/fpu/e_logf.S: Likewise.
29849 * sysdeps/i386/fpu/e_logl.S: Likewise.
29850 * sysdeps/i386/fpu/e_pow.S: Likewise.
29851 * sysdeps/i386/fpu/e_powf.S: Likewise.
29852 * sysdeps/i386/fpu/e_powl.S: Likewise.
29853 * sysdeps/i386/fpu/e_remainder.S: Likewise.
29854 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
29855 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
29856 * sysdeps/i386/fpu/e_scalb.S: Likewise.
29857 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
29858 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
29859 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
29860 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
29861 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
29862 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
29863 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29864 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29865 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
29866 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29867 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
29868 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
29869 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
29870 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29871 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29872 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
29873 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
29874 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29875 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
29876 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
29877 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29878 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29879 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
29880 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29881 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29882 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
29883 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
29884 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
29885 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
29886 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
29887 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
29888 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
29889 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
29890 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
29891 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
29892 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29893 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
29894 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29895 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
29896 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
29897 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
29898 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
29899 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
29900 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
29901 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
29902 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
29903 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
29904 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
29905 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
29906 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
29907 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
29908 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
29909 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
29910 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
29911 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
29912 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
29913 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
29914 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
29915 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29916 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
29917 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
29918 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
29919 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
29920 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
29921 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
29922 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
29923 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
29924 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29925 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29926 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
29927 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
29928 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
29929 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
29930 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
29931 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
29932 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
29933 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
29934 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
29935 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
29936 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
29937 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29938 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
29939 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
29940 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
29941 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
29942 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29943 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
29944 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
29945 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
29946 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29947 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
29948 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29949 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
29950 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
29951 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
29952 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
29953 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
29954 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29955 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
29956 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
29957 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
29958 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
29959 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
29960 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
29961 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
29962 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
29963 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
29964 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
29965 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
29966 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
29967 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
29968 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
29969 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29970 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
29971 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
29972 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
29973 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
29974 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
29975 (__isnanf): Likewise.
29976 (__isinf_ns): Likewise.
29977 (__isinf_nsf): Likewise.
29978 (__finite): Likewise.
29979 (__finitef): Likewise.
29980 (__ieee754_sqrt): Define as macro.
29981 (__ieee754_sqrtf): Define as macro.
29982 (__ieee754_sqrtl): Define as macro.
29983 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
29984 inlined copy.
29985 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
29986 __FINITE_MATH_ONLY__ consistent.
29987 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
29988
12cc2fcd
AS
299892011-10-10 Andreas Schwab <schwab@linux-m68k.org>
29990
a843a204
AS
29991 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
29992 of rawmemchr.
29993
12cc2fcd
AS
29994 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
29995
c853acd5
UD
299962011-10-09 Ulrich Drepper <drepper@gmail.com>
29997
29998 * po/ja.po: Update from translation team.
29999
c658d255
RM
300002011-10-08 Roland McGrath <roland@hack.frob.com>
30001
110946e4
RM
30002 * locale/programs/locarchive.c (prepare_address_space): New function.
30003 (create_archive, enlarge_archive, open_archive): Use it.
30004
50604220
RM
30005 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
30006 inside [SHARED], where it is used.
30007
c658d255
RM
30008 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
30009
30010 * nss/getent.c (netgroup_keys): Remove unused variable.
30011 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
30012
6a621eb7
UD
300132011-10-08 Ulrich Drepper <drepper@gmail.com>
30014
7edb55ce
UD
30015 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
30016 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
30017 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
30018 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
30019 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
30020 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
30021 * math/Makefile (libm-calls): Add s_isinf_ns.
30022 * math/divtc3.c: Use __isinf_nsl instead of isinf.
30023 * math/multc3.c: Likewise.
30024 * math/s_casin.c: Likewise.
30025 * math/s_casinf.c: Likewise.
30026 * math/s_casinl.c: Likewise.
30027 * math/s_ccos.c: Likewise.
30028 * math/s_ccosf.c: Likewise.
30029 * math/s_ccosl.c: Likewise.
30030 * math/s_ctan.c: Likewise.
30031 * math/s_ctanf.c: Likewise.
30032 * math/s_ctanh.c: Likewise.
30033 * math/s_ctanhf.c: Likewise.
30034 * math/s_ctanhl.c: Likewise.
30035 * math/s_ctanl.c: Likewise.
30036 * math/w_fmod.c: Likewise.
30037 * math/w_fmodf.c: Likewise.
30038 * math/w_fmodl.c: Likewise.
30039 * math/w_remainder.c: Likewise.
30040 * math/w_remainderf.c: Likewise.
30041 * math/w_remainderl.c: Likewise.
30042 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
30043 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
30044 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
30045 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
30046 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
30047 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
30048 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
30049 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
30050
187da0ae
UD
30051 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
30052 of the number.
30053 * stdio-common/printf_fphex.c: Likewise.
30054 * stdio-common/printf_size.c: Likewise.
30055
9277c064
UD
30056 * math/e_exp10.c: Include math_private.h using <...> not "...".
30057 * math/e_exp10f.c: Likewise.
30058 * math/e_exp10l.c: Likewise.
30059 * math/e_exp2l.c: Likewise.
30060 * math/e_j0l.c: Likewise.
30061 * math/e_j1l.c: Likewise.
30062 * math/e_jnl.c: Likewise.
30063 * math/e_lgammal_r.c: Likewise.
30064 * math/e_rem_pio2l.c: Likewise.
30065 * math/e_scalb.c: Likewise.
30066 * math/e_scalbf.c: Likewise.
30067 * math/e_scalbl.c: Likewise.
30068 * math/k_cosl.c: Likewise.
30069 * math/k_sinl.c: Likewise.
30070 * math/k_tanl.c: Likewise.
30071 * math/s_cacoshf.c: Likewise.
30072 * math/s_catan.c: Likewise.
30073 * math/s_catanf.c: Likewise.
30074 * math/s_catanh.c: Likewise.
30075 * math/s_catanhf.c: Likewise.
30076 * math/s_catanhl.c: Likewise.
30077 * math/s_catanl.c: Likewise.
30078 * math/s_ccosh.c: Likewise.
30079 * math/s_ccoshf.c: Likewise.
30080 * math/s_ccoshl.c: Likewise.
30081 * math/s_cexp.c: Likewise.
30082 * math/s_cexpf.c: Likewise.
30083 * math/s_cexpl.c: Likewise.
30084 * math/s_clog.c: Likewise.
30085 * math/s_clog10.c: Likewise.
30086 * math/s_clog10f.c: Likewise.
30087 * math/s_clog10l.c: Likewise.
30088 * math/s_clogf.c: Likewise.
30089 * math/s_clogl.c: Likewise.
30090 * math/s_csin.c: Likewise.
30091 * math/s_csinf.c: Likewise.
30092 * math/s_csinh.c: Likewise.
30093 * math/s_csinhf.c: Likewise.
30094 * math/s_csinhl.c: Likewise.
30095 * math/s_csinl.c: Likewise.
30096 * math/s_csqrt.c: Likewise.
30097 * math/s_csqrtf.c: Likewise.
30098 * math/s_csqrtl.c: Likewise.
30099 * math/s_ctan.c: Likewise.
30100 * math/s_ctanf.c: Likewise.
30101 * math/s_ctanh.c: Likewise.
30102 * math/s_ctanhf.c: Likewise.
30103 * math/s_ctanhl.c: Likewise.
30104 * math/s_ctanl.c: Likewise.
30105 * math/s_ldexp.c: Likewise.
30106 * math/s_ldexpf.c: Likewise.
30107 * math/s_ldexpl.c: Likewise.
30108 * math/s_significand.c: Likewise.
30109 * math/s_significandf.c: Likewise.
30110 * math/s_significandl.c: Likewise.
30111 * math/w_acos.c: Likewise.
30112 * math/w_acosf.c: Likewise.
30113 * math/w_acosh.c: Likewise.
30114 * math/w_acoshf.c: Likewise.
30115 * math/w_acoshl.c: Likewise.
30116 * math/w_acosl.c: Likewise.
30117 * math/w_asin.c: Likewise.
30118 * math/w_asinf.c: Likewise.
30119 * math/w_asinl.c: Likewise.
30120 * math/w_atan2.c: Likewise.
30121 * math/w_atan2f.c: Likewise.
30122 * math/w_atan2l.c: Likewise.
30123 * math/w_atanh.c: Likewise.
30124 * math/w_atanhf.c: Likewise.
30125 * math/w_atanhl.c: Likewise.
30126 * math/w_cosh.c: Likewise.
30127 * math/w_coshf.c: Likewise.
30128 * math/w_coshl.c: Likewise.
30129 * math/w_dremf.c: Likewise.
30130 * math/w_exp10.c: Likewise.
30131 * math/w_exp10f.c: Likewise.
30132 * math/w_exp10l.c: Likewise.
30133 * math/w_exp2.c: Likewise.
30134 * math/w_exp2f.c: Likewise.
30135 * math/w_fmod.c: Likewise.
30136 * math/w_fmodf.c: Likewise.
30137 * math/w_fmodl.c: Likewise.
30138 * math/w_hypot.c: Likewise.
30139 * math/w_hypotf.c: Likewise.
30140 * math/w_hypotl.c: Likewise.
30141 * math/w_j0.c: Likewise.
30142 * math/w_j0f.c: Likewise.
30143 * math/w_j0l.c: Likewise.
30144 * math/w_j1.c: Likewise.
30145 * math/w_j1f.c: Likewise.
30146 * math/w_j1l.c: Likewise.
30147 * math/w_jn.c: Likewise.
30148 * math/w_jnf.c: Likewise.
30149 * math/w_jnl.c: Likewise.
30150 * math/w_lgamma.c: Likewise.
30151 * math/w_lgamma_r.c: Likewise.
30152 * math/w_lgammaf.c: Likewise.
30153 * math/w_lgammaf_r.c: Likewise.
30154 * math/w_lgammal.c: Likewise.
30155 * math/w_lgammal_r.c: Likewise.
30156 * math/w_log.c: Likewise.
30157 * math/w_log10.c: Likewise.
30158 * math/w_log10f.c: Likewise.
30159 * math/w_log10l.c: Likewise.
30160 * math/w_log2.c: Likewise.
30161 * math/w_log2f.c: Likewise.
30162 * math/w_log2l.c: Likewise.
30163 * math/w_logf.c: Likewise.
30164 * math/w_logl.c: Likewise.
30165 * math/w_pow.c: Likewise.
30166 * math/w_powf.c: Likewise.
30167 * math/w_powl.c: Likewise.
30168 * math/w_remainder.c: Likewise.
30169 * math/w_remainderf.c: Likewise.
30170 * math/w_remainderl.c: Likewise.
30171 * math/w_scalb.c: Likewise.
30172 * math/w_scalbf.c: Likewise.
30173 * math/w_scalbl.c: Likewise.
30174 * math/w_sinh.c: Likewise.
30175 * math/w_sinhf.c: Likewise.
30176 * math/w_sinhl.c: Likewise.
30177 * math/w_sqrt.c: Likewise.
30178 * math/w_sqrtf.c: Likewise.
30179 * math/w_sqrtl.c: Likewise.
30180 * math/w_tgamma.c: Likewise.
30181 * math/w_tgammaf.c: Likewise.
30182 * math/w_tgammal.c: Likewise.
30183
6a621eb7
UD
30184 * po/ja.po: Update from translation team.
30185
bf582445
AJ
301862011-09-29 Andreas Jaeger <aj@suse.de>
30187
f9efbf3a
AJ
30188 [BZ #13179]
30189 * sunrpc/netname.c (netname2host): Fix logic.
30190
bf582445
AJ
30191 [BZ #6779]
30192 [BZ #6783]
30193 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
30194 correctly.
30195 * math/w_remainder.c (__remainder): Likewise.
30196 * math/w_remainderf.c (__remainderf): Likewise.
30197 * math/libm-test.inc (remainder_test): Add test cases.
30198
48693bea
AK
301992011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30200
30201 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
30202 sdiv_qrnnd.
30203
42622229
LD
302042011-10-07 Ulrich Drepper <drepper@gmail.com>
30205
30206 * string/test-memcmp.c: Avoid unncessary #defines.
30207 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
30208
093ecf92
LD
302092011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30210
30211 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
30212 Use new sse2 version for core i3 - i7 as it's faster
30213 than sse42 version.
30214 (bit_Prefer_PMINUB_for_stringop): New.
30215 * sysdeps/x86_64/rawmemchr.S: Update.
30216 Replace with faster SSE2 version.
30217 * sysdeps/x86_64/memrchr.S: New file.
30218 * sysdeps/x86_64/memchr.S: Update.
30219 Replace with faster SSE2 version.
30220
fde56e5c
MP
302212011-09-12 Marek Polacek <mpolacek@redhat.com>
30222
30223 * elf/dl-load.c (lose): Add cast to avoid warning.
30224
21fd49a9
UD
302252011-10-07 Ulrich Drepper <drepper@gmail.com>
30226
5a06e643
UD
30227 * po/ca.po: Update from translation team.
30228
684ae515
UD
30229 * inet/getnetgrent_r.c: Hook up nscd.
30230 * nscd/Makefile (routines): Add nscd_netgroup.
30231 (nscd-modules): Add netgroupcache.
30232 (CFLAGS-netgroupcache.c): Define.
30233 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
30234 (cache_search): Add const to second parameter.
30235 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
30236 INNETGR.
30237 (dbs): Add netgrdb entry.
30238 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
30239 (verify_persistent_db): Handle netgrdb.
30240 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
30241 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
30242 GETFDNETGR.
30243 (netgroup_response_header): Define.
30244 (innetgroup_response_header): Define.
30245 (datahead): Add netgroup_response_header and innetgroup_response_header
30246 elements.
30247 * nscd/nscd.conf: Add entries for netgroup cache.
30248 * nscd/nscd.h (dbtype): Add netgrdb.
30249 (_PATH_NSCD_NETGROUP_DB): Define.
30250 (netgroup_iov_disabled): Declare.
30251 (xmalloc, xcalloc, xrealloc): Move declarations here.
30252 (cache_search): Adjust prototype.
30253 Add netgroup-related prototypes.
30254 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
30255 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
30256 (__nscd_innetgr): Declare.
30257 * nscd/selinux.c (perms): Use access_vector_t as element type and
30258 add netgroup-related initializers.
30259 * nscd/netgroupcache.c: New file.
30260 * nscd/nscd_netgroup.c: New file.
30261 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
30262 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
30263 For four parameters use innetgr.
30264 * nss/nss_files/files-init.c: Add definition and callback for netgr.
30265 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
30266 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
30267 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
30268
21fd49a9
UD
30269 * nscd/connections.c (register_traced_file): Don't register file
30270 for disabled databases.
30271
054c0457
UD
302722011-10-06 Ulrich Drepper <drepper@gmail.com>
30273
32b63198
UD
30274 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
30275
054c0457
UD
30276 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
30277 from tree and freeing node.
30278
64031225
JO
302792011-09-25 Jiri Olsa <jolsa@redhat.com>
30280
30281 * nss/nsswitch.c (__nss_database_lookup): Handle
30282 nss_parse_service_list out of memory case.
30283
0490345c
JO
302842011-09-15 Jiri Olsa <jolsa@redhat.com>
30285
30286 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
30287 out of memory case.
30288
3a62d00d
AS
302892011-10-04 Andreas Schwab <schwab@redhat.com>
30290
30291 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
30292 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
30293 pass it down.
30294 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
30295 elf_machine_rela, elf_machine_lazy_rel.
30296 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
30297 (ELF_DYNAMIC_DO_REL): Likewise.
30298 (ELF_DYNAMIC_DO_RELA): Likewise.
30299 (ELF_DYNAMIC_RELOCATE): Likewise.
30300 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
30301 to ELF_DYNAMIC_DO_REL.
30302 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
30303 (dl_main): In trace mode always set __RTLD_NOIFUNC.
30304 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
30305 elf_machine_rela.
30306 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
30307 skip_ifunc, don't call ifunc function if non-zero.
30308 (elf_machine_rela): Likewise.
30309 (elf_machine_lazy_rel): Likewise.
30310 (elf_machine_lazy_rela): Likewise.
30311 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
30312 (elf_machine_lazy_rel): Likewise.
30313 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
30314 Likewise.
30315 (elf_machine_lazy_rel): Likewise.
30316 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30317 Likewise.
30318 (elf_machine_lazy_rel): Likewise.
30319 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
30320 (elf_machine_lazy_rel): Likewise.
30321 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
30322 (elf_machine_lazy_rel): Likewise.
30323 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
30324 (elf_machine_lazy_rel): Likewise.
30325 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
30326 (elf_machine_lazy_rel): Likewise.
30327 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
30328 (elf_machine_lazy_rel): Likewise.
30329 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
30330 (elf_machine_lazy_rel): Likewise.
30331
68577918
UD
303322011-09-28 Ulrich Drepper <drepper@gmail.com>
30333
30334 * nss/nss_files/files-init.c (_nss_files_init): Use static
30335 initialization for all the *_traced_file variables.
30336
68822d74
AS
303372011-09-28 Andreas Schwab <schwab@redhat.com>
30338
30339 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30340
2056100b
RM
303412011-09-27 Roland McGrath <roland@hack.frob.com>
30342
30343 [BZ #13226]
30344 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
30345
32c76b63
AS
303462011-09-27 Andreas Schwab <schwab@redhat.com>
30347
30348 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
30349 Reread the line before reparsing it.
30350
bf972c9d
AS
303512011-09-26 Andreas Schwab <schwab@redhat.com>
30352
30353 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
30354
e057a1b5
JM
303552011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
30356 Maxim Kuvyrkov <maxim@codesourcery.com>
30357 Joseph Myers <joseph@codesourcery.com>
30358
30359 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
30360 if needed for __stack_chk_guard.
30361
bc7e1c36
RM
303622011-09-19 Roland McGrath <roland@hack.frob.com>
30363
ecb1482f
RM
30364 * sysdeps/posix/spawni.c (script_execute): Always define it.
30365 It will be optimized away if unused.
30366 (maybe_script_execute): New function.
30367 (__spawni): Call it.
30368
bc7e1c36
RM
30369 * Makerules: Don't include tls.make.
30370 (config-tls): Always set to thread.
30371 * tls.make.c: File removed.
30372
1c3b002b
MF
303732011-09-19 Mike Frysinger <vapier@gentoo.org>
30374
30375 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
30376 * config.make.in (CPPFLAGS-config): New substituted variable.
30377
2840865d
UD
303782011-09-15 Ulrich Drepper <drepper@gmail.com>
30379
88738eb6
UD
30380 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
30381
cbf645a6 30382 [BZ #13192]
2840865d
UD
30383 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
30384 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
30385
b402e91a
RM
303862011-09-15 Roland McGrath <roland@hack.frob.com>
30387
30388 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
30389 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
30390 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
30391 (CALL_FAIL): Likewise.
30392 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
30393 (CALL_FAIL): Macro removed.
30394 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
30395
4c1a1f71
UD
303962011-09-15 Ulrich Drepper <drepper@gmail.com>
30397
30398 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
30399 for __FINITE_MATH_ONLY__ == 1.
30400
edc121be
AS
304012011-09-15 Andreas Schwab <schwab@redhat.com>
30402
30403 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
30404 __ieee754_sqrt instead of sqrt.
30405 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
30406 __ieee754_sqrtf instead of sqrtf.
30407 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
30408 __floorf instead of floorf.
30409 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
30410 __floorf, __truncf instead of floorf, truncf.
30411
cd205654
UD
304122011-09-14 Ulrich Drepper <drepper@gmail.com>
30413
ee4d0315
UD
30414 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
30415
cd205654
UD
30416 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
30417 __extern_always_inline.
30418 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
30419 32-bit.
30420
48b67d71
AS
304212011-09-14 Andreas Schwab <schwab@redhat.com>
30422
30423 * elf/rtld.c (dl_main): Also relocate in dependency order when
30424 doing symbol dependency testing.
30425
1ae12c75
AS
304262011-09-13 Andreas Schwab <schwab@linux-m68k.org>
30427
30428 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30429 Always define `refsym'.
30430
995a80df
AS
304312011-09-13 Andreas Schwab <schwab@redhat.com>
30432
e529793b
AS
30433 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
30434 (__FD_ELT): Renamed from __FDELT.
30435 * misc/bits/select2.h (__FD_ELT): Likewise.
30436 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
30437 __FD_MASK instead of __FDELT, __FDMASK.
30438 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
30439 Likewise.
30440 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
30441 Likewise.
30442
52d4fef8
AS
30443 * elf/Makefile (gen-ldd): Fix pattern.
30444
995a80df
AS
30445 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
30446 (init_tls): Likewise.
30447
8682f8b0
UD
304482011-09-12 Ulrich Drepper <drepper@gmail.com>
30449
30450 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
30451
de82006d
AS
304522011-09-12 Andreas Schwab <schwab@redhat.com>
30453
a7c8e6a1
AS
30454 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
30455 `struct cmsghdr *' instead of `void *'.
30456 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
30457 Likewise.
30458
0f31fe77
AS
304592011-09-11 Andreas Schwab <schwab@linux-m68k.org>
30460
30461 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
30462 if non-absolute.
30463 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
30464 ldd_rewrite_script.
0f31fe77 30465
32b4c839
UD
304662011-09-11 Ulrich Drepper <drepper@gmail.com>
30467
83cd1420
UD
30468 * configure.in: Remove --with-tls option.
30469 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
30470 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
30471 out in case it is missing.
30472 * sysdeps/ia64/elf/configure.in: Likewise.
30473 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
30474 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
30475 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
30476 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
30477 * sysdeps/sh/elf/configure.in: Likewise.
30478 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
30479 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
30480 * sysdeps/x86_64/elf/configure.in: Likewise.
30481 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
30482 * sysdeps/mach/hurd/tls.h: Likewise.
30483
633f745d
UD
30484 [BZ #13067]
30485 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
30486
f318beb8
UD
30487 [BZ #13090]
30488 * configure.in: Fix use of AC_INIT.
30489
32b4c839
UD
30490 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
30491
3ce1f295
UD
304922011-09-10 Ulrich Drepper <drepper@gmail.com>
30493
bb016596
UD
30494 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
30495 __set_errno.
8e58439c
UD
30496 * malloc/hooks.c: Likewise.
30497
aebae053 30498 [BZ #11929]
02d46fc4
UD
30499 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
30500 variables statically.
30501 (narenas): Initialize.
30502 (list_lock): Initialize.
bb016596
UD
30503 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
30504 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
30505 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
30506 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
30507 Add initializers to main_arena and mp_.
30508 (malloc_state): Remove pagesize member. Change all users to use
30509 GLRO(dl_pagesize).
30510
30511 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
30512 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
30513 is always initialized.
30514
22a89187
UD
30515 * malloc/malloc.c: Removed unused configurations and dead code.
30516 * malloc/arena.c: Likewise.
30517 * malloc/hooks.c: Likewise.
02d46fc4 30518 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 30519
d063d164
UD
30520 * include/tls.h: Removed. USE___THREAD must always be defined.
30521 * bits/libc-tsd.h: Don't handle !USE___THREAD.
30522 * elf/dl-libc.c: Likewise.
30523 * elf/dl-tsd.c: Likewise.
30524 * include/errno.h: Likewise.
30525 * include/netdb.h: Likewise.
30526 * include/resolv.h: Likewise.
30527 * inet/herrno-loc.c: Likewise.
30528 * inet/herrno.c: Likewise.
30529 * malloc/arena.c: Likewise.
30530 * malloc/hooks.c: Likewise.
30531 * malloc/malloc.c: Likewise.
30532 * resolv/res-state.c: Likewise.
30533 * resolv/res_libc.c: Likewise.
30534 * sysdeps/i386/dl-machine.h: Likewise.
30535 * sysdeps/ia64/dl-machine.h: Likewise.
30536 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
30537 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
30538 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
30539 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
30540 * sysdeps/sh/dl-machine.h: Likewise.
30541 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
30542 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
30543 * sysdeps/unix/i386/sysdep.S: Likewise.
30544 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
30545 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
30546 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
30547 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
30548 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
30549 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
30550 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
30551 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
30552 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30553 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
30554 * sysdeps/unix/x86_64/sysdep.S: Likewise.
30555 * sysdeps/x86_64/dl-machine.h: Likewise.
30556 * tls.make.c: Likewise.
30557
3ce1f295
UD
30558 * configure.in: Remove --with-__thread option. Make tests for
30559 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
30560 tls_model attribute fail if no support is available. Remove
30561 USE_IN_LIBIO.
30562 * Makeconfig: Adjust for dropped configure option. All features are
30563 now mandatory.
30564 * Makerules: Likewise.
30565 * Versions.def: Likewise.
30566 * argp/argp-fmtstream.c: Likewise.
30567 * argp/argp-fmtstream.h: Likewise.
30568 * argp/argp-help.c: Likewise.
30569 * assert/assert.c: Likewise.
30570 * config.h.in: Likewise.
30571 * config.make.in: Likewise.
30572 * configure: Likewise.
30573 * configure.in: Likewise.
30574 * csu/Versions: Likewise.
30575 * csu/init.c: Likewise.
30576 * elf/tst-audit2.c: Likewise.
30577 * elf/tst-tls10.c: Likewise.
30578 * elf/tst-tls10.h: Likewise.
30579 * elf/tst-tls11.c: Likewise.
30580 * elf/tst-tls12.c: Likewise.
30581 * elf/tst-tls14.c: Likewise.
30582 * elf/tst-tlsmod11.c: Likewise.
30583 * elf/tst-tlsmod12.c: Likewise.
30584 * elf/tst-tlsmod13.c: Likewise.
30585 * elf/tst-tlsmod13a.c: Likewise.
30586 * elf/tst-tlsmod14a.c: Likewise.
30587 * elf/tst-tlsmod15b.c: Likewise.
30588 * elf/tst-tlsmod16a.c: Likewise.
30589 * elf/tst-tlsmod16b.c: Likewise.
30590 * elf/tst-tlsmod7.c: Likewise.
30591 * elf/tst-tlsmod8.c: Likewise.
30592 * elf/tst-tlsmod9.c: Likewise.
30593 * gmon/gmon.c: Likewise.
30594 * grp/fgetgrent_r.c: Likewise.
30595 * grp/putgrent.c: Likewise.
30596 * hurd/fopenport.c: Likewise.
30597 * include/libc-symbols.h: Likewise.
30598 * include/tls.h: Likewise.
30599 * intl/gettextP.h: Likewise.
30600 * intl/loadinfo.h: Likewise.
30601 * locale/global-locale.c: Likewise.
30602 * locale/localeinfo.h: Likewise.
30603 * mach/devstream.c: Likewise.
30604 * malloc/arena.c: Likewise.
30605 * malloc/set-freeres.c: Likewise.
30606 * misc/err.c: Likewise.
30607 * misc/getttyent.c: Likewise.
30608 * misc/mntent_r.c: Likewise.
30609 * posix/getopt.c: Likewise.
30610 * posix/wordexp.c: Likewise.
30611 * pwd/fgetpwent_r.c: Likewise.
30612 * resolv/Versions: Likewise.
30613 * resolv/res_hconf.c: Likewise.
30614 * shadow/fgetspent_r.c: Likewise.
30615 * shadow/putspent.c: Likewise.
30616 * stdio-common/printf_fphex.c: Likewise.
30617 * stdio-common/tmpfile.c: Likewise.
30618 * stdlib/abort.c: Likewise.
30619 * stdlib/fmtmsg.c: Likewise.
30620 * sunrpc/auth_unix.c: Likewise.
30621 * sunrpc/clnt_perr.c: Likewise.
30622 * sunrpc/clnt_tcp.c: Likewise.
30623 * sunrpc/clnt_udp.c: Likewise.
30624 * sunrpc/clnt_unix.c: Likewise.
30625 * sunrpc/openchild.c: Likewise.
30626 * sunrpc/svc_simple.c: Likewise.
30627 * sunrpc/svc_tcp.c: Likewise.
30628 * sunrpc/svc_udp.c: Likewise.
30629 * sunrpc/svc_unix.c: Likewise.
30630 * sunrpc/xdr.c: Likewise.
30631 * sunrpc/xdr_array.c: Likewise.
30632 * sunrpc/xdr_rec.c: Likewise.
30633 * sunrpc/xdr_ref.c: Likewise.
30634 * sunrpc/xdr_stdio.c: Likewise.
30635
1248c1c4
PB
306362011-09-09 Ulrich Drepper <drepper@gmail.com>
30637
30638 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30639
306402011-07-03 Andreas Jaeger <aj@suse.de>
30641
30642 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
30643 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
30644 regenerate with gen-libm-tests.pl.
30645
306462010-05-12 Petr Baudis <pasky@suse.cz>
30647
30648 [BZ #11589]
30649 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
30650 around j0() zero points by switching to j1().
30651 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
30652 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
30653 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30654 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30655
f22e1074
UD
306562011-09-09 Ulrich Drepper <drepper@gmail.com>
30657
f19009c1
UD
30658 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
30659 instead of 0.
30660 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 30661 instead of 0.
f19009c1
UD
30662 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30663 Patch in part by Pavel Roskin <proski@gnu.org>.
30664
3f8cc204
UD
30665 [BZ #13138]
30666 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
30667 realloc.
30668 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
30669 Free memory block if necessary.
30670
f22e1074
UD
30671 [BZ #12847]
30672 * libio/genops.c (INTDEF): For string streams the _lock pointer can
30673 be NULL. Don't lock in this case.
30674
0a2349f9
RM
306752011-09-09 Roland McGrath <roland@hack.frob.com>
30676
30677 * elf/elf.h (ELFOSABI_GNU): New macro.
30678 (ELFOSABI_LINUX): Define to that.
30679
f3cdd467
DZ
306802011-07-29 Denis Zaitceff <zaitceff@gmail.com>
30681
30682 * string/strncat.c (strncat): Undef the symbol in case it has been
30683 defined in bits/string.h.
30684
74718d13
UD
306852011-09-09 Ulrich Drepper <drepper@gmail.com>
30686
633e9e0f
UD
30687 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
30688
0a2349f9 30689 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
30690 link map.
30691
f9924780
AJ
306922011-08-17 Andreas Jaeger <aj@suse.de>
30693
30694 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
30695
7f5517aa
PP
306962011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
30697 Ian Lance Taylor <iant@google.com>
30698
30699 * math/libm-test.inc (lround_test): New testcase.
30700 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
30701
762011fe
UD
307022011-09-08 Ulrich Drepper <drepper@gmail.com>
30703
92963737
UD
30704 * Makefile: Remove support for automatic cvs check-ins.
30705 * Makerules: Likewise.
30706 * config.make.in: Likewise.
30707 * configure.in: Likewise.
30708 * intl/Makefile: Likewise.
30709 * locale/Makefile: Likewise.
30710 * po/Makefile: Likewise.
30711 * posix/Makefile: Likewise.
30712 * sysdeps/gnu/Makefile: Likewise.
30713 * sysdeps/mach/hurd/Makefile: Likewise.
30714 * sysdeps/sparc/sparc32/Makefile: Likewise.
30715
b0727fd8
JS
30716 [BZ #13118]
30717 * posix/Makefile (bug-regex32-ENV): Define.
30718 Patch by John Stanley <jpsinthemix@verizon.net>.
30719
a0f33f99
UD
30720 * misc/Makefile (headers): Add bits/select2.h.
30721 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
30722 * misc/bits/select2.h: New file.
30723 * include/bits/select2.h: New file.
30724 * debug/Makefile (routines): Add fdelt_chk.
30725 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
30726 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
30727 FD_ISSET.
30728 * debug/fdelt_chk.c: New file.
30729
762011fe
UD
30730 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
30731 * wcsmbs/test-wmemcmp.c: Likewise.
30732 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 30733 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
30734
307352011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30736
30737 * string/Makefile (strop-tests): Add memcmp.
30738 * string/test-wmemcmp.c: New file.
30739 * string/test-memcmp.c: Add wmemcmp support.
30740
7f513ec8
RM
307412011-09-08 Roland McGrath <roland@hack.frob.com>
30742
0442afb4
RM
30743 [BZ #13153]
30744 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
30745 2011-07-19 change.
30746
7f513ec8
RM
30747 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
30748 garbage value in a __mach_port_mod_refs call in the cases of the
30749 task-self and thread-self ports.
30750
a12b2239
ST
307512011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
30752
30753 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
30754
610f9ab4
AS
307552011-09-08 Andreas Schwab <schwab@redhat.com>
30756
7f513ec8 30757 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 30758
48882a1a
LD
307592011-09-07 Ulrich Drepper <drepper@gmail.com>
30760
b49865be
UD
30761 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
30762
fdc86bc9
UD
30763 * elf/dl-libc.c (dlerror_run): Pass back error code from
30764 dl_catch_error.
30765
c966526a
UD
30766 [BZ #13123]
30767 * elf/dl-load.c (lose): Free l_origin if it is valid.
30768
48882a1a
LD
30769 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
30770 names.
30771 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
30772 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
30773 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
30774 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
30775 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
30776 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
30777
77a2a8b4
AZ
307782011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30779
30780 * sysdeps/powerpc/fpu/e_hypot.c: New file.
30781 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
30782 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
30783 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
30784 * sysdeps/powerpc/fpu/k_cosf.c: New file.
30785 * sysdeps/powerpc/fpu/k_sinf.c: New file.
30786 * sysdeps/powerpc/fpu/s_cosf.c: New file.
30787 * sysdeps/powerpc/fpu/s_sinf.c: New file.
30788 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
30789 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
30790
24f579d8
AM
307912011-08-15 Alan Modra <amodra@gmail.com>
30792
30793 [BZ #13092]
30794 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
30795 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
30796 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
30797 ppc_mcount to static-only-routines.
30798 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
30799 __mcount_internal.
30800 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
30801 __mcount_internal with usual JUMPTARGET. Remove useless nop.
30802
3d4837df
UD
308032011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
30804
30805 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
30806 for finite and infinity parameters.
30807
22700377
WS
308082011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
30809
30810 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
30811 and add nop instructions for throughput optimization.
30812 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30813
5025581e
WS
308142011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
30815
30816 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
30817 aligned copy for power7 with vector-scalar instructions.
30818 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
30819
08a300c9
L
308202011-07-24 H.J. Lu <hongjiu.lu@intel.com>
30821
30822 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
30823 AVX check.
30824
59178ef9
AS
308252011-09-07 Andreas Schwab <schwab@redhat.com>
30826
30827 [BZ #13144]
30828 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
30829 last change.
30830
e38ba7ab
UD
308312011-09-07 Ulrich Drepper <drepper@gmail.com>
30832
30833 * sysdeps/unix/sysv/linux/x86_64/init-first.c
30834 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
30835 syscall wrapper around clock_gettime in __vdso_clock_gettime.
30836 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
30837 clock_gettime.
30838
d53a73ac
UD
308392011-09-06 Ulrich Drepper <drepper@gmail.com>
30840
fc8bffcc
UD
30841 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
30842 Forgot to demangle the pointer.
30843
ceaa0c5d
UD
30844 * sysdeps/i386/sysdep.h: Define atom_text_section.
30845 * sysdeps/x86_64/sysdep.h: Likewise.
30846 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
30847 section with atom_text_section.
30848 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
30849 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
30850 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
30851 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
30852 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
30853
a77d3c17
UD
30854 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
30855 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
30856 already be defined. Change to take two parameters and don't assign
30857 result to variable. Adjust all users.
30858 Define INTERNAL_GETTIME if not already defined.
30859 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
30860 call.
30861 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
30862 HAVE_CLOCK_GETTIME_VSYSCALL.
30863 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
30864
d53a73ac
UD
30865 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
30866 gettimeofday vsyscall, just use time.
30867
a8f84144
AS
308682011-09-06 Andreas Schwab <schwab@redhat.com>
30869
30870 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
30871 <errno.h>.
30872
ef606249
UD
308732011-09-06 Ulrich Drepper <drepper@gmail.com>
30874
30875 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
30876 syscall on x86-64.
30877 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
30878 syscall.
30879 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
30880 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
30881 syscall if possible.
30882
6585cb60
UD
308832011-09-05 Ulrich Drepper <drepper@gmail.com>
30884
30885 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
30886 e_ident. Don't pass to find_mapsXX.
30887 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
30888
a5f524e4
LD
308892011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30890
30891 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30892 strchr-sse2-no-bsf strrchr-sse2-no-bsf
30893 * sysdeps/x86_64/multiarch/strchr.S: Update.
30894 Check bit_slow_BSF bit.
30895 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30896 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
30897 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
30898
554881ef
UD
308992011-09-05 Ulrich Drepper <drepper@gmail.com>
30900
d96de963
UD
30901 [BZ #13134]
30902 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
30903 before glibc 2.15.
30904 (tryshell): Define.
30905 (__spawni): Change last parameter to be flag. Test
30906 SPAWN_XFLAGS_USE_PATH flag to use path or not.
30907 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
30908 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
30909 * posix/spawni.c: Likewise.
30910 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
30911 * posix/spawnp.c: Likewise. Change normal version to use
30912 SPAWN_XFLAGS_USE_PATH.
30913 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
30914 SPAWN_XFLAGS_TRY_SHELL.
30915
d48e5868
UD
30916 [BZ #13150]
30917 * posix/glob.h: Remove gcc 1.x support.
30918
554881ef
UD
30919 [BZ #13068]
30920 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
30921
693fb948
LD
309222011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30923
30924 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30925 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
30926 strrchr-sse2-bsf
30927 * sysdeps/i386/i686/multiarch/strchr.S: New file.
30928 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
30929 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
30930 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
30931 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
30932 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
30933
1b48c537
UD
309342011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30935
49d42c37
UD
30936 * sysdeps/x86_64/wcscmp.S: New file.
30937
1b48c537
UD
30938 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
30939 wcscmp-c wcscmp-sse2
30940 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
30941 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
30942 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
30943 * wcsmbs/wcscmp.c: Allow renaming.
30944
15c95c5d
DM
309452011-09-05 David S. Miller <davem@davemloft.net>
30946
30947 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
30948 stack slot, rather than the struct return pointer slot.
30949 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
30950 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
30951 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
30952 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
30953
2f0ad8f3
UD
309542011-09-05 Ulrich Drepper <drepper@gmail.com>
30955
d88ae418
UD
30956 * po/ja.po: Update from translation team.
30957
2f0ad8f3
UD
30958 [BZ #13144]
30959 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
30960 kernel in 64-bit binaries.
30961
5f4318d1
DM
309622011-09-01 David S. Miller <davem@davemloft.net>
30963
30964 * elf/elf.h (HWCAP_SPARC_*): Move to..
30965 * sysdeps/sparc/sysdep.h: this new file and add new values.
30966 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
30967 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
30968 _DL_HWCAP_COUNT to 24.
30969 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
30970 entries.
30971 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
30972 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
30973 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
30974 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
30975 instead of magic constants.
30976 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30977
3ba57516
DM
309782011-08-31 David S. Miller <davem@davemloft.net>
30979
30980 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
30981 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
30982 Reimplement to do errno handling inline.
30983 (SYSCALL_ERROR_HANDLER): New macro.
30984 (__SYSCALL_STRING): Do not do errno handling in asm.
30985 (__CLONE_SYSCALL_STRING): Delete.
30986 (__INTERNAL_SYSCALL_STRING): Delete.
30987 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
30988 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
30989 (PSEUDO): Reimplement to do errno handling inline.
30990 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
30991 (SYSCALL_ERROR_HANDLER): New macro.
30992 (__SYSCALL_STRING): Do not do errno handling in asm.
30993 (__CLONE_SYSCALL_STRING): Delete.
30994 (__INTERNAL_SYSCALL_STRING): Delete.
30995 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
30996 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
30997 i386.
30998 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
30999 (inline_syscall*): Add 'err' argument.
31000 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
31001 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
31002 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
31003 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
31004
31005 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
31006 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
31007
2bc17433
AS
310082011-08-30 Andreas Schwab <schwab@redhat.com>
31009
31010 * elf/rtld.c (dl_main): Relocate objects in dependency order.
31011
fbeb5f4d
JO
310122011-08-29 Jiri Olsa <jolsa@redhat.com>
31013
31014 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
31015 directive.
31016
ad69cc26
DM
310172011-08-24 David S. Miller <davem@davemloft.net>
31018
31019 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
31020
39dd69df
AS
310212011-08-24 Andreas Schwab <schwab@redhat.com>
31022
31023 * elf/Makefile: Add rules to build and run unload8 test.
31024 * elf/unload8.c: New file.
31025 * elf/unload8mod1.c: New file.
31026 * elf/unload8mod1x.c: New file.
31027 * elf/unload8mod2.c: New file.
31028 * elf/unload8mod3.c: New file.
31029
31030 * elf/dl-close.c (_dl_close_worker): Reset private search list if
31031 it wasn't used.
31032
2c0b250a
DM
310332011-08-23 David S. Miller <davem@davemloft.net>
31034
31035 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
31036 subtract stack bias.
31037 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
31038 %sp not %fp in calculations.
31039 (_JMPBUF_UNWINDS_ADJ): Likewise.
31040
22044b48
DM
31041 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
31042 (aio_suspend): Call it to force an exception region around the
31043 AIO_MISC_WAIT() invocation.
31044
2cae4995
AS
310452011-08-23 Andreas Schwab <schwab@redhat.com>
31046
31047 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
31048 backslash.
31049
873a772e
AJ
310502011-07-04 Aurelien Jarno <aurelien@aurel32.net>
31051
31052 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
31053 protection macro.
31054 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
31055 and <dl-machine.h>.
31056 (Elf64_FuncDesc): Remove.
31057
25ad0df1
DM
310582011-08-22 David S. Miller <davem@davemloft.net>
31059
31060 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
31061 sigaltstack check, add missing cfi directives.
31062 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
31063 missing cfi directives, and sigaltstack handling.
31064
e888bcbe
AS
310652011-08-16 Andreas Schwab <schwab@redhat.com>
31066
31067 [BZ #11724]
31068 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
31069 object is seen twice.
31070 * elf/dl-fini.c (_dl_sort_fini): Likewise.
31071
31072 * elf/Makefile (distribute): Add tst-initorder2.c.
31073 (tests): Add tst-initorder2.
31074 (modules-names): Add tst-initorder2a tst-initorder2b
31075 tst-initorder2c tst-initorder2d. Add rules to build them.
31076 ($(objpfx)tst-initorder2.out): New rule.
31077 * elf/tst-initorder2.c: New file.
31078 * elf/tst-initorder2.exp: New file.
31079
87162f46
AS
310802011-08-22 Andreas Schwab <schwab@redhat.com>
31081
70538b7f
AS
31082 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
31083
f55ffe58
AS
31084 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
31085 dependencies back to end of function.
31086
87162f46
AS
31087 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
31088 $(elfobjdir)/ld.so.
31089
91b392a4
UD
310902011-08-21 Ulrich Drepper <drepper@gmail.com>
31091
31092 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
31093 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
31094 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
31095 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
31096 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
31097 of __vdso_gettimeofday.
31098 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
31099 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
31100 attribute_hidden.
31101 (_libc_vdso_platform_setup): Remove initialization of
31102 __vdso_gettimeofday and __vdso_time.
31103
5c43483f
UD
311042011-08-20 Ulrich Drepper <drepper@gmail.com>
31105
775a77e7
UD
31106 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
31107 and fgetc_unlocked.
31108 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
31109 getc_unlocked.
89f447ed 31110
49c74ba9
UD
31111 * elf/dl-open.c (add_to_global): Report additions to the global scope
31112 for LD_DEBUG=scopes.
31113 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 31114 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 31115
5c43483f
UD
31116 [BZ #13114]
31117 * stdio-common/Makefile (tests): Add bug24.
31118 * stdio-common/bug24.c: New file.
31119
a101b025
AJ
311202011-08-19 Andreas Jaeger <aj@suse.de>
31121
31122 [BZ #13114]
31123 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
31124 non-existant file when using close-on-exec mode.
31125
c88f1766
UD
311262011-08-20 Ulrich Drepper <drepper@gmail.com>
31127
0276a718
UD
31128 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
31129 the very first instruction.
31130
c88f1766
UD
31131 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
31132 the CFI state in the end.
31133 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
31134 inclusion of dl-trampoline.h.
31135 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
31136
51ccffa0
AS
311372011-08-19 Andreas Schwab <schwab@redhat.com>
31138
94d7165f
AS
31139 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
31140 expectations for long double.
31141
51ccffa0
AS
31142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
31143 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
31144
fd708658 311452011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
31146
31147 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
31148 artificual limit depends upon the system page size.
31149
44f0a71e
UD
311502011-08-17 Ulrich Drepper <drepper@gmail.com>
31151
31152 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
31153 * resolv/Makefile: Define CFLAGS-libresolv.
31154
8de79a24
AS
311552011-08-17 Andreas Schwab <schwab@redhat.com>
31156
31157 * nss/makedb.c (compute_tables): Make variables used in nested
31158 function static.
31159
27724598
UD
311602011-08-17 Ulrich Drepper <drepper@gmail.com>
31161
c5305d88
UD
31162 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
31163 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
31164 if buffer was too small.
31165
27724598
UD
31166 * elf/pldd.c (main): Attach to all threads in the process.
31167 Rewrite /proc handling to use *at functions.
31168
076fe015
UD
311692011-08-16 Ulrich Drepper <drepper@gmail.com>
31170
174baab3
UD
31171 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
31172 specifies first scope to show.
31173 (dl_open_worker): Update callers. Move printing scope of new
31174 object to before the relocation.
44f0a71e 31175 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
31176 * sysdeps/generic/ldsodefs.h: Update declaration.
31177
076fe015
UD
31178 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
31179 string for the scope number.
31180
a60df2c3
UD
311812011-08-14 Ulrich Drepper <drepper@gmail.com>
31182
31183 * nscd/servicescache.c (cache_addserv): Make sure written is always
31184 initialized.
31185
5e4287d1
RM
311862011-08-14 Roland McGrath <roland@hack.frob.com>
31187
85ae0589
RM
31188 * sysdeps/i386/i486/bits/atomic.h
31189 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
31190 statement expression, so as to suppress "set but not used" warning.
31191 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
31192
69f63097
RM
31193 * string/strncat.c (STRNCAT): Use prototype definition.
31194
675456ef
RM
31195 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
31196 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
31197 -Iprograms here.
31198 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
31199 (localedef-modules): Add localedef.
31200 (locale-modules): Add locale.
31201
5e4287d1
RM
31202 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
31203 * elf/rtld.c (dl_main): Invert order of assignment in last change,
31204 to avoid a warning.
31205
9c96ff23
DM
312062011-08-14 David S. Miller <davem@davemloft.net>
31207
31208 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
31209 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
31210
f9ddf089
UD
312112011-08-13 Ulrich Drepper <drepper@gmail.com>
31212
44f0a71e 31213 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
31214 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
31215 * elf/rtld.c (dl_main): Set l_name of vDSO.
31216 Call _dl_show_scope when DL_DEBUG_SCOPES.
31217 (process_dl_debug): Recognize scopes flag and also set it for all.
31218 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
31219 Declare _dl_show_scope.
31220
1dc27704
UD
31221 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
31222 (do_dlopen): Pass caller_dlopen to dl_open.
31223 (__libc_dlopen_mode): Initialize caller_dlopen.
31224
f9ddf089
UD
31225 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
31226 of libc. Make tolower call locale-independent. Optimize a bit by
31227 using isdigit instead of isalnum.
31228 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
31229
9ac533d3
UD
312302011-08-12 Ulrich Drepper <drepper@gmail.com>
31231
31232 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
31233 was a dependency or dynamically loaded.
31234
89edf2e9
UD
312352011-08-11 Ulrich Drepper <drepper@gmail.com>
31236
8e999d29
UD
31237 * intl/l10nflist.c: Allow architecture-specific pop function.
31238 * sysdeps/x86_64/l10nflist.c: New file.
31239
89edf2e9
UD
31240 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
31241 classification.
31242
14d96785
AS
312432011-08-10 Andreas Schwab <schwab@redhat.com>
31244
31245 * include/dirent.h: Add libc_hidden_proto for scandirat and
31246 scandirat64. Don't declare __scandirat64.
31247 * dirent/scandirat.c: Add libc_hidden_def.
31248 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
31249 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
31250
6761ac04
DM
312512011-08-10 David S. Miller <davem@davemloft.net>
31252
31253 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
31254 enum.
31255 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31256 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31257 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31258
c55fbd1e
UD
312592011-08-09 Ulrich Drepper <drepper@gmail.com>
31260
31261 * Versions.def [libc]: Add GLIBC_2.15.
31262 * dirent/Makefile (routines): Add scandirat and scandirat64.
31263 * dirent/Versions [libc]: Export scandirat and scandirat64 for
31264 GLIBC_2.15.
31265 * dirent/dirent.h: Declare scandirat and scandirat64.
31266 * dirent/scandirat.c: New file.
31267 * dirent/scandirat64.c: New file.
31268 * sysdeps/wordsize-64/scandirat.c: New file.
31269 * sysdeps/wordsize-64/scandirat64.c: New file.
31270 * dirent/opendir.c: Define opendirat.
31271 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
31272 using scandirat.
31273 * dirent/scandir64.c: Adjust for scandir.c change.
31274 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
31275 __scandirat64, and __scandir_cancel_handler.
31276 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
31277 additional parameter and use openat instead of open (outside of ld.so).
31278 Add new __opendir as wrapper around __opendirat.
31279 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
31280 here without requiring old scandirat implementation.
31281
879165f2
UD
312822011-08-08 Ulrich Drepper <drepper@gmail.com>
31283
31284 * dirent/scandir.c (cancel_handler): Renamed to
31285 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
31286 defined. Adjust users.
31287 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
31288 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
31289
cb7e923b
UD
312902011-08-04 Ulrich Drepper <drepper@gmail.com>
31291
16292edd
UD
31292 * string/test-string.h (IMPL): Use __STRING to expand name and then
31293 stringify it.
31294
cb7e923b
UD
31295 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
31296 of cleanups.
31297
cff82933
LD
312982011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31299
31300 * string/Makefile: Update.
31301 (strop-tests): Append strncat.
31302 * string/test-wcscmp.c: New file.
31303 New comprehensive test for wcscmp.
31304 * string/test-strcmp.c: Update.
31305 (WIDE): New define.
31306
9be9bfcc
AS
313072011-07-22 Andreas Schwab <schwab@redhat.com>
31308
31309 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
31310 line.
31311
2e96f1c7
AS
313122011-07-26 Andreas Schwab <schwab@redhat.com>
31313
31314 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
31315 encoding to ACE if AI_IDN.
31316
85188888
JJ
313172011-08-01 Jakub Jelinek <jakub@redhat.com>
31318
31319 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
31320 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
31321
5fa16e9b
LD
313222011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31323
31324 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
31325 Fix overflow bug in strncat.
31326 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
31327
31328 * string/test-strncat.c: Update.
31329 Add new tests for checking overflow bugs.
31330
313312011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31332
31333 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31334 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
31335 * sysdeps/i386/i686/multiarch/strcat.S: New file.
31336 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
31337 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
31338 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
31339 * sysdeps/i386/i686/multiarch/strncat.S: New file.
31340 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
31341 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
31342
31343 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
31344 (USE_AS_STRCAT): Define.
31345 Add strcat and strncat support.
31346 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
31347
8c1a459f
AS
313482011-07-25 Andreas Schwab <schwab@redhat.com>
31349
31350 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
31351 __n bigger than INT_MAX+1.
31352 (__strncmp_g): Likewise.
31353
bba33c28
UD
313542011-07-23 Ulrich Drepper <drepper@gmail.com>
31355
798be72d
UD
31356 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
31357 * libio/stido.h: Likewise.
31358
8accd4dc
UD
31359 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
31360 (AF_NFC): Define.
31361 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
31362 (AF_NFC): Define.
31363
cbff0d96
UD
31364 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
31365 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31366 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31367 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
31368 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31369
9191c04a
UD
31370 [BZ #13021]
31371 * scripts/test-installation.pl: Don't expect libnss_test1 to be
31372 installed.
31373
bba33c28
UD
31374 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
31375 typo.
31376 (_dl_x86_64_save_sse): Likewise.
31377
90f139dd
UD
313782011-07-22 Ulrich Drepper <drepper@gmail.com>
31379
1aae088a
UD
31380 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
31381 OSXSAVE.
31382 (_dl_x86_64_save_sse): Likewise.
31383
8e2045f5
UD
31384 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
31385
90f139dd
UD
31386 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
31387
1d002f25
AS
313882011-07-21 Andreas Schwab <schwab@redhat.com>
31389
31390 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
31391 change.
31392 (_dl_x86_64_save_sse): Use correct AVX check.
31393
21137f89
UD
313942011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31395
31396 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
31397 bug in strncpy/strncat.
31398 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
31399
a65c0b7a
UD
314002011-07-21 Ulrich Drepper <drepper@gmail.com>
31401
31402 * string/tester.c (test_strcat): Add tests for different alignments
31403 of source and destination.
31404 (test_strncat): Likewise.
31405
6986b98a
UD
314062011-07-20 Ulrich Drepper <drepper@gmail.com>
31407
90bb2039
UD
31408 [BZ #12852]
31409 * posix/glob.c (glob): Check passed in values before using them in
31410 expressions to avoid some overflows.
31411 (glob_in_dir): Likewise.
31412
5644ef54
UD
31413 [BZ #13007]
31414 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
31415 check for AVX enablement so that we don't crash with old kernels and
31416 new hardware.
31417 * elf/tst-audit4.c: Add same checks here.
31418 * elf/tst-audit6.c: Likewise.
31419
31420 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 31421
bfc9dc9b
AS
314222011-07-09 Andreas Schwab <schwab@linux-m68k.org>
31423
31424 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
31425
702e64bb
UD
314262011-07-20 Ulrich Drepper <drepper@gmail.com>
31427
31428 * po/cs.po: Update from translation team.
31429 * po/bg.po: Likewise.
31430
295e904f
MP
314312011-07-12 Marek Polacek <mpolacek@redhat.com>
31432
31433 * misc/sys/cdefs.h: Add support for const attribute.
31434 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
31435 to gnu_dev_{major,minor,makedev} functions.
31436
3ff94596
MP
314372011-07-20 Marek Polacek <mpolacek@redhat.com>
31438
31439 * intl/dcigettext.c (get_output_charset): Add missing bracket.
31440
28b59fca
AS
314412011-07-20 Andreas Schwab <schwab@redhat.com>
31442
31443 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
31444 strlen results.
31445
19df733e
AK
314462011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31447
31448 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
31449 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
31450 register in order to avoid conflicts with the soft frame pointer
31451 being held in r11 when necessary.
31452 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
31453 (INTERNAL_VSYSCALL_NCS): Likewise.
31454
c8835729
MP
314552011-07-14 Marek Polacek <mpolacek@redhat.com>
31456
31457 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
31458 * elf/dl-fini.c (_dl_fini): Adjust caller.
31459 * elf/dl-close.c (_dl_close_worker): Likewise.
31460 * sysdeps/generic/ldsodefs.h: Adjust declaration.
31461
b902330c
MP
314622011-07-15 Marek Polacek <mpolacek@redhat.com>
31463
8991e135
MP
31464 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
31465 "aux_cache->nlibs < 0".
31466
b902330c
MP
31467 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
31468 in the reload-count case.
31469
99710781
LD
314702011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31471
31472 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31473 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
31474 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
31475 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
31476 * sysdeps/x86_64/multiarch/strcat.S: New file.
31477 * sysdeps/x86_64/multiarch/strncat.S: New file.
31478 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
31479 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
31480 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
31481 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
31482 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
31483 (USE_AS_STRCAT): Define.
31484 Add strcat and strncat support.
31485 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
31486 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
31487 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
31488 * string/strncat.c: Update.
31489 (USE_AS_STRNCAT): Define.
31490 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31491 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
31492 and i7.
31493 * sysdeps/x86_64/multiarch/init-arch.h
31494 (bit_Prefer_PMINUB_for_stringop): New.
31495 (index_Prefer_PMINUB_for_stringop): Likewise.
31496 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
31497 bit_Prefer_PMINUB_for_stringop.
31498
7dc6bd90
UD
314992011-07-19 Ulrich Drepper <drepper@gmail.com>
31500
31501 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
31502 buffer64.
31503 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
31504 of casting of buffer.
31505 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
31506 buffer32 and buffer64.
31507 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
31508 writes instead of casting of buffer.
31509 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
31510 buffer32.
31511 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
31512 casting of buffer.
31513
e0e72284
AS
315142011-07-19 Andreas Schwab <schwab@redhat.com>
31515
31516 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
31517
feb1eb0b
UD
315182011-07-19 Ulrich Drepper <drepper@gmail.com>
31519
31520 * nscd/nscd.c (termination_handler): Don't do anything for a database
31521 if it has not yet been initialized.
31522
298711ff
UD
315232011-07-18 Ulrich Drepper <drepper@gmail.com>
31524
31525 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
31526
315272011-07-15 Marek Polacek <mpolacek@redhat.com>
31528
31529 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
31530
f9d68389
UD
315312011-07-18 Ulrich Drepper <drepper@gmail.com>
31532
31533 * po/nl.po: Update from translation team.
31534 * po/sv.po: Likewise.
31535
db290cf5
RM
315362011-07-16 Roland McGrath <roland@hack.frob.com>
31537
31538 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
31539 now disallowed by GCC.
5c550700 31540
fd5e21c7
RM
31541 * configure.in (use-default-link): Default to yes if a test -shared
31542 link meets our qualifications.
31543 * configure: Regenerated.
31544
5c550700
RM
31545 * config.make.in (output-format): New variable.
31546 * configure.in: Check for ld --print-output-format support.
31547 * configure: Regenerated.
31548 * Makerules ($(common-objpfx)format.lds)
31549 [$(output-format) != unknown]: Just use $(output-format),
31550 instead of the linker-script munging.
31551
9fa2c032
RM
315522011-07-14 Roland McGrath <roland@hack.frob.com>
31553
a6928d51
RM
31554 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
31555 of $(common-objpfx)shlib.lds.
31556 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
31557
661607b3
RM
31558 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
31559 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
31560
9fa2c032
RM
31561 * configure.in (-z relro check): Adjust test code to add a large
31562 writable data section after it.
31563 * configure: Regenerated.
31564
defe9061
RM
315652011-07-11 Roland McGrath <roland@hack.frob.com>
31566
31567 * configure.in (-z relro check): Fix test code to make the variable
31568 truly const.
31569 * configure: Regenerated.
31570
319b9ad4
UD
315712011-07-11 Ulrich Drepper <drepper@gmail.com>
31572
31573 * nscd/nscd.h (struct traced_file): Define.
31574 (struct database_dyn): Remove inotify_descr, reset_res, and filename
31575 elements. Add traced_files.
31576 (inotify_fd): Declare.
31577 (register_traced_file): Declare.
31578 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
31579 (inotify_fd): Export.
31580 (resolv_conf_descr): Remove.
31581 (nscd_init): Move inotify descriptor creation to main.
31582 Don't register files for notification here.
31583 (register_traced_file): New function.
31584 (invalidate_cache): Don't use reset_res to determine whether to call
31585 res_init, go through the list of registered files.
31586 (main_loop_poll): The inotify descriptors are now stored in the
31587 structures for the traced files.
31588 (main_loop_epoll): Likewise
31589 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
31590 to __nss_disable_nscd.
31591 * nscd/cache.c (prune_cache): There is no single inotify descriptor
31592 for a database anymore. Check the records for all the registered
31593 files instead.
31594 * nss/Makefile (libnss_files-routines): Add files-init.
31595 (libnss_db-routines): Add db-init.
31596 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
31597 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
31598 * nss/nss_db/db-init.c: New file.
31599 * nss/nss_files/files-init.c: New file.
31600 * nss/nsswitch.c (nss_load_library): New function. Broken out of
31601 __nss_lookup_function.
31602 (__nss_lookup_function): Call nss_load_library.
31603 (nss_load_all_libraries): New function.
31604 (__nss_disable_nscd): Take parameter with callback function for files
31605 to register. Set is_nscd. Load all the DSOs for the NSS modules
31606 used for the cached services.
31607 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
31608 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
31609 options for features to all the files in nscd.
31610
31611 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
31612
23bee3e8
RM
316132011-07-10 Roland McGrath <roland@hack.frob.com>
31614
31615 * csu/elf-init.c (__libc_csu_init): Comment typo.
31616
46a5b7f0
UD
316172011-07-09 Ulrich Drepper <drepper@gmail.com>
31618
31619 * po/pl.po: Update from translation team.
31620 * po/ja.po: Likewise.
31621 * po/ru.po: Likewise.
31622 * po/ko.po: Likewise.
31623 * po/fr.po: Likewise.
31624
d30cf5bb
RM
316252011-07-09 Roland McGrath <roland@hack.frob.com>
31626
113ddea4
RM
31627 * configure.in (.ctors/.dtors header and trailer check):
31628 Use an empirical test on a built program.
31629 * configure: Regenerated.
31630
574920b4
RM
31631 * configure.in (-z relro check): Use an empirical test on a built DSO.
31632 Detect, but do not require, on ia64.
31633 * configure: Regenerated.
31634
d30cf5bb
RM
31635 * configure.in (READELF): Find it with AC_CHECK_TOOL.
31636 Update tests that use readelf to use $READELF instead.
31637 * configure: Regenerated.
31638
8538fdb3
UD
316392011-07-08 Ulrich Drepper <drepper@gmail.com>
31640
31641 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
31642 if the result is not used.
31643
04d08991
AJ
316442011-07-05 Andreas Jaeger <aj@suse.de>
31645
31646 [BZ#9696]
31647 * stdlib/tst-strtod.c: Add testcase.
31648
de283087
AD
316492011-07-07 Ulrich Drepper <drepper@gmail.com>
31650
4e5f31c8 31651 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 31652 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
31653 The latter has a higher limit. Take additional parameter to pass to
31654 the new function.
31655 (__pathconf): Pass file to __statfs_link_max.
31656 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
31657 __statfs_link_max.
31658 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
31659 __statfs_link_max.
31660
de283087
AD
31661 [BZ #12868]
31662 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
31663 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31664 Handle Lustre.
31665 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
31666 (__statfs_filesize_max): Likewise.
31667 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
31668
c75fa153
AJ
316692011-07-05 Andreas Jaeger <aj@suse.de>
31670
31671 * resolv/res_comp.c (dn_skipname): Remove unused variable.
31672
1a544854
UD
316732011-07-06 Marek Polacek <mpolacek@redhat.com>
31674
31675 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
31676 `status' variable.
31677 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
31678 Likewise.
31679
6f0eec67
UD
316802011-07-04 H.J. Lu <hongjiu.lu@intel.com>
31681
31682 * Makefile (strop-tests): Add strncat.
31683 * string/test-strncat.c: New file.
31684
aae30307
UD
316852011-06-30 Marek Polacek <mpolacek@redhat.com>
31686
31687 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
31688
c0cfb5eb
UD
316892011-06-21 Andreas Jaeger <aj@suse.de>
31690
31691 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
31692 Copy rule from iconvdata/Makefile.
31693
01636b21
UD
316942011-07-06 Ulrich Drepper <drepper@gmail.com>
31695
31696 [BZ #12922]
31697 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
31698 but no long options are defined, just return 'W'.
31699
9895c8bc
UD
317002011-06-22 Marek Polacek <mpolacek@redhat.com>
31701
31702 [BZ #9696]
31703 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
31704
5d4cf042
UD
317052011-07-06 Ulrich Drepper <drepper@gmail.com>
31706
31707 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
31708 netgroups to read.
960e5535 31709 (innetgr): Likewise.
5d4cf042 31710
751eb97e
RM
317112011-07-05 Roland McGrath <roland@hack.frob.com>
31712
31713 * config.make.in (install_root): Default to $(DESTDIR).
31714
f15f1e45
UD
317152011-07-05 Ulrich Drepper <drepper@gmail.com>
31716
31717 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
31718
4e34ac6a
RM
317192011-07-02 Roland McGrath <roland@hack.frob.com>
31720
5e9b6af4
RM
31721 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
31722
84f9ea0f
RM
31723 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
31724 containing directory rather than embedding absolute directory names.
31725
ea5ee9f7
RM
31726 * scripts/check-local-headers.sh: Rewritten using awk.
31727 Match by word, not by line. Print error messages for matches.
31728 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
31729
1b74661a
RM
31730 * Makerules [shlib-lds-flags empty]:
31731 ($(common-objpfx)libc_pic.opts): New target.
31732 ($(common-objpfx)libc_pic.os.clean): New target.
31733 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
31734
31735 * config.make.in (OBJCOPY): New variable.
31736 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
31737 * configure: Regenerated.
31738
f781ef40
RM
31739 * config.make.in (use-default-link): New variable.
31740 * configure.in (use_default_link): Grok --with-default-link to set it.
31741 * configure: Regenerated.
31742 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
31743 (shlib-lds, shlib-lds-flags): Define to empty.
31744
2d4fa81e
RM
31745 * Makerules (shlib-lds): New variable.
31746 (shlib-lds-flags): New variable.
31747 (build-shlib, build-moduile, build-module-asneeded): Use it.
31748 ($(common-objpfx)libc.so): Use $(shlib-lds).
31749 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
31750 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
31751
31fffa6b
RM
31752 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
31753 DT_FLAGS/DT_FLAGS_1 with zero flags.
31754
4e34ac6a
RM
31755 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
31756 linker script munging.
31757
fcfc776b
UD
317582011-07-02 Ulrich Drepper <drepper@gmail.com>
31759
31760 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
31761 as 128-bit value.
31762 * crypt/sha512.c (sha512_process_block): Perform total addition using
31763 128-bit if possible.
31764 (__sha512_finish_ctx): Likewise.
31765 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
31766 as 64-bit value.
31767 * crypt/sha256.c (SWAP64): Define.
31768 (sha256_process_block): Perform total addition using 64-bit if
31769 possible.
31770 (__sha256_finish_ctx): Likewise.
31771
99231d9a
UD
317722011-07-01 Ulrich Drepper <drepper@gmail.com>
31773
31774 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
31775 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31776 * nscd/hstcache.c (cache_addhst): Likewise.
31777 * nscd/grpcache.c (cache_addgr): Likewise.
31778 * nscd/aicache.c (addhstaiX): Likewise
31779 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
31780
445b4a53
TK
317812011-07-01 Thorsten Kukuk <kukuk@suse.de>
31782
31783 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
31784 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31785 * nscd/hstcache.c (cache_addhst): Likewise.
31786 * nscd/grpcache.c (cache_addgr): Likewise.
31787 * nscd/aicache.c (addhstaiX): Likewise
31788
6d4d8e8e
AS
317892011-07-01 Andreas Schwab <schwab@redhat.com>
31790
31791 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
31792 domain only when needed.
31793
89f654c5
AS
317942011-06-30 Andreas Schwab <schwab@redhat.com>
31795
31796 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
31797 is always restored.
31798
cf3b23ff
UD
317992011-06-29 Ulrich Drepper <drepper@gmail.com>
31800
31801 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
31802 are re-adding the entry.
31803 * nscd/servicescache.c (cache_addserv): Likewise.
31804
751626f9
AJ
318052011-06-30 Aurelien Jarno <aurelien@aurel32.net>
31806
31807 * sysdeps/generic/dl-irel.h: fix protection against multiple
31808 inclusions.
31809 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
31810
9113ea1f
UD
318112011-06-28 Ulrich Drepper <drepper@gmail.com>
31812
5c0b8d90
UD
31813 [BZ #12935]
31814 * malloc/memusage.sh: Fix quoting in message.
31815 * debug/xtrace.sh: Likewise.
31816
9113ea1f
UD
31817 * configure.in: Remove support for --experimental-malloc option, make
31818 it the default.
31819 * config.make.in: Likewise.
31820 * malloc/Makefile: Likewise.
31821
a4172181
AS
318222011-06-27 Andreas Schwab <schwab@redhat.com>
31823
31824 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
31825 two-byte characters.
31826
78a7eee7
RM
318272011-06-27 Roland McGrath <roland@hack.frob.com>
31828
62bede13
RM
31829 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
31830 AC_CACHE_CHECK invocation.
31831 * configure: Regenerated.
31832
78a7eee7
RM
31833 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
31834
5ce33a62
UD
318352011-06-27 Ulrich Drepper <drepper@gmail.com>
31836
034807a9
UD
31837 [BZ #12350]
31838 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
31839 bit from old_res_options.
31840
4902da17
UD
31841 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
31842
5ce33a62
UD
31843 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
31844 value type for setfct.
31845
c2344f56
L
318462011-06-23 H.J. Lu <hongjiu.lu@intel.com>
31847
31848 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
31849 __gettimeofday instead of gettimeofday.
31850
68468076
UD
318512011-06-26 Ulrich Drepper <drepper@gmail.com>
31852
31853 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
31854
acb0d739
L
318552011-06-24 H.J. Lu <hongjiu.lu@intel.com>
31856
31857 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
31858
31859 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
31860 info.
31861
8912479f
L
318622011-06-22 H.J. Lu <hongjiu.lu@intel.com>
31863
31864 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31865 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
31866 strcpy-sse2-unaligned strncpy-sse2-unaligned
31867 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
31868 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
31869 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
31870 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
31871 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
31872 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
31873 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
31874 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
31875 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
31876 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
31877 (STRCPY): Support SSE2 and SSSE3 versions.
31878
d5495a11
UD
318792011-06-24 Ulrich Drepper <drepper@gmail.com>
31880
31881 [BZ #12874]
31882 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
31883 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
31884 kernels which artificially limit size of requests.
31885
0b1cbaae
L
318862011-06-22 H.J. Lu <hongjiu.lu@intel.com>
31887
31888 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31889 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
31890 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
31891 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
31892 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
31893 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
31894 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
31895 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
31896 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
31897 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
31898 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
31899 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
31900 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
31901 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
31902 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
31903 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31904 Enable unaligned load optimization for Intel Core i3, i5 and i7
31905 processors.
31906 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
31907 Define.
31908 (index_Fast_Unaligned_Load): Define.
31909 (HAS_FAST_UNALIGNED_LOAD): Define.
31910
07f494a0
MP
319112011-06-23 Marek Polacek <mpolacek@redhat.com>
31912
31913 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
31914
fa3fc0fe
UD
319152011-06-22 Ulrich Drepper <drepper@gmail.com>
31916
31917 [BZ #12907]
31918 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
31919 until it is clear that the information is realy needed.
31920 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
31921
e12df166
AS
319222011-06-22 Andreas Schwab <schwab@redhat.com>
31923
31924 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
31925
852eb34d
UD
319262011-06-22 Ulrich Drepper <drepper@gmail.com>
31927
84e2a551
UD
31928 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
31929 /sys/devices/system/cpu/online if it is usable.
31930
852eb34d
UD
31931 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
31932 reading the information from the /proc filesystem to once a second.
31933
6e502e19
UD
319342011-06-21 Andreas Jaeger <aj@suse.de>
31935
31936 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
31937 NULL after inclusion of kernel headers.
31938
75d39ff2
UD
319392011-06-21 Ulrich Drepper <drepper@gmail.com>
31940
51f9aa6a
UD
31941 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
31942 calls to internal_setent.
31943
c0244a9d
UD
31944 [BZ #12885]
31945 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
31946 addresses using gethostbyname4_r ignore IPv4 addresses.
31947
c5e3c2ae
UD
31948 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
31949 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
31950
75d39ff2
UD
31951 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
31952
42675c6f
DM
319532011-06-20 David S. Miller <davem@davemloft.net>
31954
31955 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
31956 inclusions.
31957 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
31958
31959 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
31960 (elf_irel): Use it.
31961 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
31962 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
31963 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
31964 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
31965 * sysdeps/x86_64/dl-irel.h: Likewise.
31966
31967 * elf/dl-runtime.c: Use elf_ifunc_invoke.
31968 * elf/dl-sym.c: Likewise.
31969
57912a71
UD
319702011-06-15 Ulrich Drepper <drepper@gmail.com>
31971
31972 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
31973 need to dereference resplen2.
31974
ee22793d
AS
319752011-06-14 Andreas Schwab <schwab@redhat.com>
31976
31977 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
31978
a9e836b0
UD
319792011-06-15 Ulrich Drepper <drepper@gmail.com>
31980
77fb9117
UD
31981 * Makeconfig: Define vardbdir and inst_vardbdir.
31982 * nss/Makefile: Add rules to install db-Makefile.
31983
40c1b22c
UD
31984 * nss/nss_db/db-XXX.c: Cleanup.
31985
9f2da732
UD
31986 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
31987 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
31988 GLIBC_PRIVATE.
31989 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
31990 * nss/makedb.c: Implement -g option to specify that value strings
31991 are generated and should not be added to table iterated over for
31992 get*ent calls.
31993 * nss/nss_db/db-initgroups.c: New file.
31994
82e9a1f7
UD
31995 * nss/getent.c: Add support for initgroups lookups through getgrouplist
31996 interface.
31997
c41af17e
UD
31998 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
31999 (internal_getgrouplist): Adjust to name change.
32000 Update use_initgroups_entry if this is not the first call.
32001 * nss/databases.def: Add initgroups entry.
32002
a9e836b0
UD
32003 * nss/makedb.c (compute_tables): Check result of multiple hash table
32004 sizes to minimize maximum chain length.
32005
2666d441
UD
320062011-06-14 Ulrich Drepper <drepper@gmail.com>
32007
32008 * Versions.def: Add entry for libnss_db.
32009 * shlib-versions: Likewise.
32010 * nss/Makefile: Add rules to build libnss_db.
32011 * nss/Versions: Add libnss_db information. Organize libnss_files
32012 entries better.
32013 * nss/db-Makefile: Add gshadow support. Change rules for the new
32014 makedb progra. Some minor improvements to generate smaller files.
32015 * nss/nss_db/nss_db.h: Move NSS database header data structures to
32016 here from...
32017 * nss/makedb.c: ...here.
32018 Improve database format to be smaller and require less memory at
32019 runtime.
32020 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
32021 db anymore.
32022 * nss/nss_db/db-netgrp.c: Likewise.
32023 * nss/nss_db/db-open.c: Likewise.
32024 * nss/nss_files/flies-XXX.x: Adjust comments.
32025 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
32026 * nss/nss_files/files-grp.c: Likewise.
32027 * nss/nss_files/files-hosts.c: Likewise.
32028 * nss/nss_files/files-network.c: Likewise.
32029 * nss/nss_files/files-proto.c: Likewise.
32030 * nss/nss_files/files-pwd.c: Likewise.
32031 * nss/nss_files/files-rpc.c: Likewise.
32032 * nss/nss_files/files-service.c: Likewise.
32033 * nss/nss_files/files-sgrp.c: Likewise.
32034 * nss/nss_files/files-spwd.c: Likewise.
32035 * nss/nss_db/db-alias.c: Removed.
32036 * nss/nss_db/dummy-db.h: Removed.
32037
9ee76b5a
UD
320382011-06-02 Ulrich Drepper <drepper@gmail.com>
32039
32040 * nss/makedb.c: Rewritten to not use database library.
32041 * nss/Makefile: Update to build new makedb program.
32042
c71ca1f8
AJ
320432011-06-14 Andreas Jaeger <aj@suse.de>
32044
32045 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
32046 memset declaration.
32047
3154bfb8
UD
320482011-06-10 Andreas Schwab <schwab@redhat.com>
32049
32050 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
32051 tmpbuf.
32052
b350afab
RM
320532011-06-10 Roland McGrath <roland@hack.frob.com>
32054
decd4e50
RM
32055 * Makerules (shlib.lds): Fail if the linker script comes out empty.
32056 * elf/Makefile ($(objpfx)ld.so): Likewise.
32057
5615eaf2
RM
32058 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
32059 Don't list ld.so twice in dependencies.
32060
32061 * posix/bug-regex31.c: Include <stdlib.h>.
32062
32063 * nscd/hstcache.c (cache_addhst): Remove unused variable.
32064
32065 * nis/nss_compat/compat-spwd.c
32066 (getspent_next_nss_netgr): Remove unused variable.
32067 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
32068
32069 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
32070 nonmembers" output to use the right array.
32071
32072 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
32073
32074 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
32075
32076 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
32077 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
32078 * catgets/gencat.c (read_input_file): Likewise.
32079 * locale/programs/locarchive.c (enlarge_archive): Likewise.
32080
32081 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
32082 variable definition inside #if's controlling its use.
32083
32084 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
32085
32086 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
32087
32088 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
32089
32090 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
32091 unreachable code.
32092
32093 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
32094
b68e08db
RM
32095 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
32096 * configure: Regenerated.
32097
b350afab
RM
32098 * Makerules: Revert last change.
32099 * elf/Makefile: Likewise.
32100
28368601
RM
321012011-06-09 Roland McGrath <roland@hack.frob.com>
32102
32103 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
32104 * elf/Makefile ($(objpfx)librtld.os): Likewise.
32105 (reloc-link): Likewise.
32106
11988f8f
UD
321072011-06-09 Ulrich Drepper <drepper@gmail.com>
32108
32109 * elf/Makefile: Add rules to build pldd.
32110 * elf/pldd.c: New file.
32111 * elf/pldd-xx.c: New file.
32112
e80fab37
UD
321132011-06-07 Ulrich Drepper <drepper@gmail.com>
32114
32115 * version.h: Update for 2.15 development version.
32116
9b849836
DM
321172011-06-07 David S. Miller <davem@davemloft.net>
32118
32119 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
32120 ifuncs.
32121 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
32122 elf_machine_lazy_rel): Likewise.
32123 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
32124 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
32125 elf_machine_lazy_rel): Likewise.
32126 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
32127 dl_hwcap via passed in argument.
32128 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
32129 Likewise.
32130
5a31b283
AK
321312011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32132
32133 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
32134
069e52f8
RM
321352011-06-06 Roland McGrath <roland@hack.frob.com>
32136
32137 [BZ #12849]
32138 * manual/fdl-1.1.texi: New file, verbatim from:
32139 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
32140 * manual/lgpl-2.1.texi: New file, verbatim from:
32141 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
32142 * manual/Makefile (licenses): New variable, list those new file names.
32143 (texis): Use it.
32144 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
32145
32146 * manual/fdl.texi: File removed.
32147 * manual/lesser.texi: File removed.
32148 * manual/libc.texinfo (Copying, Documentation License):
32149 Use new @include file names, put @appendix directive before @include.
32150
f16846a5
JJ
321512011-06-04 Jakub Jelinek <jakub@redhat.com>
32152
32153 [BZ #12841]
32154 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
32155 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
32156 (mq_open): Add __NTH.
32157
3d29045b
L
321582011-06-02 H.J. Lu <hongjiu.lu@intel.com>
32159
32160 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32161 Assume Intel Core i3/i5/i7 processor if AVX is available.
32162
8c297311
UD
321632011-05-31 Ulrich Drepper <drepper@gmail.com>
32164
32165 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
32166 typo.
32167
c8fc0c91
UD
321682011-05-31 Andreas Schwab <schwab@redhat.com>
32169
32170 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
32171 memory. Use alloca_account. Fix memory leak when retrying.
32172
5b27a807
UD
321732011-05-31 Ulrich Drepper <drepper@gmail.com>
32174
356f8bc6
UD
32175 * version.h (RELEASE): Bump for 2.14 release.
32176 * include/features.h (__GLIBC_MINOR__): Bump to 14.
32177
5b27a807
UD
32178 * config.make.in (RANLIB): Remove entry.
32179
01f16ab0
UD
321802011-05-30 Ulrich Drepper <drepper@gmail.com>
32181
41fce8bd
UD
32182 * po/Makefile (po-sed-cmd): Add ksh to extensions.
32183 (libc.pot): Work around missing support for .ksh extension in xgettext.
32184
4769ae77
UD
32185 [BZ #12684]
32186 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
32187 if both request failed.
32188 (send_dg): In case of server errors clear resplen or *resplen2.
32189
6b1e7d19
UD
32190 [BZ #12454]
32191 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
32192 when there are multiple maps.
32193 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
32194 (_dl_fini): Remove test here.
32195
01f16ab0
UD
32196 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
32197
b1ebd700
UD
321982011-05-29 Ulrich Drepper <drepper@gmail.com>
32199
7ae22829
UD
32200 [BZ #12350]
32201 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
32202 bit from old_res_options.
32203 (gaih_inet): Likewise.
32204
553149f6 32205 [BZ #11099]
18a84741 32206 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
32207 as signed.
32208
652ffab1
UD
32209 * resolv/res_init.c (res_setoptions): Make the code more compact.
32210
16985fd0
UD
32211 [BZ #11558]
32212 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
32213 set RES_USEVC.
32214
0464f746
UD
32215 [BZ #11634]
32216 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
32217
7d17596c
UD
32218 * malloc/malloc.h: Mark malloc hook variables as deprecated.
32219
cf6bbbd7
UD
32220 [BZ #11781]
32221 * malloc/malloc.h: Declare malloc hook variables as volatile.
32222
13f1ab36
UD
32223 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
32224 in last patch.
32225
b1ebd700
UD
32226 [BZ #11799]
32227 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 32228 raise in the comment.
80e2212d
UD
32229 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
32230 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
32231 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 32232
ce67228d
UD
322332011-05-28 Ulrich Drepper <drepper@gmail.com>
32234
8887a920
UD
32235 [BZ #12811]
32236 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
32237 grow the buffers more if it already has to be sufficient.
32238 (build_wcs_upper_buffer): Likewise.
32239 * posix/regexec.c (check_matching): Likewise.
32240 (clean_state_log_if_needed): Likewise.
32241 (extend_buffers): Don't enlarge buffers beyond size of the input
32242 buffer.
32243 Patches mostly by Emil Wojak <emil@wojak.eu>.
32244 * posix/bug-regex32.c: New file.
32245 * posix/Makefile (tests): Add bug-regex32.
32246
4f031072
UD
32247 * locale/findlocale.c (_nl_find_locale): Return right away if
32248 _nl_explode_name failed.
32249 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
32250
d0478f0c
UD
32251 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
32252
de81b246
UD
32253 * debug/xtrace.sh: Unify messages.
32254 * malloc/memusage.sh: Likewise.
32255
c738465a
UD
32256 [BZ #12813]
32257 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
32258 time symbol from vDSO. Substitute with vsyscall if not available.
32259 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
32260 __vdso_time.
32261
f1f929d7
UD
32262 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
32263 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
32264 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
32265 Add sendmmsg and internal_sendmmsg.
32266 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
32267 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
32268 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
32269
ce67228d
UD
32270 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
32271 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
32272 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
32273
e57420c6
UD
322742011-05-27 Ulrich Drepper <drepper@gmail.com>
32275
a8509ca5
UD
32276 [BZ #12813]
32277 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
32278 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
32279 available.
32280 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
32281 __vdso_getcpu.
32282
e57420c6
UD
32283 [BZ #12814]
32284 * iconvdata/Makefile (tests): Add bug-iconv9.
32285 * iconvdata/bug-iconv9.c: New file.
32286
4d07db15
AS
322872011-05-27 Andreas Schwab <schwab@redhat.com>
32288
32289 [BZ #12814]
32290 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
32291
ea486f69
JJ
322922011-05-25 Jakub Jelinek <jakub@redhat.com>
32293
32294 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
32295 (struct user_regs_struct): Change intcs field back to cs.
32296
6f038433
UD
322972011-05-25 Ulrich Drepper <drepper@gmail.com>
32298
32299 * po/ja.po: Update from translation team.
32300
67f86a25
UD
323012011-05-23 Ulrich Drepper <drepper@gmail.com>
32302
32303 [BZ #12795]
32304 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
32305 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
32306
def7fbd6
AS
323072011-05-20 Andreas Schwab <schwab@redhat.com>
32308
32309 * stdlib/longlong.h: Update from GCC.
32310
f50ef8f1
AS
323112011-05-23 Andreas Schwab <schwab@redhat.com>
32312
32313 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
32314 parameter name.
32315 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
32316 Add parameter name.
32317 (__sysconf): Pass it down.
32318
de7ce8f1
UD
323192011-05-22 Ulrich Drepper <drepper@gmail.com>
32320
f2962a71
UD
32321 [BZ #12671]
32322 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
32323 some situations.
32324 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
32325 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
32326 add in in __libc_use_alloca calls. Adjust callers.
32327 (glob): Use malloc in some situations.
32328
de7ce8f1
UD
32329 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
32330 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
32331 pltexit.
32332
aec84f53
UD
323332011-05-21 Ulrich Drepper <drepper@gmail.com>
32334
05bb4a68
UD
32335 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
32336 and CLOCK_BOOTTIME_ALARM.
32337
7ea72f99
UD
32338 [BZ #12782]
32339 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
32340 is returned.
32341
7e4afad5
UD
32342 * string/_strerror.c (__strerror_r): Print negative errors as signed
32343 numbers.
32344
8e211fec
UD
32345 [BZ #12777]
32346 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
32347 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
32348 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
32349
f7d82dc9
UD
32350 * configure.in: Fix typo in redirection and correct removal of test
32351 files in two cases.
32352
cc9e536d
UD
32353 [BZ #12788]
32354 * locale/setlocale.c (new_composite_name): Fix test to check for
32355 identical name of all categories.
32356
aec84f53
UD
32357 [BZ #12792]
32358 * libio/filedoalloc.c (local_isatty): New function.
32359 (_IO_file_doallocate): Use local_isatty.
32360 * stdio-common/perror.c (perror): In case a new stream is used
32361 forward the stream error.
32362 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
32363 error flag.
32364
78e64fdc
RT
323652011-05-20 Ulrich Drepper <drepper@gmail.com>
32366
34a9094f
UD
32367 [BZ #11869]
32368 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
32369 alloca.
32370 * include/alloca.h (extend_alloca_account): Define.
32371
78e64fdc
RT
32372 [BZ #11857]
32373 * posix/regex.h: Fix comments with documentation of user-accessible
32374 fields after compilation and describe correct free'ing of pattern
32375 after re_compile_pattern.
32376 Patch by Reuben Thomas <rrt@sc3d.org>.
32377
457bddfc
RA
323782011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
32379
32380 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
32381 and -mno-altivec to prevent the compiler from using Altivec and/or
32382 VSX instructions when the corresponding registers are not available.
32383
a4527b51
AS
323842011-05-19 Andreas Schwab <schwab@redhat.com>
32385
32386 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
32387
ed690b2f
UD
323882011-05-19 Ulrich Drepper <drepper@gmail.com>
32389
32390 * libio/freopen.c (freopen): Use __dup2, not dup2.
32391 * libio/freopen64.c (freopen64): Likewise.
32392
8db73634
L
323932011-05-17 H.J. Lu <hongjiu.lu@intel.com>
32394
32395 [BZ #12775]
32396 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
32397 * math/Makefile (tests): Add test-powl.
32398 (CFLAGS-test-powl.c): Define.
32399 * math/test-powl.c: New file.
32400
0a197a9d
L
324012011-05-16 H.J. Lu <hongjiu.lu@intel.com>
32402
32403 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
32404
ee30c380
UD
324052011-05-17 Ulrich Drepper <drepper@gmail.com>
32406
32407 [BZ #11837]
32408 * iconvdata/gb18030.c: Update to GB18020-2005.
32409
6ce75379
UD
324102011-05-16 Ulrich Drepper <drepper@gmail.com>
32411
a4b89fd8
AR
32412 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
32413 RE_SYNTAX_POSIX_AWK): Update to match recent development.
32414 Patch by Aharon Robbins <arnold@skeeve.com>.
32415
ea389b12
UD
32416 [BZ #11892]
32417 * stdlib/putenv.c (putenv): Don't always create copy of the variable
32418 on the stack.
32419
68a3f91f
UD
32420 [BZ #11895]
32421 * misc/pselect.c (__pselect): Handle timeout value errors hidden
32422 through underflows.
32423
15cc7dd1
UD
32424 [BZ #12766]
32425 * misc/error.c (error_at_line): Ensure file_name and old_file_name
32426 point to strings before performing equality test for error_one_per_line
32427 mode.
32428
f3799213
UD
32429 [BZ #11697]
32430 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
32431
d79a9c94
UD
32432 [BZ #11820]
32433 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
32434 (struct user_fpregs_struct): Avoid __uint*_t types.
32435
56e5eb46
UD
32436 [BZ #6420]
32437 * malloc/mtrace.c (tr_where): Add additional parameter to point to
32438 symbol info. Use it instead of calling _dl_addr locally.
32439 (lock_and_info): New function.
32440 (tr_freehook): Call lock_and_info and pass symbol info as additional
32441 parameter to tr_where.
32442 (tr_mallochook): Likewise.
32443 (tr_reallochook): Likewise.
32444 (tr_memalignhook): Likewise.
32445
6ce75379
UD
32446 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
32447 used and couldn't be at all thread-safe.
32448
f8a3b5bf
UD
324492011-05-15 Ulrich Drepper <drepper@gmail.com>
32450
94b7cc37
UD
32451 * libio/freopen.c (freopen): Don't close old file descriptor
32452 before the new one is opened. Instead dup the new file descriptor
32453 to the old one after the new stream is created.
32454 * libio/freopen64.c (freopen64): Likewise.
32455 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
32456 * libio/fileops.c (_IO_new_file_close_it): Handle new
32457 _IO_FLAGS2_NOCLOSE flag.
32458 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
32459 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
32460 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
32461 _IO_FLAGS2_NOCLOSE flag.
32462 * include/unistd.h: Add hidden_proto for dup3.
32463 Define __have_dup3.
32464 * io/dup3.c: Define hidden symbol.
32465 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
32466
bd25564e
UD
32467 [BZ #7101]
32468 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
32469 when an incomplete long option is used.
32470 * posix/tst-getopt_long1.c: New file.
32471 * posix/Makefile (tests): Add tst-getopt_long1.
32472
c84cfef4
UD
32473 [BZ #10138]
32474 * scripts/config.guess: Update from autoconf-2.68.
32475 * scripts/config.sub: Likewise.
32476
3b85df27
UD
32477 [BZ #10157]
32478 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
32479 tests into ...
32480 (has_cpuclock): ...this. New function.
32481 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
32482 macro here based on has_cpuclock code.
32483
15a856b1
UD
32484 [BZ #10149]
32485 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32486 First byte (not low byte) is now always NUL.
32487 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
32488
05f399e6
UD
32489 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32490 Use non-cancelable interfaces.
32491
10a52685 32492 [BZ #9809]
94ecc67d
UD
32493 * locale/iso-639.def: Add entry for Sorani.
32494
f8a3b5bf
UD
32495 [BZ #11901]
32496 * include/stdlib.h: Move include protection to the right place.
32497 Define abort_msg_s. Declare __abort_msg with it.
32498 * stdlib/abort.c (__abort_msg): Adjust type.
32499 * assert/assert.c (__assert_fail_base): New function. Majority
32500 of code from __assert_fail. Allocate memory for __abort_msg with
32501 mmap.
32502 (__assert_fail): Now call __assert_fail_base.
32503 * assert/assert-perr.c: Remove bulk of implementation. Use
32504 __assert_fail_base.
32505 * include/assert.hL Declare __assert_fail_base.
32506 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
32507 mmap.
32508 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
32509
1af4e298
UD
325102011-05-14 Ulrich Drepper <drepper@gmail.com>
32511
f8a3b5bf 32512 [BZ #11952]
d26dfc60
MG
32513 [BZ #12453]
32514 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
32515 until all modules are registered in the DTV.
32516 * elf/Makefile: Add rules to build and run tst-tls19.
32517 * elf/tst-tls19.c: New file.
32518 * elf/tst-tls19mod1.c: New file.
32519 * elf/tst-tls19mod2.c: New file.
32520 * elf/tst-tls19mod3.c: New file.
32521 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
32522
2fc54d6f
UD
32523 [BZ #12083]
32524 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
32525 correctly.
32526
98d76b46
UD
32527 [BZ #12601]
32528 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
32529 two-byte sequence errors.
32530 * iconvdata/Makefile (tests): Add bug-iconv8.
32531 * iconvdata/bug-iconv8.c: New file.
32532
da3c19ef
UD
32533 [BZ #12626]
32534 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
32535 buf2 definition.
32536
ca408c15
UD
32537 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
32538
d6f67f7d
UD
32539 [BZ #12432]
32540 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
32541 (dummy_getcfa): New function.
32542 (init): Get _Unwind_GetCFA address, use dummy if not found.
32543 (backtrace_helper): In recursion check, also check whether CFA changes.
32544 (__backtrace): Completely initialize arg.
32545
1af4e298 32546 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
32547 storing incomplete byte sequence in state object. Avoid testing for
32548 guaranteed too small input if we know there is enough data available.
1af4e298 32549
da62f81b
AS
325502011-05-11 Andreas Schwab <schwab@redhat.com>
32551
32552 * Makeconfig (+link-pie): Indent.
32553 * Rules (binaries-pie): Define if $(have-fpie) and
32554 $(build-shared).
32555 (binaries-shared): Also filter out $(binaries-pie).
32556 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
32557 * nscd/Makefile (others-pie): Add nscd.
32558 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
32559 ($(objpfx)nscd): Remove command override.
32560 * login/Makefile (others-pie): Add pt_chown.
32561 ($(objpfx)pt_chown): Remove command override.
32562 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
32563 remove command overrides.
32564
fcabc0f8
UD
325652011-05-13 Ulrich Drepper <drepper@gmail.com>
32566
20030ae6
UD
32567 * libio/tst_putwc.c: Fix error messages.
32568
fcabc0f8
UD
32569 [BZ #12724]
32570 * libio/fileops.c (_IO_new_file_close_it): Always flush when
32571 currently writing and seek to current position when not.
32572 * libio/Makefile (tests): Add bug-fclose1.
32573 * libio/bug-fclose1.c: New file.
32574
320a5dc0
PB
325752011-05-12 Ulrich Drepper <drepper@gmail.com>
32576
32577 [BZ #12511]
32578 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
32579 don't set DF_1_NODELETE here.
32580 (do_lookup_x): When entering new entry test for copy relocation
32581 and if necessary set DF_1_NODELETE flag.
32582 * elf/tst-unique4.cc: New file.
32583 * elf/tst-unique4.h: New file.
32584 * elf/tst-unique4lib.cc: New file.
32585 * elf/Makefile: Add rules to build and run tst-unique4.
32586 Patch by Piotr Bury <pbury@goahead.com>.
32587
22836f52
UD
325882011-05-11 Ulrich Drepper <drepper@gmail.com>
32589
f574184a
UD
32590 [BZ #12052]
32591 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
32592
e1fb097f
UD
32593 [BZ #12625]
32594 * misc/mntent_r.c (addmntent): Flush the stream after the output
32595
22836f52
UD
32596 [BZ #12393]
32597 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
32598 (is_trusted_path_normalize): Skip initial colon. Append slash
32599 to empty buffer. Duplicate is_trusted_path code but allow
32600 constructed patch to be prefix.
32601 (is_dst): Allow $ORIGIN followed by /.
32602 (_dl_dst_substitute): Correct clearing of check_for_trusted.
32603 Correct testing of result of is_trusted_path_normalize
32604 (decompose_rpath): Fix warning.
32605
7b3b0b2a
UD
326062011-05-10 Ulrich Drepper <drepper@gmail.com>
32607
32608 [BZ #11257]
32609 * grp/initgroups.c (internal_getgrouplist): When we found the service
32610 list through the initgroups entry in nsswitch.conf do not always
32611 continue on a successful lookup. Don't always use the
eac80ce2 32612 __nss_group_database value if it is set.
7b3b0b2a
UD
32613 * nss/nsswitch.conf (initgroups): Change action for successful db
32614 lookup to continue for compatibility.
32615
2a81eaa5
UD
326162011-05-09 Ulrich Drepper <drepper@gmail.com>
32617
be97a69e
UD
32618 [BZ #11532]
32619 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
32620 and CP774 modules.
32621 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
32622 and CP774 modules.
32623 * iconvdata/tst-tables.sh: Likewise.
32624 * iconvdata/cp770.c: New file.
32625 * iconvdata/cp771.c: New file.
32626 * iconvdata/cp772.c: New file.
32627 * iconvdata/cp773.c: New file.
32628 * iconvdata/cp774.c: New file.
32629 * iconvdata/testdata/CP770: New file.
32630 * iconvdata/testdata/CP770..UTF8: New file.
32631 * iconvdata/testdata/CP771: New file.
32632 * iconvdata/testdata/CP771..UTF8: New file.
32633 * iconvdata/testdata/CP772: New file.
32634 * iconvdata/testdata/CP772..UTF8: New file.
32635 * iconvdata/testdata/CP773: New file.
32636 * iconvdata/testdata/CP773..UTF8: New file.
32637 * iconvdata/testdata/CP774: New file.
32638 * iconvdata/testdata/CP774..UTF8: New file.
32639
32640 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
32641 END CHARMAP line.
32642 * iconvdata/gen-8bit-gap.sh: Likewise.
32643 * iconvdata/gen-8bit.sh: Likewise.
32644
c1e9e399
UD
32645 * locale/iso-639.def: Add ary entry.
32646
24c55fb3 32647 [BZ #11258]
96b4b1b0
UD
32648 * locale/C-translit.h.in: Add U20A1 transliteration.
32649
bdc2f971
KB
32650 [BZ #12178]
32651 * locale/iso-639.def: Add wae entry.
32652 Patch by Kevin Bortis <bortis@translate-wae.ch>.
32653
2952b117
UD
32654 [BZ #12545]
32655 * locale/programs/localedef.c (construct_output_path): Use ssize_t
32656 for n.
32657
2a81eaa5
UD
32658 [BZ #12711]
32659 * locale/C-translit.h.in: Add entry for U20B9.
32660 Patch by pravin.d.s@gmail.com.
32661
28377d1b
UD
326622011-05-08 Ulrich Drepper <drepper@gmail.com>
32663
7fb90fb8
UD
32664 [BZ #12713]
32665 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
32666 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
32667 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
32668 in rtld. Use *stat64.
7fb90fb8 32669 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 32670 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 32671 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
32672 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
32673 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
32674 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
32675 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
32676 __fstatat64 macros.
7fb90fb8
UD
32677 * include/dirent.h: Add libc_hidden_proto for rewinddir.
32678 * dirent/rewinddir.c: Add libc_hidden_def.
32679 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 32680 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 32681
28377d1b
UD
32682 * include/dirent.h (__alloc_dir): Add flags parameter.
32683 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
32684 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
32685 __alloc_dir.
32686 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
32687 from fdopendir if O_CLOEXEC is already set.
32688
66bdbaa4
AM
326892011-03-15 Alan Modra <amodra@gmail.com>
32690
32691 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
32692 l_tls_firstbyte_offset non-zero. Save padding offset in
32693 l_tls_firstbyte_offset for later use.
32694 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
32695 freeing static tls block.
32696
95721191
JN
326972011-03-05 Jonathan Nieder <jrnieder@gmail.com>
32698
32699 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
32700 where #ifdef was intended. The intent is to prevent ARG_MAX from
32701 being defined by the kernel headers.
32702
f87dfb1f
UD
327032011-05-07 Ulrich Drepper <drepper@gmail.com>
32704
32705 [BZ #12734]
32706 * resolv/resolv.h: Define RES_NOTLDQUERY.
32707 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
32708 no-tld-query and set RES_NOTLDQUERY.
32709 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
32710 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
32711 modern BIND to search name as TLD unless forbidden.
32712
47c3cd7a
UD
327132011-05-07 Petr Baudis <pasky@suse.cz>
32714 Ulrich Drepper <drepper@gmail.com>
32715
32716 [BZ #12393]
32717 * elf/dl-load.c (fillin_rpath): Move trusted path check...
32718 (is_trusted_path): ...to here.
c1e9ea35 32719 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 32720 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 32721 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 32722
8a35c912
PP
327232011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
32724
32725 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
32726 __BEGIN/__END_DECLS.
32727
acd41f47
UD
327282011-05-06 Ulrich Drepper <drepper@gmail.com>
32729
32730 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
32731 NSS_STATUS_NOTFOUND if no record was found.
32732
597df647
AS
327332011-05-05 Andreas Schwab <schwab@redhat.com>
32734
32735 * sunrpc/Makefile (headers): Add rpc/netdb.h.
32736 (headers-not-in-tirpc): Remove rpc/netdb.h
32737 * resolv/netdb.h: Revert last change.
32738
b9af1301
PP
327392011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
32740
32741 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
32742 circular dependency between libgcc.a and libc.a.
32743
4e34d5f5
AS
327442011-05-05 Andreas Schwab <schwab@redhat.com>
32745
32746 * resolv/netdb.h: Don't include <rpc/netdb.h>.
32747 * nis/Makefile: Don't install rpcsvc/*.
32748 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
32749 instead of <rpc/types.h>.
32750 (MAXHOSTNAMELEN): Define.
32751
00ee369c
AS
327522011-05-03 Andreas Schwab <schwab@redhat.com>
32753
32754 * elf/ldconfig.c (add_dir): Don't crash on empty path.
32755
0b592a30
MB
327562011-04-28 Maciej Babinski <mbabinski@google.com>
32757
32758 [BZ #12714]
32759 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
32760 gethostbyname4_r when IPv6 results are possible.
32761
6e04cbbe
UD
327622011-05-02 Ulrich Drepper <drepper@gmail.com>
32763
32764 [BZ #12723]
32765 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
32766 _PC_PIPE_BUF handling.
32767
e4ecafe0
BH
327682011-04-30 Bruno Haible <bruno@clisp.org>
32769
32770 [BZ #12717]
32771 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
32772 * resolv/netdb.h (getnameinfo): Change type of flags parameter
32773 to 'int'.
32774 * inet/getnameinfo.c (getnameinfo): Likewise.
32775
125ee683
UD
327762011-04-29 Ulrich Drepper <drepper@gmail.com>
32777
32778 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
32779 to groups setting in database lookup.
32780 * nss/nsswitch.conf: Add initgroups entry.
32781
b722481a
EB
327822011-04-22 Ulrich Drepper <drepper@gmail.com>
32783
32784 [BZ #12685]
32785 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
32786 mode string.
32787 Patch by Eric Blake <eblake@redhat.com>.
32788
4df46dbd
L
327892011-04-20 H.J. Lu <hongjiu.lu@intel.com>
32790
32791 * sunrpc/Makefile (need-export-routines): Add svc_run.
32792 (routines): Remove svc_run.
32793 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
32794 * sunrpc/clnt_perr.c (clnt_perrno): Export.
32795 * sunrpc/svc_run.c (svc_run): Likewise.
32796 * sunrpc/svc_udp.c (svcudp_create): Likewise.
32797
e84142d2
UD
327982011-04-21 Ulrich Drepper <drepper@gmail.com>
32799
32800 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
32801 problem in reallocation in last patch.
32802
877175d8
UD
328032011-04-20 Ulrich Drepper <drepper@gmail.com>
32804
32805 * sunrpc/Makefile: Move inclusion of Rules.
32806
ab8eed78
UD
328072011-04-19 Ulrich Drepper <drepper@gmail.com>
32808
32809 * nss/nss_files/files-initgroups.c: New file.
32810 * nss/Makefile (libnss_files-routines): Add files-initgroups.
32811 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
32812 _nss_files_initgroups_dyn.
32813
e3d8f584
RS
328142011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
32815
32816 * elf/elf.h (R_ARM_IRELATIVE): Define.
32817
af190f45
UD
328182011-04-19 Ulrich Drepper <drepper@gmail.com>
32819
32820 * po/ru.po: Update from translation team.
32821
53cf59ef
UD
328222011-04-17 Ulrich Drepper <drepper@gmail.com>
32823
32824 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
32825 dependencies.
32826
4c559bcd
MF
328272011-02-06 Mike Frysinger <vapier@gentoo.org>
32828
32829 [BZ #12653]
32830 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
32831 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
32832 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
32833 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32834 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
32835
4420675c
AS
328362011-03-28 Andreas Schwab <schwab@linux-m68k.org>
32837
32838 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
32839 differing bytes.
32840 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
32841 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
32842 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
32843
75ea32ab
UD
328442011-04-17 Ulrich Drepper <drepper@gmail.com>
32845
32846 [BZ #12420]
32847 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
32848 storing it.
32849 * stdlib/bug-getcontext.c: New file.
32850 * stdlib/Makefile: Add rules to build and run bug-getcontext.
32851
27390476
AK
328522011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32853
32854 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
32855 instructions into .machine "z9-109".
32856 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
32857 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
32858
10442705
AK
328592011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32860
32861 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
32862 between environment variables and auxiliary vector.
32863
7b57bfe5
UD
328642011-04-16 Ulrich Drepper <drepper@gmail.com>
32865
32866 * Makefile: Add rules to build linkobj/libc.so.
32867 * include/libc-symbols.h: Define libc_hidden_nolink.
32868 * include/rpc/auth.h: Mark functions which are to be hidden.
32869 * include/rpc/auth_des.h: Likewise.
32870 * include/rpc/auth_unix.h: Likewise.
32871 * include/rpc/clnt.h: Likewise.
32872 * include/rpc/des_crypt.h: Likewise.
32873 * include/rpc/key_prot.h: Likewise.
32874 * include/rpc/pmap_clnt.h: Likewise.
32875 * include/rpc/pmap_prot.h: Likewise.
32876 * include/rpc/pmap_rmt.h: Likewise.
32877 * include/rpc/rpc_msg.h: Likewise.
32878 * include/rpc/svc.h: Likewise.
32879 * include/rpc/svc_auth.h: Likewise.
32880 * include/rpc/xdr.h: Likewise.
32881 * nis/Makefile: Link all DSOs against linkobj/libc.so.
32882 * nss/Makefile: Likewise.
32883 * sunrpc/Makefile: Don't install headers. Build library with normal
32884 entry points. Don't build rpcinfo. Link RPC tests appropriately.
32885 * sunrpc/auth_des.c: Hide exported symbols by default, export some
32886 for the compat linking library. Remove use of INTDEF/INTUSE.
32887 * sunrpc/auth_none.c: Likewise.
32888 * sunrpc/auth_unix.c: Likewise.
32889 * sunrpc/authdes_prot.c: Likewise.
32890 * sunrpc/authuxprot.c: Likewise.
32891 * sunrpc/clnt_gen.c: Likewise.
32892 * sunrpc/clnt_perr.c: Likewise.
32893 * sunrpc/clnt_raw.c: Likewise.
32894 * sunrpc/clnt_simp.c: Likewise.
32895 * sunrpc/clnt_tcp.c: Likewise.
32896 * sunrpc/clnt_udp.c: Likewise.
32897 * sunrpc/clnt_unix.c: Likewise.
32898 * sunrpc/des_crypt.c: Likewise.
32899 * sunrpc/des_soft.c: Likewise.
32900 * sunrpc/get_myaddr.c: Likewise.
32901 * sunrpc/key_call.c: Likewise.
32902 * sunrpc/key_prot.c: Likewise.
32903 * sunrpc/netname.c: Likewise.
32904 * sunrpc/pm_getmaps.c: Likewise.
32905 * sunrpc/pm_getport.c: Likewise.
32906 * sunrpc/pmap_clnt.c: Likewise.
32907 * sunrpc/pmap_prot.c: Likewise.
32908 * sunrpc/pmap_prot2.c: Likewise.
32909 * sunrpc/pmap_rmt.c: Likewise.
32910 * sunrpc/publickey.c: Likewise.
32911 * sunrpc/rpc_cmsg.c: Likewise.
32912 * sunrpc/rpc_common.c: Likewise.
32913 * sunrpc/rpc_dtable.c: Likewise.
32914 * sunrpc/rpc_prot.c: Likewise.
32915 * sunrpc/rpc_thread.c: Likewise.
32916 * sunrpc/rtime.c: Likewise.
32917 * sunrpc/svc.c: Likewise.
32918 * sunrpc/svc_auth.c: Likewise.
32919 * sunrpc/svc_authux.c: Likewise.
32920 * sunrpc/svc_raw.c: Likewise.
32921 * sunrpc/svc_run.c: Likewise.
32922 * sunrpc/svc_simple.c: Likewise.
32923 * sunrpc/svc_tcp.c: Likewise.
32924 * sunrpc/svc_udp.c: Likewise.
32925 * sunrpc/svc_unix.c: Likewise.
32926 * sunrpc/svcauth_des.c: Likewise.
32927 * sunrpc/xcrypt.c: Likewise.
32928 * sunrpc/xdr.c: Likewise.
32929 * sunrpc/xdr_array.c: Likewise.
32930 * sunrpc/xdr_float.c: Likewise.
32931 * sunrpc/xdr_intXX_t.c: Likewise.
32932 * sunrpc/xdr_mem.c: Likewise.
32933 * sunrpc/xdr_rec.c: Likewise.
32934 * sunrpc/xdr_ref.c: Likewise.
32935 * sunrpc/xdr_sizeof.c: Likewise.
32936 * sunrpc/xdr_stdio.c: Likewise.
32937
e6c61494
UD
329382011-04-10 Ulrich Drepper <drepper@gmail.com>
32939
32940 [BZ #12650]
32941 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
32942 * sysdeps/ia64/dl-tls.h: Likewise.
32943 * sysdeps/powerpc/dl-tls.h: Likewise.
32944 * sysdeps/s390/dl-tls.h: Likewise.
32945 * sysdeps/sh/dl-tls.h: Likewise.
32946 * sysdeps/sparc/dl-tls.h: Likewise.
32947 * sysdeps/x86_64/dl-tls.h: Likewise.
32948 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
32949
34fe483e
AS
329502011-03-14 Andreas Schwab <schwab@redhat.com>
32951
32952 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
32953 rpath element also skip the following colon.
32954 (expand_dynamic_string_token): Add is_path parameter and pass
32955 down to DL_DST_REQUIRED and _dl_dst_substitute.
32956 (decompose_rpath): Call expand_dynamic_string_token with
32957 non-zero is_path. Ignore empty rpaths.
32958 (_dl_map_object_from_fd): Call expand_dynamic_string_token
32959 with zero is_path.
32960
f12a32e6
AS
329612011-04-08 Andreas Schwab <schwab@linux-m68k.org>
32962
32963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
32964 Make cancelable.
32965
38a7d692
UD
329662011-04-09 Ulrich Drepper <drepper@gmail.com>
32967
32968 [BZ #12655]
32969 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
32970 Patch by Filipe David Manana <fdmanana@apache.org>.
32971
e451d22b
AS
329722011-04-07 Andreas Schwab <schwab@redhat.com>
32973
32974 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
32975 Maintain aligned stack.
32976 (CHECK_RSP): Remove unused macro.
32977
dedc7c7b
UD
329782011-04-03 Ulrich Drepper <drepper@gmail.com>
32979
32980 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
32981 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
32982
94521213
UD
329832011-04-02 Ulrich Drepper <drepper@gmail.com>
32984
32985 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
32986
8cb700c0 32987 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 32988
0354e355
L
329892011-03-26 H.J. Lu <hongjiu.lu@intel.com>
32990
32991 [BZ #12518]
32992 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
32993 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
32994 * sysdeps/x86_64/memmove.c: New file.
32995 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
32996 (memcpy): Renamed to ...
32997 (__new_memcpy): This.
32998 (memcpy): Provide GLIBC_2_14 memcpy.
32999 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
33000 (memcpy): Provide GLIBC_2_2_5 memcpy.
33001
8593482f
UD
330022011-04-01 Ulrich Drepper <drepper@gmail.com>
33003
33004 [BZ #12631]
33005 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
33006
81a5726b
AS
330072011-03-30 Andreas Schwab <schwab@redhat.com>
33008
33009 * misc/syncfs.c: New file.
33010 * misc/Makefile (routines): Add syncfs.
33011 * posix/unistd.h: Declare syncfs.
33012 * sysdeps/unix/syscalls.list: Add syncfs.
33013
00e5419f
AS
330142011-04-01 Andreas Schwab <schwab@redhat.com>
33015
33016 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
33017 open_by_handle_at.
33018 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
33019 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33020 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33021 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33022 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33023 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
33024 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33025
748876bf
UD
330262011-04-01 Ulrich Drepper <drepper@gmail.com>
33027
658e451d
UD
33028 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
33029 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33030 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
33031 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33032 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33033 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33034 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33035
748876bf
UD
33036 * io/Makefile: Compile fallocate.c, fallocate64.c, and
33037 sync_file_range.c with -fexceptions.
33038 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
33039 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
33040 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
33041 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
33042 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
33043 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
33044 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
33045 sync_file_range as cancellation point
33046 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
33047 now a wrapper around __call_sync_file_range with cancellation handling.
33048 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
33049 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
33050 function name to __call_sync_file_range.
33051 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
33052 Add call_sync_file_range.
748876bf 33053
6e63d5e1
AS
330542011-04-01 Andreas Schwab <schwab@redhat.com>
33055
33056 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 33057 bits/timex.h.
6e63d5e1 33058
46998f74
UD
330592011-04-01 Ulrich Drepper <drepper@gmail.com>
33060
4c1423ed
UD
33061 * iconv/iconv.h: Fix typo in comment.
33062 * io/fcntl.h: Likewise.
33063 * libio/stdio.h: Likewise.
33064 * posix/spawn.h: Likewise.
33065 * posix/unistd.h: Likewise.
33066 * stdlib/stdlib.h: Likewise.
33067 * time/time.h: Likewise.
33068 * wcsmbs/wchar.h: Likewise.
33069
158648c0
UD
33070 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
33071 open_by_handle): Add.
33072 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
33073 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
33074 Augment a few comments.
33075 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33076 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33077 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33078 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33079 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33080 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
33081 open_by_handle.
33082
46998f74
UD
33083 * io/fcntl.h (AT_EMPTY_PATH): Define.
33084
83fe108b
UD
330852011-03-30 Ulrich Drepper <drepper@gmail.com>
33086
33087 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
33088 * sysdeps/unix/sysv/linux/bits/time.h: New file.
33089 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
33090 to...
33091 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
33092 * Versions.def: Add GLIBC_2.14.
33093 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
33094 Export.
83fe108b 33095
bb242059
UD
330962011-03-22 Ulrich Drepper <drepper@gmail.com>
33097
33098 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
33099 round counter.
33100 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
33101
c97a1282
L
331022011-03-20 H.J. Lu <hongjiu.lu@intel.com>
33103
33104 [BZ #12597]
33105 * string/test-strncmp.c (do_page_test): New function.
33106 (check2): Likewise.
33107 (test_main): Call check2.
33108 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
33109
2a115601
UD
331102011-03-20 Ulrich Drepper <drepper@gmail.com>
33111
33112 [BZ #12587]
33113 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
33114 Handle cache information in CPU leaf 4.
33115 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
33116
8126d904
UD
331172011-03-18 Ulrich Drepper <drepper@gmail.com>
33118
042c49c6 33119 [BZ #12583]
8126d904
UD
33120 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
33121 character representation.
33122 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
33123
ccfe366e
RA
331242011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
33125
33126 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
33127 END(__isnan) to END(__isnanf) to match function entry point/label
33128 EALIGN(__isnanf,...).
33129
c6e13027
JJ
331302011-03-10 Jakub Jelinek <jakub@redhat.com>
33131
33132 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
33133
33f85a3f
UD
331342011-03-10 Ulrich Drepper <drepper@gmail.com>
33135
028478fa
UD
33136 [BZ #12510]
33137 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
33138 copy from the symbol referenced in the relocation to initialize the
33139 used variable.
33140 Patch by Piotr Bury <pbury@goahead.com>.
33141 * elf/Makefile: Add rules to build and tst-unique3.
33142 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
33143 * elf/tst-unique3.cc: New file.
33144 * elf/tst-unique3.h: New file.
33145 * elf/tst-unique3lib.cc: New file.
33146 * elf/tst-unique3lib2.cc: New file.
33147
33f85a3f
UD
33148 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
33149
03592fc7
MF
331502011-03-10 Mike Frysinger <vapier@gentoo.org>
33151
33152 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
33153 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
33154 to _start.
03592fc7 33155
6a5ee102
UD
331562011-03-06 Ulrich Drepper <drepper@gmail.com>
33157
33158 * elf/dl-load.c (_dl_map_object): If we are looking for the first
33159 to-be-loaded object along a path to loader is ld.so.
33160
7e4ba49c
HJ
331612011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
33162 Ulrich Drepper <drepper@gmail.com>
33163
33164 * sysdeps/x86_64/memset.S: After aligning destination, code
33165 branches to different locations depending on the value of
33166 misalignment, when multiarch is enabled. Fix this.
33167
331682011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
33169
33170 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
33171 Set _x86_64_preferred_memory_instruction for AMD processsors.
33172 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33173 Set bit_Prefer_SSE_for_memop for AMD processors.
33174
13a804de
UD
331752011-03-04 Ulrich Drepper <drepper@gmail.com>
33176
33177 * libio/fmemopen.c (fmemopen): Optimize a bit.
33178
9d25c392
AS
331792011-03-03 Andreas Schwab <schwab@redhat.com>
33180
33181 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
33182
a5543c6a
RM
331832011-03-03 Roland McGrath <roland@redhat.com>
33184
33185 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
33186
012d35f7
DM
331872011-02-28 Aurelien Jarno <aurelien@aurel32.net>
33188
7e4ba49c 33189 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
33190 __bzero_ultra1 instead of __memset_ultra1.
33191
4bff6e01
AS
331922011-02-23 Andreas Schwab <schwab@redhat.com>
33193 Ulrich Drepper <drepper@gmail.com>
33194
33195 [BZ #12509]
33196 * include/link.h (struct link_map): Add l_orig_initfini.
33197 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
33198 returning unsuccessfully.
33199 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
33200 close of a file loaded at startup, restore the original l_initfini
33201 list.
33202 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
33203 list, store the pointer.
33204 * elf/Makefile ($(objpfx)noload-mem): New rule.
33205 (noload-ENV): Define.
33206 (tests): Add $(objpfx)noload-mem.
33207 * elf/noload.c: Include <memcheck.h>.
33208 (main): Call mtrace. Close all opened handles.
33209
f2092faf
AS
332102011-02-17 Andreas Schwab <schwab@redhat.com>
33211
33212 [BZ #12454]
33213 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
33214 dependencies are missing.
33215
6c8a2e88
ST
332162011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
33217
f2092faf 33218 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
33219 Hurd needs munmap.
33220 * sysdeps/mach/hurd/ifreq.h: New file.
33221
84a42118
PB
332222011-01-27 Petr Baudis <pasky@suse.cz>
33223 Ulrich Drepper <drepper@gmail.com>
33224
071f805e 33225 [BZ 12445]#
84a42118
PB
33226 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
33227 to extend_alloca().
33228 * stdio-common/bug23.c: New file.
33229 * stdio-common/Makefile (tests): Add bug23.
33230
e23fe25b
AS
332312010-09-28 Andreas Schwab <schwab@redhat.com>
33232 Ulrich Drepper <drepper@gmail.com>
33233
33234 [BZ #12489]
33235 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
33236 before performing relro protection. At old place add assertion
33237 to make sure nothing changed.
33238
d3f02e10
NS
332392011-02-17 Nathan Sidwell <nathan@codesourcery.com>
33240 Glauber de Oliveira Costa <glommer@gmail.com>
33241
33242 * elf/elf.h: Add new ARM TLS relocs.
33243
d55fd7a5
RA
332442011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
33245
33246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
33247 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
33248 cast from r3.
33249 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
33250 'tests' variable.
33251 * sysdeps/wordsize-64/tst-writev.c: New file.
33252
2206397e
RA
332532011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
33254
33255 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
33256 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
33257 insns in _dl_start to prevent a TOC reference before relocs are
33258 resolved.
33259
e9433893
UD
332602011-02-15 Ulrich Drepper <drepper@gmail.com>
33261
33262 [BZ #12469]
33263 * Makeconfig: Remove RANLIB definition.
33264 * Makerules: Don't use RANLIB.
33265 * aclocal.m4: Remove ranlib test.
33266 * configure.in: No need to check for ranlib.
33267 * elf/rtld-Rules: Don't use RANLIB.
33268
f75286c6
ST
332692011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
33270
8e31c82d
ST
33271 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
33272 protection macro.
33273 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
33274 inclusion protection macro.
33275
f75286c6
ST
33276 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
33277 SIGRTMIN and SIGRTMAX and print information in that case only when
33278 SIGRTMIN is defined.
33279
c1d0e639
JJ
332802011-02-11 Jakub Jelinek <jakub@redhat.com>
33281
33282 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
33283 arginfo fn returning -1.
33284
33285 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
33286 and thousands string is zero terminated.
33287
edf9294e
AS
332882011-02-03 Andreas Schwab <schwab@redhat.com>
33289
33290 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
33291 sysdeps/unix/sysv/linux/bits/socket.h.
33292
2b7e92df
ST
332932011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
33294
edf9294e
AS
33295 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
33296 (__CPU_COUNT): Remove old macros.
33297 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
33298 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
33299 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
33300 (__sched_cpualloc, __sched_cpufree): Add declarations.
33301
a4c7ea7b
UD
333022011-02-05 Ulrich Drepper <drepper@gmail.com>
33303
33304 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
33305 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
33306 * nscd/aicache.c (addhstaiX): Return timeout of added value.
33307 (readdhstai): Return value of addhstaiX call.
33308 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
33309 (addgrbyX): Return value returned by cache_addgr.
33310 (readdgrbyname): Return value returned by addgrbyX.
33311 (readdgrbygid): Likewise.
33312 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
33313 (addpwbyX): Return value returned by cache_addpw.
33314 (readdpwbyname): Return value returned by addhstbyX.
33315 (readdpwbyuid): Likewise.
33316 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
33317 (addservbyX): Return value returned by cache_addserv.
33318 (readdservbyname): Return value returned by addservbyX:
33319 (readdservbyport): Likewise.
33320 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
33321 (addhstbyX): Return value returned by cache_addhst.
33322 (readdhstbyname): Return value returned by addhstbyX.
33323 (readdhstbyaddr): Likewise.
33324 (readdhstbynamev6): Likewise.
33325 (readdhstbyaddrv6): Likewise.
33326 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
33327 (readdinitgroups): Return value returned by addinitgroupsX.
33328 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
33329 (prune_cache): Keep track of timeout value of re-added entries.
33330 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
33331 * nscd/nscd.h: Adjust prototypes of readd* functions.
33332
a0bf67cc
RM
333332011-02-04 Roland McGrath <roland@redhat.com>
33334
33335 * nis/nis_server.c (nis_servstate): Use the right name for 0.
33336 (nis_stats): Likewise.
33337 * nis/nis_modify.c (nis_modify): Likewise.
33338 * nis/nis_remove.c (nis_remove): Likewise.
33339 * nis/nis_add.c (nis_add): Likewise.
33340
33341 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
33342
33343 * posix/fnmatch_loop.c: Add some consts.
33344
33345 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
33346
435b95eb
L
333472011-02-02 H.J. Lu <hongjiu.lu@intel.com>
33348
33349 [BZ #12460]
33350 * config.make.in (config-cflags-novzeroupper): Define.
33351 * configure.in: Substitute libc_cv_cc_novzeroupper.
33352 * elf/Makefile (AVX-CFLAGS): Define.
33353 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
33354 (CFLAGS-tst-auditmod4a.c): Likewise.
33355 (CFLAGS-tst-auditmod4b.c): Likewise.
33356 (CFLAGS-tst-auditmod6b.c): Likewise.
33357 (CFLAGS-tst-auditmod6c.c): Likewise.
33358 (CFLAGS-tst-auditmod7b.c): Likewise.
33359 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
33360
8517b15e
UD
333612011-02-02 Ulrich Drepper <drepper@gmail.com>
33362
33363 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
33364 function to the callback.
33365 Patch partly by Jiri Olsa <jolsa@redhat.com>.
33366
10a656fe
AS
333672011-02-02 Andreas Schwab <schwab@redhat.com>
33368
33369 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
33370 of errno.
33371
968dad0a
UD
333722011-01-19 Ulrich Drepper <drepper@gmail.com>
33373
9f94d2ea 33374 [BZ #11724]
968dad0a
UD
33375 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
33376 of constructors.
33377 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
33378 of destructors.
33379 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
33380
33381 [BZ #11724]
33382 * elf/Makefile: Add rules to build and run new test.
33383 * elf/tst-initorder.c: New file.
33384 * elf/tst-initorder.exp: New file.
33385 * elf/tst-initordera1.c: New file.
33386 * elf/tst-initordera2.c: New file.
33387 * elf/tst-initordera3.c: New file.
33388 * elf/tst-initordera4.c: New file.
33389 * elf/tst-initorderb1.c: New file.
33390 * elf/tst-initorderb2.c: New file.
33391 * elf/tst-order-a1.c: New file.
33392 * elf/tst-order-a2.c: New file.
33393 * elf/tst-order-a3.c: New file.
33394 * elf/tst-order-a4.c: New file.
33395 * elf/tst-order-b1.c: New file.
33396 * elf/tst-order-b2.c: New file.
33397 * elf/tst-order-main.c: New file.
33398 New test case by George Gensure <werkt0@gmail.com>.
33399
86e92359
UD
334002010-10-01 Andreas Schwab <schwab@redhat.com>
33401
33402 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
33403 decoding ACE if AI_CANONIDN.
33404
5d5732b0
UD
334052011-01-18 Ulrich Drepper <drepper@gmail.com>
33406
33407 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
33408
a77e8cbc
UD
334092011-01-17 Ulrich Drepper <drepper@gmail.com>
33410
6392473f
UD
33411 * version.h (RELEASE): Bump for 2.13 release.
33412 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
33413
620a0529
UD
33414 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
33415
18ba70a5
UD
33416 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
33417 MADV_NOHUGEPAGE.
32465c3e
UD
33418 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
33419 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
33420 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
33421 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
33422 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
33423 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
33424
c0dafcf1
UD
33425 * posix/getconf.c: Update copyright year.
33426 * catgets/gencat.c: Likewise.
33427 * csu/version.c: Likewise.
33428 * debug/catchsegv.sh: Likewise.
33429 * debug/xtrace.sh: Likewise.
33430 * elf/ldconfig.c: Likewise.
33431 * elf/ldd.bash.in: Likewise.
33432 * elf/sprof.c (print_version): Likewise.
33433 * iconv/iconv_prog.c: Likewise.
33434 * iconv/iconvconfig.c: Likewise.
33435 * locale/programs/locale.c: Likewise.
33436 * locale/programs/localedef.c: Likewise.
33437 * malloc/memusage.sh: Likewise.
33438 * malloc/mtrace.pl: Likewise.
33439 * nscd/nscd.c (print_version): Likewise.
33440 * nss/getent.c: Likewise.
33441
a77e8cbc
UD
33442 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
33443 PF_CAIF, and PF_ALG.
33444 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33445
77e8bddf
AS
334462011-01-16 Andreas Schwab <schwab@linux-m68k.org>
33447
1f20b93a
AS
33448 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
33449 (modules-names): Use them.
33450 (ifunc-test-modules, ifunc-pie-tests): Define.
33451 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
33452 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
33453 (test-extras): Likewise.
33454 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
33455 $(compile-command.c).
33456 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
33457 (all-built-dso): Define.
33458 (check-textrel.out, check-execstack.out): Depend on it.
33459
77e8bddf
AS
33460 * configure.in: Don't override --enable-multi-arch.
33461
bc425b33
UD
334622011-01-15 Ulrich Drepper <drepper@gmail.com>
33463
33464 [BZ #6812]
33465 * nscd/hstcache.c (tryagain): Define.
33466 (cache_addhst): Return tryagain not notfound for temporary errors.
33467 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
33468 failed.
33469
794c3ad3
UD
334702011-01-14 Ulrich Drepper <drepper@gmail.com>
33471
70181fdd
UD
33472 [BZ #10563]
33473 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
33474 to make the syscall.
33475 * sysdeps/unix/sysv/linux/setgroups.c: New file.
33476
794c3ad3
UD
33477 [BZ #12378]
33478 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
33479 and fall back to matching as normal character if the string ends before
33480 the matching ']' is found. This is what POSIX requires.
33481 * posix/testfnm.c: Adjust test result.
33482 * posix/globtest.sh: Adjust test result. Add new test.
33483 * posix/tst-fnmatch.input: Likewise.
33484 * posix/tst-fnmatch2.c: Add new test.
33485
68dc9497
AS
334862010-12-28 Andreas Schwab <schwab@linux-m68k.org>
33487
33488 * elf/Makefile (check-execstack): Revert last change. Depend on
33489 check-execstack.h.
33490 (check-execstack.h): New target.
33491 (generated): Add check-execstack.h.
33492 * elf/check-execstack.c: Include "check-execstack.h".
33493 (main): Revert last change.
33494 (handle_file): Return zero if GNU_STACK is absent and
33495 DEFAULT_STACK_PERMS doesn't include PF_X.
33496
451f001b
UD
334972011-01-13 Ulrich Drepper <drepper@gmail.com>
33498
cfa28e56
UD
33499 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
33500 in child fails because the descriptor is already closed.
8cf8ce17
UD
33501 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
33502 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
33503 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 33504
1086d70d
UD
33505 [BZ #12397]
33506 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
33507 syscall.
33508
451f001b
UD
33509 [BZ #10484]
33510 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
33511 temporary buffer used to handle multi lookups locally.
a85b5cb4 33512 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 33513
08769175
UD
335142011-01-12 Ulrich Drepper <drepper@gmail.com>
33515
33516 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
33517 loader is ld.so.
33518
5e49c52e
UD
335192011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
33520
33521 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
33522 alignment for SSE2.
33523
60522a5f
UD
335242011-01-12 Ulrich Drepper <drepper@gmail.com>
33525
33526 [BZ #12394]
33527 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
33528 characters. When rounding increased number of integer digits recompute
33529 number of groups.
33530 * stdio-common/tst-grouping.c: New file.
33531 * stdio-common/Makefile: Add rules to build and run tst-grouping.
33532
f257bbd7
UD
335332011-01-09 Ulrich Drepper <drepper@gmail.com>
33534
33535 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
33536 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
33537
33538 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
33539 void.
33540 * bits/select.h: Likewise.
33541
fa9c15cb
UD
335422011-01-08 Ulrich Drepper <drepper@gmail.com>
33543
33544 * po/ja.po: Update from translation team.
33545
16c2895f
DM
335462011-01-04 David S. Miller <davem@sunset.davemloft.net>
33547
33548 [BZ #11155]
33549 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
33550 implementation just like for lxstat, fxstatat, et al.
33551
2543fef2
JM
335522010-12-27 Jim Meyering <meyering@redhat.com>
33553
33554 [BZ #12348]
33555 * posix/regexec.c (build_trtable): Return failure indication upon
33556 calloc failure. Otherwise, re_search_internal could infloop on OOM.
33557
98727dbe
UD
335582010-12-25 Ulrich Drepper <drepper@gmail.com>
33559
5bd6dc5c
UD
33560 [BZ #12201]
33561 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
33562 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
33563 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
33564 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
33565
97983464
UD
33566 [BZ #12207]
33567 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
33568
98727dbe
UD
33569 [BZ #12204]
33570 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
33571 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
33572
4a531bb0
L
335732010-12-15 H.J. Lu <hongjiu.lu@intel.com>
33574
33575 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
33576 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
33577 script has SORT_BY_INIT_PRIORITY.
33578 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
33579 NO_CTORS_DTORS_SECTIONS is defined.
33580 * elf/soinit.c: Likewise.
33581 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
33582 NO_CTORS_DTORS_SECTIONS is defined.
33583 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
33584 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
33585 * sysdeps/sh/init-first.c: Likewise.
33586 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
33587
07eb4b71
UD
335882010-12-24 Ulrich Drepper <drepper@gmail.com>
33589
33590 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
33591 always use the slow path.
33592
30950a5f
RA
335932010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
33594
33595 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
33596 similar rule which adds the sysdep directories to the header search in
33597 order to pick up the correct platform stackinfo.h.
33598 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
33599 perform test if it is, otherwise return successfully without testing.
33600 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
33601 DEFAULT_STACK_PERMS define in stackinfo.h.
33602 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
33603 defined in stackinfo.h.
33604 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
33605 DEFAULT_STACK_PERMS defined in stackinfo.h.
33606 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
33607 * sysdeps/ia64/stackinfo.h: Likewise.
33608 * sysdeps/s390/stackinfo.h: Likewise.
33609 * sysdeps/sh/stackinfo.h: Likewise.
33610 * sysdeps/sparc/stackinfo.h: Likewise.
33611 * sysdeps/x86_64/stackinfo.h: Likewise.
33612 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
33613 PF_X for powerpc64. Retain PF_X for powerpc32.
33614
db753e2c
UD
336152010-12-19 Ulrich Drepper <drepper@gmail.com>
33616
14b697f7
UD
33617 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
33618 accurately.
db753e2c
UD
33619 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
33620 GETDENTS_64BIT_ALIGNED.
33621
28300719
UD
336222010-12-14 Ulrich Drepper <dreper@gmail.com>
33623
14b697f7 33624 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 33625
4f197237
AS
336262010-12-10 Andreas Schwab <schwab@redhat.com>
33627
dbb0472f
AS
33628 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
33629 _GNU_SOURCE.
33630
4f197237
AS
33631 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
33632 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
33633 Remove __restrict.
33634 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
33635 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
33636
fb88ac72
UD
336372010-12-09 Ulrich Drepper <drepper@gmail.com>
33638
33639 [BZ #11655]
33640 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
33641 are initialized.
33642
42acbb92
JJ
336432010-12-09 Jakub Jelinek <jakub@redhat.com>
33644
33645 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
33646
c038d98d
UD
336472010-12-03 Ulrich Drepper <drepper@gmail.com>
33648
33649 * po/it.po: Update from translation team.
33650
3a4a2499
L
336512010-12-01 H.J. Lu <hongjiu.lu@intel.com>
33652
33653 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
33654 unused codes.
33655
1e24cf6e
UD
336562010-11-30 Ulrich Drepper <drepper@gmail.com>
33657
33658 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
33659
a7690819
AS
336602010-11-24 Andreas Schwab <schwab@redhat.com>
33661
33662 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
33663 specially.
33664 (gaih_getanswer_slice): Likewise.
33665
3bf8d1b1
JJ
336662010-10-20 Jakub Jelinek <jakub@redhat.com>
33667
33668 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
33669
6db52fbb
PB
336702010-05-31 Petr Baudis <pasky@suse.cz>
33671
33672 [BZ #11149]
33673 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
33674 silently even in the chroot mode.
33675
eaca7569
UD
336762010-11-22 Ulrich Drepper <drepper@gmail.com>
33677
33678 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
33679 last patch a bit. Pretty printing
33680
3056dcdb
UD
336812010-05-31 Petr Baudis <pasky@suse.cz>
33682
33683 [BZ #10085]
33684 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
33685 initialization of skip_initgroups_dyn.
33686
cf7c9078
UD
336872010-11-19 Ulrich Drepper <drepper@gmail.com>
33688
33689 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
33690 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
33691
a1fb5e3e
UD
336922010-11-16 Ulrich Drepper <drepper@gmail.com>
33693
33694 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
33695
3540d66b
AS
336962010-11-11 Andreas Schwab <schwab@redhat.com>
33697
33698 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
33699 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
33700 (tst-fnmatch-ENV): Set MALLOC_TRACE.
33701 ($(objpfx)tst-fnmatch-mem): New rule.
33702 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
33703 * posix/tst-fnmatch.c (main): Call mtrace.
33704
13b69574
L
337052010-11-11 H.J. Lu <hongjiu.lu@intel.com>
33706
33707 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33708 Support Intel processor model 6 and model 0x2c.
33709
da93d214
LM
337102010-11-10 Luis Machado <luisgpm@br.ibm.com>
33711
33712 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
33713 signed comparison.
33714
8ca52c6e
L
337152010-11-09 H.J. Lu <hongjiu.lu@intel.com>
33716
33717 [BZ #12205]
33718 * string/test-strncasecmp.c (check_result): New function.
33719 (do_one_test): Use it.
33720 (check1): New function.
33721 (test_main): Use it.
33722 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
33723 Support strcasecmp and strncasecmp.
33724
69da074d
UD
337252010-11-08 Ulrich Drepper <drepper@gmail.com>
33726
33727 [BZ #12194]
33728 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
33729 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33730
ff02d528
L
337312010-11-07 H.J. Lu <hongjiu.lu@intel.com>
33732
33733 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
33734 IFUNC support.
33735 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33736 memset-x86-64.
33737 * sysdeps/x86_64/multiarch/bzero.S: New file.
33738 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
33739 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
33740 * sysdeps/x86_64/multiarch/memset.S: New file.
33741 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
33742 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33743 Set bit_Prefer_SSE_for_memop for Intel processors.
33744 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
33745 Define.
33746 (index_Prefer_SSE_for_memop): Define.
33747 (HAS_PREFER_SSE_FOR_MEMOP): Define.
33748
344d0b54
LM
337492010-11-04 Luis Machado <luisgpm@br.ibm.com>
33750
33751 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
33752 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
33753
c0dde15b
UD
337542010-11-03 H.J. Lu <hongjiu.lu@intel.com>
33755
33756 [BZ #12191]
33757 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
33758 (__x86_64_raw_data_cache_size_half): Likewise.
33759 (__x86_64_raw_shared_cache_size): Likewise.
33760 (__x86_64_raw_shared_cache_size_half): Likewise.
33761
33762 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
33763 (__x86_64_raw_data_cache_size_half): Likewise.
33764 (__x86_64_raw_shared_cache_size): Likewise.
33765 (__x86_64_raw_shared_cache_size_half): Likewise.
33766 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
33767 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
33768 and __x86_64_raw_shared_cache_size_half. Round
33769 __x86_64_data_cache_size_half, __x86_64_data_cache_size
33770 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
33771 to multiple of 256 bytes.
33772
0e516e0e
MS
337732010-11-03 Ulrich Drepper <drepper@gmail.com>
33774
33775 [BZ #12167]
33776 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
33777 of inacessible symlinks. Verify result of symlink before returning it.
33778 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
33779 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
33780
0e012e87
ER
337812010-10-28 Erich Ritz <erichritz@gmail.com>
33782
33783 * math/math.h (isinf): Fix typo in comment.
33784
de0ff7bc
UD
337852010-11-01 Ulrich Drepper <drepper@gmail.com>
33786
33787 * po/da.po: Update from translation team.
33788
fa41c84d
UD
337892010-10-26 Ulrich Drepper <drepper@gmail.com>
33790
33791 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
33792 is added to the list.
33793
f0967738
AK
337942010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33795 Ulrich Drepper <drepper@gmail.com>
33796
33797 * elf/dl-object.c (_dl_new_object): Don't append the new object to
33798 the global list here. Move code to...
33799 (_dl_add_to_namespace_list): ...here. New function.
33800 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
33801 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
33802 * elf/dl-load.c (lose): Don't remove the element from the list.
33803 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
33804 (_dl_map_object): Likewise.
33805
338062010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
33807
33808 [BZ #12159]
33809 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
33810 into all bytes of SSE register.
33811 Patch by Richard Li <richardpku@gmail.com>.
33812
f0967738 338132010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
33814
33815 [BZ #12140]
33816 * malloc/malloc.c (_int_free): Fill correct number of bytes when
33817 perturbing.
33818
d0b9e94f
MB
338192010-10-20 Michael B. Brutman <brutman@us.ibm.com>
33820
33821 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
33822 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
33823 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
33824 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
33825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
33826 submachine.
33827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
33828
8e9f92e9
AS
338292010-10-22 Andreas Schwab <schwab@redhat.com>
33830
33831 * include/dlfcn.h (__RTLD_SECURE): Define.
33832 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
33833 mode & __RTLD_SECURE instead.
33834 (open_path): Rename preloaded parameter to secure.
33835 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
33836 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
33837 * elf/dl-deps.c (openaux): Likewise.
33838 * elf/rtld.c (struct map_args): Remove is_preloaded.
33839 (map_doit): Don't use it.
33840 (dl_main): Likewise.
33841 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
33842 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
33843
bc96fbda
AS
338442010-09-09 Andreas Schwab <schwab@redhat.com>
33845
33846 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
33847 (sysd-rules-targets): Remove duplicates.
33848 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
33849 rtld-%.$o dependency.
33850
22cd1c9b
AS
338512010-10-18 Andreas Schwab <schwab@redhat.com>
33852
33853 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
33854 _dl_map_object do it.
33855
18edac48
UD
338562010-10-19 Ulrich Drepper <drepper@gmail.com>
33857
33858 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
33859 fast fma builtins, define the macros in the C99 standard.
33860 (FP_FAST_FMAF): Likewise.
33861 (FP_FAST_FMAL): Likewise.
33862 * sysdeps/x86_64/bits/mathdef.h: Likewise.
33863
33864 * bits/mathdef.h: Update copyright year.
33865 * sysdeps/powerpc/bits/mathdef.h: Likewise.
33866
d2050124
MM
338672010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
33868
33869 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
33870 builtins, define the macros in the C99 standard.
33871 (FP_FAST_FMAF): Likewise.
33872 (FP_FAST_FMAL): Likewise.
33873 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
33874 multiply/add.
33875 (FP_FAST_FMAF): Likewise.
33876
475facd1
JJ
338772010-10-15 Jakub Jelinek <jakub@redhat.com>
33878
33879 [BZ #3268]
33880 * math/libm-test.inc (fma_test): Some new testcases.
33881 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
33882 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
33883 y and infinite z. Do multiplication by C already in long double.
33884 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
33885 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
33886 y and infinite z. Do bitwise or of inexact bit into u.d.
33887 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
33888 * sysdeps/i386/fpu/s_fmaf.S: Removed.
33889 * sysdeps/i386/fpu/s_fma.S: Removed.
33890 * sysdeps/i386/fpu/s_fmal.S: Removed.
33891
7c08a05c
JJ
338922010-10-16 Jakub Jelinek <jakub@redhat.com>
33893
33894 [BZ #3268]
33895 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
33896 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
33897 computation is not scheduled after fetestexcept. Fix value
33898 of minimum denormal long double.
33899
f3f7372d
JJ
339002010-10-14 Jakub Jelinek <jakub@redhat.com>
33901
33902 [BZ #3268]
33903 * math/libm-test.inc (fma_test): Add some more tests.
33904 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
33905 correctly.
33906
14d43591
AS
339072010-10-15 Andreas Schwab <schwab@redhat.com>
33908
33909 * scripts/data/localplt-s390-linux-gnu.data: New file.
33910 * scripts/data/localplt-s390x-linux-gnu.data: New file.
33911
5e908464
JJ
339122010-10-13 Jakub Jelinek <jakub@redhat.com>
33913
33914 [BZ #3268]
33915 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
33916 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
33917 instead of dbl-64.
33918 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
33919 inlines.
33920 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
33921 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
33922 if one of x and y is very large and the other is subnormal.
33923 * sysdeps/s390/fpu/s_fmaf.c: New file.
33924 * sysdeps/s390/fpu/s_fma.c: New file.
33925 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
33926 * sysdeps/powerpc/fpu/s_fma.S: New file.
33927 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
33928 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
33929 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
33930
339312010-10-12 Jakub Jelinek <jakub@redhat.com>
33932
33933 [BZ #3268]
33934 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
33935 fma tests.
33936 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
33937 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
33938 * sysdeps/i386/i686/multiarch/s_fma.c: Include
33939 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
33940 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
33941 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
33942 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
33943
b833d51f
UD
339442010-10-12 Ulrich Drepper <drepper@redhat.com>
33945
33946 [BZ #12078]
33947 * posix/regcomp.c (parse_branch): One more memory leak plugged.
33948 * posix/bug-regex31.input: Add test case.
33949
1751705d
UD
339502010-10-11 Ulrich Drepper <drepper@gmail.com>
33951
e9b9cbf5
UD
33952 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
33953 * posix/bug-regex31.input: New file.
33954
33955 [BZ #12078]
33956 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
33957 (parse_sub_exp): Fix last change, use postorder.
33958
ef06edbe
UD
33959 * posix/bug-regex31.c: New file.
33960 * posix/Makefile: Add rules to build and run bug-regex31.
33961
a129c80d
UD
33962 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
33963
33964 [BZ #12078]
33965 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
33966
b76b818e
UD
33967 [BZ #12108]
33968 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
33969 to have entries in sys_siglist.
33970
1751705d
UD
33971 [BZ #12093]
33972 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
33973 be NULL.
33974
9ff8d36f
JJ
339752010-10-07 Jakub Jelinek <jakub@redhat.com>
33976
33977 [BZ #3268]
33978 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
33979 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
33980 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
33981 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
33982 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
33983 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
33984 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
33985 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
33986 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
33987 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
33988 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
33989 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
33990 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
33991 * math/ftestexcept.c (fetestexcept): Likewise.
33992 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
33993 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
33994 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
33995 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
33996 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
33997 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
33998 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33999
af325969
UD
340002010-10-11 Ulrich Drepper <drepper@gmail.com>
34001
c579b202 34002 [BZ #12107]
af325969
UD
34003 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
34004 newline.
34005
67a67b95
UD
340062010-10-06 Ulrich Drepper <drepper@gmail.com>
34007
34008 * string/bug-strstr1.c: New file.
34009 * string/Makefile: Add rules to build and run bug-strstr1.
34010
5fb308bc
EB
340112010-10-05 Eric Blake <eblake@redhat.com>
34012
34013 [BZ #12092]
34014 * string/str-two-way.h (two_way_long_needle): Always clear memory
34015 when skipping input due to the shift table.
34016
45db99c7
UD
340172010-10-03 Ulrich Drepper <drepper@gmail.com>
34018
3b111893
UD
34019 [BZ #12005]
34020 * malloc/mcheck.c: Handle large requests.
34021
45db99c7
UD
34022 [BZ #12077]
34023 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
34024 for strncmp and strncasecmp.
34025 * string/stratcliff.c: Add tests for strcmp and strncmp.
34026 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
34027
cf7a1eb8
NI
340282010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34029
34030 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
34031 __set_fpscr.
34032
6484ba5e
AJ
340332010-09-30 Andreas Jaeger <aj@suse.de>
34034
34035 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
34036 (CGROUP_SUPER_MAGIC): Define.
34037 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34038 Handle btrfs and cgroup file systems.
34039 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
34040 Likewise.
34041
91c42559
LM
340422010-09-27 Luis Machado <luisgpm@br.ibm.com>
34043
34044 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
34045 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
34046
87a97932
AK
340472010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34048
34049 [BZ #12067]
34050 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
34051 trying to locate the ELF header.
34052
c21cc9bc
AS
340532010-09-27 Andreas Schwab <schwab@redhat.com>
34054
34055 [BZ #11611]
34056 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
34057 Mask out sign-bit copies when constructing f_fsid.
34058
315970f6
PB
340592010-09-24 Petr Baudis <pasky@suse.cz>
34060
34061 * debug/stack_chk_fail_local.c: Add missing licence exception.
34062 * debug/warning-nop.c: Likewise.
34063
1ac7a2c7
JM
340642010-09-15 Joseph Myers <joseph@codesourcery.com>
34065
34066 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
34067 implementing getdents64 using getdents syscall, set d_type if
34068 __ASSUME_GETDENTS32_D_TYPE.
34069
56801c50
AS
340702010-09-16 Andreas Schwab <schwab@redhat.com>
34071
34072 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
34073 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
34074
dda51327
UD
340752010-09-21 Ulrich Drepper <drepper@redhat.com>
34076
34077 [BZ #12037]
34078 * posix/unistd.h: Undo change of feature selection for ftruncate from
34079 2010-01-11.
34080
8ffcee4a
UD
340812010-09-20 Ulrich Drepper <drepper@redhat.com>
34082
a545ecd9 34083 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
34084 detection.
34085
e24f0a8b
AS
340862010-09-20 Andreas Schwab <schwab@redhat.com>
34087
34088 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
34089 fanotify_mark.
34090 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
34091
7291c56f
AS
340922010-09-14 Andreas Schwab <schwab@redhat.com>
34093
34094 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
34095 variables after CHECK_SP call.
34096 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
34097
bc5fb037
AS
340982010-09-13 Andreas Schwab <schwab@redhat.com>
34099 Ulrich Drepper <drepper@redhat.com>
34100
34101 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
34102 re-relocationg ld.so.
34103 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
34104 _dl_init_paths call.
34105 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
34106 here anymore.
34107
e66e7419
UD
341082010-09-14 Ulrich Drepper <drepper@redhat.com>
34109
34110 * resolv/res_init.c (__res_vinit): Count the default server we added.
34111
c044aa75
CLT
341122010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
34113 Ulrich Drepper <drepper@redhat.com>
34114
34115 [BZ #11968]
34116 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
34117 (____longjmp_chk): Use %ebx for saving value across system call.
34118 Add unwind info.
34119
32cf4069
AS
341202010-09-06 Andreas Schwab <schwab@redhat.com>
34121
34122 * manual/Makefile: Don't mix pattern rules with normal rules.
34123
817328ee
AS
341242010-09-05 Andreas Schwab <schwab@linux-m68k.org>
34125
34126 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
34127 operation.
34128 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
34129 * libio/iofopncook.c (_IO_cookie_init): Likewise.
34130 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
34131 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
34132 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34133 Likewise.
34134
29fddf61
UD
341352010-09-04 Ulrich Drepper <drepper@redhat.com>
34136
34137 [BZ #11979]
34138 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
34139 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
34140
0959ffc9
UD
341412010-09-02 Ulrich Drepper <drepper@redhat.com>
34142
34143 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
34144 * sysdeps/x86_64/addmul_1.S: Likewise.
34145 * sysdeps/x86_64/lshift.S: Likewise.
34146 * sysdeps/x86_64/mul_1.S: Likewise.
34147 * sysdeps/x86_64/rshift.S: Likewise.
34148 * sysdeps/x86_64/sub_n.S: Likewise.
34149 * sysdeps/x86_64/submul_1.S: Likewise.
34150
ece29840
ST
341512010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
34152
0959ffc9
UD
34153 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
34154 Define __sched_param instead of SCHED_* and sched_param when
ece29840 34155 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 34156 * bits/sched.h [__need_schedparam]
ece29840 34157 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
34158 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
34159 (__defined_schedparam): Define to 1.
ece29840
ST
34160 (__sched_param): New structure, identical to sched_param.
34161 (__need_schedparam): Undefine.
34162
e53a31fe
MF
341632010-08-31 Mike Frysinger <vapier@gentoo.org>
34164
fdc0c10d
MF
34165 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
34166 (epoll_create1): Declare.
34167
e53a31fe
MF
34168 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
34169
a726d796
AS
341702010-08-31 Andreas Schwab <schwab@redhat.com>
34171
34172 [BZ #7066]
34173 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
34174 shifting retval into place.
34175
2f3e3dc7
UD
341762010-09-01 Ulrich Drepper <drepper@redhat.com>
34177
f2933da9
UD
34178 * nis/rpcsvc/nis.h: Update copyright notice.
34179 * nis/rpcsvc/nis.x: Likewise.
34180 * nis/rpcsvc/nis_callback.h: Likewise.
34181 * nis/rpcsvc/nis_callback.x: Likewise.
34182 * nis/rpcsvc/nis_object.x: Likewise.
34183 * nis/rpcsvc/nis_tags.h: Likewise.
34184 * nis/rpcsvc/yp.h: Likewise.
34185 * nis/rpcsvc/yp.x: Likewise.
34186 * nis/rpcsvc/ypupd.h: Likewise.
34187 * nis/yp_xdr.c: Likewise.
34188 * nis/ypupdate_xdr.c: Likewise.
34189
2f3e3dc7
UD
34190 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
34191 mainly the body of pmap_getport. Add parameters to specify timeouts.
34192 (pmap_getport): Use __libc_rpc_getport.
34193 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
34194 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
34195 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
34196
f3dcc2f9
AS
341972010-08-31 Andreas Schwab <schwab@linux-m68k.org>
34198
34199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
34200 fanotify_mark.
34201
6d34eb5b
RM
342022010-08-27 Roland McGrath <roland@redhat.com>
34203
34204 * sysdeps/i386/i686/multiarch/Makefile
34205 (CFLAGS-varshift.c): New variable.
34206
9ea3de11
UD
342072010-08-27 Ulrich Drepper <drepper@redhat.com>
34208
c96d23fc
UD
34209 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
34210 * sysdeps/i386/i686/multiarch/varshift.c: New file.
34211
9ea3de11
UD
34212 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
34213
34214 * sysdeps/x86_64/strlen.S: Minimal code improvement.
34215
623aac7f
L
342162010-08-26 H.J. Lu <hongjiu.lu@intel.com>
34217
34218 * sysdeps/x86_64/strlen.S: Unroll the loop.
34219 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34220 strlen-sse2 strlen-sse2-bsf.
34221 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
34222 __strlen_no_bsf if bit_Slow_BSF is set.
34223 (__strlen_sse42): Removed.
34224 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
34225 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
34226
8b2b7715
RM
342272010-08-25 Roland McGrath <roland@redhat.com>
34228
34229 * sysdeps/x86_64/multiarch/varshift.S: File removed.
34230 * sysdeps/x86_64/multiarch/varshift.c: New file.
34231 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
34232 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
34233 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
34234 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
34235
e73015f2
L
342362010-08-25 H.J. Lu <hongjiu.lu@intel.com>
34237
34238 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34239 strlen-sse2 strlen-sse2-bsf.
34240 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
34241 __strlen_sse2_bsf if bit_Slow_BSF is unset.
34242 (__strlen_sse2): Removed.
34243 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
34244 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
34245 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
34246 bit_Slow_BSF for Atom.
34247 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
34248 (index_Slow_BSF): Define.
34249 (HAS_SLOW_BSF): Define.
34250
df24a73e
UD
342512010-08-25 Ulrich Drepper <drepper@redhat.com>
34252
34253 [BZ #10851]
34254 * resolv/res_init.c (__res_vinit): When no server address at all
34255 is given default to loopback.
34256
f2ac4868
RM
342572010-08-24 Roland McGrath <roland@redhat.com>
34258
09055553
RM
34259 * configure.in: Remove config-name.h generation.
34260 * configure: Regenerated.
34261 * config-name.in: File removed.
34262 * scripts/config-uname.sh: New file.
34263 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
34264 ($(objdir)config-name.h): New target.
34265
f2ac4868
RM
34266 * sunrpc/rpc_parse.h: Avoid nested comment.
34267
73f27d5e
RH
342682010-08-24 Richard Henderson <rth@redhat.com>
34269 Ulrich Drepper <drepper@redhat.com>
34270 H.J. Lu <hongjiu.lu@intel.com>
34271
34272 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
34273 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
34274 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
34275 Replace _mm_srli_si128 with __m128i_shift_right. Replace
34276 _mm_alignr_epi8 with _mm_loadu_si128.
34277 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
34278 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
34279 (__m128i_shift_right): Removed.
34280 * sysdeps/i386/i686/multiarch/varshift.h: New file.
34281 * sysdeps/i386/i686/multiarch/varshift.S: New file.
34282 * sysdeps/x86_64/multiarch/varshift.h: New file.
34283 * sysdeps/x86_64/multiarch/varshift.S: New file.
34284
84b9230c
MF
342852010-08-21 Mike Frysinger <vapier@gentoo.org>
34286
34287 * configure.in: Move assembler checks to before sysdep dir checking.
34288
9bbd0ddc
PB
342892010-08-20 Petr Baudis <pasky@suse.cz>
34290
34291 * LICENSES: Sync the sunrpc license.
34292
9da4bb31
UD
342932010-08-19 Ulrich Drepper <drepper@redhat.com>
34294
a7ab6ec8
UD
34295 * sunrpc/auth_des.c: Update copyright notice once again.
34296 * sunrpc/auth_none.c: Likewise.
34297 * sunrpc/auth_unix.c: Likewise.
34298 * sunrpc/authdes_prot.c: Likewise.
34299 * sunrpc/authuxprot.c: Likewise.
34300 * sunrpc/bindrsvprt.c: Likewise.
34301 * sunrpc/clnt_gen.c: Likewise.
34302 * sunrpc/clnt_perr.c: Likewise.
34303 * sunrpc/clnt_raw.c: Likewise.
34304 * sunrpc/clnt_simp.c: Likewise.
34305 * sunrpc/clnt_tcp.c: Likewise.
34306 * sunrpc/clnt_udp.c: Likewise.
34307 * sunrpc/clnt_unix.c: Likewise.
34308 * sunrpc/des_crypt.c: Likewise.
34309 * sunrpc/des_soft.c: Likewise.
34310 * sunrpc/get_myaddr.c: Likewise.
34311 * sunrpc/getrpcport.c: Likewise.
34312 * sunrpc/key_call.c: Likewise.
34313 * sunrpc/key_prot.c: Likewise.
34314 * sunrpc/openchild.c: Likewise.
34315 * sunrpc/pm_getmaps.c: Likewise.
34316 * sunrpc/pm_getport.c: Likewise.
34317 * sunrpc/pmap_clnt.c: Likewise.
34318 * sunrpc/pmap_prot.c: Likewise.
34319 * sunrpc/pmap_prot2.c: Likewise.
34320 * sunrpc/pmap_rmt.c: Likewise.
34321 * sunrpc/rpc/auth.h: Likewise.
34322 * sunrpc/rpc/auth_unix.h: Likewise.
34323 * sunrpc/rpc/clnt.h: Likewise.
34324 * sunrpc/rpc/des_crypt.h: Likewise.
34325 * sunrpc/rpc/key_prot.h: Likewise.
34326 * sunrpc/rpc/netdb.h: Likewise.
34327 * sunrpc/rpc/pmap_clnt.h: Likewise.
34328 * sunrpc/rpc/pmap_prot.h: Likewise.
34329 * sunrpc/rpc/pmap_rmt.h: Likewise.
34330 * sunrpc/rpc/rpc.h: Likewise.
34331 * sunrpc/rpc/rpc_des.h: Likewise.
34332 * sunrpc/rpc/rpc_msg.h: Likewise.
34333 * sunrpc/rpc/svc.h: Likewise.
34334 * sunrpc/rpc/svc_auth.h: Likewise.
34335 * sunrpc/rpc/types.h: Likewise.
34336 * sunrpc/rpc/xdr.h: Likewise.
34337 * sunrpc/rpc_clntout.c: Likewise.
34338 * sunrpc/rpc_cmsg.c: Likewise.
34339 * sunrpc/rpc_common.c: Likewise.
34340 * sunrpc/rpc_cout.c: Likewise.
34341 * sunrpc/rpc_dtable.c: Likewise.
34342 * sunrpc/rpc_hout.c: Likewise.
34343 * sunrpc/rpc_main.c: Likewise.
34344 * sunrpc/rpc_parse.c: Likewise.
34345 * sunrpc/rpc_parse.h: Likewise.
34346 * sunrpc/rpc_prot.c: Likewise.
34347 * sunrpc/rpc_sample.c: Likewise.
34348 * sunrpc/rpc_scan.c: Likewise.
34349 * sunrpc/rpc_scan.h: Likewise.
34350 * sunrpc/rpc_svcout.c: Likewise.
34351 * sunrpc/rpc_tblout.c: Likewise.
34352 * sunrpc/rpc_util.c: Likewise.
34353 * sunrpc/rpc_util.h: Likewise.
34354 * sunrpc/rpcinfo.c: Likewise.
34355 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
34356 * sunrpc/rpcsvc/key_prot.x: Likewise.
34357 * sunrpc/rpcsvc/klm_prot.x: Likewise.
34358 * sunrpc/rpcsvc/mount.x: Likewise.
34359 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
34360 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
34361 * sunrpc/rpcsvc/rex.x: Likewise.
34362 * sunrpc/rpcsvc/rstat.x: Likewise.
34363 * sunrpc/rpcsvc/rusers.x: Likewise.
34364 * sunrpc/rpcsvc/sm_inter.x: Likewise.
34365 * sunrpc/rpcsvc/spray.x: Likewise.
34366 * sunrpc/rpcsvc/yppasswd.x: Likewise.
34367 * sunrpc/rtime.c: Likewise.
34368 * sunrpc/svc.c: Likewise.
34369 * sunrpc/svc_auth.c: Likewise.
34370 * sunrpc/svc_authux.c: Likewise.
34371 * sunrpc/svc_raw.c: Likewise.
34372 * sunrpc/svc_run.c: Likewise.
34373 * sunrpc/svc_simple.c: Likewise.
34374 * sunrpc/svc_tcp.c: Likewise.
34375 * sunrpc/svc_udp.c: Likewise.
34376 * sunrpc/svc_unix.c: Likewise.
34377 * sunrpc/svcauth_des.c: Likewise.
34378 * sunrpc/xcrypt.c: Likewise.
34379 * sunrpc/xdr.c: Likewise.
34380 * sunrpc/xdr_array.c: Likewise.
34381 * sunrpc/xdr_float.c: Likewise.
34382 * sunrpc/xdr_mem.c: Likewise.
34383 * sunrpc/xdr_rec.c: Likewise.
34384 * sunrpc/xdr_ref.c: Likewise.
34385 * sunrpc/xdr_sizeof.c: Likewise.
34386 * sunrpc/xdr_stdio.c: Likewise.
34387
9da4bb31
UD
34388 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
34389 handling.
34390
bdaa77bc
AS
343912010-08-19 Andreas Schwab <schwab@redhat.com>
34392
34393 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
34394
fe2f79db
LM
343952010-08-19 Luis Machado <luisgpm@br.ibm.com>
34396
34397 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
34398 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
34399 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
34400 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
34401 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
34402 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
34403 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
34404 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
34405 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
34406 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
34407 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
34408 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
34409 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
34410 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
34411
b9b42ee0
AB
344122010-07-26 Anton Blanchard <anton@samba.org>
34413
34414 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
34415 * malloc/arena.c (heap_trim): Likewise.
34416
1c06ba31
UD
344172010-08-16 Ulrich Drepper <drepper@redhat.com>
34418
34419 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
34420 here. Not...
34421 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
34422 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
34423
f8392f40
L
344242010-08-12 H.J. Lu <hongjiu.lu@intel.com>
34425
34426 * sysdeps/i386/elf/Makefile: New file.
34427
3162f12e
AS
344282010-08-14 Andreas Schwab <schwab@linux-m68k.org>
34429
34430 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
34431 from fanotify_init.
34432 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
34433 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
34434
28c90b2c
UD
344352010-08-15 Ulrich Drepper <drepper@redhat.com>
34436
34437 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
34438 of strncasecmp_l.
1feccb6c 34439 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 34440
ca6bb004
UD
344412010-08-14 Ulrich Drepper <drepper@redhat.com>
34442
e9f82e0d
UD
34443 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
34444 strncase_l-nonascii.
34445 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
34446 Add strncase_l-ssse3.
34447 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
34448 * sysdeps/x86_64/strcmp.S: Likewise.
34449 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
34450 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
34451 * sysdeps/x86_64/strncase.S: New file.
34452 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
34453 * sysdeps/x86_64/strncase_l.S: New file.
34454 * string/Makefile (strop-tests): Add strncasecmp.
34455 * string/test-strncasecmp.c: New file.
34456
34457 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
34458 warning.
34459
ca6bb004
UD
34460 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
34461 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
34462
052fa7b3
AS
344632010-08-14 Andreas Schwab <schwab@linux-m68k.org>
34464
34465 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
34466
962dba78
UD
344672010-08-12 Ulrich Drepper <drepper@redhat.com>
34468
34469 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
34470 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
34471 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
34472
bebff237
AM
344732010-05-01 Alan Modra <amodra@gmail.com>
34474
34475 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
34476 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
34477 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
34478 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
34479 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
34480 tidying. Don't tail-call __sigjmp_save for static lib.
34481 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
34482 save location.
34483 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
34484 (CALL_MCOUNT): Add eh info, and nop after bl.
34485 (TAIL_CALL_SYSCALL_ERROR): New macro.
34486 (PSEUDO_RET): Use it.
34487 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
34488 Correct save location of integer regs and cr.
34489 (_dl_profile_resolve): Correct cr save location. Delete nops
34490 after bl when SHARED. Reduce cfi size a little by better
34491 placement of cfi directives.
34492 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
34493 make a stack frame. Instead use parm save area as a temp.
34494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
34495 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
34496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
34497 Don't make a stack frame for parent, use parm save area.
34498 Increase child stack frame to 112 bytes. Don't save unused reg,
34499 and adjust reg usage. Set up cfi on error recovery and
34500 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
34501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
34502 (__makecontext): Add dummy nop after jump to exit.
34503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
34504 Use correct parm save area and cr save, reduce stack frame.
34505 Correct cfi for possible PSEUDO_RET frame setup.
34506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
34507 Branch to local label emitted by PSEUDO_RET rather than
34508 __syscall_error.
34509
02637374
AS
345102010-08-12 Andreas Schwab <schwab@redhat.com>
34511
34512 [BZ #11904]
34513 * locale/programs/locale.c (print_assignment): New function.
34514 (show_locale_vars): Use it.
34515
c3e2f19b
UD
345162010-08-11 Ulrich Drepper <drepper@redhat.com>
34517
3cdaa6ad
UD
34518 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
34519 field.
34520 (struct statfs64): Likewise.
34521 (_STATFS_F_FLAGS): Define.
34522 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
34523 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34524 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
34525 (ST_VALID): Define locally.
34526 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
34527 __statvfs_getflags, use the provided value.
34528 * sysdeps/unix/sysv/linux/kernel-features.h: Define
34529 __ASSUME_STATFS_F_FLAGS.
34530
754f7da3
UD
34531 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
34532
10b3bedc
UD
34533 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
34534 Add sys/fanotify.h.
34535 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
34536 fanotify_mask for GLIBC_2.13.
34537 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
34538 fanotify_init and fanotify_mark.
34539 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
34540 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
34541
c08fb0d7
UD
34542 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
34543 Add prlimit.
34544 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
34545 prlimit64 for GLIBC_2.13.
34546 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
34547 prlimit64.
34548 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
34549 syscall.
34550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
34551 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
34552 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
34553 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
34554 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
34555 add prlimit alias.
34556 * sysdeps/unix/sysv/linux/prlimit.c: New file.
34557
15bac72b
UD
34558 [BZ #11903]
34559 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
34560 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
34561
c3e2f19b
UD
34562 * nss/Makefile: Add rules to build and run tst-nss-test1.
34563 * shlib-versions: Add entry for libnss_test1.
34564 * nss/nss_test1.c: New file.
34565 * nss/tst-nss-test1.c: New file.
34566
34567 * nss/nsswitch.c (__nss_database_custom): Define new variable.
34568 (__nss_configure_lookup): Set appropriate entry in
34569 __nss_configure_lookup to true.
34570 * nss/nsswitch.h: Define enum with indeces of databases in
34571 databases and __nss_database_custom arrays. Declare
34572 __nss_database_custom.
34573 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
34574 to avoid using nscd when custom rules are installed.
34575 * nss/getXXbyYY_r.c: Likewise.
34576 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
34577
34578 * nss/nss_files/files-parse.c: Whitespace fixes.
34579
f15ce4d8
UD
345802010-08-09 Ulrich Drepper <drepper@redhat.com>
34581
34582 [BZ #11883]
34583 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
34584 * posix/fnmatch_loop.c: Likewise.
34585
d22e4cc9
AK
345862010-07-17 Andi Kleen <ak@linux.intel.com>
34587
34588 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
34589 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
34590 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
34591 * Versions.def [GLIBC_2.13]: Add.
34592
805bc17d
UD
345932010-08-06 Ulrich Drepper <drepper@redhat.com>
34594
34595 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34596 Also fail if tpwd after pwuid call is NULL.
34597
5a42321d
ST
345982010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
34599
34600 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
34601 when converting to ms.
34602
fd3ebeda
ST
346032010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
34604
34605 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
34606 EOPNOTSUPP errors with ENOTTY.
34607 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
34608 EOPNOTSUPP errors with ENOTTY.
34609
73507d3a
UD
346102010-07-31 Ulrich Drepper <drepper@redhat.com>
34611
34612 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
34613 Add strcasecmp_l-ssse3.
34614 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
34615 strcasecmp.
34616 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
34617 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
34618 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
34619
fe36dd02
UD
346202010-07-30 Ulrich Drepper <drepper@redhat.com>
34621
66f6765a
UD
34622 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
34623
42e08a54
UD
34624 * string/Makefile (strop-tests): Add strcasecmp.
34625 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
34626 strcasecmp_l-nonascii.
34627 (gen-as-const-headers): Add locale-defines.sym.
34628 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
34629 * sysdeps/x86_64/strcasecmp.S: New file.
34630 * sysdeps/x86_64/strcasecmp_l.S: New file.
34631 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
34632 * sysdeps/x86_64/locale-defines.sym: New file.
34633 * string/test-strcasecmp.c: New file.
34634
fe36dd02
UD
34635 * string/test-strcasestr.c: Test both ends of the range of characters.
34636 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
34637
48cbc0d6
RM
346382010-07-29 Roland McGrath <roland@redhat.com>
34639
76e6d6bc 34640 [BZ #11856]
48cbc0d6
RM
34641 * manual/locale.texi (Yes-or-No Questions): Fix example code.
34642
880113d9
UD
346432010-07-27 Ulrich Drepper <drepper@redhat.com>
34644
34645 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
34646 for ld.so.
34647
deb9cabb
AS
346482010-07-27 Andreas Schwab <schwab@redhat.com>
34649
34650 * manual/memory.texi (Malloc Tunable Parameters): Document
34651 M_PERTURB.
34652
1c7570ff
RM
346532010-07-26 Roland McGrath <roland@redhat.com>
34654
34655 [BZ #11840]
34656 * configure.in (-fgnu89-inline check): Set and substitute
34657 gnu89_inline, not libc_cv_gnu89_inline.
34658 * configure: Regenerated.
34659 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
34660
24fb0f88
UD
346612010-07-26 Ulrich Drepper <drepper@redhat.com>
34662
34663 * string/test-strnlen.c: New file.
34664 * string/Makefile (strop-tests): Add strnlen.
34665 * string/tester.c (test_strnlen): Add a few more test cases.
34666 * string/tst-strlen.c: Better error reporting.
34667
34668 * sysdeps/x86_64/strnlen.S: New file.
34669
8e96b93a
UD
346702010-07-24 Ulrich Drepper <drepper@redhat.com>
34671
34672 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
34673 lower-latency instructions.
34674
dbc676d4
UD
346752010-07-23 Ulrich Drepper <drepper@redhat.com>
34676
34677 * string/test-strcasestr.c: New file.
34678 * string/test-strstr.c: New file.
34679 * string/Makefile (strop-tests): Add strstr and strcasestr.
34680 * string/str-two-way.h: Don't undefine MAX.
34681 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
34682
f6a31e0e
AS
346832010-07-21 Andreas Schwab <schwab@redhat.com>
34684
34685 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34686 strcasestr-nonascii.
34687 (CFLAGS-strcasestr-nonascii.c): Define.
34688 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
34689 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
34690 Remove unused attribute.
34691
5dbc3b6c
RM
346922010-07-20 Roland McGrath <roland@redhat.com>
34693
34694 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
34695 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
34696 ld.so.cache was broken. With it, there is no way to disable dsocaps
34697 like LD_HWCAP_MASK can disable hwcaps.
34698
23d101d8
EPM
346992010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
34700
34701 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
34702
cc9f2e47
UD
347032010-07-16 Ulrich Drepper <drepper@redhat.com>
34704
34705 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
34706 call in strcasestr.
34707 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
34708 __strcasestr_sse42_nonascii.
34709 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
34710 strcasestr-nonascii.c.
34711 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
34712
77c1b069
LM
347132010-06-15 Luis Machado <luisgpm@br.ibm.com>
34714
34715 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
34716 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
34717 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
34718 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
34719
440566c3
UD
347202010-07-09 Ulrich Drepper <drepper@redhat.com>
34721
34722 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
34723 fcntl.
34724
5be9d05d
AS
347252010-07-06 Andreas Schwab <schwab@redhat.com>
34726
c30b7ee2 34727 [BZ #11577]
5be9d05d
AS
34728 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
34729 dl_signal_cerror.
34730
8a492a67
UD
347312010-07-06 Ulrich Drepper <drepper@redhat.com>
34732
34733 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
34734 _PC_PIPE_BUF using F_GETPIPE_SZ.
34735
713df3d5
RM
347362010-07-05 Roland McGrath <roland@redhat.com>
34737
34738 * manual/arith.texi (Rounding Functions): Fix rint description
34739 implicit in round description.
34740
702e8f14
UD
347412010-07-02 Ulrich Drepper <drepper@redhat.com>
34742
34743 * elf/Makefile: Fix linking for a few tests to make recent linker
34744 happy.
34745
52ed8be9
AS
347462010-06-30 Andreas Schwab <schwab@redhat.com>
34747
34748 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
34749 $(common-objpfx)libc_nonshared.a.
34750
f47c9a11
LM
347512010-06-21 Luis Machado <luisgpm@br.ibm.com>
34752
34753 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
34754 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
34755 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
34756 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
34757 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
34758 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
34759 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
34760 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
34761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
34762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
34763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
34764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
34765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
34766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
34767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
34768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
34769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
34770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
34771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
34772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
34773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
34774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
34775 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
34776 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
34777 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
34778 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
34779 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
34780 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
34781 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
34782 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
34783 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
34784 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
34785 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
34786 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
34787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
34788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
34789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
34790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
34791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
34792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
34793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
34794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
34795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
34796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
34797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
34798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
34799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
34800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
34801
6fb8cbcb
L
348022010-06-25 H.J. Lu <hongjiu.lu@intel.com>
34803
34804 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
34805 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
34806 * string/memmove.c (memmove): Renamed to ...
34807 (MEMMOVE): ...this. Default to memmove.
34808 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
34809 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
34810 (END_CHK): Define.
34811 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34812 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
34813 mempcpy-ssse3-back memmove-ssse3-back.
34814 * sysdeps/x86_64/multiarch/bcopy.S: New file .
34815 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
34816 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
34817 * sysdeps/x86_64/multiarch/memcpy.S: New file.
34818 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
34819 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
34820 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
34821 * sysdeps/x86_64/multiarch/memmove.c: New file.
34822 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
34823 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
34824 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
34825 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
34826 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
34827 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
34828 Define.
34829 (index_Fast_Copy_Backward): Define.
34830 (HAS_ARCH_FEATURE): Define.
34831 (HAS_FAST_REP_STRING): Define.
34832 (HAS_FAST_COPY_BACKWARD): Define.
34833
4e733bac 348342010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
34835
34836 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34837 Restore proper fallback handling.
34838
63c4ed22
UD
348392010-06-19 Ulrich Drepper <drepper@redhat.com>
34840
ac2b484c
UD
34841 [BZ #11701]
34842 * posix/group_member.c (__group_member): Correct checking loop.
34843
63c4ed22
UD
34844 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
34845 OOM in getpwuid_r correctly. Return error number when the caller
34846 should return, otherwise -1.
34847 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
34848 call returning > 0 value.
34849 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
34850
765ade4b
AS
348512010-06-07 Andreas Schwab <schwab@redhat.com>
34852
34853 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
34854 libc_nonshared.a from targets in modules-names.
34855
80da2e09
KS
348562010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
34857
34858 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
34859 requires it.
34860
158db122
LM
348612010-06-10 Luis Machado <luisgpm@br.ibm.com>
34862
34863 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
34864 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
34865 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
34866 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
34867
caa78cf8
AS
348682010-06-02 Andreas Schwab <schwab@redhat.com>
34869
34870 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
34871
b2ef2c01
UD
348722010-06-14 Ulrich Drepper <drepper@redhat.com>
34873
34874 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
34875 and F_GETPIPE_SZ.
34876 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
34877 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
34878 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34879 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34880 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
34881 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
34882
fbd643b6
RM
348832010-06-14 Roland McGrath <roland@redhat.com>
34884
34885 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
34886
f32f2869
JJ
348872010-06-07 Jakub Jelinek <jakub@redhat.com>
34888
34889 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
34890 __REDIRECT followed by __THROW.
34891 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
34892 * posix/getopt.h (getopt): Likewise.
34893
2a50c078
EPM
348942010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
34895
34896 * hurd/lookup-at.c (__file_name_lookup_at): Accept
34897 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
34898 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
34899 in AT_FLAGS.
34900 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
34901 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
34902
eb5ad2eb
LM
349032010-05-28 Luis Machado <luisgpm@br.ibm.com>
34904
34905 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
34906
3c88fe1e
L
349072010-05-26 H.J. Lu <hongjiu.lu@intel.com>
34908
34909 [BZ #11640]
34910 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34911 Properly check family and model.
34912
d2f73151
TY
349132010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
34914
34915 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
34916
ebd2e13d
LM
349172010-05-24 Luis Machado <luisgpm@br.ibm.com>
34918
34919 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
34920
b32b8b45
UD
349212010-05-21 Ulrich Drepper <drepper@redhat.com>
34922
34923 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
34924 symbol reference.
34925
9acbe24d
AS
349262010-05-19 Andreas Schwab <schwab@redhat.com>
34927
34928 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
34929 symbol reference.
34930
f0ccf6ea
AS
349312010-05-21 Andreas Schwab <schwab@redhat.com>
34932
3d04ff3a
AS
34933 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
34934 and internal_recvmmsg.
34935 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
34936 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
34937 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
34938 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
34939
f0ccf6ea
AS
34940 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
34941 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
34942 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
34943
5b08ac57
AS
349442010-05-20 Andreas Schwab <schwab@redhat.com>
34945
34946 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
34947
4828935d
LM
349482010-05-17 Luis Machado <luisgpm@br.ibm.com>
34949
34950 POWER7 optimizations.
34951 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
34952 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
34953
373d545e
UD
349542010-05-19 Ulrich Drepper <drepper@redhat.com>
34955
34956 * version.h: Update for 2.13 development version.
34957
21a2b1ae
AS
349582010-05-12 Andrew Stubbs <ams@codesourcery.com>
34959
34960 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
34961 exceptions. Return 0.
34962
3f7dcb2b
RM
349632010-05-07 Roland McGrath <roland@redhat.com>
34964
34965 * elf/ldconfig.c (main): Add a const.
34966
5f24d53a 349672010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 34968
a160f8d8
UD
34969 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
34970 (args_options): Add no-idn option.
34971 (ahosts_keys_int): Add idn_flags to ai_flags.
34972 (parse_option): Handle 'i' option to clear idn_flags.
34973
5f24d53a
UD
34974 * malloc/malloc.c (_int_free): Possible race in the most recently
34975 added check. Only act on the data if no current modification
34976 happened.
265bb1ce
UD
34977
34978See ChangeLog.17 for earlier changes.
This page took 4.603586 seconds and 5 git commands to generate.